First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 204183
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: The Soldering-Iron Brotherhood <sci-electronics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Salewski <mail@ssalewski.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 204183 depends on: Show dependency tree
Show dependency graph
Bug 204183 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: 2008-01-03 13:11 0000
Just to let you know: 

gEDA/gaf stable version 1.2.1-20071231 released!

Please make sure that guile will have regex module included, see this post from
geda-user mailing list:

On Thursday 03 January 2008 11:16:24 Stefan Salewski wrote:
>
> Yes, gEDA/gschem version 1.2.0.20070902 terminates when I try to place
> a pin on an empty sheet or when I try to rotate a pin of a symbol (during
> creation of a new symbol).
> (Drawing schematics and modifying symbols works fine.)

The regex module is a standard part of Guile 1.6: 

  If your system does not include a POSIX regular expression library,
  and you have not linked Guile with a third-party regexp library such as
  Rx, these functions will not be available.  You can tell whether your
  Guile installation includes regular expression support by checking
  whether `(provided? 'regex)' returns true.

There is absolutely no reason why your distribution should not provide a Guile 
package linked against a regexp library, because several other tools provided 
as standard with a Linux distribution require one (Perl being a good 
example).  Please file this issue against your distribution's Guile package.

In the meantime, comment out the following line (843) in your system-gschemrc:

-(load-from-path "auto-place-attribs.scm")
+;(load-from-path "auto-place-attribs.scm")

I will probably fix the gschem configure script to check for the availability 
of the Guile regular expression module, and to error out if it is not 
present.

>
> Is this bug fixed in release 1.2.1 or unstable 1.3?

As far as I can tell, this is not a bug: this is an unsatisfied dependency 
requirement.  It would be bad to "magically" disable the affected feature if 
the regex module was not available.

                                     Peter


-- 
Peter Brett


Reproducible: Always

------- Comment #1 From Denis Dupeyron 2008-01-03 20:56:42 0000 -------
I will look into it. Id' really love to use guile 1.8 if possible though, as
guile 1.6 is becoming seriously dprecated and can't be slotted next to 1.8. On
the other hand this guile thing is such a mess that I don't know anymore.

Denis.

------- Comment #2 From Stefan Salewski 2008-01-03 23:50:02 0000 -------
I think guile 1.8 is fine for gEDA. The problem is that latest guile shipped
with Gentoo is build without regex by default:

AMD64X2 ~ # emerge --pretend -v guile 
These are the packages that would be merged, in order:
Calculating dependencies ... done!
[ebuild   R   ] dev-scheme/guile-1.8.2  USE="deprecated nls -debug
-debug-freelist -debug-malloc -discouraged -elisp -networking -regex -threads"
0 kB 
Total: 1 package (1 reinstall), Size of downloads: 0 kB

I have just added global useflag "regex".
emerge --update --deep --newuse world
revdep-rebuild

guile was rebuilded -- recompile of gEDA was not necessary.
gschem of geda works fine now.

So the trick is to enforce that guile is compiled with regex useflag if gEDA is
installed.

Regards

Stefan Salewski

------- Comment #3 From Stefan Salewski 2008-01-28 00:10:50 0000 -------
gEDA/gaf stable version 1.4.0-20080127 released!

Download: http://geda.seul.org/release/v1.4/1.4.0

------- Comment #4 From Stefan Salewski 2008-01-30 15:05:59 0000 -------
Release notes for the gEDA/gaf 1.4.0.20080127 stable snapshot:

http://geda.seul.org/release/v1.4/1.4.0/gaf-1.4.0-relnotes.html

------- Comment #5 From Denis Dupeyron 2008-02-09 10:14:17 0000 -------
Done. There are quite a few cleanups and modifications to the ebuilds. Apart
from the new threads USE flag, nothing is visible from the outside though.

Let's try stress test this so that we can target a stabilization of geda next
month and a massive cleanup of old and broken stuff here. I'll then tackle
geda-suite as I saw upstream has some new stuff for us.

Denis.

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