From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: bug#36723: [core-updates] Error building module-import-compiled Date: Thu, 18 Jul 2019 13:59:44 -0400 Message-ID: <87k1cf5ilr.fsf@ngyro.com> 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]:36261) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoAhH-0000NL-Qk for bug-guix@gnu.org; Thu, 18 Jul 2019 14:00:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoAhG-000136-OU for bug-guix@gnu.org; Thu, 18 Jul 2019 14:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoAhG-00012J-Ka for bug-guix@gnu.org; Thu, 18 Jul 2019 14:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hoAhG-0003eX-D6 for bug-guix@gnu.org; Thu, 18 Jul 2019 14:00:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:36198) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoAh4-0000K5-AF for bug-guix@gnu.org; Thu, 18 Jul 2019 13:59:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoAh3-0000t2-A0 for bug-guix@gnu.org; Thu, 18 Jul 2019 13:59:50 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:32789) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hoAh3-0000rU-0I for bug-guix@gnu.org; Thu, 18 Jul 2019 13:59:49 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id EEADE21B for ; Thu, 18 Jul 2019 13:59:45 -0400 (EDT) Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 136F18005B for ; Thu, 18 Jul 2019 13:59:45 -0400 (EDT) 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: 36723@debbugs.gnu.org Hi, Whenever I try to build the following (i.e., using =E2=80=9Cguix build -f= =E2=80=9D) (use-modules (guix gexp) (guix modules)) (scheme-file "test.scm" (with-imported-modules (source-module-closure '((gnu build file-systems))) #~(values #t))) it says: ----- building /gnu/store/2gmxyxpfs0a2j6pcn9xagam6hczlvihb-module-import-compiled= .drv... [ 1/14] Loading './gnu/build/file-systems.scm'... [ 2/14] Loading './gnu/system/file-systems.scm'... [ 3/14] Loading './gnu/system/uuid.scm'... [ 4/14] Loading './guix/build/bournish.scm'... [ 5/14] Loading './guix/build/syscalls.scm'... Backtrace: 11 (primitive-load "/gnu/store/qz6d59zqvdd5pj9hprk7sfjkpy3?") In ice-9/eval.scm: 619:8 10 (_ #f) In srfi/srfi-1.scm: 466:18 9 (fold # ?) 466:18 8 (fold # ?) 466:18 7 (fold # ?) In ice-9/eval.scm: 619:8 6 (_ #(#(#) # ?)) In ice-9/boot-9.scm: 2312:4 5 (save-module-excursion _) In unknown file: 4 (primitive-load "./guix/build/syscalls.scm") In ice-9/eval.scm: 619:8 3 (_ #f) In ice-9/boot-9.scm: 2071:24 2 (call-with-deferred-observers #) 260:13 1 (for-each # ?) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("re-exporting loc?" ?) ?) ERROR: In procedure scm-error: re-exporting local variable: AT_SYMLINK_NOFOLLOW builder for `/gnu/store/2gmxyxpfs0a2j6pcn9xagam6hczlvihb-module-import-comp= iled.drv' failed with exit code 1 ----- Importing =E2=80=9C(guix build syscalls)=E2=80=9D by itself using =E2=80=9Cwith-imported-modules=E2=80=9D works fine. This is needed when building the Shepherd service for mounting file systems, so it prevents me from building any systems on core-updates (for example, building a VM or reconfiguring). I did try (just to be sure) running =E2=80=9Cmake clean-go=E2=80=9D and then recompiling, but it = didn=E2=80=99t help. -- Tim