> Do I remember that g++ 6.1 is supposed to default to c++11? It looks like > that may be > the issue here. Anyone wants to either submit a fix for brial or work around > for the spkg?
Looks to me in the logs like gcc gets the flag "-std=gnu++98"... Does anyone know at least a work-around for this compile error -- I still can't compile Sage :-S Best, Johan Francois Bissey writes: > Do I remember that g++ 6.1 is supposed to default to c++11? It looks like > that may be > the issue here. Anyone wants to either submit a fix for brial or work around > for the spkg? > > François > >> On 30/05/2016, at 19:24, Johan S. R. Nielsen <[email protected]> wrote: >> >> Hi, >> >> I'm having trouble compiling Sage 7.3.beta2 on Arch linux kernel >> 4.5.4-1, x86_64, 16GB ram. >> >> Looks like compiler-stuff. I have gcc 6.1.1 20160501. >> >> Snip of the compile error. Full brial build-log is attached: >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-release" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/sage-release. >> For more options, visit https://groups.google.com/d/optout. >> <brial-0.8.4.3.log>.... >> [install] [brial-0.8.4.3] In file included from >> /usr/include/c++/6.1.1/string:48:0, >> [install] [brial-0.8.4.3] from >> /usr/include/c++/6.1.1/bits/locale_classes.h:40, >> [install] [brial-0.8.4.3] from /usr/include/c++/6.1.1/bits/ios_base.h:41, >> [install] [brial-0.8.4.3] from /usr/include/c++/6.1.1/ios:42, >> [install] [brial-0.8.4.3] from /usr/include/c++/6.1.1/ostream:38, >> [install] [brial-0.8.4.3] from /usr/include/c++/6.1.1/iostream:39, >> [install] [brial-0.8.4.3] from >> ../../libpolybori/include/polybori/pbori_defs.h:24, >> [install] [brial-0.8.4.3] from >> ../../libpolybori/include/polybori/BoolePolyRing.h:21, >> [install] [brial-0.8.4.3] from >> ../../groebner/include/polybori/groebner/FGLMStrategy.h:12, >> [install] [brial-0.8.4.3] from FGLMStrategy.cc:9: >> [install] [brial-0.8.4.3] /usr/include/c++/6.1.1/bits/stl_function.h:387:20: >> note: 'const polybori::BooleExponent' is not derived from 'const >> std::__cxx11::basic_string<_CharT, _Traits, _Alloc>' >> [install] [brial-0.8.4.3] { return __x < __y; } >> [install] [brial-0.8.4.3] ~~~~^~~~~ >> ... 200 errors like this ... >> [install] [brial-0.8.4.3] In file included from >> ../../libpolybori/include/polybori/polybori.h:23:0, >> [install] [brial-0.8.4.3] from >> ../../groebner/include/polybori/groebner/groebner_defs.h:10, >> [install] [brial-0.8.4.3] from >> ../../groebner/include/polybori/groebner/PairStatusSet.h:20, >> [install] [brial-0.8.4.3] from >> ../../groebner/include/polybori/groebner/groebner_alg.h:14, >> [install] [brial-0.8.4.3] from >> ../../groebner/include/polybori/groebner/FGLMStrategy.h:13, >> [install] [brial-0.8.4.3] from FGLMStrategy.cc:9: >> [install] [brial-0.8.4.3] >> ../../libpolybori/include/polybori/BooleMonomial.h:286:1: note: candidate: >> polybori::CAuxTypes::bool_type polybori::operator<(const >> polybori::BooleMonomial&, const polybori::BooleMonomial&) >> [install] [brial-0.8.4.3] operator<(const BooleMonomial& lhs, const >> BooleMonomial& rhs) { >> [install] [brial-0.8.4.3] ^~~~~~~~ >> [install] [brial-0.8.4.3] >> ../../libpolybori/include/polybori/BooleMonomial.h:286:1: note: no known >> conversion for argument 1 from 'const polybori::BooleExponent' to 'const >> polybori::BooleMonomial&' >> [install] [brial-0.8.4.3] Makefile:542: recipe for target >> 'libpolybori_groebner_la-FGLMStrategy.lo' failed >> [install] [brial-0.8.4.3] make[5]: *** >> [libpolybori_groebner_la-FGLMStrategy.lo] Error 1 >> [install] [brial-0.8.4.3] make[5]: Leaving directory >> '/home/jsrn/mat/sage_coding_project/local/var/tmp/sage/build/brial-0.8.4.3/src/groebner/src' >> [install] [brial-0.8.4.3] Makefile:372: recipe for target 'all-recursive' >> failed >> [install] [brial-0.8.4.3] make[4]: *** [all-recursive] Error 1 >> [install] [brial-0.8.4.3] make[4]: Leaving directory >> '/home/jsrn/mat/sage_coding_project/local/var/tmp/sage/build/brial-0.8.4.3/src/groebner' >> [install] [brial-0.8.4.3] Makefile:565: recipe for target 'all-recursive' >> failed >> [install] [brial-0.8.4.3] make[3]: *** [all-recursive] Error 1 >> [install] [brial-0.8.4.3] make[3]: Leaving directory >> '/home/jsrn/mat/sage_coding_project/local/var/tmp/sage/build/brial-0.8.4.3/src' >> [install] [brial-0.8.4.3] Error building BRiAl >> [install] [brial-0.8.4.3] >> [install] [brial-0.8.4.3] real 0m33.364s >> [install] [brial-0.8.4.3] user 0m29.830s >> [install] [brial-0.8.4.3] sys 0m1.577s >> [install] [brial-0.8.4.3] >> ************************************************************************ >> [install] [brial-0.8.4.3] Error installing package brial-0.8.4.3 >> [install] [brial-0.8.4.3] >> ************************************************************************ >> ... >> [install] real 39m8.848s >> [install] user 37m11.613s >> [install] sys 1m58.670s >> [install] *************************************************************** >> [install] Error building Sage. >> [install] >> [install] The following package(s) may have failed to build (not necessarily >> [install] during this run of 'make all'): >> [install] >> [install] * package: brial-0.8.4.3 >> [install] log file: >> /home/jsrn/mat/sage_coding_project/logs/pkgs/brial-0.8.4.3.log >> [install] build directory: >> /home/jsrn/mat/sage_coding_project/local/var/tmp/sage/build/brial-0.8.4.3 >> [install] >> [install] The build directory may contain configuration files and other >> potentially >> [install] helpful information. WARNING: if you now run 'make' again, the >> build >> [install] directory will, by default, be deleted. Set the environment >> variable >> [install] SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. >> [install] >> >> >> Best, >> Johan >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-release" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/sage-release. >> For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.
