From unknown Sat Jun 21 12:21:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40377: guix build --with-commit is broken Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Apr 2020 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40377 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 40377@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15857628891045 (code B ref -1); Wed, 01 Apr 2020 17:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Apr 2020 17:41:29 +0000 Received: from localhost ([127.0.0.1]:38624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJhMm-0000Gl-LT for submit@debbugs.gnu.org; Wed, 01 Apr 2020 13:41:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:45703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJhMl-0000Gc-K1 for submit@debbugs.gnu.org; Wed, 01 Apr 2020 13:41:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46163) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJhMk-0004gr-Cr for bug-guix@gnu.org; Wed, 01 Apr 2020 13:41:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJhMi-0006Rs-Rj for bug-guix@gnu.org; Wed, 01 Apr 2020 13:41:25 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48907) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJhMi-0006Ql-L4 for bug-guix@gnu.org; Wed, 01 Apr 2020 13:41:24 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 2712DE0007 for ; Wed, 1 Apr 2020 17:41:20 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 01 Apr 2020 17:41:20 +0000 From: Brice Waegeneire Message-ID: X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.196 X-Spam-Score: -0.0 (/) 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 (-) Hello, `--with-commit' from `guix build' doesn't always work. It seems to not really update the checkout contrary to what is reported since changing the `git-url`, by adding a slash for example, put it back on track. It makes it useless when trying out to build a newly released version. Following are some examples: $ guix build mlt /gnu/store/m6y21nnyg6p0kcxbfj7k1dnbwbsbj006-mlt-6.18.0 $ guix build mlt --with-commit=mlt=v6.18.0 updating checkout of 'https://github.com/mltframework/mlt.git'... guix build: error: Git failure while fetching https://github.com/mltframework/mlt.git: the requested type does not match the type in the ODB $ guix build mlt --with-commit=mlt=v6.18.0 --with-git-url=mlt=https://github.com/mltframework/mlt.git/ updating checkout of 'https://github.com/mltframework/mlt.git/'... retrieved commit 46a226217d8ec5bbf66a4fa3da138fd6924dd13b The following derivations will be built: /gnu/store/ljlj1dwkdfb7sziy02hi5scskdjmxv02-mlt-6.18.0.drv /gnu/store/02q25aq6mi8287hbakc9v7z0jmq9f6cz-sdl-1.2.15.drv /gnu/store/5z3v3w5aslbcsq0ia429n0pkshv6f14x-frei0r-plugins-1.7. [...] $ guix build picom --with-commit=picom=v7.5 updating checkout of 'https://github.com/yshui/picom.git'... retrieved commit 3838f053afb1aa05ba1ab489f2dfaa44c00c9ef0 /gnu/store/q1bl4q1x4wmyps5ibljvj4x3y2nl24la-picom-7.5 $ guix build picom --with-commit=picom=vNext updating checkout of 'https://github.com/yshui/picom.git'... guix build: error: Git failure while fetching https://github.com/yshui/picom.git: the requested type does not match the type in the ODB I've found out about this issue by reading pelzflorian's suggestion about adding a `--with-version' in [0] and [1], he wrote that a year ago, before support for tags was added to `--with-commit'. [0]: https://issues.guix.info/issue/35744 [1]: https://lists.gnu.org/archive/html/help-guix/2019-05/msg00093.html - Brice From unknown Sat Jun 21 12:21:59 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: Brice Waegeneire Subject: bug#40377: closed (Re: bug#40377: guix build --with-commit is broken) Message-ID: References: <87a73tmvsw.fsf@gnu.org> X-Gnu-PR-Message: they-closed 40377 X-Gnu-PR-Package: guix Reply-To: 40377@debbugs.gnu.org Date: Thu, 02 Apr 2020 21:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1585862342-23157-1" This is a multi-part message in MIME format... ------------=_1585862342-23157-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #40377: guix build --with-commit is broken 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 40377@debbugs.gnu.org. --=20 40377: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40377 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1585862342-23157-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 40377-done) by debbugs.gnu.org; 2 Apr 2020 21:18:04 +0000 Received: from localhost ([127.0.0.1]:40846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK7Dv-0005yJ-Sl for submit@debbugs.gnu.org; Thu, 02 Apr 2020 17:18:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK7Dt-0005xc-Jy for 40377-done@debbugs.gnu.org; Thu, 02 Apr 2020 17:18:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jK7Dn-0004BA-Kz; Thu, 02 Apr 2020 17:17:55 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45958 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jK7Dn-0000fr-0L; Thu, 02 Apr 2020 17:17:55 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brice Waegeneire Subject: Re: bug#40377: guix build --with-commit is broken References: Date: Thu, 02 Apr 2020 23:17:51 +0200 In-Reply-To: (Brice Waegeneire's message of "Wed, 01 Apr 2020 17:41:20 +0000") Message-ID: <87a73tmvsw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40377-done Cc: 40377-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 (-) Hi, Brice Waegeneire skribis: > $ guix build mlt --with-commit=3Dmlt=3Dv6.18.0 > updating checkout of 'https://github.com/mltframework/mlt.git'... > guix build: error: Git failure while fetching > https://github.com/mltframework/mlt.git: the requested type does not > match the type in the ODB [...] > $ guix build picom --with-commit=3Dpicom=3DvNext > updating checkout of 'https://github.com/yshui/picom.git'... > guix build: error: Git failure while fetching > https://github.com/yshui/picom.git: the requested type does not match > the type in the ODB Interestingly, guix build guile-gcrypt --with-commit=3Dguile-gcrypt=3Dv0.2.0 would work just fine. This is because the tags in the above examples actually point to a =E2=80=9Ccommit=E2=80=9D object instead of pointing to a =E2=80=9Ctag=E2=80= =9D object as in the guile-gcrypt case. Weird. Fixed with commit efa578ecaece67366b4b0e2266de7c2faaa4ae54. Thanks, Ludo=E2=80=99. ------------=_1585862342-23157-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Apr 2020 17:41:29 +0000 Received: from localhost ([127.0.0.1]:38624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJhMm-0000Gl-LT for submit@debbugs.gnu.org; Wed, 01 Apr 2020 13:41:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:45703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJhMl-0000Gc-K1 for submit@debbugs.gnu.org; Wed, 01 Apr 2020 13:41:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46163) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJhMk-0004gr-Cr for bug-guix@gnu.org; Wed, 01 Apr 2020 13:41:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJhMi-0006Rs-Rj for bug-guix@gnu.org; Wed, 01 Apr 2020 13:41:25 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48907) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jJhMi-0006Ql-L4 for bug-guix@gnu.org; Wed, 01 Apr 2020 13:41:24 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 2712DE0007 for ; Wed, 1 Apr 2020 17:41:20 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 01 Apr 2020 17:41:20 +0000 From: Brice Waegeneire To: bug-guix@gnu.org Subject: guix build --with-commit is broken Message-ID: X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.196 X-Spam-Score: -0.0 (/) 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: -1.0 (-) Hello, `--with-commit' from `guix build' doesn't always work. It seems to not really update the checkout contrary to what is reported since changing the `git-url`, by adding a slash for example, put it back on track. It makes it useless when trying out to build a newly released version. Following are some examples: $ guix build mlt /gnu/store/m6y21nnyg6p0kcxbfj7k1dnbwbsbj006-mlt-6.18.0 $ guix build mlt --with-commit=mlt=v6.18.0 updating checkout of 'https://github.com/mltframework/mlt.git'... guix build: error: Git failure while fetching https://github.com/mltframework/mlt.git: the requested type does not match the type in the ODB $ guix build mlt --with-commit=mlt=v6.18.0 --with-git-url=mlt=https://github.com/mltframework/mlt.git/ updating checkout of 'https://github.com/mltframework/mlt.git/'... retrieved commit 46a226217d8ec5bbf66a4fa3da138fd6924dd13b The following derivations will be built: /gnu/store/ljlj1dwkdfb7sziy02hi5scskdjmxv02-mlt-6.18.0.drv /gnu/store/02q25aq6mi8287hbakc9v7z0jmq9f6cz-sdl-1.2.15.drv /gnu/store/5z3v3w5aslbcsq0ia429n0pkshv6f14x-frei0r-plugins-1.7. [...] $ guix build picom --with-commit=picom=v7.5 updating checkout of 'https://github.com/yshui/picom.git'... retrieved commit 3838f053afb1aa05ba1ab489f2dfaa44c00c9ef0 /gnu/store/q1bl4q1x4wmyps5ibljvj4x3y2nl24la-picom-7.5 $ guix build picom --with-commit=picom=vNext updating checkout of 'https://github.com/yshui/picom.git'... guix build: error: Git failure while fetching https://github.com/yshui/picom.git: the requested type does not match the type in the ODB I've found out about this issue by reading pelzflorian's suggestion about adding a `--with-version' in [0] and [1], he wrote that a year ago, before support for tags was added to `--with-commit'. [0]: https://issues.guix.info/issue/35744 [1]: https://lists.gnu.org/archive/html/help-guix/2019-05/msg00093.html - Brice ------------=_1585862342-23157-1-- From unknown Sat Jun 21 12:21:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#40377: guix build --with-commit is broken Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 03 Apr 2020 07:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40377 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40377-done@debbugs.gnu.org Received: via spool by 40377-done@debbugs.gnu.org id=D40377.158589736124922 (code D ref 40377); Fri, 03 Apr 2020 07:03:01 +0000 Received: (at 40377-done) by debbugs.gnu.org; 3 Apr 2020 07:02:41 +0000 Received: from localhost ([127.0.0.1]:41111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKGLg-0006Tu-QF for submit@debbugs.gnu.org; Fri, 03 Apr 2020 03:02:40 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:59571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKGLe-0006TT-Rg for 40377-done@debbugs.gnu.org; Fri, 03 Apr 2020 03:02:39 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay8-d.mail.gandi.net (Postfix) with ESMTPA id 697F91BF208; Fri, 3 Apr 2020 07:02:32 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 03 Apr 2020 07:02:32 +0000 From: Brice Waegeneire In-Reply-To: <87a73tmvsw.fsf@gnu.org> References: <87a73tmvsw.fsf@gnu.org> Message-ID: <1e1a135a32f1c7930f219d50a2aa48d4@waegenei.re> X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-Spam-Score: -0.7 (/) 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 (-) Hello Ludovic, On 2020-04-02 21:17, Ludovic Courtès wrote: > Fixed with commit efa578ecaece67366b4b0e2266de7c2faaa4ae54. Thank you for that really quick patch. It seems to be working well now. - Brice