From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#29774: Compilation error on git master: `gzip: unbound variable` Date: Mon, 23 Apr 2018 03:25:01 -0400 Message-ID: <87efj65qr6.fsf@netris.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAVrS-0007tB-Om for bug-guix@gnu.org; Mon, 23 Apr 2018 03:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAVrQ-0001lr-8F for bug-guix@gnu.org; Mon, 23 Apr 2018 03:26:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56761) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAVrQ-0001ll-5d for bug-guix@gnu.org; Mon, 23 Apr 2018 03:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fAVrP-0005Nh-SQ for bug-guix@gnu.org; Mon, 23 Apr 2018 03:26:03 -0400 In-Reply-To: Sender: "Debbugs-submit" Resent-Message-ID: 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29774@debbugs.gnu.org Hi, I've run into this same problem, on my x86_64 GuixSD system. To help others reproduce it, I've pushed a branch to Savannah, based on recent core-updates. The branch is named 'reproduce-bug-29774'. When I attempt to build this branch from a clean git checkout, within an environment produced by "guix environment guix" from recent core-updates, it consistently fails with this error. If I simply revert the commit at the tip of that branch (an early draft of my "Detecting duplicate field initializers" patch), then the problem does not occur. I find it quite surprising that this apparently unrelated patch makes any difference to this bug, but that seems to be the case. Ludovic, are you able to reproduce this problem on your system? If needed, I could also provide the precise derivation of the build environment profile, but I suspect that "guix environment guix" produced by any commit close to recent core-updates would work. See below for the tail of my failed build log. Mark --8<---------------cut here---------------start------------->8--- LOAD guix/scripts/archive.scm LOAD guix/scripts/import.scm LOAD guix/scripts/package.scm LOAD guix/scripts/gc.scm LOAD guix/scripts/hash.scm LOAD guix/scripts/pack.scm Backtrace: In ice-9/boot-9.scm: 142:2 19 (dynamic-wind _ _ #) 142:2 18 (dynamic-wind _ _ #) In ice-9/eval.scm: 619:8 17 (_ #(#(# # # 1 #= =E2=80=A6))) 619:8 16 (_ #(#(#(#(#(#(#(# ("g= uix/scripts/pack.scm" "guix/scripts/pull.scm" "guix/scri=E2=80=A6" =E2=80= =A6) =E2=80=A6)) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6) =E2=80=A6)) In ice-9/boot-9.scm: 152:2 15 (with-fluid* _ _ _) 2788:17 14 (resolve-interface (guix scripts pack) #:select _ #:hide _ #:p= refix _ #:renamer _ #:version _) 2714:10 13 (_ (guix scripts pack) _ _ #:ensure _) 2982:16 12 (try-module-autoload _ _) 2312:4 11 (save-module-excursion #) 3002:22 10 (_) In unknown file: 9 (primitive-load-path "guix/scripts/pack" #) In ice-9/eval.scm: 626:19 8 (_ #) 173:39 7 (_ #) 202:51 6 (_ #) 202:35 5 (_ #) 155:9 4 (_ #) 202:35 3 (_ #) 159:9 2 (_ #) 223:20 1 (proc #) In unknown file: 0 (%resolve-variable (7 . gzip) #) ERROR: In procedure %resolve-variable: gzip: unbound variable Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. make[2]: *** [Makefile:5344: make-go] Error 1 make[2]: Leaving directory '/home/mhw/guix' make[1]: *** [Makefile:4456: all-recursive] Error 1 make[1]: Leaving directory '/home/mhw/guix' make: *** [Makefile:3103: all] Error 2 --8<---------------cut here---------------end--------------->8---