Subject: Re: bug#61080: guile-static 3.0.9 failed to build.

From: Ludovic Courtès <[email-masked]>
Date: Thu, 26 Jan 2023 23:24:20 +0100

Hi,

Hilton Chain <[email-masked]> skribis:

>   CCLD     libguile-3.0.la
> ar: libguile_3.0_la-alist.o: plugin needed to handle lto object
> ranlib: .libs/libguile-3.0.a(libguile_3.0_la-alist.o): plugin needed to handle lto object
>   CCLD     guile
> ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccbwgli2.ltrans0.ltrans.o: in function `inner_main':
> /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/guile.c:50: undefined reference to `scm_shell'
> ld: /tmp/guix-build-guile-static-3.0.9.drv-0/ccbwgli2.ltrans0.ltrans.o: in function `main':
> /tmp/guix-build-guile-static-3.0.9.drv-0/guile-3.0.9/libguile/guile.c:94: undefined reference to `scm_boot_guile'
> collect2: error: ld returned 1 exit status

This is fixed in c2b40b4b4c9e0227e47730ebe73a653b89d1e568 (you’ll have
to wait a bit before substitutes are available, or build it locally.)

I reported the bug on the Guile side too:

  https://issues.guix.gnu.org/61086

Sorry for the inconvenience!

Ludo’.