Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90616 - sci-electronics/ng-spice-rework-15 fails to compile
Summary: sci-electronics/ng-spice-rework-15 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-27 07:10 UTC by Christian Malerbakken
Modified: 2005-10-01 14:20 UTC (History)
2 users (show)

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


Attachments
sci-electronics/ng-spice-rework-20050613 (ng-spice-rework-20050613.ebuild,677 bytes, text/plain)
2005-07-13 01:24 UTC, Christoph Brill (egore) (RESIGNED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Malerbakken 2005-04-27 07:10:57 UTC
This is the output:

/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -march=athlon-mp -Os -pipe -fomit-frame-pointer -Wall  -Wl,-O1 -o ngproc2mod  ngproc2mod.o frontend/parser/libparser.a      spicelib/parser/libinp.a        misc/libmisc.a  -lm -lncurses  -lgc  -lX11 -lXt -lXext -lXmu -lXaw  -lSM -lICE
i686-pc-linux-gnu-gcc -march=athlon-mp -Os -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o ngsconvert ngsconvert.o  frontend/libfte.a frontend/parser/libparser.a misc/libmisc.a -lm -lncurses /usr/lib/libgc.so -lpthread -ldl -lX11 -lXt -lXext -lXmu -lXaw -lSM -lICE
i686-pc-linux-gnu-gcc -march=athlon-mp -Os -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o ngproc2mod ngproc2mod.o  frontend/parser/libparser.a spicelib/parser/libinp.a misc/libmisc.a -lm -lncurses /usr/lib/libgc.so -lpthread -ldl -lX11 -lXt -lXext -lXmu -lXaw -lSM -lICE
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -march=athlon-mp -Os -pipe -fomit-frame-pointer -Wall  -Wl,-O1 -o ngmultidec  ngmultidec.o maths/sparse/libsparse.a         misc/libmisc.a  -lm -lncurses  -lgc  -lX11 -lXt -lXext -lXmu -lXaw  -lSM -lICE
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -march=athlon-mp -Os -pipe -fomit-frame-pointer -Wall  -Wl,-O1 -o makeidx  makeidx.o  -lm -lncurses  -lgc  -lX11 -lXt -lXext -lXmu -lXaw  -lSM -lICE
i686-pc-linux-gnu-gcc -march=athlon-mp -Os -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o ngmultidec ngmultidec.o  maths/sparse/libsparse.a misc/libmisc.a -lm -lncurses /usr/lib/libgc.so -lpthread -ldl -lX11 -lXt -lXext -lXmu -lXaw -lSM -lICE
i686-pc-linux-gnu-gcc -march=athlon-mp -Os -pipe -fomit-frame-pointer -Wall -Wl,-O1 -o makeidx makeidx.o  -lm -lncurses /usr/lib/libgc.so -lpthread -ldl -lX11 -lXt -lXext -lXmu -lXaw -lSM -lICE
./makeidx ./ngspice.txt
maths/sparse/libsparse.a(spalloc.o)(.text+0x25): In function `RecordAllocation':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x7e): In function `RecordAllocation':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0xb5): In function `spcGetElement':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x156): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x16b): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x180): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x195): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x1aa): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x1bf): more undefined references to `txfree' follow
maths/sparse/libsparse.a(spalloc.o)(.text+0x2c7): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x4a9): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x4bb): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x4eb): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x4fd): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x553): more undefined references to `tmalloc' follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x2ad): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2bf): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2d1): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2e3): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2f5): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x317): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x32c): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x341): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x356): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x36b): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x380): more undefined references to `txfree' follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x45c): In function `Translate':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x470): In function `Translate':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x28b): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x2ad): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x2cf): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x2f1): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x313): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x334): more undefined references to `tmalloc' follow
collect2: ld returned 1 exit status
make[3]: *** [ngmultidec] Error 1
make[3]: *** Waiting for unfinished jobs....
spicelib/devices/libdev.a(cktcrte.o)(.text+0x72): In function `CKTcrtElt':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x25): In function `RecordAllocation':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x7e): In function `RecordAllocation':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0xb5): In function `spcGetElement':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x156): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x16b): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x180): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x195): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x1aa): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x1bf): more undefined references to `txfree' follow
maths/sparse/libsparse.a(spalloc.o)(.text+0x2c7): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x4a9): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x4bb): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x4eb): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x4fd): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x553): more undefined references to `tmalloc' follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x2ad): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2bf): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2d1): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2e3): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2f5): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x317): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x32c): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x341): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x356): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x36b): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x380): more undefined references to `txfree' follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x45c): In function `Translate':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x470): In function `Translate':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x28b): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x2ad): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x2cf): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x2f1): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x313): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x334): more undefined references to `tmalloc' follow
maths/sparse/libsparse.a(spoutput.o)(.text+0xe8): In function `spPrint':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spoutput.o)(.text+0x64d): In function `spPrint':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spoutput.o)(.text+0x65e): In function `spPrint':
: undefined reference to `txfree'
collect2: ld returned 1 exit status
make[3]: *** [ngspice] Error 1
make[3]: Leaving directory `/var/tmp/portage/ng-spice-rework-15/work/ng-spice-rework-15/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ng-spice-rework-15/work/ng-spice-rework-15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ng-spice-rework-15/work/ng-spice-rework-15'
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.


