From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#40428: Cannot use inferiors in manifest Date: Sat, 04 Apr 2020 17:20:31 +0200 Message-ID: <87ftdjp9a8.fsf@devup.no> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44260) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKkbX-00022b-OP for bug-guix@gnu.org; Sat, 04 Apr 2020 11:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKkbW-0002Pi-Gt for bug-guix@gnu.org; Sat, 04 Apr 2020 11:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33042) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKkbW-0002Pa-Dz for bug-guix@gnu.org; Sat, 04 Apr 2020 11:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKkbW-0002HE-9i for bug-guix@gnu.org; Sat, 04 Apr 2020 11:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:44238) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKkb6-0001x5-MO for bug-guix@gnu.org; Sat, 04 Apr 2020 11:20:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKkb5-00028Z-Cg for bug-guix@gnu.org; Sat, 04 Apr 2020 11:20:36 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:44287) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jKkb5-000288-2U for bug-guix@gnu.org; Sat, 04 Apr 2020 11:20:35 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 89FAA5C01C5 for ; Sat, 4 Apr 2020 11:20:34 -0400 (EDT) Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 22855306D11B for ; Sat, 4 Apr 2020 11:20:34 -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-mx.org@gnu.org Sender: "bug-Guix" To: 40428@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, On the current 'master' branch, using an inferior in a manifest will cause a crash in 'compute-guix-derivation' as reported in . It can be reproduced by taking the inferior example from the manual: https://guix.gnu.org/manual/en/guix.html#Inferiors ..and running 'guix build --no-grafts -n -m inferior-example.scm'. I've attempted to bisect it, but it is difficult because once you have successfully passed 'compute-guix-derivation', the problem is no longer reproducible, even on known "bad" commits. So for every successful test a new commit/channel must be chosen. Here is a backtrace from a bad commit: Backtrace: In ice-9/boot-9.scm: 152:2 19 (with-fluid* _ _ _) 152:2 18 (with-fluid* _ _ _) 142:2 17 (dynamic-wind _ _ #) 829:9 16 (catch _ _ # =E2=80=A6) 829:9 15 (catch _ _ # =E2=80=A6) 152:2 14 (with-fluid* _ _ _) 152:2 13 (with-fluid* _ _ _) 142:2 12 (dynamic-wind _ _ #) 152:2 11 (with-fluid* _ _ _) 152:2 10 (with-fluid* _ _ _) 152:2 9 (with-fluid* _ _ _) 705:2 8 (call-with-prompt ("build handler") # =E2=80=A6) In unknown file: 7 (_ # =E2= =80=A6) In ice-9/eval.scm: 619:8 6 (_ #(#(#(#) # = =E2=80=A6) =E2=80=A6)) 626:19 5 (_ #(#(#(#) # = =E2=80=A6) =E2=80=A6)) In guix/derivations.scm: 357:5 4 (substitution-oracle # =E2=80=A6) 329:16 3 (derivation-input-fold # =E2=80=A6) In ice-9/eval.scm: 619:8 2 (_ #(#(#(#(#) =E2= =80=A6) =E2=80=A6) =E2=80=A6)) 619:8 1 (_ #(#(# # = =E2=80=A6))) In unknown file: 0 (put-bytevector # #vu8(1 0 =E2=80= =A6) =E2=80=A6) ERROR: In procedure put-bytevector: In procedure put-bytevector: Wrong type argument in position 1 (expecting o= pen output port): # --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6Ipb8ACgkQoqBt8qM6 VPq5WAf8DVJ16nLyfcl0ggJ9csqKmmz4u4VR61jFUd7YEDQm8ZglWnhxZymuvXM9 JEV7bqLsUo4XyrlJ+tXR/FQg4ZxQeg+0rNGuCp/f2bbr0NZMu61HEOFB/ygezylg 2I6f7t/Bha0uRZHOiJIJMidb/LRh34k0PzQodGeVWz7Lpme4mjazJwRZolgK1NYg n5GA2IsXZvemmj9wq1cA9TU6v5nb/90NZIOlheOpnI6fIEPR7J6FxE+qdshjwhWM TYB4zhkAeEe5wVvQ/R6b66B6vELjAx9UwO9pYT4ogthWBE6XrUnBVEbZ8NsWiPDr 6c3BPCfLFuEWdRZhug2drpDO7O5ulA== =LRk1 -----END PGP SIGNATURE----- --=-=-=--