From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40574: [wip-hurd-vm]: cross-build of `guix' fails Date: Thu, 16 Apr 2020 18:34:07 +0200 Message-ID: <871rongzk0.fsf@gnu.org> References: <87mu7gdco6.fsf@gnu.org> 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]:59199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jP7Tj-0007nY-JM for bug-guix@gnu.org; Thu, 16 Apr 2020 12:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jP7Ti-0007Gk-C6 for bug-guix@gnu.org; Thu, 16 Apr 2020 12:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55927) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jP7Ti-0007Gg-8v for bug-guix@gnu.org; Thu, 16 Apr 2020 12:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jP7Ti-0004dn-61 for bug-guix@gnu.org; Thu, 16 Apr 2020 12:35:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mu7gdco6.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 12 Apr 2020 16:03:05 +0200") 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-mx.org@gnu.org Sender: "bug-Guix" To: Jan Nieuwenhuizen Cc: 40574@debbugs.gnu.org Hello! Jan Nieuwenhuizen skribis: > In procedure lstat: No such file or directory: "/tmp/guix-build-guix-1.0.= 1-18.11fc384.drv-0/source/gnu/../gnu/installer/~^m\x18 " This one is funny: --8<---------------cut here---------------start------------->8--- $ (unset GUILE_LOAD_COMPILED_PATH; COLUMNS=3D200 XDG_CACHE_HOME=3D/nowhere = guild compile --target=3Di586-pc-gnu -L . gnu/ci.scm -o foo.go) ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/ludo/.guix-profile/bin/guild ;;; WARNING: compilation of /home/ludo/.guix-profile/bin/guild failed: ;;; failed to create path for auto-compiled file "/home/ludo/.guix-profile/= bin/guild" WARNING: Use of `load' in declarative module (guix ui). Add #:declarative?= #f to your define-module invocation. WARNING: (guix build emacs-build-system): imported module (guix build utils= ) overrides core binding `delete' WARNING: Use of `load' in declarative module (gnu system install). Add #:d= eclarative? #f to your define-module invocation. Backtrace: In ice-9/boot-9.scm: 3297:17 19 (resolve-interface (gnu system install) #:select _ #:hide _ #:= prefix _ #:renamer _ #:version _) In ice-9/threads.scm: 390:8 18 (_ _) In ice-9/boot-9.scm: 3223:13 17 (_) In ice-9/threads.scm: 390:8 16 (_ _) In ice-9/boot-9.scm: 3507:20 15 (_) 2806:4 14 (save-module-excursion _) 3527:26 13 (_) In unknown file: 12 (primitive-load-path "gnu/system/install" #) In ice-9/eval.scm: 626:19 11 (_ #) 173:47 10 (_ #(#(# #< name: "motd" content: "\n\x1b[1;37mWelcome to the installation of GN= U Guix!\x1b[0m\n\n\x1b[2mUsing this shell=E2=80=A6>) =E2=80=A6)) 196:43 9 (_ #(#(# #< name: "motd" content: "\n\x1b[1;37mWelcome to the installation of GN= U Guix!\x1b[0m\n\n\x1b[2mUsing this shell=E2=80=A6>) =E2=80=A6)) 293:34 8 (_ #(#(#(# #< name: "motd" content: "\n\x1b[1;37mWelcome to the installation of = GNU Guix!\x1b[0m\n\n\x1b[2mUsing this =E2=80=A6>) =E2=80=A6) #)) 619:8 7 (_ #(#(#(#)) # =E2=80=A6)) 626:19 6 (_ #(#(#(#)) # =E2=80=A6)) 159:9 5 (_ #(#(#(#) "/home/lu= do/src/guix/gnu/.." "gnu/installer") 26)) In srfi/srfi-1.scm: 495:18 4 (fold-right # () _ . _) In ice-9/eval.scm: 293:34 3 (_ #(#(#(#(#(#(#(# ("= =DE=83l^ " (type . unknown) (inode . 17571939)) "/home/ludo/src/guix/gnu/..= /gnu/installer" # =E2=80=A6)) =E2=80=A6) =E2=80=A6= ) =E2=80=A6) =E2=80=A6) =E2=80=A6)) 155:9 2 (_ #(#(#(#(#) "/home/= ludo/src/guix/gnu/../gnu/installer/=DE=83l^ " ((type . unknown) (inode . 17= 571939))) unknown) #)) In unknown file: 1 (lstat "/home/ludo/src/guix/gnu/../gnu/installer/=DE=83l^ ") In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure lstat: Dosiero a=C5=AD dosierujo ne ekzistas: "/home/ludo/src/= guix/gnu/../gnu/installer/=DE=83l^ " --8<---------------cut here---------------end--------------->8--- (A good opportunity to learn about THAANA LETTER RAA! ) Here =E2=80=98scandir*=E2=80=99 from (guix build syscalls) is being interpr= eted and presumably it gets all the struct offsets wrong (32-bit instead of 64-bit I guess), hence the funny file name. (=E2=80=98scandir*=E2=80=99 is= called from =E2=80=98scheme-modules*=E2=80=99 in (gnu installer), itself from the =E2=80=98installer-program=E2=80=99 call in (gnu system install).) This bit is fixed in 82d8959e5d137b2061a68878d78a8f74a238ac44. To be continued=E2=80=A6 Thank you, Ludo=E2=80=99.