From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Brielmaier Subject: bug#37160: guix lint --checkers=refresh fails Date: Fri, 23 Aug 2019 16:45:49 +0200 Message-ID: <68179bd6-5282-5b09-72b7-ac4e7b19e488@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53278) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1AqG-0006Dv-27 for bug-guix@gnu.org; Fri, 23 Aug 2019 10:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1AqE-0004Bc-Oq for bug-guix@gnu.org; Fri, 23 Aug 2019 10:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1AqD-0004Ap-QG for bug-guix@gnu.org; Fri, 23 Aug 2019 10:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1AqD-00037i-Op for bug-guix@gnu.org; Fri, 23 Aug 2019 10:47:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53194) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1ApB-0005Ym-Bp for bug-guix@gnu.org; Fri, 23 Aug 2019 10:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1Ap9-0003WJ-CA for bug-guix@gnu.org; Fri, 23 Aug 2019 10:45:56 -0400 Received: from mout.web.de ([212.227.15.14]:37871) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1Ap8-0003UF-Rx for bug-guix@gnu.org; Fri, 23 Aug 2019 10:45:55 -0400 Received: from f147.suse.de ([195.135.221.2]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LnSKE-1iRxNx1d8Q-00hc5m for ; Fri, 23 Aug 2019 16:45:51 +0200 Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37160@debbugs.gnu.org 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=3D"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" $ export SSL_CERT_DIR=3D"$HOME/.guix-profile/etc/ssl/certs" $ guix lint --checkers=3Drefresh 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 # =E2=80=A6) In guix/scripts/lint.scm: 1152:4 3 (run-checkers # =E2=80=A6) In srfi/srfi-1.scm: 640:9 2 (for-each # =E2=80=A6) In guix/scripts/lint.scm: 954:2 1 (check-for-updates #) In ice-9/boot-9.scm: 829:9 0 (catch srfi-34 # =E2=80=A6) 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 0xffff (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=3Drefresh" "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 # =E2=80=A6) In guix/scripts/lint.scm: 1152:4 3 (run-checkers # =E2=80=A6) In srfi/srfi-1.scm: 640:9 2 (for-each # =E2=80=A6) In guix/scripts/lint.scm: 954:2 1 (check-for-updates #) In ice-9/boot-9.scm: 829:9 0 (catch srfi-34 # =E2=80=A6) scheme@(guix-user) [1]> ,locals Local variables: $1 =3D k =3D srfi-34 $2 =3D thunk =3D # $3 =3D handler =3D # $4 =3D #f =3D # scheme@(guix-user) [1]> ,up In guix/scripts/lint.scm: 954:2 1 (check-for-updates #) scheme@(guix-user) [1]> ,locals Local variables: $5 =3D package =3D # $6 =3D arg =3D # $7 =3D box =3D # $8 =3D arg =3D # $9 =3D arg =3D #f $10 =3D box =3D # $11 =3D tmp =3D "while retrieving upstream info for '~a'" $12 =3D arg =3D #> $13 =3D box =3D #>> scheme@(guix-user) [1]> ,up In srfi/srfi-1.scm: 640:9 2 (for-each # =E2=80=A6) scheme@(guix-user) [1]> ,locals Local variables: $19 =3D f =3D # $20 =3D l =3D (#< name: refresh description: "Check the p= =E2=80=A6>) 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