First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 106496
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Denis Dupeyron <calchan@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ng-spice-rework-17.ebuild ng-spice-rework-17.ebuild text/plain Denis Dupeyron 2005-09-19 02:35 0000 924 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 106496 depends on: Show dependency tree
Show dependency graph
Bug 106496 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-19 02:31 0000
Version rework-17 of ngspice was released on august 30th. Here is an ebuild for
it. Changelog compared to previous ebuild:
* revbumped to rework-17
* download location changed to sourceforge mirrors
* added sensitivity to 'debug' and 'readline' USE flags
* keyword ppc changed to ~ppc (so that it's unstable for all archictures until
it's confirmed OK)
* patch for gcc 3.4 no more needed

------- Comment #1 From Denis Dupeyron 2005-09-19 02:35:07 0000 -------
Created an attachment (id=68798) [edit]
ng-spice-rework-17.ebuild

------- Comment #2 From Tim Yamin (RETIRED) 2005-12-28 04:33:09 0000 -------
*** Bug 109851 has been marked as a duplicate of this bug. ***

------- Comment #3 From Tim Yamin (RETIRED) 2006-01-01 14:08:06 0000 -------
debug and readline USE flags now in the -17 ebuild; thanks!

------- Comment #4 From Ludek Stepan 2006-03-17 10:57:49 0000 -------
(In reply to comment #3)
> debug and readline USE flags now in the -17 ebuild; thanks!
> 

Hello,

could anyone be so kind to add --enable-xspice config directive to the ebuild,
please? I suggest adding USE flag for this. The xspice is important feature in
my opinion and I believe users should be given an option whether they use
xspice or not. There was also a discusion in ng-spice mailing list about
enabling this feature as default. While many manufacturers provide only spice2
models (which use spice3-incompatible POLY() function) for their parts, the
user needs to enable this feature if he is to use these models.

I offer this modification for the existing ebuild:
--- ng-spice-rework-17.ebuild.old       2006-03-17 19:55:06.000000000 +0100
+++ ng-spice-rework-17.ebuild   2006-03-17 19:37:53.000000000 +0100
@@ -10,13 +10,14 @@
 LICENSE="BSD GPL-2"

 SLOT="0"
-IUSE="readline debug"
+IUSE="readline debug xspice"
 KEYWORDS="~amd64 ~ppc ~x86"

 DEPEND="readline? ( >=sys-libs/readline-5.0 )"

 src_compile() {
        econf \
+               $(use_enable xspice) \
                $(use_with debug) \
                $(use_with readline) || die "econf failed"
        emake || die "emake failed"

------- Comment #5 From Tim Yamin (RETIRED) 2006-03-17 11:53:38 0000 -------
Hi Ludek,

1) Does it need a USE flag? I have tclspice just enable xspice support by
default; doesn't seem to cause problems. Does the xspice support cause
conflicts with existing spice2?

2) If so, use.local.desc needs updating, does this sound reasonable:

--- use.local.desc      17 Mar 2006 16:04:55 -0000      1.1786
+++ use.local.desc      17 Mar 2006 19:51:33 -0000
@@ -1211,6 +1211,7 @@
 sci-chemistry/caver:pymol - Install the PyMol plugin
 sci-chemistry/eden:double-precision - more precise calculations at the expense
of speed
 sci-chemistry/ghemical:mpqc - Use the MPQC package for quantum-mechanical
calculations
+sci-electronics/ng-spice-rework:xspice - Enable extended SPICE3 features for
code modelling and digital components
 sci-geosciences/gmt:gmtfull - Full resolution bathymetry database
 sci-geosciences/gmt:gmthigh - Adds high resolution bathymetry database
 sci-geosciences/gmt:gmtsuppl - Supplement functions for GMT

3) Ideally you should file a new bug or reopen, comments get lost sometimes on
resolved bugs.

------- Comment #6 From Ludek Stepan 2006-03-17 12:56:17 0000 -------
(In reply to comment #5)
> 1) Does it need a USE flag? I have tclspice just enable xspice support by
> default; doesn't seem to cause problems. Does the xspice support cause
> conflicts with existing spice2?

