<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>90616</bug_id>
          
          <creation_ts>2005-04-27 07:10 0000</creation_ts>
          <short_desc>sci-electronics/ng-spice-rework-15 fails to compile</short_desc>
          <delta_ts>2005-10-01 14:20:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>christian@malerbakken.com</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          <cc>egore@gmx.de</cc>
    
    <cc>mattmcadoo@mattmcadoo.com</cc>

      

      
          <long_desc isprivate="0">
            <who>christian@malerbakken.com</who>
            <bug_when>2005-04-27 07:10:57 0000</bug_when>
            <thetext>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&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x7e): In function `RecordAllocation&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0xb5): In function `spcGetElement&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x156): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x16b): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x180): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x195): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x1aa): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x1bf): more undefined references to `txfree&apos; follow
maths/sparse/libsparse.a(spalloc.o)(.text+0x2c7): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x4a9): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x4bb): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x4eb): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x4fd): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x553): more undefined references to `tmalloc&apos; follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x2ad): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x2bf): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x2d1): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x2e3): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x2f5): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x317): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x32c): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x341): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x356): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x36b): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x380): more undefined references to `txfree&apos; follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x45c): In function `Translate&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x470): In function `Translate&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x28b): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x2ad): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x2cf): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x2f1): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x313): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x334): more undefined references to `tmalloc&apos; 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&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x25): In function `RecordAllocation&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x7e): In function `RecordAllocation&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0xb5): In function `spcGetElement&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x156): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x16b): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x180): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x195): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x1aa): In function `spDestroy&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x1bf): more undefined references to `txfree&apos; follow
maths/sparse/libsparse.a(spalloc.o)(.text+0x2c7): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x4a9): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x4bb): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x4eb): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x4fd): In function `spCreate&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spalloc.o)(.text+0x553): more undefined references to `tmalloc&apos; follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x2ad): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x2bf): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x2d1): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x2e3): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x2f5): In function `EnlargeMatrix&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x317): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x32c): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x341): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x356): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x36b): In function `EnlargeMatrix&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x380): more undefined references to `txfree&apos; follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x45c): In function `Translate&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spbuild.o)(.text+0x470): In function `Translate&apos;:
: undefined reference to `trealloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x28b): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x2ad): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x2cf): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x2f1): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x313): In function `spcCreateInternalVectors&apos;:
: undefined reference to `tmalloc&apos;
maths/sparse/libsparse.a(spfactor.o)(.text+0x334): more undefined references to `tmalloc&apos; follow
maths/sparse/libsparse.a(spoutput.o)(.text+0xe8): In function `spPrint&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spoutput.o)(.text+0x64d): In function `spPrint&apos;:
: undefined reference to `txfree&apos;
maths/sparse/libsparse.a(spoutput.o)(.text+0x65e): In function `spPrint&apos;:
: undefined reference to `txfree&apos;
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&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ng-spice-rework-15/work/ng-spice-rework-15/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ng-spice-rework-15/work/ng-spice-rework-15&apos;
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&amp;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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon-mp -Os -pipe -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-mp -Os -pipe -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://mirror.gentoo.no http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
LDFLAGS=&quot;-Wl,-O1&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.no/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fritz.heinrichmeyer@fernuni-hagen.de</who>
            <bug_when>2005-05-24 02:07:30 0000</bug_when>
            <thetext>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 ...)

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mcadoo@281.com</who>
            <bug_when>2005-07-10 09:39:20 0000</bug_when>
            <thetext>Still seeing this bug as of 10 July 2005.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>egore@gmx.de</who>
            <bug_when>2005-07-13 01:24:17 0000</bug_when>
            <thetext>Created an attachment (id=63297)
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&apos;m not a developer of ng-spice, I just wrote an ebuild for a CVS version
that builds.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ribosome@gentoo.org</who>
            <bug_when>2005-10-01 14:20:37 0000</bug_when>
            <thetext>ng-spice-rework-17 is now in the tree. This will solve this problem. (But if 
not, feel free to reopen.) </thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>63297</attachid>
            <date>2005-07-13 01:24 0000</date>
            <desc>sci-electronics/ng-spice-rework-20050613</desc>
            <filename>ng-spice-rework-20050613.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA1IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6ICQKCmluaGVyaXQgZXV0aWxzCgpERVNDUklQVElPTj0iTkdTcGljZSAtIFRoZSBOZXh0IEdl
bmVyYXRpb24gU3BpY2UgKENpcmN1aXQgRW11bGF0b3IpIgpTUkNfVVJJPSJodHRwOi8vd3d3LmVn
b3JlOTExLmRlL2ZpbGVzL1ZlcnNjaGllZGVuZXMvJHtQfS50YXIuYnoyIgpIT01FUEFHRT0iaHR0
cDovL25nc3BpY2Uuc291cmNlZm9yZ2UubmV0IgoKU0xPVD0iMCIKSVVTRT0iIgpMSUNFTlNFPSJC
U0QgR1BMLTIiCktFWVdPUkRTPSJ+YW1kNjQgcHBjIH54ODYiCgpERVBFTkQ9Ij49dmlydHVhbC9s
aWJjLTIiCgpTPSR7V09SS0RJUn0vJHtQTn0KCnNyY19jb21waWxlKCkgewoJLi9hdXRvZ2VuLnNo
CgllY29uZiB8fCBkaWUgImVjb25mIGZhaWxlZCIKCWVtYWtlIHx8IGRpZSAiZW1ha2UgZmFpbGVk
Igp9CgpzcmNfaW5zdGFsbCgpIHsKCW1ha2UgREVTVERJUj0ke0R9IGluc3RhbGwgfHwgZGllICJt
YWtlIGluc3RhbGwgZmFpbGVkIgoJZG9kb2MgQU5BTFlTSVMgQVVUSE9SUyBCVUdTIENPUFlJTkcg
Q09QWVJJR0hUIENSRURJVFMgQ2hhbmdlTG9nIERFVklDRVMgTkVXUyBSRUFETUUKfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>