From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ICmYAEH7w1+LFQAA0tVLHw (envelope-from ) for ; Sun, 29 Nov 2020 19:49:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4FT3N0D7w1/5JgAA1q6Kng (envelope-from ) for ; Sun, 29 Nov 2020 19:49:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E8151940484 for ; Sun, 29 Nov 2020 19:49:19 +0000 (UTC) Received: from localhost ([::1]:40096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjShC-0004DU-UI for larch@yhetil.org; Sun, 29 Nov 2020 14:49:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjSgx-0004CV-P1 for bug-guix@gnu.org; Sun, 29 Nov 2020 14:49:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjSgw-0000aC-7Q for bug-guix@gnu.org; Sun, 29 Nov 2020 14:49:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjSgw-0004w4-4j for bug-guix@gnu.org; Sun, 29 Nov 2020 14:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44952: Guix cross-compilation is broken. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 29 Nov 2020 19:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44952 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 44952@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160667934118962 (code B ref -1); Sun, 29 Nov 2020 19:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Nov 2020 19:49:01 +0000 Received: from localhost ([127.0.0.1]:52687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjSgu-0004vl-At for submit@debbugs.gnu.org; Sun, 29 Nov 2020 14:49:01 -0500 Received: from lists.gnu.org ([209.51.188.17]:39458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjSgs-0004vd-8e for submit@debbugs.gnu.org; Sun, 29 Nov 2020 14:48:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjSgq-0004Ba-3t for bug-guix@gnu.org; Sun, 29 Nov 2020 14:48:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39166) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjSgo-0000YO-Fw for bug-guix@gnu.org; Sun, 29 Nov 2020 14:48:54 -0500 Received: from [2a01:e0a:19b:d9a0:2101:aa99:5455:2b7e] (port=49120 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kjSgm-0007ZQ-56 for bug-guix@gnu.org; Sun, 29 Nov 2020 14:48:54 -0500 From: Mathieu Othacehe Date: Sun, 29 Nov 2020 20:48:50 +0100 Message-ID: <87y2ikosf1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.78 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-TUID: W+P/jGK9nXW6 --=-=-= Content-Type: text/plain Hello, When I pushed this patchset[1], I didn't anticipate that Avahi depends on glib which doesn't cross-compile. To fix the situation, I pushed d9f05c70a6af1087de1717ff20036efa1afef5fb and 35a32fefb4695442265809805145b7a262ae4988. While, it now allows to build and cross-build Guix, there's still an issue when evaluating the "guix-master" specification with the CI. It looks like "%current-target-system" doesn't have the expected value in the propagated-inputs. There's a backtrace of the situation as attachment. I'd like to find a quick fix instead of reverting everything. Maybe removing "guile-avahi" from the propagated-inputs of Guix could work. I'm not sure why it's needed anyway because this library is already added to the wrapped guix binary. Thanks, Mathieu --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=trace.txt Content-Transfer-Encoding: quoted-printable scheme@(guile-user)> (hydra-jobs (open-connection) '()) evaluating for 'x86_64-linux' (heap size: 62.0 MiB)... ice-9/boot-9.scm:1669:16: In procedure raise-exception: ERROR: 1. &package-cross-build-system-error: # Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,bt In gnu/ci.scm: 531:4144 (hydra-jobs _ _) In srfi/srfi-1.scm: 673:15143 (append-map _ _ . _) 586:17142 (map1 ("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linu= x" "i586-gnu")) In gnu/ci.scm: 274:14141 (_ "x86_64-linux") In srfi/srfi-1.scm: 586:17140 (map1 (#< name: hurd-barebones.qcow2 format: compressed= -qcow2 target: "i586-pc-gnu" size: guess operating-system: #< kernel: #< bindings: ((#<<=E2=80=A6> =E2=80=A6)) In gnu/ci.scm: 248:4139 (_ _) In guix/store.scm: 2049:24138 (run-with-store # _ #:gu= ile-for-build _ #:system _ #:target _) 1883:8137 (_ _) In guix/gexp.scm: 258:18136 (_ _) In guix/store.scm: 1883:8135 (_ _) In guix/gexp.scm: 258:18134 (_ _) 1123:2133 (_ _) 982:2132 (_ _) 843:4131 (_ _) In guix/store.scm: 1931:12130 (_ #) 1342:2129 (map/accumulate-builds #= _ _) In srfi/srfi-1.scm: 586:17128 (map1 ((#< name: "genimage.cfg" gexp: # guile: #f options: (#:local-build?= #t)> "out"))) In guix/store.scm: 1301:8127 (call-with-build-handler # _) 2049:24126 (run-with-store # _ #:gu= ile-for-build _ #:system _ #:target _) In guix/gexp.scm: 846:13125 (_ _) In guix/store.scm: 1883:8124 (_ _) In guix/gexp.scm: 258:18123 (_ _) 1123:2122 (_ _) 982:2121 (_ _) 843:4120 (_ _) In guix/store.scm: 1931:12119 (_ #) 1342:2118 (map/accumulate-builds #= _ _) In srfi/srfi-1.scm: 586:17117 (map1 ((#< name: "partition.img" gexp: # =E2=80=A6))) In guix/store.scm: 1301:8116 (call-with-build-handler # _) 2049:24115 (run-with-store # _ #:gu= ile-for-build _ #:system _ #:target _) In guix/gexp.scm: 846:13114 (_ _) In guix/store.scm: 1883:8113 (_ _) In guix/gexp.scm: 258:18112 (_ _) 1123:2111 (_ _) 982:2110 (_ _) 843:4109 (_ _) In guix/store.scm: 1931:12108 (_ #) 1342:2107 (map/accumulate-builds #= _ _) In srfi/srfi-1.scm: 586:17106 (map1 ((#< name: "grub.cfg" gexp: # guile: #f options: (#:local-build? #= t #:local-build? #t #:substitutable? #f)> "o=E2=80=A6") =E2=80=A6)) In guix/store.scm: 1301:8105 (call-with-build-handler # _) 2049:24104 (run-with-store # _ #:gu= ile-for-build _ #:system _ #:target _) In guix/gexp.scm: 846:13103 (_ _) In guix/store.scm: 1883:8102 (_ _) In guix/gexp.scm: 258:18101 (_ _) 1123:2100 (_ _) 982:2 99 (_ _) 843:4 98 (_ _) In guix/store.scm: 1931:12 97 (_ #) 1342:2 96 (map/accumulate-builds #= _ _) In srfi/srfi-1.scm: 586:29 95 (map1 _) 586:29 94 (map1 _) 586:29 93 (map1 _) 586:17 92 (map1 ((#< kernel: #< binding= s: ((#< 7f6168fab7a0 proc: #> # =E2=80=A6) =E2=80=A6)) In guix/store.scm: 1301:8 91 (call-with-build-handler # _) 2049:24 90 (run-with-store # _ #:gu= ile-for-build _ #:system _ #:target _) In guix/gexp.scm: 846:13 89 (_ _) In guix/store.scm: 1883:8 88 (_ _) In guix/gexp.scm: 258:18 87 (_ _) In guix/store.scm: 1918:38 86 (_ #) 2049:24 85 (run-with-store # _ #:gu= ile-for-build _ #:system _ #:target _) 1883:8 84 (_ _) In guix/gexp.scm: 258:18 83 (_ _) 1123:2 82 (_ _) 982:2 81 (_ _) 843:4 80 (_ _) In guix/store.scm: 1931:12 79 (_ #) 1342:2 78 (map/accumulate-builds #= _ _) In srfi/srfi-1.scm: 586:29 77 (map1 ((#< bindings: ((#< 7f6168fab7= a0 proc: #> # =E2=80=A6) =E2=80=A6)) 586:29 76 (map1 ((# "out") (#< name: "parameters" gexp: # splice?: =E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 75 (map1 ((#< name: "parameters" gexp: # splice?: #f load-path?: #f> "out") (#< name: "locale-multiple-versions"=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 74 (map1 ((#< name: "locale-multiple-versions" gex= p: # guile: #f options: (#= :local-build? #t #:local-build? #t #:substi=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:17 73 (map1 ((#< name: "profile" content: #< entr= ies: (#< name: "openssh-sans-x" version: "8.4p1" output: "o= ut" item: # =E2=80=A6) =E2=80=A6)) In guix/store.scm: 1301:8 72 (call-with-build-handler # _) 2049:24 71 (run-with-store # # #:guile-for-build _ #:s= ystem _ #:target _) In guix/gexp.scm: 846:13 70 (_ _) In guix/store.scm: 1883:8 69 (_ _) In guix/gexp.scm: 258:18 68 (_ _) In guix/profiles.scm: 1598:2 67 (_ _) 348:2 66 (_ _) In guix/store.scm: 1931:12 65 (_ #) 1342:2 64 (map/accumulate-builds #= _ _) In srfi/srfi-1.scm: 586:29 63 (map1 ((#< name: "openssh-sans-x" version: "8.= 4p1" output: "out" item: # dependencies: () search=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 62 (map1 ((#< name: "hurd" version: "0.9-1.91a516= 7" output: "out" item: # dependencies: () search-pa=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 61 (map1 ((#< name: "bash" version: "5.0.16" outp= ut: "out" item: # dependencies: () search-paths: (#< =E2=80=A6) =E2=80=A6)) 586:29 60 (map1 ((#< name: "coreutils" version: "8.32" o= utput: "out" item: # dependencies: () search-paths: () =E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 59 (map1 ((#< name: "file" version: "5.38" output= : "out" item: # de= pendencies: () search-paths: () parent: # =E2=80=A6) =E2=80=A6)) 586:29 58 (map1 ((#< name: "findutils" version: "4.7.0" = output: "out" item: # dependencies: () search-paths: (=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 57 (map1 ((#< name: "grep" version: "3.4" output:= "out" item: # depe= ndencies: () search-paths: () parent: # =E2=80=A6) =E2=80=A6)) 586:29 56 (map1 ((#< name: "sed" version: "4.8" output: = "out" item: # depen= dencies: () search-paths: () parent: # =E2=80=A6) =E2=80=A6)) 586:29 55 (map1 ((#< name: "diffutils" version: "3.7" ou= tput: "out" item: # dependencies: () search-paths: () pa=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 54 (map1 ((#< name: "patch" version: "2.7.6" outp= ut: "out" item: # dependencies: () search-paths: () parent=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 53 (map1 ((#< name: "gawk" version: "5.0.1" outpu= t: "out" item: # = dependencies: () search-paths: () parent: #=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 52 (map1 ((#< name: "tar" version: "1.32" output:= "out" item: # dep= endencies: () search-paths: () parent: # =E2=80=A6) =E2=80=A6)) 586:29 51 (map1 ((#< name: "gzip" version: "1.10" output= : "out" item: # dependencies: () search-paths: () par=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 50 (map1 ((#< name: "bzip2" version: "1.0.8" outp= ut: "out" item: # dependencies: () search-paths: ()=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 49 (map1 ((#< name: "xz" version: "5.2.4" output:= "out" item: # dependencies: () search-paths: () paren=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 48 (map1 ((#< name: "lzip" version: "1.21" output= : "out" item: # dependencies: () search-paths: () par=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 47 (map1 ((#< name: "guile" version: "3.0.4" outp= ut: "out" item: # dependencies: (#< name:=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 46 (map1 ((#< name: "libunistring" version: "0.9.= 10" output: "out" item: # dependencies: () =E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 45 (map1 ((#< name: "libltdl" version: "2.4.6" ou= tput: "out" item: # dependencies: () search-paths: =E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 44 (map1 ((#< name: "libgc" version: "8.0.4" outp= ut: "out" item: # dependencies: () search-paths: () paren=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 43 (map1 ((#< name: "gmp" version: "6.2.0" output= : "out" item: # dependencies: () search-paths: () p=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 42 (map1 ((#< name: "guile-colorized" version: "0= .1" output: "out" item: # dependencies: () se=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 41 (map1 ((#< name: "guile-readline" version: "3.= 0.2" output: "out" item: # dependencies: () sear=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 40 (map1 ((#< name: "net-base" version: "5.3" out= put: "out" item: # dependencies: () search-paths: () par=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 39 (map1 ((#< name: "inetutils" version: "1.9.4" = output: "out" item: # dependencies: () search-paths: =E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 38 (map1 ((#< name: "less" version: "563" output:= "out" item: # depe= ndencies: () search-paths: () parent: # =E2=80=A6) =E2=80=A6)) 586:29 37 (map1 ((#< name: "shadow" version: "4.8.1" out= put: "out" item: # dependencies: () search-paths: () par=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 36 (map1 ((#< name: "shepherd" version: "0.8.1" o= utput: "out" item: # dependencies: () search-paths: ()=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 35 (map1 ((#< name: "sudo" version: "1.9.3p1" out= put: "out" item: # dependencies: () search-paths: () pa=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:29 34 (map1 ((#< name: "which" version: "2.21" outpu= t: "out" item: # dependencies: () search-paths: () parent:=E2=80=A6> =E2=80=A6) =E2=80=A6)) 586:17 33 (map1 ((#< name: "guix" version: "1.2.0-3.35a3= 2fe" output: "out" item: # dependen=E2=80=A6> =E2=80=A6) =E2=80=A6)) In guix/store.scm: 1301:8 32 (call-with-build-handler # _) 2049:24 31 (run-with-store # # #:guile-for-build _ = #:system _ #:target _) In guix/profiles.scm: 341:7 30 (_ _) 316:8 29 (_ _) In guix/store.scm: 1931:12 28 (_ #) 1342:2 27 (map/accumulate-builds #= _ _) In srfi/srfi-1.scm: 586:29 26 (map1 (#< name: "gnutls" version: "3.6.12" out= put: "out" item: # dependencies: (#< name: "=E2=80=A6> =E2=80=A6)) 586:17 25 (map1 (#< name: "guile-avahi" version: "0.4.0-= 1.6d43caf" output: "out" item: # depend=E2=80=A6> =E2=80=A6)) In guix/store.scm: 1301:8 24 (call-with-build-handler # _) 2049:24 23 (run-with-store # # #:guile-for-build _ = #:system _ #:target _) In guix/profiles.scm: 316:8 22 (_ _) In guix/store.scm: 1883:8 21 (_ _) In guix/gexp.scm: 258:18 20 (_ _) In guix/store.scm: 1918:38 19 (_ #) In guix/packages.scm: 1169:16 18 (package-cross-derivation _ # _ _ #:graft? _) 1510:22 17 (thunk) 1444:22 16 (bag->cross-derivation #= #< name: "guile-avahi-0.4.0-1.6d43caf" system: "x86_64-linux" target:= "i586-pc-gnu" build-inputs: (("source" # =E2=80=A6) In srfi/srfi-1.scm: 586:29 15 (map1 (("guile" #) ("avahi" #) ("gmp" #) =E2=80=A6)) 586:17 14 (map1 (("avahi" #) ("gmp" #) ("bdw-gc" #) =E2=80=A6)) In guix/packages.scm: 1212:16 13 (expand-input # #f ("ava= hi" #) "x86_64-li= nux" _) 1169:16 12 (package-cross-derivation _ # _ _ #:graft? _) 1510:22 11 (thunk) 1444:22 10 (bag->cross-derivation #= #< name: "avahi-0.8" system: "x86_64-linux" target: "i586-pc-gnu" bui= ld-inputs: (("source" # =E2=80=A6) In srfi/srfi-1.scm: 586:29 9 (map1 (("dbus" #) ("expat" #) ("gdbm" #) =E2=80=A6)) 586:29 8 (map1 (("expat" #) ("gdbm" #) ("glib" #) =E2=80=A6)) 586:29 7 (map1 (("gdbm" #) ("glib" #) ("libcap" #) =E2=80=A6)) 586:17 6 (map1 (("glib" #) ("libcap" #) ("libdaemon" #) =E2=80=A6)) In guix/packages.scm: 1212:16 5 (expand-input # #f ("gli= b" #) "x86_64-l= inux" _) 1169:16 4 (package-cross-derivation _ # _ _ #:graft? _) 1509:22 3 (thunk) 1169:16 2 (package->bag _ _ _ #:graft? _) 1280:21 1 (thunk) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) --=-=-=--