GNU bug report logs - #59002
Bug from profile path name?

Previous Next

Package: guix;

Reported by: Greg Hogan <code <at> greghogan.com>

Date: Thu, 3 Nov 2022 18:57:02 UTC

Severity: normal

To reply to this bug, email your comments to 59002 AT debbugs.gnu.org.

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#59002; Package guix. (Thu, 03 Nov 2022 18:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Greg Hogan <code <at> greghogan.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 03 Nov 2022 18:57:02 GMT) Full text and rfc822 format available.

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

From: Greg Hogan <code <at> greghogan.com>
To: bug-guix <at> gnu.org
Subject: Bug from profile path name?
Date: Thu, 3 Nov 2022 14:56:10 -0400
With an '@' character in the profile path I see the following error.

(the reason for using the full package <at> version in the profile path is
to preserve successfully built packages when garbage collecting during
testing of updates to dependent packages)

Greg

$ guix install -p ~/profile/llvm <at> 14 llvm <at> 14
The following package will be installed:
   llvm 14.0.6

The following derivation will be built:
  /gnu/store/bvybwzjn6gzvkcyg77lxc1cjk13h41vk-profile.drv

building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
The following builds are still in progress:
  /gnu/store/f9q36dx4xlaw4d9m9cfl57v7623dng4d-fonts-dir.drv
  /gnu/store/7lr81m696k1xbdkpchxjnlxzsr76svh3-emacs-subdirs.drv

building directory of Info manuals...
The following builds are still in progress:
  /gnu/store/mhd4jwqyjcsq6nfccnya8jirfaf8pm6f-info-dir.drv
  /gnu/store/f9q36dx4xlaw4d9m9cfl57v7623dng4d-fonts-dir.drv

The following build is still in progress:
  /gnu/store/mhd4jwqyjcsq6nfccnya8jirfaf8pm6f-info-dir.drv

building profile with 1 package...
hint: Backtrace:
          18 (primitive-load "/home/ec2-user/.config/guix/current/bi…")
In guix/ui.scm:
   2263:7 17 (run-guix . _)
  2226:10 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    835:3 14 (_)
    815:4 13 (call-with-status-report _ _)
In guix/store.scm:
   1300:8 12 (call-with-build-handler _ _)
   1300:8 11 (call-with-build-handler #<procedure 7f9809626990 at g…> …)
In guix/build/syscalls.scm:
   1433:3 10 (_)
   1400:4  9 (call-with-file-lock/no-wait _ _ _)
In guix/scripts/package.scm:
    325:7  8 (build-and-use-profile _ "/home/ec2-user/profile/llvm@…" …)
In guix/ui.scm:
    312:5  7 (display-hint _ _)
  1448:24  6 (texi->plain-text _)
In texinfo.scm:
  1132:22  5 (parse _)
   980:31  4 (loop #<input: string 7f97f8aa84d0> (*fragment*) _ _ _)
   911:31  3 (loop #<input: string 7f97f8aa84d0> #f #<procedure ide…> …)
   754:31  2 (_ #<input: string 7f97f8aa84d0> _ (example # # lisp …) …)
     92:2  1 (read-command-token #<input: string 7f97f8aa84d0>)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `parser-error' with args `(#<input: string 7f97f8aa84d0>
"Nonalphabetic @-command char: '" #\1 "'")'.




Information forwarded to bug-guix <at> gnu.org:
bug#59002; Package guix. (Fri, 04 Nov 2022 10:15:03 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Greg Hogan <code <at> greghogan.com>, 59002 <at> debbugs.gnu.org
Subject: Re: bug#59002: Bug from profile path name?
Date: Fri, 04 Nov 2022 10:08:41 +0100
Hi,

On Thu, 03 Nov 2022 at 14:56, Greg Hogan <code <at> greghogan.com> wrote:

[...]

> $ guix install -p ~/profile/llvm <at> 14 llvm <at> 14

[...]

> In guix/ui.scm:
>     312:5  7 (display-hint _ _)
>   1448:24  6 (texi->plain-text _)
> In texinfo.scm:
>   1132:22  5 (parse _)
>    980:31  4 (loop #<input: string 7f97f8aa84d0> (*fragment*) _ _ _)
>    911:31  3 (loop #<input: string 7f97f8aa84d0> #f #<procedure ide…> …)
>    754:31  2 (_ #<input: string 7f97f8aa84d0> _ (example # # lisp …) …)
>      92:2  1 (read-command-token #<input: string 7f97f8aa84d0>)
> In ice-9/boot-9.scm:
>   1685:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Throw to key `parser-error' with args `(#<input: string 7f97f8aa84d0>
> "Nonalphabetic @-command char: '" #\1 "'")'.

Well, the issue is ’@14’ is interpreted as TeXinfo.  Maybe the
replacement of ’texi->plain-text’ inside ’display-hint’ by
’texi->plain-text*’ and teach the latter for this “corner case“.

However, what is the “corner case”? :-) Any ’@thing’ for thing not a
keyword of TeXinfo?  Therefore, ’llvm <at> 14’ would work but not
’llvm <at> code’.  Why not? :-)


Cheers,
simon





This bug report was last modified 1 year and 145 days ago.

Previous Next


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