Hi,
I'm hoping a polybori expert can quickly spot the difference between two builds I'm doing of the spkg. I'm looking into how difficult it would be to wrap the spkg system by Gentoo's portage for dependency resolution. (Hint: it doesn't seem to be extremely difficult, this is the only thing I'm running into.) The normal `sage -i` of the spkg succeeds, but my emerge build fails. There's probably a subtle difference in the environment that I have difficulty spotting. Maybe someone who is familiar with polybori can easily tell what's going on?
I have the build log for the usual `sage -i polybori-0.8.2.p0.spkg` and also a build log for `emerge legacy_spkg/polybori`. The latter's build instructions are just `sage -sh -c ./spkg-install`. The logfiles are almost identical up until the end:
g++ -o testsuite/src/BlockDegLexOrderTest.o -c -Wno-long-long -O2 -pipe -std=c++98 -ftemplate-depth-100 -O3 -Wreturn-type -mmmx -msse -msse2 -msse3 -DPBORI_NDEBUG -DSIZEOF_VOID_P=8 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DPBORI_HAVE_TR1_UNORDERED_MAP -DPBORI_HAVE_M4RI -DPBORI_HAVE_M4RI_PNG -Ilibpolybori/include -Igroebner/include -I/home/tkluck/src/sage-repositories/sage-integration-lmonade/local/include -I/home/tkluck/src/sage-repositories/sage-integration-lmonade/local/include/python2.7 -Igroebner/include testsuite/src/BlockDegLexOrderTest.cc
In file included from /usr/include/boost/type_traits/cv_traits.hpp:21:0,
from /usr/include/boost/utility/value_init.hpp:28,
from /usr/include/boost/mpl/for_each.hpp:28,
from /usr/include/boost/test/unit_test_suite_impl.hpp:29,
from /usr/include/boost/test/unit_test_suite.hpp:19,
from /usr/include/boost/test/unit_test.hpp:20,
from testsuite/src/BlockDegLexOrderTest.cc:17:
/usr/include/boost/type_traits/remove_volatile.hpp:62:32: fout: template argument 1 is invalid
scons: *** [testsuite/src/BlockDegLexOrderTest.o] Error 1
scons: building terminated because of errors.
This target BlockDegLexOrderTest.o does not seem to be built at all in the `sage -i` case, so it doesn't fail either. Is there something in the environment that controls that?
Note that this last command seems to use system-boost instead of local boost, which isn't evident anywhere else in the logfile.
The entire failed log is at:
http://paste.ubuntu.com/5581856/The difference between the two is at
http://paste.ubuntu.com/5581857/(there's some 20 lines of g++ differences where the only difference I can spot is the -pipe flag)
Thanks for your help!
Timo