From mboxrd@z Thu Jan 1 00:00:00 1970 From: Svante Signell Subject: Re: I managed to build guix natively on Debian GNU/Hurd , what's next? Date: Sat, 31 Aug 2019 19:27:12 +0200 Message-ID: <30bdaa745f0a41617e0e81fc6bc63b1228dab729.camel@gmail.com> References: <8736hjh7c7.fsf@elephly.net> <5c5233873e372138e82f5d52225e287ee1b86a38.camel@gmail.com> <53512769-C494-42BC-91C2-83B3F1586512@lepiller.eu> <9888a399c79968627aeeebe05419304eca155fd2.camel@gmail.com> <87k1aufiie.fsf@elephly.net> <18bb81c74e24323fb974bc5126a1b94094b3be71.camel@gmail.com> <87ftlifgcm.fsf@elephly.net> <32d67ecf3f8e43cd8d4607287d4c4b57380f47ef.camel@gmail.com> <87ef11fs9i.fsf@elephly.net> Reply-To: svante.signell@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38905) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i479g-0004Yp-Go for guix-devel@gnu.org; Sat, 31 Aug 2019 13:27:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i479f-0003e3-Ey for guix-devel@gnu.org; Sat, 31 Aug 2019 13:27:16 -0400 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]:40443) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i479f-0003cz-7q for guix-devel@gnu.org; Sat, 31 Aug 2019 13:27:15 -0400 Received: by mail-lj1-x244.google.com with SMTP id e27so9232761ljb.7 for ; Sat, 31 Aug 2019 10:27:14 -0700 (PDT) In-Reply-To: <87ef11fs9i.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel On Sat, 2019-08-31 at 14:12 +0200, Ricardo Wurmus wrote: > Svante Signell writes: > > > > > which g++ > > /home/guest/.guix-profile/bin/g++ > > This is not the GCC that’s used by Guix to build things. See also that > during the build GCC 5.5.0 is used, not version 9.x. > > What you have installed has no impact on the build environment that Guix > uses. This is by design. OK, thanks. I have now installed the bootstrap binaries in the guix installed directory. Issuing guix build hello --keep-failed gives plenty of output, too much for the terminal buffer. It ends with: guix build: warning: failed to load '(gnu packages bootstrap i586-pc-gnu share guile #{2.2}# web uri)': no code for module (gnu packages bootstrap i586-pc-gnu share guile #{2.2}# web uri) guix build: warning: failed to load '(gnu packages clojure)': Not a vlist: Error while printing exception. Backtrace: In ice-9/boot-9.scm: 829:9 19 (catch _ _ # …) 829:9 18 (catch _ _ # …) In guix/scripts/build.scm: 904:6 17 (_) In guix/status.scm: 768:4 16 (call-with-status-report _ _) In guix/store.scm: 623:10 15 (call-with-store _) madvise failed: Function not implemented In guix/scripts/build.scm: 911:26 14 (_ #) 826:9 13 (options->derivations # #) In srfi/srfi-1.scm: 679:15 12 (append-map _ _ . _) 592:29 11 (map1 _) 592:17 10 (map1 ((argument . "hello") (build-mode . 0) (# . #t) …)) In guix/scripts/build.scm: 792:30 9 (_ _) In gnu/packages.scm: 477:2 8 (%find-package "hello" "hello" #f) 383:6 7 (find-best-packages-by-name _ _) 313:55 6 (_ "hello" _) In unknown file: madvise failed: Function not implemented 5 (force #) In guix/discovery.scm: 179:3 4 (fold-module-public-variables _ _ _) In guix/combinators.scm: 45:26 3 (fold2 # …) 45:26 2 (fold2 # …) In guix/discovery.scm: 182:33 1 (_ # …) In ice-9/eval.scm: 619:8 0 (_ #(#(#) "zile-on-g…" …)) ice-9/eval.scm:619:8: Not a vlist: Error while printing exception. 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. Where do I find the build log, and where is the failed build directory? Looking at /usr/share/guile/site/2.2/gnu/packages/bootstrap/i586-pc-gnu one finds all the above files e.g.: /usr/share/guile/site/2.2/gnu/packages/bootstrap/i586-pc- gnu/share/guile/2.2/web/uri.scm /usr/share/guile/site/2.2/gnu/packages/bootstrap/i586-pc- gnu/share/guile/2.2/web/server.scm while the build shows otherwise...