From unknown Sat Jun 21 12:23:33 2025 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 From unknown Sat Jun 21 12:23:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45308: Unexpected fail with build transformation --with-commit Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Dec 2020 17:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45308 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: 45308@debbugs.gnu.org Received: via spool by 45308-submit@debbugs.gnu.org id=B45308.160831207628379 (code B ref 45308); Fri, 18 Dec 2020 17:22:02 +0000 Received: (at 45308) by debbugs.gnu.org; 18 Dec 2020 17:21:16 +0000 Received: from localhost ([127.0.0.1]:39835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqJRL-0007Nf-R3 for submit@debbugs.gnu.org; Fri, 18 Dec 2020 12:21:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqJRL-0007NT-2E for 45308@debbugs.gnu.org; Fri, 18 Dec 2020 12:21:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36243) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqJRF-0002c9-SH; Fri, 18 Dec 2020 12:21:09 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53556 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kqJRF-0003cH-40; Fri, 18 Dec 2020 12:21:09 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <86sg83n7ro.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 Frimaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 18 Dec 2020 18:21:07 +0100 In-Reply-To: <86sg83n7ro.fsf@gmail.com> (zimoun's message of "Fri, 18 Dec 2020 03:54:35 +0100") Message-ID: <875z4z9gjg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! zimoun skribis: > 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.2= ea3466.drv' failed with exit > code 1 This comes from this phase in the =E2=80=98emacs=E2=80=99 package: --8<---------------cut here---------------start------------->8--- (with-directory-excursion (assoc-ref outputs "out") (copy-file (string-append "bin/emacs-" ,(let ((this-version (package-version this-packa= ge))) (or (false-if-exception (version-major+minor+point this-version)) (version-major+minor this-version)))) "bin/emacs") #t) --8<---------------cut here---------------end--------------->8--- When using =E2=80=98--with-commit=E2=80=99, the =E2=80=98version=E2=80=99 f= ield you end up with is =E2=80=98git.2ea3466=E2=80=99 as shown above, and so the trick above that c= onstructs the file name from the =E2=80=98version=E2=80=99 field no longer works. Probably, instead of constructing the =E2=80=98emacs-X.Y=E2=80=99 file name= like this, we should instead use =E2=80=98scandir=E2=80=99 or =E2=80=98find-files=E2= =80=99 and pick =E2=80=98bin/emacs-[0-9]+.[0-9]+=E2=80=99. HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 13:09:49 2020 Received: (at control) by debbugs.gnu.org; 23 Dec 2020 18:09:49 +0000 Received: from localhost ([127.0.0.1]:54122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks8a4-0003Ni-Oi for submit@debbugs.gnu.org; Wed, 23 Dec 2020 13:09:48 -0500 Received: from mail-wr1-f43.google.com ([209.85.221.43]:39721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks8a3-0003NT-0g for control@debbugs.gnu.org; Wed, 23 Dec 2020 13:09:47 -0500 Received: by mail-wr1-f43.google.com with SMTP id c5so64341wrp.6 for ; Wed, 23 Dec 2020 10:09:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=tsVV3ytTi+4Ky8ArjD9CFquzmmClEhj/GL30xc6Qb14=; b=AxkTxOC4r7nOFvfaBnhXPpaFwPbEpGR+BspMi4VcBWs4E7LiuelyKaHnZaAKB/X3QK AAtBKWfC757B6683Cueer+Rzg63LA2RKrQ8DUmzta3aGE84DTvLmf0RVUN8BgGC8jNNw JJh5GNKajSe+72X/efZ3hzA+Eo43lcS3L5BO1IASCeM5aGD55yHn5JCsPt4ZrtXHM859 rIRH4fbgM+dx0tvm6tIfm9IeLUHKbPXHG0Xbo/ETOpk6DTp+6ATqjPl2hNwNcDg0SoKI +zHyM9CJDMOSXwC515PyT+2loEa/PPiQV2x3TbYWH42RvSL8C1Zf17RIH+6VoNd2IXqc wsJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=tsVV3ytTi+4Ky8ArjD9CFquzmmClEhj/GL30xc6Qb14=; b=ZiHao502RjWm5vVwxlAX4a6IHnX9xjoRA8lUxI6nlWLzZvHorGJEYXQ4ANLRSB1Emk ifzC0kgqJGaCxmgur/faL/4HpBAVepD9b4Z7s7WlRCA3ApukQ9t8KllDRUrc2Ka0auA6 cOy5G+gaGLkO5cuzFLary0grBjLjT9kKjWTeEMqTUXRViGXPNUCi69jLYK/0AJ/kQLGR IjH1KmsGIZOjTgK4lLUvtGIWEkzngyVP982R82Ev01Ttzmq2VCHEww3e2qmyPDPVeCnD dMTLK7GofrZQY0/PpeNPSfvWaI9z+AN0mXc4Tc7/t6A3eg3rqjXpPe4wztzeCs2oL2Qx yPEg== X-Gm-Message-State: AOAM532GJWO0rNaxr331zT94xPpk5EMbHk2tXpMDRB0zCgw/09g89BBc 9q0dSJIGfEZOI1++7jTpNXgST9lnDCA= X-Google-Smtp-Source: ABdhPJynW/KE5X2C458HfUQD45KsQFyYy6FPiboRz6OVCQogD1I8BE5Y8Zkjb4tft9azP06qQpOMRg== X-Received: by 2002:adf:e590:: with SMTP id l16mr30880241wrm.294.1608746981585; Wed, 23 Dec 2020 10:09:41 -0800 (PST) Received: from lili ([2a01:e35:2e80:2030:3231:7ae:dc70:aacf]) by smtp.gmail.com with ESMTPSA id c7sm40330569wro.16.2020.12.23.10.09.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 10:09:41 -0800 (PST) Date: Wed, 23 Dec 2020 19:09:11 +0100 Message-Id: <86sg7wqtrs.fsf@gmail.com> To: control@debbugs.gnu.org From: zimoun Subject: control message for bug #45308 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) retitle 45308 Emacs package broken with --with-commit transformation quit From unknown Sat Jun 21 12:23:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: zimoun Subject: bug#45308: closed (Re: bug#45308: Emacs package broken with --with-commit transformation) Message-ID: References: <875z32xn54.fsf_-_@gnu.org> <86sg83n7ro.fsf@gmail.com> X-Gnu-PR-Message: they-closed 45308 X-Gnu-PR-Package: guix Reply-To: 45308@debbugs.gnu.org Date: Mon, 08 Feb 2021 21:32:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1612819921-25387-1" This is a multi-part message in MIME format... ------------=_1612819921-25387-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45308: Emacs package broken with --with-commit transformation which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45308@debbugs.gnu.org. --=20 45308: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45308 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1612819921-25387-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45308-done) by debbugs.gnu.org; 8 Feb 2021 21:31:13 +0000 Received: from localhost ([127.0.0.1]:52052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9E7l-00060n-BH for submit@debbugs.gnu.org; Mon, 08 Feb 2021 16:31:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l9E7j-0005uu-Lu for 45308-done@debbugs.gnu.org; Mon, 08 Feb 2021 16:31:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59405) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9E7e-0000iK-EG; Mon, 08 Feb 2021 16:31:06 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57452 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l9E7d-00076v-Cf; Mon, 08 Feb 2021 16:31:05 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: bug#45308: Emacs package broken with --with-commit transformation References: <86sg83n7ro.fsf@gmail.com> <875z4z9gjg.fsf@gnu.org> Date: Mon, 08 Feb 2021 22:31:03 +0100 In-Reply-To: <875z4z9gjg.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 18 Dec 2020 18:21:07 +0100") Message-ID: <875z32xn54.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 45308-done Cc: 45308-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Ludovic Court=C3=A8s skribis: > zimoun skribis: > >> 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.= 2ea3466.drv' failed with exit >> code 1 > > This comes from this phase in the =E2=80=98emacs=E2=80=99 package: > > (with-directory-excursion (assoc-ref outputs "out") > (copy-file (string-append > "bin/emacs-" > ,(let ((this-version (package-version this-pac= kage))) > (or (false-if-exception > (version-major+minor+point this-versio= n)) > (version-major+minor this-version)))) > "bin/emacs") > #t) This was fixed by 8d2465fcfef96552517bef7d182a04255d5707c2. Closing! Ludo=E2=80=99. ------------=_1612819921-25387-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 To: bug-guix@gnu.org Subject: Unexpected fail with build transformation --with-commit 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 ------------=_1612819921-25387-1--