From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Bug: missing interface for module (gnutls) Date: Sun, 17 Feb 2013 15:49:55 +0100 Message-ID: <87bobjgfl8.fsf@gnu.org> References: <87ehgfr1fg.fsf@tines.lan> <87zjz3w3rz.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U75ZA-0006wj-Vt for bug-guix@gnu.org; Sun, 17 Feb 2013 09:50:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U75Z9-0005BC-5m for bug-guix@gnu.org; Sun, 17 Feb 2013 09:50:08 -0500 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=54250 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U75Z8-00050F-TJ for bug-guix@gnu.org; Sun, 17 Feb 2013 09:50:07 -0500 In-Reply-To: <87zjz3w3rz.fsf@karetnikov.org> (Nikita Karetnikov's message of "Sun, 17 Feb 2013 06:58:10 -0500") 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-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Nikita Karetnikov skribis: > This commit is buggy. Which commit? > Backtrace: > In ice-9/boot-9.scm: > 2786: 19 [try-module-autoload (guix build download) #f] > 2131: 18 [save-module-excursion #] [...] > ?: 3 [module-variable # make-= session] > In ice-9/boot-9.scm: > 2732: 2 [b # make-session #f] > In unknown file: > ?: 1 [scm-error misc-error #f ...] > In ice-9/boot-9.scm: > 106: 0 [# = misc-error ...] > > ice-9/boot-9.scm:106:20: In procedure #: > ice-9/boot-9.scm:106:20: missing interface for module (gnutls) > make[2]: *** [guix/scripts/download.go] Error 1 > make[2]: Leaving directory `/home/guix-FRESH' How did you achieve this? With Guile 2.0.7+, I see this: --8<---------------cut here---------------start------------->8--- $ strace -f -o ,,s make guix/build/download.go /home/ludo/.guix-profile/bin/mkdir -p `dirname "guix/build/download.go"` LC_ALL=3DC \ ./pre-inst-env \ /home/ludo/soft/bin/guild compile -L "." -L "." \ -Wformat -Wunbound-variable -Warity-mismatch \ --target=3D"x86_64-unknown-linux-gnu" = \ -o "guix/build/download.go" "guix/build/download.scm" guix/build/download.scm:110:17: warning: possibly unbound variable `make-se= ssion' guix/build/download.scm:110:17: warning: possibly unbound variable `connect= ion-end/client' guix/build/download.scm:111:4: warning: possibly unbound variable `set-sess= ion-transport-fd!' guix/build/download.scm:112:4: warning: possibly unbound variable `set-sess= ion-default-priority!' guix/build/download.scm:113:4: warning: possibly unbound variable `set-sess= ion-credentials!' guix/build/download.scm:113:38: warning: possibly unbound variable `make-ce= rtificate-credentials' guix/build/download.scm:119:4: warning: possibly unbound variable `handshak= e' guix/build/download.scm:120:4: warning: possibly unbound variable `session-= record-port' wrote `guix/build/download.go' $ grep gnutls.scm ,,s 24475 stat("gnu/packages/gnutls.scm", {st_mode=3DS_IFREG|0644, st_size=3D32= 82, ...}) =3D 0 24475 stat("gnu/packages/gnutls.scm", {st_mode=3DS_IFREG|0644, st_size=3D32= 82, ...}) =3D 0 24475 stat("gnu/packages/gnutls.scm", {st_mode=3DS_IFREG|0644, st_size=3D32= 82, ...}) =3D 0 --8<---------------cut here---------------end--------------->8--- IOW, compiling guix/build/download.scm does not attempt to load (gnutls), which is what the =E2=80=98module-autoload!=E2=80=99 call is here= for. (Note that GnuTLS support in that file is unrelated to Mark=E2=80=99s recent change.) Thanks, Ludo=E2=80=99.