Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: EPICS 3.15.0 incompatible make rules
From: Benjamin Franksen <benjamin.franksen@helmholtz-berlin.de>
To: <tech-talk@aps.anl.gov>
Date: Mon, 8 Oct 2012 13:37:37 +0200
Am Montag, 8. Oktober 2012, 03:23:22 schrieb Andrew C. Starritt:
> > > (A somewhat strange effect is that if I set LANG=C, then I get no
> >
> > such
> >
> > > message!)
> >
> > I can't explain that...
>
> I think I can. Try this:
>
> [starritt@redgum]$ touch a z A Z _
> [starritt@redgum]$ ls -l
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 _
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 a
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 A
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 z
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 Z
>
> [starritt@redgum]$ export LANG=C
> [starritt@redgum]$ ls -l
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 A
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 Z
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 _
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 a
> -rw-rw-r-- 1 starritt starritt 0 Oct  8 12:03 z
>
> The order that ls lists directories and files is affected by
> the LANG environment variable.
>
> With no explicit dependency rule, items added to DIRS with
>
> DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *App))
>
> are build in the same order as ls lists them. I think there must be a
> depencency order that is implicity being catered for when LANG is set
> to C.

Yeah, that's a probable explanation, some variable uses wildcards or $(shell
ls) or whatever, and rules are not fully order-independent.

Anyway, the problem disappeared after I applied the known problem patches, so
I guess I'll leave it at that...

Cheers
--
Ben Franksen
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


References:
EPICS 3.15.0 incompatible make rules Dirk Zimoch
Re: EPICS 3.15.0 incompatible make rules Andrew Johnson
RE: EPICS 3.15.0 incompatible make rules Andrew C. Starritt

Navigate by Date:
Prev: Re: EPICS 3.15.0 incompatible make rules Benjamin Franksen
Next: Re: EPICS 3.15.0 incompatible make rules Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
Navigate by Thread:
Prev: RE: EPICS 3.15.0 incompatible make rules Andrew C. Starritt
Next: Re: EPICS 3.15.0 incompatible make rules Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·