I've tried -j1, but no difference. Reproducible: Always Steps to Reproduce: 1. emerge -v geda Actual Results: [...] mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -Wall -o ngspice conf.o ngspice.o spice.o spicelib/devices/dev.o frontend/libfte.a frontend/wdisp/libwindisp.a frontend/plotting/libplotting.a spicelib/devices/asrc/libasrc.a spicelib/devices/bjt/libbjt.a spicelib/devices/bjt2/libbjt2.a spicelib/devices/bsim1/libbsim1.a spicelib/devices/bsim2/libbsim2.a spicelib/devices/bsim3/libbsim3.a spicelib/devices/bsim3v0/libbsim3v0.a spicelib/devices/bsim3v1/libbsim3v1.a spicelib/devices/bsim3v1s/libbsim3v1s.a spicelib/devices/bsim3v1a/libbsim3v1a.a spicelib/devices/bsim4/libbsim4.a spicelib/devices/cap/libcap.a spicelib/devices/bsim3soi/libbsim3soi.a spicelib/devices/bsim3soi_pd/libbsim3soipd.a spicelib/devices/bsim3soi_fd/libbsim3soifd.a spicelib/devices/bsim3soi_dd/libbsim3soidd.a spicelib/devices/cccs/libcccs.a spicelib/devices/ccvs/libccvs.a spicelib/devices/cpl/libcpl.a spicelib/devices/csw/libcsw.a spicelib/devices/dio/libdio.a spicelib/devices/ind/libind.a spicelib/devices/isrc/libisrc.a spicelib/devices/hfet1/libhfet.a spicelib/devices/hfet2/libhfet2.a spicelib/devices/hisim/libhisim.a spicelib/devices/jfet/libjfet.a spicelib/devices/jfet2/libjfet2.a spicelib/devices/ltra/libltra.a spicelib/devices/mes/libmes.a spicelib/devices/mesa/libmesa.a spicelib/devices/mos1/libmos1.a spicelib/devices/mos2/libmos2.a spicelib/devices/mos3/libmos3.a spicelib/devices/mos6/libmos6.a spicelib/devices/mos9/libmos9.a spicelib/devices/res/libres.a spicelib/devices/soi3/libsoi3.a spicelib/devices/sw/libsw.a spicelib/devices/txl/libtxl.a spicelib/devices/tra/libtra.a spicelib/devices/urc/liburc.a spicelib/devices/vbic/libvbic.a spicelib/devices/vccs/libvccs.a spicelib/devices/vcvs/libvcvs.a spicelib/devices/vsrc/libvsrc.a spicelib/analysis/libckt.a spicelib/devices/libdev.a frontend/parser/libparser.a frontend/help/libhlp.a spicelib/parser/libinp.a maths/deriv/libderiv.a maths/cmaths/libcmaths.a maths/poly/libpoly.a maths/ni/libni.a maths/sparse/libsparse.a misc/libmisc.a -lm -lncurses /usr/lib/libgc.so -lpthread -ldl -lX11 -lXt -lXext -lXmu -lXaw -lSM -lICE spicelib/devices/libdev.a(cktcrte.o)(.text+0x99): In function `CKTcrtElt':: undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x3d): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x22f): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x242): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x276): In function `spCreate': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x285): more undefined references to `tmalloc' follow maths/sparse/libsparse.a(spalloc.o)(.text+0x552): In function `RecordAllocation': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x580): In function `AllocateBlockOfAllocationList': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spalloc.o)(.text+0x725): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x72f): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x739): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x743): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x74d): In function `spDestroy': : undefined reference to `txfree' maths/sparse/libsparse.a(spalloc.o)(.text+0x757): more undefined references to `txfree' follow maths/sparse/libsparse.a(spbuild.o)(.text+0x5bc): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x5ed): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x603): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x619): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x62f): In function `EnlargeMatrix': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x6f0): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x6fa): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x704): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x711): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x71e): In function `EnlargeMatrix': : undefined reference to `txfree' maths/sparse/libsparse.a(spbuild.o)(.text+0x72b): more undefined references to `txfree' follow maths/sparse/libsparse.a(spbuild.o)(.text+0x7b9): In function `ExpandTranslationArrays': : undefined reference to `trealloc' maths/sparse/libsparse.a(spbuild.o)(.text+0x7ea): In function `ExpandTranslationArrays': : undefined reference to `trealloc' maths/sparse/libsparse.a(spfactor.o)(.text+0xc5e): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0xc7d): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0xc9c): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0xcbe): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0xce4): In function `spcCreateInternalVectors': : undefined reference to `tmalloc' maths/sparse/libsparse.a(spfactor.o)(.text+0xd0b): more undefined references to `tmalloc' follow maths/sparse/libsparse.a(spoutput.o)(.text+0x405): In function `spPrint': : undefined reference to `txfree' maths/sparse/libsparse.a(spoutput.o)(.text+0x419): In function `spPrint': : undefined reference to `txfree' maths/sparse/libsparse.a(spoutput.o)(.text+0x79f): In function `spPrint': : undefined reference to `txfree' collect2: ld returned 1 exit status make[3]: *** [ngspice] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 !!! ERROR: sci-electronics/ng-spice-rework-15 failed. !!! Function src_compile, Line 27, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Successfully build and install the package. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-hardened-r13 i686) ================================================================= System uname: 2.6.11-hardened-r13 i686 AMD Athlon(tm) 2600+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jul 8 2005, 21:02:23)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US" LINGUAS="en,de" MAKEOPTS="-j4 -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" USE="x86 3dnow 3dnowext X acl alsa apm avi berkdb bitmap-fonts bonobo chipcard clamav crypt cups curl disablexmb doc dvd emboss encode esd fam flac foomaticdb fortran gd gdbm gif gimpprint gnome gpm gtk gtk2 gtkhtml guile hbci icq imagemagick imap imlib ipv6 jabber jpeg libg++ libwww mad maildir mbox mikmod mmx mmxext motif mp3 mpeg nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline rtc samba sdl slang smartcard spell sse ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml xml2 xmms xv zlib linguas_en,de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Please try ng-spice-rework-17 and see if that resolves the issue.
Never mind, I see you tried -17 and had a problem with src_test - please try as I suggested by adding RESTICT="test" to the -17 ebuild and see if you get a successful -17 compile then. *** This bug has been marked as a duplicate of 108405 ***
Err, and that should be RESTRICT="test"...
Actually, this is on a different host, without FEATURES=test enabled. Will try ng-spice-rework-17.
ng-spice-rework-17 installed fine on this host (no FEATURES=test).