bug#37160: guix lint --checkers=refresh fails
On 28.08.19 00:33, Ludovic Courtès wrote: > Hi, > > Jonathan Brielmaier skribis: > >> guix lint --checkers=refresh hello >> Backtrace:ello@2.10 [refresh]... >>9 (apply-smob/1 #) >> In ice-9/boot-9.scm: >> 705:2 8 (call-with-prompt _ _ #) >> In ice-9/eval.scm: >> 619:8 7 (_ #(#(#))) >> In guix/ui.scm: >> 1692:12 6 (run-guix-command _ . _) >> In srfi/srfi-1.scm: >> 640:9 5 (for-each # …) >> In guix/scripts/lint.scm: >> 57:4 4 (run-checkers # …) >> In srfi/srfi-1.scm: >> 640:9 3 (for-each # …) >> In guix/scripts/lint.scm: >> 64:17 2 (_ _) >> In guix/lint.scm: >>1010:2 1 (check-for-updates #) >> In ice-9/boot-9.scm: >> 829:9 0 (catch srfi-34 # …) >> >> ice-9/boot-9.scm:829:9: In procedure catch: >> Wrong type to apply: #f > > I think commit 58d5f280a36e1cfddfa999d320c285726d8a8bc1 fixes it, > doesn’t it? :-) My package is now on2f57fa10f4, so includes your commit. But the error still looks very similar: $ guix lint --checkers=refresh hello Backtrace:ello@2.10 [refresh]... 9 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 8 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 7 (_ #(#(#))) In guix/ui.scm: 1692:12 6 (run-guix-command _ . _) In srfi/srfi-1.scm: 640:9 5 (for-each # …) In guix/scripts/lint.scm: 57:4 4 (run-checkers # …) In srfi/srfi-1.scm: 640:9 3 (for-each # …) In guix/scripts/lint.scm: 64:17 2 (_ _) In guix/lint.scm: 1010:2 1 (check-for-updates #) In ice-9/boot-9.scm: 829:9 0 (catch srfi-34 # …) ice-9/boot-9.scm:829:9: In procedure catch: Wrong type to apply: #f
bug#37160: guix lint --checkers=refresh fails
Hi, Jonathan Brielmaier skribis: > guix lint --checkers=refresh hello > Backtrace:ello@2.10 [refresh]... >9 (apply-smob/1 #) > In ice-9/boot-9.scm: > 705:2 8 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 7 (_ #(#(#))) > In guix/ui.scm: > 1692:12 6 (run-guix-command _ . _) > In srfi/srfi-1.scm: > 640:9 5 (for-each # …) > In guix/scripts/lint.scm: > 57:4 4 (run-checkers # …) > In srfi/srfi-1.scm: > 640:9 3 (for-each # …) > In guix/scripts/lint.scm: > 64:17 2 (_ _) > In guix/lint.scm: >1010:2 1 (check-for-updates #) > In ice-9/boot-9.scm: > 829:9 0 (catch srfi-34 # …) > > ice-9/boot-9.scm:829:9: In procedure catch: > Wrong type to apply: #f I think commit 58d5f280a36e1cfddfa999d320c285726d8a8bc1 fixes it, doesn’t it? :-) Thanks, Ludo’.
bug#37160: guix lint --checkers=refresh fails
El Mar, 27 de Agosto de 2019, 7:51 am, Jonathan Brielmaier escribió: > On 27.08.19 12:29, quil...@riseup.net wrote: >> >>> Jonathan Brielmaier skribis: >>> During testing various guix commands on openSUSE Tumbleweed with the openSUSE package, I found a strange error. This happens with guix 1.0.1 and d78bc23411 as openSUSE packages. >>> >>> Steps to reproduce: * Install Tumbleweed $ sudo zypper install guix $ sudo systemctl start guix-daemon >> >> Why don't you 'guix pull' before the next step ? > > Because I use an openSUSE packages which gets regulary built from > current master commit of guix. So I don't need guix pull :) Oh! Thank you for the information I did not know that was available. It sounds like a good thing. I am not sure about this, but (just in case) would you please test guix pull and then verify if the error comes up again? Then we could compare.
bug#37160: guix lint --checkers=refresh fails
On 27.08.19 12:29, quil...@riseup.net wrote: > >> Jonathan Brielmaier skribis: >> >>> During testing various guix commands on openSUSE Tumbleweed with the >>> openSUSE package, I found a strange error. This happens with guix 1.0.1 >>> and d78bc23411 as openSUSE packages. >> >> >>> Steps to reproduce: >>> * Install Tumbleweed >>> $ sudo zypper install guix >>> $ sudo systemctl start guix-daemon > > Why don't you 'guix pull' before the next step ? Because I use an openSUSE packages which gets regulary built from current master commit of guix. So I don't need guix pull :)
bug#37160: guix lint --checkers=refresh fails
> Jonathan Brielmaier skribis: > >> During testing various guix commands on openSUSE Tumbleweed with the >> openSUSE package, I found a strange error. This happens with guix 1.0.1 >> and d78bc23411 as openSUSE packages. > > >> Steps to reproduce: >> * Install Tumbleweed >> $ sudo zypper install guix >> $ sudo systemctl start guix-daemon Why don't you 'guix pull' before the next step ? >> $ guix install nss-certs >> $ export >> SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" >> $ export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" >> $ guix lint --checkers=refresh hello >> Backtrace:ello@2.10 [refresh]... >>8 (apply-smob/1 #) >> In ice-9/boot-9.scm: >> 705:2 7 (call-with-prompt _ _ #) >> In ice-9/eval.scm: >> 619:8 6 (_ #(#(#))) >> In guix/ui.scm: >> 1747:12 5 (run-guix-command _ . _) >> In srfi/srfi-1.scm: >> 640:9 4 (for-each # …) >> In guix/scripts/lint.scm: >>1152:4 3 (run-checkers # …) >> In srfi/srfi-1.scm: >> 640:9 2 (for-each # …) >> In guix/scripts/lint.scm: >> 954:2 1 (check-for-updates #) >> In ice-9/boot-9.scm: >> 829:9 0 (catch srfi-34 # …) >> >> ice-9/boot-9.scm:829:9: In procedure catch: >> Wrong type to apply: #f
bug#37160: guix lint --checkers=refresh fails
On 27.08.19 11:44, Ludovic Courtès wrote: > This backtrace is not from current master (there’s now a new (guix lint) > module.) Could you post the backtrace for master? Backtrace on master (d78bc23411): guix lint --checkers=refresh hello Backtrace:ello@2.10 [refresh]... 9 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 8 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 7 (_ #(#(#))) In guix/ui.scm: 1692:12 6 (run-guix-command _ . _) In srfi/srfi-1.scm: 640:9 5 (for-each # …) In guix/scripts/lint.scm: 57:4 4 (run-checkers # …) In srfi/srfi-1.scm: 640:9 3 (for-each # …) In guix/scripts/lint.scm: 64:17 2 (_ _) In guix/lint.scm: 1010:2 1 (check-for-updates #) In ice-9/boot-9.scm: 829:9 0 (catch srfi-34 # …) ice-9/boot-9.scm:829:9: In procedure catch: Wrong type to apply: #f It's slightly different then on 1.0.1 (now at guix/lint.scm), but the error seems to be the same.
bug#37160: guix lint --checkers=refresh fails
Hi Jonathan, Jonathan Brielmaier skribis: > During testing various guix commands on openSUSE Tumbleweed with the > openSUSE package, I found a strange error. This happens with guix 1.0.1 > and d78bc23411 as openSUSE packages. I cannot reproduce it on current master, on Guix System. > Steps to reproduce: > * Install Tumbleweed > $ sudo zypper install guix > $ sudo systemctl start guix-daemon > $ guix install nss-certs > $ export > SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" > $ export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" > $ guix lint --checkers=refresh hello > Backtrace:ello@2.10 [refresh]... >8 (apply-smob/1 #) > In ice-9/boot-9.scm: > 705:2 7 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 6 (_ #(#(#))) > In guix/ui.scm: > 1747:12 5 (run-guix-command _ . _) > In srfi/srfi-1.scm: > 640:9 4 (for-each # …) > In guix/scripts/lint.scm: >1152:4 3 (run-checkers # …) > In srfi/srfi-1.scm: > 640:9 2 (for-each # …) > In guix/scripts/lint.scm: > 954:2 1 (check-for-updates #) > In ice-9/boot-9.scm: > 829:9 0 (catch srfi-34 # …) > > ice-9/boot-9.scm:829:9: In procedure catch: > Wrong type to apply: #f This backtrace is not from current master (there’s now a new (guix lint) module.) Could you post the backtrace for master? Thanks, Ludo’.
bug#37160: guix lint --checkers=refresh fails
During testing various guix commands on openSUSE Tumbleweed with the openSUSE package, I found a strange error. This happens with guix 1.0.1 and d78bc23411 as openSUSE packages. Steps to reproduce: * Install Tumbleweed $ sudo zypper install guix $ sudo systemctl start guix-daemon $ guix install nss-certs $ export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" $ export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" $ guix lint --checkers=refresh hello Backtrace:ello@2.10 [refresh]... 8 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 7 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 6 (_ #(#(#))) In guix/ui.scm: 1747:12 5 (run-guix-command _ . _) In srfi/srfi-1.scm: 640:9 4 (for-each # …) In guix/scripts/lint.scm: 1152:4 3 (run-checkers # …) In srfi/srfi-1.scm: 640:9 2 (for-each # …) In guix/scripts/lint.scm: 954:2 1 (check-for-updates #) In ice-9/boot-9.scm: 829:9 0 (catch srfi-34 # …) ice-9/boot-9.scm:829:9: In procedure catch: Wrong type to apply: #f Error does not occur when: * guix is installed via the installer script 1.0.1 * guix is installed via the installer script and guix pulled to current master * package source doesn't gome from gnu mirror like 0x (github), mate-system-monitor, dconf-editor... The only difference I can see between guix binary and openSUSE's guix is the first uses guile 2.2.4 and the second guile 2.2.6 (from Tumbleweed). Some backtrace from guix repl: scheme@(guix-user)> (use-modules (guix scripts lint)) scheme@(guix-user)> (guix-lint "--checkers=refresh" "hello") ice-9/boot-9.scm:829:9: In procedure catch: Wrong type to apply: #f Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guix-user) [1]> ,bt In srfi/srfi-1.scm: 640:9 4 (for-each # …) In guix/scripts/lint.scm: 1152:4 3 (run-checkers # …) In srfi/srfi-1.scm: 640:9 2 (for-each # …) In guix/scripts/lint.scm: 954:2 1 (check-for-updates #) In ice-9/boot-9.scm: 829:9 0 (catch srfi-34 # …) scheme@(guix-user) [1]> ,locals Local variables: $1 = k = srfi-34 $2 = thunk = # $3 = handler = # $4 = #f = # scheme@(guix-user) [1]> ,up In guix/scripts/lint.scm: 954:2 1 (check-for-updates #) scheme@(guix-user) [1]> ,locals Local variables: $5 = package = # $6 = arg = # $7 = box = # $8 = arg = # $9 = arg = #f $10 = box = # $11 = tmp = "while retrieving upstream info for '~a'" $12 = arg = #> $13 = box = #>> scheme@(guix-user) [1]> ,up In srfi/srfi-1.scm: 640:9 2 (for-each # …) scheme@(guix-user) [1]> ,locals Local variables: $19 = f = # $20 = l = (#< name: refresh description: "Check the p…>) To be honest I'm a bit lost here. If you have any ideas how to debug this, please let my know. Kind Regards Jonathan