[frogs] Re: T1055: Avoid using deprecated %module-public-interface in guile initialisation. (issue1160044)

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


On Sun, Aug 1, 2010 at 1:03 PM, <pnorcks@xxxxxxxxx> wrote:
> On 2010/07/29 19:24:46, Neil Puttock wrote:
>>
>> + = scm_list_3 (ly_symbol2scm ("module-use!"), mod, used);
>>
>> This effectively exports all bindings, so all local defines are
>> now exported.
>>
>> In the case of `profile-property-access.ly', the format call
>> ends up using `ergonomic-simple-format' from lily.scm.
>
> Thanks for this observation, Neil.
>
> The reason why I suggested this change is to prevent a compile failure
> with Guile 1.9.  The backtrace is below.  Perhaps there is a bug in the
> `module-public-interface' procedure?  Not really sure how to test if
> this is the case though...

I think I found the problem.

With Guile 1.9, `module-public-interface' doesn't return an interface
for `the-scm-module', which we rely on:

  scheme@(guile-user)> (module-public-interface the-scm-module)
  $1 = #f
  scheme@(guile-user)>

I'll report this upstream.

Thanks,
Patrick

---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/