Well, it doesn't need USE flag as long as it's enabled by default, but at this
moment it's not. Anyway, following the "gentoo's all about options" philosophy,
I think USE flag is ok for this. I don't know about any conflicts, but I did no
checks. Perhaps somebody else can verify it. I can't install tclspice on amd64
(emerge error)  :( and spice doesn't work for me (bug #84034 )

------- Comment #7 From Denis Dupeyron 2006-03-17 13:31:07 0000 -------
(In reply to comment #6)
> Well, it doesn't need USE flag as long as it's enabled by default, but at this
> moment it's not. Anyway, following the "gentoo's all about options" philosophy,

If you really want xspice, you can always activate it like this :
EXTRA_ECONF="--enable-xspice" emerge ng-spice-rework

Now, about having xpsice as a default is another story. I've had bad
experiences with it, but your mileage may (will) vary.

------- Comment #8 From Tim Yamin (RETIRED) 2006-03-18 14:24:23 0000 -------
Hrm, I noticed enabling xspice dumps a lot of debug output when starting
ngspice, so the feature looks rather experimental...

------- Comment #9 From Denis Dupeyron 2006-03-18 14:43:20 0000 -------
(In reply to comment #8)
> Hrm, I noticed enabling xspice dumps a lot of debug output when starting
> ngspice, so the feature looks rather experimental...

True, plus doing a './configure --help' shows --enable-xspice as being
"officially" experimental.

Another feature that I can confirm breaks ng-spice under certain conditions is
numparam. I tried to fix it, but gave up (you should just have a look at the
code, for a good laugh). There were some allusions on the mailing list about
rewriting it totally.

------- Comment #10 From Ludek Stepan 2006-03-19 02:01:30 0000 -------
Ok, you are right. The xspice feature *is* quite experimental, but doesn't the
whole package taste bit experimental? Although xspice can break things, it is
important part and feature of the ngspice package and I believe it's useful for
many people. At least for those who would like to use spice2 macromodels
released by manufacturers, as these models often contain polynomial sources. I
don't claim it should be enabled by default, but I think an USE flag is
appropriate for this. EXTRA_ECONF="--enable-xspice" does the job, but I
wouldn't call it "efficient". Aren't the USE flags designed for this? Oh come
on, it can't be that hard to add it...

--- use.local.desc      17 Mar 2006 16:04:55 -0000      1.1786
+++ use.local.desc      17 Mar 2006 19:51:33 -0000
@@ -1211,6 +1211,7 @@
 sci-chemistry/caver:pymol - Install the PyMol plugin
 sci-chemistry/eden:double-precision - more precise calculations at the expense
of speed
 sci-chemistry/ghemical:mpqc - Use the MPQC package for quantum-mechanical
calculations
+sci-electronics/ng-spice-rework:xspice - Enable extended SPICE3 features for
code modelling and digital components (bug #106496)
 sci-geosciences/gmt:gmtfull - Full resolution bathymetry database
 sci-geosciences/gmt:gmthigh - Adds high resolution bathymetry database
 sci-geosciences/gmt:gmtsuppl - Supplement functions for GMT

------- Comment #11 From Denis Dupeyron 2006-04-07 14:44:58 0000 -------
(In reply to comment #10)
> Ok, you are right. The xspice feature *is* quite experimental, but doesn't the
> whole package taste bit experimental? Although xspice can break things, it is
> important part and feature of the ngspice package and I believe it's useful for
> many people. At least for those who would like to use spice2 macromodels
> released by manufacturers, as these models often contain polynomial sources. I
> don't claim it should be enabled by default, but I think an USE flag is
> appropriate for this. EXTRA_ECONF="--enable-xspice" does the job, but I
> wouldn't call it "efficient". Aren't the USE flags designed for this? Oh come
> on, it can't be that hard to add it...
> 
> --- use.local.desc      17 Mar 2006 16:04:55 -0000      1.1786
> +++ use.local.desc      17 Mar 2006 19:51:33 -0000
> @@ -1211,6 +1211,7 @@
>  sci-chemistry/caver:pymol - Install the PyMol plugin
>  sci-chemistry/eden:double-precision - more precise calculations at the expense
> of speed
>  sci-chemistry/ghemical:mpqc - Use the MPQC package for quantum-mechanical
> calculations
> +sci-electronics/ng-spice-rework:xspice - Enable extended SPICE3 features for
> code modelling and digital components (bug #106496)
>  sci-geosciences/gmt:gmtfull - Full resolution bathymetry database
>  sci-geosciences/gmt:gmthigh - Adds high resolution bathymetry database
>  sci-geosciences/gmt:gmtsuppl - Supplement functions for GMT
> 

When I wrote 'experimental' about xspice above, it meant it is actually broken,
only in mild language. You can find hints of this on the ng-spice mailing
lists, and I have personnally  experienced it (and with fairly simple models,
even). So, since it is broken for at least a few of us, it means it isn't ready
for prime time yet.

However, feel free to compile it in, and report bugs upstream if you find any.

------- Comment #12 From Ludek Stepan 2006-04-09 08:07:43 0000 -------
(In reply to comment #11)
> When I wrote 'experimental' about xspice above, it meant it is actually broken,
> only in mild language. You can find hints of this on the ng-spice mailing
> lists, and I have personnally  experienced it (and with fairly simple models,
> even). So, since it is broken for at least a few of us, it means it isn't ready
> for prime time yet.
> 
> However, feel free to compile it in, and report bugs upstream if you find any.
> 

Ok, no problem for me :) So this bug shell be marked WON'T or CLOSED
respectively?

Yours Ludek

------- Comment #13 From Tim Yamin (RETIRED) 2006-04-10 12:33:42 0000 -------
(In reply to comment #12)
> Ok, no problem for me :) So this bug shell be marked WON'T or CLOSED
> respectively?

Guess so. If you think the situation has changed in future releases and it
feels stable enough please let us know. Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug