Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639666 - sci-electronics/ngspice-26 : (.text+<snip>): undefined reference to main
Summary: sci-electronics/ngspice-26 : (.text+<snip>): undefined reference to main
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-03 20:07 UTC by Toralf Förster
Modified: 2017-12-28 09:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.59 KB, text/plain)
2017-12-03 20:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,210.69 KB, text/plain)
2017-12-03 20:07 UTC, Toralf Förster
Details
environment (environment,87.00 KB, text/plain)
2017-12-03 20:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.01 KB, application/x-bzip)
2017-12-03 20:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,15.93 KB, application/x-bzip)
2017-12-03 20:07 UTC, Toralf Förster
Details
sci-electronics:ngspice-26:20171203-191247.log (sci-electronics:ngspice-26:20171203-191247.log,212.73 KB, text/plain)
2017-12-03 20:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,48.38 KB, application/x-bzip)
2017-12-03 20:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-03 20:07:26 UTC
x86_64-pc-linux-gnu-gcc -O2 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wold-style-definition -Wredundant-decls -Wconversion -O2 -pipe -march=native -Wall -fPIC -Wl,-O1 -Wl,--as-needed spice2poly/dlmain.o spice2poly/icm_spice2poly/cfunc.o spice2poly/icm_spice2poly/ifspec.o -lm -o spice2poly/spice2poly.cm
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib64/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make[4]: *** [GNUmakefile:92: spice2poly/spice2poly.cm] Error 1
make[4]: Leaving directory '/var/tmp/portage/sci-electronics/ngspice-26/work/ngspice-26/src/xspice/icm'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20171129-195001

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-electronics/ngspice
[ebuild  N    ] sci-electronics/ngspice-26  USE="readline -X -debug"
Comment 1 Toralf Förster gentoo-dev 2017-12-03 20:07:29 UTC
Created attachment 507934 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-03 20:07:32 UTC
Created attachment 507936 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-03 20:07:35 UTC
Created attachment 507938 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-03 20:07:38 UTC
Created attachment 507940 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-03 20:07:41 UTC
Created attachment 507942 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-03 20:07:44 UTC
Created attachment 507944 [details]
sci-electronics:ngspice-26:20171203-191247.log
Comment 7 Toralf Förster gentoo-dev 2017-12-03 20:07:48 UTC
Created attachment 507946 [details]
temp.tbz2
Comment 8 Marek Szuba archtester gentoo-dev 2017-12-28 09:36:40 UTC
This is an odd issue because it only seems to affect certain users. Anyway, upstream has finally released ngspice-27 and it got added to the tree yesterday; considering 26 is now 3.5 years old it will likely get dropped soon.