GNU bug report logs - #34149
guix refresh -u is broken

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Sun, 20 Jan 2019 22:28:02 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

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 34149 in the body.
You can then email your comments to 34149 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#34149; Package guix. (Sun, 20 Jan 2019 22:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 20 Jan 2019 22:28:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: guix refresh -u is broken
Date: Sun, 20 Jan 2019 23:27:18 +0100
Hello!

Unless I mis-remember how the command works, there seems to be a problem
with "guix refresh -u":

$ ./pre-inst-env guix refresh -u python-cysignals
Backtrace:
          14 (apply-smob/1 #<catch-closure 17b4b80>)
In ice-9/boot-9.scm:
    705:2 13 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8 12 (_ #(#(#<directory (guile-user) 186d140>)))
In guix/ui.scm:
  1639:12 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9 10 (catch _ _ #<procedure 7fd0d71109b0 at guix/ui.scm:617…> …)
    829:9  9 (catch _ _ #<procedure 7fd0d71109c8 at guix/ui.scm:735…> …)
In guix/scripts/refresh.scm:
    513:8  8 (_)
In guix/store.scm:
  1693:24  7 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/refresh.scm:
   531:16  6 (_ _)
In srfi/srfi-1.scm:
    640:9  5 (for-each #<procedure 2269ba0 at guix/scripts/refresh.…> …)
In guix/scripts/refresh.scm:
   301:20  4 (update-package #<build-daemon 256.99 1d40e60> #<packa…> …)
In guix/upstream.scm:
   374:22  3 (package-update #<build-daemon 256.99 1d40e60> _ _ # _)
   302:17  2 (download-tarball #<build-daemon 256.99 1d40e60> #f #f # …)
In guix/download.scm:
   568:55  1 (download-to-store #<build-daemon 256.99 1d40e60> #f _ # …)
In unknown file:
           0 (basename #f #<undefined>)

ERROR: In procedure basename:
In procedure scm_to_utf8_stringn: Wrong type argument in position 1 (expecting string): #f


Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#34149; Package guix. (Mon, 21 Jan 2019 10:03:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 34149 <at> debbugs.gnu.org
Subject: Re: bug#34149: guix refresh -u is broken
Date: Mon, 21 Jan 2019 12:02:40 +0200
[Message part 1 (text/plain, inline)]
On Sun, Jan 20, 2019 at 11:27:18PM +0100, Andreas Enge wrote:
> Hello!
> 
> Unless I mis-remember how the command works, there seems to be a problem
> with "guix refresh -u":
> 
> $ ./pre-inst-env guix refresh -u python-cysignals
> Backtrace:
>           14 (apply-smob/1 #<catch-closure 17b4b80>)
> In ice-9/boot-9.scm:
>     705:2 13 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> In ice-9/eval.scm:
>     619:8 12 (_ #(#(#<directory (guile-user) 186d140>)))
> In guix/ui.scm:
>   1639:12 11 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>     829:9 10 (catch _ _ #<procedure 7fd0d71109b0 at guix/ui.scm:617…> …)
>     829:9  9 (catch _ _ #<procedure 7fd0d71109c8 at guix/ui.scm:735…> …)
> In guix/scripts/refresh.scm:
>     513:8  8 (_)
> In guix/store.scm:
>   1693:24  7 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
> In guix/scripts/refresh.scm:
>    531:16  6 (_ _)
> In srfi/srfi-1.scm:
>     640:9  5 (for-each #<procedure 2269ba0 at guix/scripts/refresh.…> …)
> In guix/scripts/refresh.scm:
>    301:20  4 (update-package #<build-daemon 256.99 1d40e60> #<packa…> …)
> In guix/upstream.scm:
>    374:22  3 (package-update #<build-daemon 256.99 1d40e60> _ _ # _)
>    302:17  2 (download-tarball #<build-daemon 256.99 1d40e60> #f #f # …)
> In guix/download.scm:
>    568:55  1 (download-to-store #<build-daemon 256.99 1d40e60> #f _ # …)
> In unknown file:
>            0 (basename #f #<undefined>)
> 
> ERROR: In procedure basename:
> In procedure scm_to_utf8_stringn: Wrong type argument in position 1 (expecting string): #f
> 

It is currently working for me. I see in the backtrace it goes through
guix/scripts/ , try removing guix/scripts/*go (and guix/download.go,
guix/upstream.go) and see if it works now.

I'm currently on commit 26e4203be1044f6aa2004289864f5e1a421d7c88

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Mon, 21 Jan 2019 21:56:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Mon, 21 Jan 2019 21:56:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 34149-done <at> debbugs.gnu.org
Subject: Re: bug#34149: guix refresh -u is broken
Date: Mon, 21 Jan 2019 22:55:52 +0100
On Mon, Jan 21, 2019 at 12:02:40PM +0200, Efraim Flashner wrote:
> It is currently working for me. I see in the backtrace it goes through
> guix/scripts/ , try removing guix/scripts/*go (and guix/download.go,
> guix/upstream.go) and see if it works now.

It also works for me now; thanks for testing, and sorry for the noise!
Closing the bug then.

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 19 Feb 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 68 days ago.

Previous Next


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