From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aMqbEw4b3F/xFQAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 02:59:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mCtkDw4b3F/hEgAAB5/wlQ (envelope-from ) for ; Fri, 18 Dec 2020 02:59:26 +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 8CE9E940429 for ; Fri, 18 Dec 2020 02:59:25 +0000 (UTC) Received: from localhost ([::1]:34650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq5zI-0003fG-GA for larch@yhetil.org; Thu, 17 Dec 2020 21:59:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq5yw-0003dy-PO for bug-guix@gnu.org; Thu, 17 Dec 2020 21:59:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54115) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq5yw-0008KE-HO for bug-guix@gnu.org; Thu, 17 Dec 2020 21:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kq5yw-0004OI-GC for bug-guix@gnu.org; Thu, 17 Dec 2020 21:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45308: Unexpected fail with build transformation --with-commit Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Dec 2020 02:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45308 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45308@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160826028516812 (code B ref -1); Fri, 18 Dec 2020 02:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2020 02:58:05 +0000 Received: from localhost ([127.0.0.1]:37428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq5y0-0004N6-VX for submit@debbugs.gnu.org; Thu, 17 Dec 2020 21:58:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:55226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kq5xy-0004Mo-9K for submit@debbugs.gnu.org; Thu, 17 Dec 2020 21:58:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq5xq-0002sl-Hq for bug-guix@gnu.org; Thu, 17 Dec 2020 21:57:55 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:40017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq5xl-0008EE-T6 for bug-guix@gnu.org; Thu, 17 Dec 2020 21:57:54 -0500 Received: by mail-wr1-x42e.google.com with SMTP id 91so522857wrj.7 for ; Thu, 17 Dec 2020 18:57:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=PkGNpjmJPWcgqAK52Fu6296w3KmJzyPv0eU/AopOcRo=; b=iDOfthgvUj3NtG/Lmh24tsysjX7c4rnH3k4ETO5u+yaBk11fK7uIBD4hSj33U3w4cB uBh5/Z75AvlLvZu+YsYUVoEFYBuXn2Pl8NSa6nTvXxMavhxXnBH7swSwKMow4hCAFJ73 5T78lh518RL+F2bZKbFQOrZ/hcK61IqoQNjj65ln49308gaLzyI77+70L7iguwUeikBl 4qQxgtho0zIey5I8B6gOxlNtbSM+c1TIh2H9O4/ElUCk/dkMHeTyHcjm9MBTiPp5LZL1 c/h/uVGOpU7qKFDubqcKigqTl9kNN7aVCT8EK/RYU2gxnKlBZS+5yzBAcIEQMt+hw2tf Ao2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=PkGNpjmJPWcgqAK52Fu6296w3KmJzyPv0eU/AopOcRo=; b=XrD5b6hBFPGYPRI3a1JdVWdiZmXqCb0HcbKfKolQSoEFke66ebGg2V/JV29aZ4gsTO KeUq3z+gOERrXAmZp6n4robYWuzKNLLc/SnWybscTgGTui/sSxRYCkdDwWwKe/6uhJ0N yO4qc1eCXfCPVj4/HGibamw0rY8X5XPhxbW2gwoSirWp6zLlcaW3/lFVQ8dhiI93yCZr KejpS1Jl+Zk2HeijjlUBBDldOC2ir0WpMoe3Epb8bjT1DQUmW4q55YHBELqCvP7y/p8o ZQNrGU6dIJn7YcV+LlUYRICmiPIn8vxOhD/1ikThd5yF3GGo9CS5SXKX88bEElEHdm3U PeTg== X-Gm-Message-State: AOAM531MF4xTIqrm5ZkBcenkt/jXW6QtY9o0caxXwNILTV46lss/eAcr WprvSbChBhvndjkT9YEg93LUW0lx3uE= X-Google-Smtp-Source: ABdhPJwIlUtJKXxdwoTDdkIUnhG3l9IaLS7eNv5O2cy8V55ZYxBqxyjuqzC38jtgFAOKcACk1cFbHQ== X-Received: by 2002:a05:6000:1d1:: with SMTP id t17mr1881050wrx.164.1608260268483; Thu, 17 Dec 2020 18:57:48 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id j59sm12111250wrj.13.2020.12.17.18.57.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 18:57:48 -0800 (PST) From: zimoun Date: Fri, 18 Dec 2020 03:54:35 +0100 Message-ID: <86sg83n7ro.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_QUOTING=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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.22 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=iDOfthgv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Queue-Id: 8CE9E940429 X-Spam-Score: -1.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: u99SyYFYirM5 Dear, Using Guix f4450e8, the package emacs-next builds: $ guix build emacs-next /gnu/store/93hb0g731f64avayj8rdz26bz48xg2ri-emacs-next-28.0.50-0.2ea3466 and the recipe reads: --8<---------------cut here---------------start------------->8--- (define-public emacs-next (let ((commit "2ea34662c20f71d35dd52a5ed996542c7386b9cb") (revision "0")) (package/inherit emacs (name "emacs-next") (version (git-version "28.0.50" revision commit)) (source (origin (inherit (package-source emacs)) (method git-fetch) (uri (git-reference (url "https://git.savannah.gnu.org/git/emacs.git/") (commit commit))) [...]=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --8<---------------cut here---------------end--------------->8--- However, the equivalent but specifying the exact same commit fails: --8<---------------cut here---------------start------------->8--- $ guix build emacs-next --with-commit=3Demacs-next=3D2ea34662c20f71d35dd52a= 5ed996542c7386b9cb [...] In end of data: site-start.el:3:1: Warning: the function =E2=80=98guix-emacs-autoload-packa= ges=E2=80=99 is not known to be defined. Done (Total of 2 files compiled) phase `install-site-start' succeeded after 0.1 seconds starting phase `glib-or-gtk-wrap' phase `glib-or-gtk-wrap' succeeded after 0.0 seconds starting phase `strip-double-wrap' Backtrace: 9 (primitive-load "/gnu/store/nqja2pn6mqyqq8gpvsp8jnjaz9c=E2=80= =A6") In ice-9/eval.scm: 191:35 8 (_ _) In guix/build/gnu-build-system.scm: 838:2 7 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) In ice-9/boot-9.scm: 1736:10 6 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm: 857:16 5 (every1 # =E2=80=A6) In guix/build/gnu-build-system.scm: 847:30 4 (_ _) In ice-9/boot-9.scm: 142:2 3 (dynamic-wind # =E2=80=A6) In ice-9/eval.scm: 619:8 2 (_ #(#(#))) In unknown file: 1 (copy-file "bin/emacs-git.2ea3466" "bin/emacs") 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 copy-file: No such file or directory builder for `/gnu/store/h7s176h5d0fqjzz0ac4pdvzb7rb0dm9i-emacs-next-git.2ea= 3466.drv' failed with exit code 1 build of /gnu/store/h7s176h5d0fqjzz0ac4pdvzb7rb0dm9i-emacs-next-git.2ea3466= .drv failed View build log at '/var/log/guix/drvs/h7/s176h5d0fqjzz0ac4pdvzb7rb0dm9i-emacs-next-git.2ea346= 6.drv.bz2'. guix build: error: build of `/gnu/store/h7s176h5d0fqjzz0ac4pdvzb7rb0dm9i-em= acs-next-git.2ea3466.drv' failed --8<---------------cut here---------------end--------------->8--- Note that the items in the derivation are not ordered the same way (which should not be, IMHO, i.e., should be sorted): --8<---------------cut here---------------start------------->8--- Derive ([("out","/gnu/store/93hb0g731f64avayj8rdz26bz48xg2ri-emacs-next-28.0.50-0.= 2ea3466","","")] ,[("/gnu/store/09224jzfa4albcdp321czpjxf6b7s9az-librsvg-2.40.21.drv",["out= "]) ,("/gnu/store/097awwm6ypakc4hgzak3nbhhnax1kb4n-dbus-1.12.16.drv",["out"]) ,("/gnu/store/0x7akam0zda5cyaarxjxmcrph801ldf5-glib-2.62.6.drv",["out"]) [...] ,("/gnu/store/z7hfbdl9xrjjx1nq6v94xwq1ivy82zn3-fontconfig-2.13.1.drv",["= out"])] ,["/gnu/store/dqbd35sjzmj1hb4s83p6x2k65dyh28xx-emacs-next-28.0.50-0.2ea346= 6-guile-builder","/gnu/store/jm5y2ys7fwasip9gy6pdv0pn5nf1k49k-module-import= "] ,"x86_64-linux","/gnu/store/2wrp7x9aclqsapm58dz5i654qds8nbb8-guile-2.0.14/= bin/guile",["--no-auto-compile","-L","/gnu/store/jm5y2ys7fwasip9gy6pdv0pn5n= f1k49k-module-import","/gnu/store/dqbd35sjzmj1hb4s83p6x2k65dyh28xx-emacs-ne= xt-28.0.50-0.2ea3466-guile-builder"] ,[("GUILE_LOAD_COMPILED_PATH","/gnu/store/57arpl064shmcfnszyi93cm6xhpkm1sr= -module-import-compiled") ,("allowSubstitutes","0") ,("guix properties","((type . graft) (graft (count . 24)))") ,("out","/gnu/store/93hb0g731f64avayj8rdz26bz48xg2ri-emacs-next-28.0.50-= 0.2ea3466") ,("preferLocalBuild","1")]) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- Derive ([("out","/gnu/store/9a8labbn5r7c6aavazvi9zhy75srxp0a-emacs-next-git.2ea346= 6","","")] ,[("/gnu/store/0914wj4m75qvn2wlxi5gw85dna6n2v7f-mesa-20.1.9.drv",["out"]) ,("/gnu/store/09224jzfa4albcdp321czpjxf6b7s9az-librsvg-2.40.21.drv",["ou= t"]) ,("/gnu/store/097awwm6ypakc4hgzak3nbhhnax1kb4n-dbus-1.12.16.drv",["out"]) [...] ,("/gnu/store/yshx9iapfwhk90wn3c1nw5jp1hqzx09x-util-linux-2.35.1.drv",["= lib"]) ,("/gnu/store/z7hfbdl9xrjjx1nq6v94xwq1ivy82zn3-fontconfig-2.13.1.drv",["= out"])] ,["/gnu/store/8qm8aklnh0937bvy9kpy8n7jy8nqwldj-guix-emacs.el","/gnu/store/= nqja2pn6mqyqq8gpvsp8jnjaz9cb71js-emacs-next-git.2ea3466-guile-builder","/gn= u/store/s48w5zmgchqp8rjl9z2bg8wb0v3j44gj--2ea3466","/gnu/store/ziqkzr6gbllc= 2rbp0cg18vmr02grf8xi-module-import"] ,"x86_64-linux","/gnu/store/0m0vd873jp61lcm4xa3ljdgx381qa782-guile-3.0.2/b= in/guile",["--no-auto-compile","-L","/gnu/store/ziqkzr6gbllc2rbp0cg18vmr02g= rf8xi-module-import","/gnu/store/nqja2pn6mqyqq8gpvsp8jnjaz9cb71js-emacs-nex= t-git.2ea3466-guile-builder"] ,[("GUILE_LOAD_COMPILED_PATH","/gnu/store/hr3djx0ls96i9llwqhi8abfk72nym0jv= -module-import-compiled") ,("out","/gnu/store/9a8labbn5r7c6aavazvi9zhy75srxp0a-emacs-next-git.2ea3= 466")]) --8<---------------cut here---------------end--------------->8--- Three things appears in the transformed build only: 1. util-linux-2.35.1.drv,["lib"] 2. guix-emacs.el 3. /gnu/store/s48w5zmgchqp8rjl9z2bg8wb0v3j44gj--2ea3466 Do I miss something? Is it Emacs specific because of =E2=80=99inherit=E2= =80=99? Or coming from the =E2=80=99transform=E2=80=99 option? All the best, simon