How does SCons get internal list from archives

William Blevins <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CALJHx13D2joU=5xpw749pHK-ezEQe9B2uYnAyb0TPVutuigvQw@mail.gmail.com>
Team,

The test "test/packaging/rpm/cleanup.py" fails arbitrarily. Turns out this
is related to dependencies changing order. Seems like SCons needs to be
sorting dependencies somewhere, but I don't know where that is...

1/1 (100.00%) /usr/bin/python -tt test/packaging/rpm/cleanup.py
> STDOUT =========================================================================
> 1,7c1,10
> < scons\:\ Reading\ SConscript\ files\ \.\.\.\
> < scons\:\ done\ reading\ SConscript\ files\.\
> < scons\:\ Building\ targets\ \.\.\.\
> < scons\:\ \`\-\-debug\=explain\'\ is\ up\ to\ date\.\
> < scons\:\ \`\.\'\ is\ up\ to\ date\.\
> < scons\:\ done\ building\ targets\.\
> < .*
> ---
> > scons: Reading SConscript files ...
> > scons: done reading SConscript files.
> > scons: Building targets ...
> > scons: rebuilding `foo-1.2.3.tar.gz' because the dependency order changed:
> >                old: ['foo-1.2.3/SConstruct', 'foo-1.2.3/src/main.c', 'foo-1.2.3/foo-1.2.3.spec', '/bin/tar']
> >                new: ['foo-1.2.3/src/main.c', 'foo-1.2.3/SConstruct', 'foo-1.2.3/foo-1.2.3.spec', '/bin/tar']
> > tar -zc -f foo-1.2.3.tar.gz foo-1.2.3/src/main.c foo-1.2.3/SConstruct foo-1.2.3/foo-1.2.3.spec
> > scons: rebuilding `foo-1.2.3-0.src.rpm' because `foo-1.2.3.tar.gz' changed
> > TAR_OPTIONS=--wildcards LC_ALL=C rpmbuild -ta --buildroot /tmp/testcmd.4442.tTwpGV/rpm_build_root /tmp/testcmd.4442.tTwpGV/foo-1.2.3.tar.gz
> > scons: done building targets.
> FAILED test of .../SCons/scons/src/script/scons.py
> 	at line 614 of .../SCons/scons/QMTest/TestCommon.py (_complete)
> 	from line 710 of .../SCons/scons/QMTest/TestCommon.py (run)
> 	from line 391 of .../SCons/scons/QMTest/TestSCons.py (run)
> 	from line 428 of .../SCons/scons/QMTest/TestSCons.py (up_to_date)
> 	from line 88 of test/packaging/rpm/cleanup.py
>
> Any thoughts?

V/R,
William

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.