unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59002: Bug from profile path name?
@ 2022-11-03 18:56 Greg Hogan
  2022-11-04  9:08 ` zimoun
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Hogan @ 2022-11-03 18:56 UTC (permalink / raw)
  To: 59002

With an '@' character in the profile path I see the following error.

(the reason for using the full package@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@14 llvm@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 "'")'.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#59002: Bug from profile path name?
  2022-11-03 18:56 bug#59002: Bug from profile path name? Greg Hogan
@ 2022-11-04  9:08 ` zimoun
  0 siblings, 0 replies; 2+ messages in thread
From: zimoun @ 2022-11-04  9:08 UTC (permalink / raw)
  To: Greg Hogan, 59002

Hi,

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

[...]

> $ guix install -p ~/profile/llvm@14 llvm@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@14’ would work but not
’llvm@code’.  Why not? :-)


Cheers,
simon





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-04 10:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 18:56 bug#59002: Bug from profile path name? Greg Hogan
2022-11-04  9:08 ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).