Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74201 - sci-electronics/gspiceui (new package)
Summary: sci-electronics/gspiceui (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-12-12 08:13 UTC by Person Sébastien
Modified: 2010-09-23 20:54 UTC (History)
2 users (show)

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


Attachments
the ebuild (gspiceui-0.6.53.ebuild,586 bytes, text/plain)
2004-12-12 08:15 UTC, Person Sébastien
Details
gspiceui-0.8.55.ebuild (gspiceui-0.8.55.ebuild,1.22 KB, text/plain)
2006-08-01 02:25 UTC, Denis Dupeyron (RETIRED)
Details
gspiceui-0.9.65.ebuild (gspiceui-0.9.65.ebuild,1.71 KB, text/plain)
2009-04-29 05:30 UTC, Rafael Martins (RETIRED)
Details
gspiceui-0.9.65.ebuild using EAPI="2" and without unnecessary USE flags (gspiceui-0.9.65.ebuild_EAPI2_without_unnecessary_flags.patch,1.54 KB, patch)
2009-04-29 15:10 UTC, Rafael Martins (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Person Sébastien 2004-12-12 08:13:32 UTC
gspiceui is a frontend to spice tools

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Person Sébastien 2004-12-12 08:15:53 UTC
Created attachment 45825 [details]
the ebuild

I think it could fit into app-sci category.

(1st ebuild, so It may be a bit incomplete...)
Comment 2 Andre Kloth 2005-01-17 08:17:20 UTC
Your ebuild doesn't work anymore. The portage directory structure has changed:

############## diff of gspiceui ################
--- gspiceui-0.6.53.ebuild-old  2005-01-17 17:05:51.994149207 +0100
+++ gspiceui-0.6.53.ebuild      2005-01-17 16:55:33.222190986 +0100
@@ -14,10 +14,10 @@
 DEPEND="x11-libs/wxGTK"
 
 RDEPEND="$DEPEND
-    app-sci/gnucap
-       app-sci/ng-spice-rework
-       app-sci/gwave
-       app-sci/geda"
+    sci-electronics/gnucap
+       sci-electronics/ng-spice-rework
+       sci-electronics/gwave
+       sci-libs/libgeda"
 
 S=${WORKDIR}/${PN}-v${PV}
 
############## diff of gspiceui ################

I put this ebuild in $PORTAGE_OVERLAY/sci-electronics/gspiceui but it did not build due to a linking error in ng-spice-rework:


i686-pc-linux-gnu-gcc -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -o makeidx makeidx.o  -lm -lncurses /usr/lib/libgc.so -lpthread -ldl -L/usr/X11R6/lib -lX11 -lXt -lXext -lXmu -lXaw -lSM -lI
CE
maths/sparse/libsparse.a(spalloc.o)(.text+0x38): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x222): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x235): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x30e): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x321): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x44a): more undefined references to `tmalloc' follow
maths/sparse/libsparse.a(spalloc.o)(.text+0x58e): In function `RecordAllocation':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x5af): In function `AllocateBlockOfAllocationList':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x77b): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x785): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x78f): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x799): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x7a3): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x7ad): more undefined references to `txfree' follow
maths/sparse/libsparse.a(spalloc.o)(.text+0x870): In function `spcGetElement':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x8f0): In function `spcGetFillin':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x25a): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x284): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x29a): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2b0): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2c6): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x51d): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x52a): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x537): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x544): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x551): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x55e): more undefined references to `txfree' follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x5e2): In function `ExpandTranslationArrays':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x60c): In function `ExpandTranslationArrays':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x12f8): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x1317): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x1336): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x1358): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x137e): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x13a4): 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+0x82): In function `CKTcrtElt':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x38): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x222): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x235): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x30e): In function `spCreate':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x321): more undefined references to `tmalloc' follow
maths/sparse/libsparse.a(spalloc.o)(.text+0x58e): In function `RecordAllocation':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x5af): In function `AllocateBlockOfAllocationList':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x77b): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x785): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x78f): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x799): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x7a3): In function `spDestroy':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spalloc.o)(.text+0x7ad): more undefined references to `txfree' follow
maths/sparse/libsparse.a(spalloc.o)(.text+0x870): In function `spcGetElement':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spalloc.o)(.text+0x8f0): In function `spcGetFillin':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x25a): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x284): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x29a): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2b0): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x2c6): In function `EnlargeMatrix':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x51d): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x52a): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x537): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x544): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x551): In function `EnlargeMatrix':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spbuild.o)(.text+0x55e): more undefined references to `txfree' follow
maths/sparse/libsparse.a(spbuild.o)(.text+0x5e2): In function `ExpandTranslationArrays':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spbuild.o)(.text+0x60c): In function `ExpandTranslationArrays':
: undefined reference to `trealloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x12f8): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x1317): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x1336): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x1358): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x137e): In function `spcCreateInternalVectors':
: undefined reference to `tmalloc'
maths/sparse/libsparse.a(spfactor.o)(.text+0x13a4): more undefined references to `tmalloc' follow
maths/sparse/libsparse.a(spoutput.o)(.text+0x5fa): In function `spPrint':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spoutput.o)(.text+0x60c): In function `spPrint':
: undefined reference to `txfree'
maths/sparse/libsparse.a(spoutput.o)(.text+0xf61): 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[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.
Comment 3 Person Sébastien 2005-01-26 13:09:59 UTC
please see bug 75901

I've just compiled ng-spice-rework-15 with no problems.
Comment 4 Michael Imhof (RETIRED) gentoo-dev 2006-05-04 06:17:53 UTC
any news on this bug?
can someone please check in this ebuild?
Comment 5 Denis Dupeyron (RETIRED) gentoo-dev 2006-08-01 02:24:16 UTC
I just wanted to let you all know that I'm in the process of adding gspiceui-0.8.55 to portage. I'm not sure I'll do this before I go on vacation at the end of this week. At the latest, it will be there end of august or early september.

The thing that's keeping me thinking is how it does or should integrate with geda.

Please find below the ebuild that currently is sitting in my overlay.

Denis.
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2006-08-01 02:25:42 UTC
Created attachment 93191 [details]
gspiceui-0.8.55.ebuild
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2006-12-21 01:36:38 UTC
Now available in the Sunrise overlay: http://www.gentoo-sunrise.org/sunrise/browser/reviewed/sci-electronics/gspiceui
Comment 8 Rafael Martins (RETIRED) gentoo-dev 2009-04-29 05:29:14 UTC
I've made an ebuild to gspiceui 0.9.65, based on this from sunrise overlay and using USE flags.

Sugestions and critics are welcome.
Comment 9 Rafael Martins (RETIRED) gentoo-dev 2009-04-29 05:30:59 UTC
Created attachment 189800 [details]
gspiceui-0.9.65.ebuild
Comment 10 Denis Dupeyron (RETIRED) gentoo-dev 2009-04-29 05:57:18 UTC
Hi Rafael,

I just had a quick look at it and it's not bad at all. The only issue I can see is that apparently you do not need to inherit eutils.

The rest is more nitpicking. You could switch the ebuild to EAPI2 and use src_prepare instead of src_unpack. Also, some will disapprove the USE flag to trigger runtime dependencies on gwave and geda, although this is arguable. An einfo in pkg_postinst may be a better idea.

I'll have a closer look at this in the near future as I need it to update the geda-suite ebuild.

Thanks,
Denis.
Comment 11 Rafael Martins (RETIRED) gentoo-dev 2009-04-29 15:10:43 UTC
Created attachment 189851 [details, diff]
gspiceui-0.9.65.ebuild using EAPI="2" and without unnecessary USE flags

Denis, i've made a patch, with those corrections.

Thanks
Comment 12 Andreas K. Hüttel archtester gentoo-dev 2009-12-06 19:23:19 UTC
(In reply to comment #11)

Thanks - I've updated the sunrise ebuild based on your work. 
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2010-06-16 18:13:08 UTC
Moved from sunrise to sci overlay.
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2010-09-23 20:54:32 UTC
In CVS after nearly 6 years. :)