[Xorp-hackers] Problems with Mkdir
Bruce Simpson
bms at incunabulum.net
Fri Dec 4 09:09:20 PST 2009
Ben Greear wrote:
> On 12/04/2009 06:28 AM, Bruce Simpson wrote:
>> ...and promptly backed out again, the cure is worse than the disease.
>> :-(
> Well, try compiling it on Linux. The problem happened every time for me
> (first build attempt works, the rest fail until 'obj' is blown away.
>
> Did you try my code as I posted, ie w/out the 'fixups' ?
I did not -- mkdirs() looked like a mis-spelling of makedirs(), so this
code wouldn't have run anyway.
I can try to check something in which works for you, but it would be
good to know if the problem is in SCons.
It would be great if you could look into it, and let me know if Mkdir()
is known to have changed between r3842 and the current 1.2.0 snapshot.
Using the ActionFactory, looks like SCons expects methods to be able to
deal with lists.
Are you able to update Python and/or SCons, or is this a major hassle
for you?
Python 2.6 seems to be a reasonable baseline these days (it's
production, and is over a year old).
SCons, as always, is a moving target.
As mentioned, not 100% happy about symlink support. That said, the
symlink farm is there for the benefit of RPATH when trying to run from
BUILDDIR.
thanks,
BMS
More information about the Xorp-hackers
mailing list