Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204183 - sci-electronics/geda-1.2.1 version bump
Summary: sci-electronics/geda-1.2.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-03 13:11 UTC by Stefan Salewski
Modified: 2008-02-09 10:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Salewski 2008-01-03 13:11:25 UTC
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 Denis Dupeyron (RETIRED) gentoo-dev 2008-01-03 20:56:42 UTC
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 Stefan Salewski 2008-01-03 23:50:02 UTC
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 Stefan Salewski 2008-01-28 00:10:50 UTC
gEDA/gaf stable version 1.4.0-20080127 released!

Download: http://geda.seul.org/release/v1.4/1.4.0
Comment 4 Stefan Salewski 2008-01-30 15:05:59 UTC
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 Denis Dupeyron (RETIRED) gentoo-dev 2008-02-09 10:14:17 UTC
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.