Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605718 - sci-electronics/spice fails to emerge
Summary: sci-electronics/spice fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-01-14 21:17 UTC by m.manico
Modified: 2017-05-24 17:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.manico 2017-01-14 21:17:39 UTC
Emerging sci-electronics fails with

>>> Install spice-3.5.5-r1 into /var/tmp/portage/sci-electronics/spice-3.5.5-r1/image/ category sci-electronics
!!! dobin: obj/bin/spice3 does not exist
!!! dobin: obj/bin/nutmeg does not exist
dobin failed
 * ERROR: sci-electronics/spice-3.5.5-r1::gentoo failed (install phase):
 *   failed to copy binaries
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_install
 *   environment, line 2316:  Called die
 * The specific snippet of code:
 *       dobin obj/bin/{spice3,nutmeg,sconvert,multidec,proc2mod} || die "failed to copy binaries";

Scrolling up the emerge log reveals:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-electronics/spice-3.5.5-r1/work/spice3f5sfix/obj/lib/cp.a(output.o): undefined reference to symbol 'tgoto'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
/var/tmp/portage/sci-electronics/spice-3.5.5-r1/temp/GmkfiPul:1022: recipe for target 'spice3' failed
make[3]: *** [spice3] Error 1

/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-electronics/spice-3.5.5-r1/work/spice3f5sfix/obj/lib/cp.a(output.o): undefined reference to symbol 'tgoto'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
/var/tmp/portage/sci-electronics/spice-3.5.5-r1/temp/GmkfiPul:1059: recipe for target 'nutmeg' failed
make[3]: *** [nutmeg] Error 1

There is a gentoo forum entry that shows patches to alleviate the issue
https://forums.gentoo.org/viewtopic-t-1056032-start-0.html
Comment 1 m.manico 2017-02-13 21:14:26 UTC
I am hit by the same bug.

Compilations fails with:

[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-electronics/spice-3.5.5-r1/work/spice3f5sfix/obj/lib/cp.a(output.o): undefined reference to symbol 'tgoto'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [/var/tmp/portage/sci-electronics/spice-3.5.5-r1/temp/Gm3FUzwi:1060: nutmeg] Error 1

[...]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-electronics/spice-3.5.5-r1/work/spice3f5sfix/obj/lib/cp.a(output.o): undefined reference to symbol 'tgoto'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

[...]

>>> Install spice-3.5.5-r1 into /var/tmp/portage/sci-electronics/spice-3.5.5-r1/image/ category sci-electronics
!!! dobin: obj/bin/spice3 does not exist
!!! dobin: obj/bin/nutmeg does not exist
dobin failed
 * ERROR: sci-electronics/spice-3.5.5-r1::gentoo failed (install phase):
 *   failed to copy binaries
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_install
 *   environment, line 2328:  Called die
 * The specific snippet of code:
 *       dobin obj/bin/{spice3,nutmeg,sconvert,multidec,proc2mod} || die "failed to copy binaries";
Comment 2 m.manico 2017-02-13 21:43:29 UTC
I just noticed that I was actually the person reporting this issue one month ago. Don't mind my second message. Sorry for the noise.
Comment 3 Thomas Beierlein gentoo-dev 2017-05-24 17:17:52 UTC
Fixed missing -ltinfo. See new -r2 version. Thanks for reporting.

> sci-electronics/spice: Bump EAPI and fix missing libtinfo (bug #605718)