Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644280 - sci-mathematics/singular-4.0.3: emake failed (template madness)
Summary: sci-mathematics/singular-4.0.3: emake failed (template madness)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-12 03:42 UTC by Ian Zimmerman
Modified: 2021-06-01 12:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete build log (build.log,793.33 KB, text/plain)
2018-01-12 03:42 UTC, Ian Zimmerman
Details
output of emerge --info (emerge.info,5.39 KB, text/plain)
2018-01-12 03:45 UTC, Ian Zimmerman
Details
output of emerge -qvp (emerge-qvp,97 bytes, text/plain)
2018-01-12 03:46 UTC, Ian Zimmerman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Zimmerman 2018-01-12 03:42:59 UTC
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.
Comment 1 Ian Zimmerman 2018-01-12 03:45:19 UTC
Created attachment 514434 [details]
output of emerge --info
Comment 2 Ian Zimmerman 2018-01-12 03:46:43 UTC
Created attachment 514436 [details]
output of emerge -qvp
Comment 3 Ian Zimmerman 2018-01-12 03:59:25 UTC
Same happens with the boost USE flag enabled.
Comment 4 kelly hirai 2018-01-24 21:13:27 UTC
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)
Comment 5 Ian Zimmerman 2018-02-11 16:04:37 UTC
> 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.
Comment 6 Michael Orlitzky gentoo-dev 2021-03-22 19:50:37 UTC
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?
Comment 7 Michael Orlitzky gentoo-dev 2021-06-01 12:02:05 UTC
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.