GNU bug report logs - #47978
guix/import/go.scm: Dependency on guile-lib >= 0.2.7

Previous Next

Package: guix;

Reported by: Vagrant Cascadian <vagrant <at> debian.org>

Date: Fri, 23 Apr 2021 18:51:01 UTC

Severity: normal

Merged with 47924

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47978 in the body.
You can then email your comments to 47978 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47978; Package guix. (Fri, 23 Apr 2021 18:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vagrant Cascadian <vagrant <at> debian.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 23 Apr 2021 18:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: bug-guix <at> gnu.org
Subject: guix/import/go.scm: Dependency on guile-lib >= 0.2.7
Date: Fri, 23 Apr 2021 11:50:25 -0700
[Message part 1 (text/plain, inline)]
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:

  https://ftp-master.debian.org/new/guile-semver_0.1.1-1.html


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


live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47978; Package guix. (Wed, 28 Apr 2021 21:36:01 GMT) Full text and rfc822 format available.

Message #8 received at 47978 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Vagrant Cascadian <vagrant <at> debian.org>
Cc: 47978 <at> debbugs.gnu.org
Subject: Re: bug#47978: guix/import/go.scm: Dependency on guile-lib >= 0.2.7
Date: Wed, 28 Apr 2021 23:35:00 +0200
Hi,

Vagrant Cascadian <vagrant <at> 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’.

Thanks,
Ludo’.




bug closed, send any further explanations to 47978 <at> debbugs.gnu.org and Vagrant Cascadian <vagrant <at> debian.org> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Apr 2021 21:36:02 GMT) Full text and rfc822 format available.

Merged 47924 47978. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Apr 2021 21:36:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#47978; Package guix. (Wed, 28 Apr 2021 22:30:02 GMT) Full text and rfc822 format available.

Message #15 received at 47978 <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 47978 <at> debbugs.gnu.org
Subject: Re: bug#47978: guix/import/go.scm: Dependency on guile-lib >= 0.2.7
Date: Wed, 28 Apr 2021 15:29:04 -0700
[Message part 1 (text/plain, inline)]
On 2021-04-28, Ludovic Courtès wrote:
> Vagrant Cascadian <vagrant <at> 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 May 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.