guix/import/go.scm: Dependency on guile-lib >= 0.2.7

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Vagrant Cascadian
Owner
unassigned
Submitted by
Vagrant Cascadian
Severity
normal
Merged with
V
V
Vagrant Cascadian wrote on 23 Apr 2021 20:50
(address . bug-guix@gnu.org)
87lf98omxa.fsf@yucca
When building guix (with commit cb3f9696f6251ad382febad33290fed929c176b4
from branch version-1.3.0) on Debian, it fails with the following error
with guile-library (a.k.a. guile-lib) version 0.2.6.1-2:

ice-9/eval.scm:293:34: error: %strict-tokenizer?: unbound variable
hint: Did you forget a `use-modules' form?

[ 10%] LOAD guix/import/go.scm
;;; Failed to autoload semver-range-contains? in (semver ranges):
;;; missing interface for module (semver ranges)
...
;;; Failed to autoload semver<? in (semver):
;;; missing interface for module (semver)
ice-9/eval.scm:293:34: error: %strict-tokenizer?: unbound variable
hint: Did you forget a `use-modules' form?


Installing guile-library version 0.2.7 works fine.

FWIW, I do not have guile-semver installed in either case; that seems to
be a truely optional dependency... guile-semver is not yet accepted in
Debian, but hopefully will be soon:



Maybe doc/guix.texi should be updated to specify the minimum version?


live well,
vagrant
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYIMW8gAKCRDcUY/If5cW
qqUoAP9T0VTXChRgUhOp2HDvT3srlFLd6WXV9nmoNEFj+c9TagD9FJgaulyn2w6A
mK6/Fot+f++b/gv1mIGRUByObUocBwY=
=Wg09
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 28 Apr 2021 23:35
(name . Vagrant Cascadian)(address . vagrant@debian.org)(address . 47978@debbugs.gnu.org)
87o8dyozy3.fsf@gnu.org
Hi,

Vagrant Cascadian <vagrant@debian.org> skribis:

Toggle quote (19 lines)
> When building guix (with commit cb3f9696f6251ad382febad33290fed929c176b4
> from branch version-1.3.0) on Debian, it fails with the following error
> with guile-library (a.k.a. guile-lib) version 0.2.6.1-2:
>
> ice-9/eval.scm:293:34: error: %strict-tokenizer?: unbound variable
> hint: Did you forget a `use-modules' form?
>
> [ 10%] LOAD guix/import/go.scm
> ;;; Failed to autoload semver-range-contains? in (semver ranges):
> ;;; missing interface for module (semver ranges)
> ...
> ;;; Failed to autoload semver<? in (semver):
> ;;; missing interface for module (semver)
> ice-9/eval.scm:293:34: error: %strict-tokenizer?: unbound variable
> hint: Did you forget a `use-modules' form?
>
>
> Installing guile-library version 0.2.7 works fine.

34db952a4b655cca9d5dc7158e9a8552d389cbcf fixes it by making Guile-Lib a
“soft” dependency as was intended. But yes, 0.2.7 is required if you
want to use ‘guix import go’.

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 28 Apr 2021 23:35
control message for bug #47978
(address . control@debbugs.gnu.org)
87mttiozxr.fsf@gnu.org
close 47978
quit
L
L
Ludovic Courtès wrote on 28 Apr 2021 23:35
(address . control@debbugs.gnu.org)
87lf92ozx2.fsf@gnu.org
merge 47978 47924
quit
V
V
Vagrant Cascadian wrote on 29 Apr 2021 00:29
Re: bug#47978: guix/import/go.scm: Dependency on guile-lib >= 0.2.7
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 47978@debbugs.gnu.org)
87lf92vya7.fsf@yucca
On 2021-04-28, Ludovic Courtès wrote:
Toggle quote (25 lines)
> Vagrant Cascadian <vagrant@debian.org> skribis:
>
>> When building guix (with commit cb3f9696f6251ad382febad33290fed929c176b4
>> from branch version-1.3.0) on Debian, it fails with the following error
>> with guile-library (a.k.a. guile-lib) version 0.2.6.1-2:
>>
>> ice-9/eval.scm:293:34: error: %strict-tokenizer?: unbound variable
>> hint: Did you forget a `use-modules' form?
>>
>> [ 10%] LOAD guix/import/go.scm
>> ;;; Failed to autoload semver-range-contains? in (semver ranges):
>> ;;; missing interface for module (semver ranges)
>> ...
>> ;;; Failed to autoload semver<? in (semver):
>> ;;; missing interface for module (semver)
>> ice-9/eval.scm:293:34: error: %strict-tokenizer?: unbound variable
>> hint: Did you forget a `use-modules' form?
>>
>>
>> Installing guile-library version 0.2.7 works fine.
>
> 34db952a4b655cca9d5dc7158e9a8552d389cbcf fixes it by making Guile-Lib a
> “soft” dependency as was intended. But yes, 0.2.7 is required if you
> want to use ‘guix import go’.

Makes sense.

Some (e.g. guile-ssh) of the "optional" dependencies are or were
similarly required to build guix in the past ... I should probably file
bugs when I encounter them, sounds like. :)


live well,
vagrant
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYInhsAAKCRDcUY/If5cW
qiZEAP98mtEi89CHiAAMQVpGySV9HjmiEgTu5cvyJdcJ6XvUPwD/XEgNnqiAWo2B
HJbGpaH9LsTkxlNWn6HnXpCnECEANAI=
=/hIw
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 47978@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 47978
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch