Subject: Re: lang/guile update to 1.8.1
To: None <dmcmahill@NetBSD.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: tech-pkg
Date: 06/08/2007 20:06:10
Dan McMahill <dmcmahill@NetBSD.org> writes:

> Greg Troxel wrote:
>> Dan McMahill <dmcmahill@NetBSD.org> writes:
>>
>>> Greg Troxel wrote:
>> $ guile
>> guile> (use-modules (ice-9 slib))
>> guile> (require 'pretty-print)
>> guile> (pretty-print '((a b) (b c d) e))
>> ((a b) (b c d) e)
>> 18
>>
>> You'll need the guile-slib package.  It works fine with 1.6.8.   In
>> 1.6.8, see ice-9/slib.scm and slib-old.scm.   I suspect that something
>> like what's in slib.scm (minus the option to use slib-old.scm, and minus
>> the browse-url stuff) will be adequate.
>
> guile> (use-modules (ice-9 slib))
> ERROR: Unbound variable: slib:features
> ABORT: (unbound-variable)
> guile> (load "/usr/pkg/share/slib/guile.init")
> guile> (use-modules (ice-9 slib))
> guile> (require 'pretty-print)
> guile> (pretty-print '((a b) (b c d) e))
> ((a b) (b c d) e)
> 18
> guile> (quit)

So the slib in ice-9 is broken, and making it like the 1.6
slib/ice-9.scm with a patch is probably in order.

>> No, I don't.  If the problems are similar in 1.6.8 and 1.8.1 I'd suggest
>> deferring worrying about that until after the upgrade, as it seems very
>> likely to be an upstream bug that isn't getting worse.
>
> I'm working with the guile developers in parallel to resolve some of
> those.  In the mean time I'm seeing how far I can get with a bulk
> build on my system where I'm only building the pkgs which directly
> require guile.  Of course that, plus dependencies, is a pretty good
> pile of packages.  Then hopefully I can make a first pass call at
> which packages need to be pointed at guile16.
>
> what a pain...

Indeed - thanks for your guile efforts.