GNU bug report logs - #57093
'guix style --whole-file' hangs indefinitely if parenthesis is unmatched

Previous Next

Package: guix;

Reported by: Mohammed AMAR-BENSABER <renken <at> shione.net>

Date: Tue, 9 Aug 2022 21:53:01 UTC

Severity: normal

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 57093 in the body.
You can then email your comments to 57093 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#57093; Package guix. (Tue, 09 Aug 2022 21:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mohammed AMAR-BENSABER <renken <at> shione.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 09 Aug 2022 21:53:02 GMT) Full text and rfc822 format available.

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

From: Mohammed AMAR-BENSABER <renken <at> shione.net>
To: bug-guix <at> gnu.org
Subject: 'guix style --whole-file' hangs indefinitely if parenthesis is
 unmatched
Date: Tue, 09 Aug 2022 23:25:34 +0200
[Message part 1 (text/plain, inline)]
Hi,

guix style --whole-file package.scm hangs indefinitely if parenthesis is 
unmatched. Relevant commit a15542d26df42dabdb5e2f76d150ae200230c3b0.

Here is an example package definition with missing a parenthesis. 

(define-public vim-asyncrun
  (package
    (name "vim-asyncrun")
    (version "2.8.6")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                     (url "https://github.com/skywind3000/asyncrun.vim")
                     (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "11zcw0sll6qg6ha0rr6n1cw5v73azvf7ycwn9lgiwa5cj7rrqjf4"))))
    (build-system copy-build-system)
    (arguments
     '(#:install-plan
       '(("plugin" "share/vim/vimfiles/")
         ("doc/" "share/vim/vimfiles/doc" #:include ("asyncrun.txt")))))
    (home-page "https://github.com/skywind3000/asyncrun.vim")
    (synopsis "Run Async Shell Commands in Vim")
    (description "This plugin takes the advantage of new APIs in Vim 8 (and
NeoVim) to enable you to run shell commands in background and read output in 
the
quickfix window in realtime.")
    (license license:expat))

-- 
Mohammed 'Renken' AMAR-BENSABER
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 10 Aug 2022 14:57:01 GMT) Full text and rfc822 format available.

Notification sent to Mohammed AMAR-BENSABER <renken <at> shione.net>:
bug acknowledged by developer. (Wed, 10 Aug 2022 14:57:01 GMT) Full text and rfc822 format available.

Message #10 received at 57093-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Mohammed AMAR-BENSABER <renken <at> shione.net>
Cc: 57093-done <at> debbugs.gnu.org
Subject: Re: bug#57093: 'guix style --whole-file' hangs indefinitely if
 parenthesis is unmatched
Date: Wed, 10 Aug 2022 16:56:25 +0200
Hi Mohammed,

Mohammed AMAR-BENSABER <renken <at> shione.net> skribis:

> guix style --whole-file package.scm hangs indefinitely if parenthesis is 
> unmatched. Relevant commit a15542d26df42dabdb5e2f76d150ae200230c3b0.

Oops, fixed in ebda12e1d2c64480bb7d5977e580d8b2eabeb503:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix style -f /tmp/t.scm
/tmp/t.scm:25:0: error: unexpected end of file
hint: Did you forget a closing parenthesis?
--8<---------------cut here---------------end--------------->8---

Thanks for your report!

Ludo’.




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

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

Previous Next


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