Reproducible: Always
Steps to Reproduce:
1.emerge ng-spice-rework
2.
3.

Actual Results:  
ng-spice-rework fails to compile

Expected Results:  
ng-spice-reworks should have compiled&installed, and I would be able to use gEDA

emerge info
Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.6.11
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.no/gentoo-portage"
USE="x86 3dnow X aalib acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts
bonobo bzip2 cdr crypt cups curl dba dv dvd dvdr eds emboss encode esd fam fbcon
flac foomaticdb fortran gd gd-external gdbm ggi gif glitz gnome gphoto2 gpm
gstreamer gtk gtk2 guile hal howl imagemagick imlib innodb ipv6 ithreads java
jpeg jpg junit kde kdeenablefinal kdexdeltas libg++ libwww mad mikmod mmx mono
motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly odbc offensive ogg
oggvorbis openexr opengl openssl pam pcre pda pdflib perl php pic pie png povray
ppds python qt quicktime readline samba scanner session slang sndfile speex
spell sqlite sse ssl tcltk tcpd theora threads tiff truetype truetype-fonts
type1-fonts unicode usb v4l v4l2 vorbis xine xml xml2 xmms xprint xscreensaver
xv zlib"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Comment 1 Fritz Heinrichmeyer 2005-05-24 02:07:30 UTC
cvs version of ng-spice-rework has a fix for this bug:
an 

--enable-gc 

option (or was it --disable-gc ?, forgot to take my pills ...)

Comment 2 M. McAdoo 2005-07-10 09:39:20 UTC
Still seeing this bug as of 10 July 2005.
Comment 3 Christoph Brill (egore) (RESIGNED) 2005-07-13 01:24:17 UTC
Created attachment 63297 [details]
sci-electronics/ng-spice-rework-20050613

I was to lazy to find out what exactly was wrong. I checked out todays cvs
(http://cvs.sourceforge.net/cvstarballs/ngspice-cvsroot.tar.bz2) and built it.
Worked fine. Uploaded to my homepage to let others use it to.

I fixed serveral trivial things in the ebuild, like die messages and changing
to virtual/libc. No idea if appropriate.

NOTE: I'm not a developer of ng-spice, I just wrote an ebuild for a CVS version
that builds.
Comment 4 Olivier Fisette (RETIRED) gentoo-dev 2005-10-01 14:20:37 UTC
ng-spice-rework-17 is now in the tree. This will solve this problem. (But if 
not, feel free to reopen.)