guix refresh -u is broken

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Efraim Flashner
Owner
unassigned
Submitted by
Andreas Enge
Severity
normal

Debbugs page

Andreas Enge wrote 6 years ago
(address . bug-guix@gnu.org)
20190120222718.GA1376@jurong
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
Efraim Flashner wrote 6 years ago
(name . Andreas Enge)(address . andreas@enge.fr)(address . 34149@debbugs.gnu.org)
20190121100240.GA11658@macbook41
On Sun, Jan 20, 2019 at 11:27:18PM +0100, Andreas Enge wrote:
Toggle quote (39 lines)
> 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@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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlxFmL0ACgkQQarn3Mo9
g1HyYg/9H+D25UUp+oN0LE4EIZ8BTTqqk27Bsv+VYF2Yc5rVfDd+UR8KcjGbj1UQ
C3mMoRoB4EJN52TkiJH2DFpUD4IDdUR4kMLAYrXU4/b2piXyioSgqb0W47x65yeq
8jIOpcRSAPUn3H/FZbj1WoEhRPWPArIoE7uItlwV3vlWBvcgN6RIATj8I/OSf2o/
ggki3TBOlBspMCNoEqP3Kj9xgNVEA1TTWWRa44KFbMcbL1sNjtJO7V7prs6lQ08B
tl9t14gfdh+AKLQXTcvC3+qCSfGNRMSAPfTJ0U8A23JU0dcyPIo5VupHZ79u9FFb
TekPN5tzEGxXyOoXQvH6RbOb3mbM34sxKwc58o2fPrqZSLlWT6nMRQJdrnyIRVcO
wCGL59RhkUgrJLINPlUp3xBUswoUb7+XaSdXEjP7Iq56AitQpBWOmIUgpOaA0Krq
Z+4XTGVVm9XpqKpkICmdMzOulwkQFUVlq3WFcujm39c0Z+a3y4ddeH1dB+kuhgtu
ugRYY7ClrWe1uUk3BejEMoAR/T98dBTYeY5R+IICgmPd34Rt9yTKrzciPBvffDMv
6HKS8FhWzE3B8zx5Cgj2wVr+F28j7cNMiBdTIKQuC77WID1+unkr0n99A2HhC83H
lkogDFZU0EhKwyVGsq9qP20sVeLW4cvT4+FVpzr5eUGT0s/X6yA=
=mgdA
-----END PGP SIGNATURE-----


Andreas Enge wrote 6 years ago
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 34149-done@debbugs.gnu.org)
20190121215552.GA4777@jurong
On Mon, Jan 21, 2019 at 12:02:40PM +0200, Efraim Flashner wrote:
Toggle quote (4 lines)
> 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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 34149@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 34149
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help