Created attachment 514432 [details] Complete build log Hi, this package suddenly doesn't build on my system. I suspect this is due to the recent upgrade to gcc-6.4.0. Logs enclosed.
Created attachment 514434 [details] output of emerge --info
Created attachment 514436 [details] output of emerge -qvp
Same happens with the boost USE flag enabled.
i was able to get a build by appending -std=gnu++03 to append-flags in pkg_setup() of the ebuild /usr/portage/sci-mathematics/singular/singular-4.0.2.ebuild however, when i ran the application, i got a segfault before getting a prompt. gdb backtrace is below. it seems that the new spielwiese branch for Singular in github compiles (and runs the trivial code i'm working with) just fine gcc6.4 however, it doesn't seem to have a release branch, only the spielwiese branch and a master branch. so, its not clear to me how to package this. ----back trace from gdb ---------- Starting program: /var/tmp/portage/sci-mathematics/singular-4.0.2/work/singular-4.0.2/Singular/Singular [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. idrec::get (this=<optimized out>, s=s@entry=0x7ffff57bb590 "Top", level=level@entry=0) at ipid.cc:103 103 l=IDLEV(h); (gdb) back full #0 idrec::get (this=<optimized out>, s=s@entry=0x7ffff57bb590 "Top", level=level@entry=0) at ipid.cc:103 h = 0x0 found = <optimized out> l = <optimized out> id_ = <optimized out> i = 5533552 less4 = 1 #1 0x00005555555b2a3f in enterid (s=<optimized out>, s@entry=0x555555a7f350 "Top", lev=lev@entry=0, t=t@entry=484, root=root@entry=0x7ffff57bc030, init=init@entry=1, search=search@entry=1) at ipid.cc:271 h = <optimized out> #2 0x00005555555e4042 in siInit ( name=0x7fffffffddd0 "/var/tmp/portage/sci-mathematics/singular-4.0.2/work/singular-4.0.2/Singular/Singular") at misc_ip.cc:1229 h = <optimized out> t = <optimized out> cpus = <optimized out> cpu_n = <optimized out> #3 0x000055555556cdfd in main (argc=1, argv=0x7fffffffd9e8) at tesths.cc:78 optc = <optimized out> option_index = 0 ---Type <return> to continue, or q <return> to quit--- errormsg = <optimized out> (gdb)
> it seems that the new spielwiese branch for Singular in github compiles (and > runs the trivial code i'm working with) just fine gcc6.4 however, it doesn't > seem to have a release branch, only the spielwiese branch and a master > branch. so, its not clear to me how to package this. I tried to maintain my own package for a while, and sadly I have to agree. The project doesn't seem to care about getting into distros at this time. The master branch is ancient and probably irrelevant; spielweise is the only branch where development happens.
I just added 4.2.0p1 to the tree. Can you please check if this is still a problem and let me know if it is?
You have to go digging, but there are releases made at e.g. ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/4-2-0/ (you can get there from www.singular.uni-kl.de). The new ebuilds in the tree should fare better than the ones that were causing you problems. If you experience any more build failures, please let us know and will try to get them fixed this time.