[Scons-dev] How does SCons get internal list from archives

William Blevins wblevins001 at gmail.com
Sat Sep 17 18:47:33 EDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20160917/c3dee87a/attachment.html>


More information about the Scons-dev mailing list