From unknown Thu Jun 19 14:12:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#54942 <54942@debbugs.gnu.org> To: bug#54942 <54942@debbugs.gnu.org> Subject: Status: Can't run guix upgrade when a package is installed with the --with-git-url transformation Reply-To: bug#54942 <54942@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:12:04 +0000 retitle 54942 Can't run guix upgrade when a package is installed with the -= -with-git-url transformation reassign 54942 guix submitter 54942 SeerLite severity 54942 important thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 12:45:33 2022 Received: (at submit) by debbugs.gnu.org; 14 Apr 2022 16:45:33 +0000 Received: from localhost ([127.0.0.1]:57204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf2b7-0004oK-6V for submit@debbugs.gnu.org; Thu, 14 Apr 2022 12:45:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:40910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf2b6-0004o8-97 for submit@debbugs.gnu.org; Thu, 14 Apr 2022 12:45:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nf2b6-0006uc-05 for bug-guix@gnu.org; Thu, 14 Apr 2022 12:45:32 -0400 Received: from mx.nixnet.email ([94.16.121.167]:40692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nf2b1-0001j1-07 for bug-guix@gnu.org; Thu, 14 Apr 2022 12:45:31 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mx.nixnet.email (Postfix) with ESMTPSA id 6A948200375 for ; Thu, 14 Apr 2022 12:45:17 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nixnet.email; s=202002021149; t=1649954718; h=from:from:reply-to:subject:subject:to:to:cc; bh=qCGLUTEvdJhnSHfggSR3uA0o46Dgs1PE7V3wMnyHalc=; b=Jj0U5Ylk9evmToV34Etnc9ZNe1svy9A/OAPn6ukStlIfGs3ZzRgQ5zI8F2ZxxcZMR4goXF 3bYf0GmBcWrM7ZmNEyyNcaeQ0J4ADYX5c7G9zZUOCqy1hOkrXsPdaOGxjrO+m/Ihf+h+PJ StsdJHlOxzLNj06iw+sTAecpONYvIH4= Message-ID: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> Date: Thu, 14 Apr 2022 12:45:11 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: bug-guix@gnu.org From: SeerLite Subject: Can't run guix upgrade when a package is installed with the --with-git-url transformation Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=94.16.121.167; envelope-from=seerlite@nixnet.email; helo=mx.nixnet.email 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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.4 (--) Hi! I installed a package with --with-git-url and --with-branch to my profile: guix install kakoune --with-git-url=kakoune=https://github.com/mawww/kakoune.git --with-branch=kakoune=breaking-cleanups However, now I can't run `guix upgrade`. I get the following error: guix upgrade: error: the source of kakoune@2021.08.28 is not a Git reference I also tried to add the same transformation options to `guix upgrade`, but I got the same error. Is installing packages with the --with-git-url transformation to profiles not supported? Or is this a bug? Ideally I'd like `guix upgrade` to remember the way in which this package was installed and update it accordingly. In this case by fetching the latest changes from the breaking-cleanups branch. Is this not how this transformation option works? Thanks :) From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 18 15:09:02 2022 Received: (at 54942) by debbugs.gnu.org; 18 Apr 2022 19:09:02 +0000 Received: from localhost ([127.0.0.1]:40808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngWkA-0007qs-3J for submit@debbugs.gnu.org; Mon, 18 Apr 2022 15:09:02 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:38633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngWk8-0007qN-CH for 54942@debbugs.gnu.org; Mon, 18 Apr 2022 15:09:01 -0400 Received: by mail-pg1-f182.google.com with SMTP id s137so20529460pgs.5 for <54942@debbugs.gnu.org>; Mon, 18 Apr 2022 12:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rBwYMkdY4ssMgHXD4FnmIbGtcaLvPVZa+aPwEa8ug1o=; b=gOPC3zFSYaOnS3eg2gF49VeqkDBw/iyYV9y7EuZ+wlR+I2K0IQwExF4j2ABQm0x/z+ onWYFquvXyx5xsvPzgi08B8wk/T2Axkf06wHUnlElrQxCboTst0c16dem7DxJH6ftB3A /gPxDTb65U1/j/vXsGiI+D0kThVBC3tLLDskA8nIH4gTFSjEPDc/mRZWTMqhxjwi48JP YqALIrTBaeVO1MYGNJ7SHWZ0kTLZdBdOafbMSr/u/kNC9kY2zdSGSuPUqt/4XzAk6/HU yxquHaUi1o7wzMk2kUQ9/0DVflaAmB832Y85AFfWWKjqSz/YHPPmHl5pFYRURPZTpdqq wDIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rBwYMkdY4ssMgHXD4FnmIbGtcaLvPVZa+aPwEa8ug1o=; b=lvFplUdKbzBzRNB0QWsunIRubMcGMX+nzJH3o5Ttcgd0zuuehchaJYsSQNxBQJxIqV ZvCHFHnwciUWWCSMXFD/wgPTwuv9eiZSvp2DzWSp/vMVEiZ93z33t3EMvSklXb8IS9aJ NxlSEHbOLkZdf1LRAm8VqV4E4/E/t7CRtb8lQ6nx1xg71XWkdUVrIb6P7HhbGuV/LneU 6vZPcZo/0/Uxqrel1BH2jt/eHqWvRMr2Ln3cCOEsqrnm7rRtyTCmhf+NYBCVGZ1HCHNR 5U7L6UMf3UAbHqzWpYm5cEFSNuSXBr9I/auHXxXq/0Adv5JUwTlzTaNYb+CmaBmdkTga 3VyA== X-Gm-Message-State: AOAM5328fxxkGpdsrJhPAGsfiTOk9ktoybqi6WhZ3Lp/I1sZ+qxdGHhC +i5mnqr+28HQw0EpG55gcXs2NtaHO9zHZA1C4SsqVde06pQx2Yta X-Google-Smtp-Source: ABdhPJwvhL5yhNvy4baI3GAys/IFMjVhEvjX49zgBWiYwhc15tqfW/m/OUDionv3J6b2+zmhvi+0GF6mx9eNlbfz5AY= X-Received: by 2002:a05:6a00:2444:b0:4fd:db81:cbdd with SMTP id d4-20020a056a00244400b004fddb81cbddmr13762095pfj.32.1650308934489; Mon, 18 Apr 2022 12:08:54 -0700 (PDT) MIME-Version: 1.0 References: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> In-Reply-To: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> From: Greg Hogan Date: Mon, 18 Apr 2022 15:08:43 -0400 Message-ID: Subject: Re: bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation To: SeerLite Content-Type: multipart/alternative; boundary="000000000000cf721d05dcf27d42" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54942 Cc: 54942@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.0 (-) --000000000000cf721d05dcf27d42 Content-Type: text/plain; charset="UTF-8" Hi, The manual page Defining Package Variants [0] gives an example translating command-line options into a Guix manifest. The full list of options is found in the source [1] (including with-git-url). [0] https://guix.gnu.org/manual/en/html_node/Defining-Package-Variants.html [1] https://git.savannah.gnu.org/cgit/guix.git/tree/guix/transformations.scm?id=237d90a7808cfdced34b34595eba16632cbcb89e#n794 Greg On Sat, Apr 16, 2022 at 8:18 AM SeerLite via Bug reports for GNU Guix < bug-guix@gnu.org> wrote: > Hi! > > I installed a package with --with-git-url and --with-branch to my profile: > > guix install kakoune > --with-git-url=kakoune=https://github.com/mawww/kakoune.git > --with-branch=kakoune=breaking-cleanups > > However, now I can't run `guix upgrade`. I get the following error: > > guix upgrade: error: the source of kakoune@2021.08.28 is not a Git > reference > > I also tried to add the same transformation options to `guix upgrade`, > but I got the same error. > > > Is installing packages with the --with-git-url transformation to > profiles not supported? Or is this a bug? > > Ideally I'd like `guix upgrade` to remember the way in which this > package was installed and update it accordingly. In this case by > fetching the latest changes from the breaking-cleanups branch. Is this > not how this transformation option works? > > Thanks :) > > > > --000000000000cf721d05dcf27d42 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

The manual page Defining Package Va= riants [0] gives an example translating command-line options into a Guix ma= nifest. The full list of options is found in the source [1] (including=C2= =A0with-git-url).


Greg

--000000000000cf721d05dcf27d42-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 18 15:24:17 2022 Received: (at 54942) by debbugs.gnu.org; 18 Apr 2022 19:24:17 +0000 Received: from localhost ([127.0.0.1]:40855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngWyu-0008GT-Sl for submit@debbugs.gnu.org; Mon, 18 Apr 2022 15:24:17 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:42864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngWys-0008GK-9b for 54942@debbugs.gnu.org; Mon, 18 Apr 2022 15:24:15 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id LKQB270084UW6Th01KQB2J; Mon, 18 Apr 2022 21:24:12 +0200 Message-ID: <5ed6dda13cf21f377f576a0e1718a250e7b1ba79.camel@telenet.be> Subject: Re: bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation From: Maxime Devos To: SeerLite , 54942@debbugs.gnu.org Date: Mon, 18 Apr 2022 21:24:04 +0200 In-Reply-To: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> References: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-IBOa/9ZWAjOqrgVX6B1U" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1650309852; bh=//gE3U8w/7cgEMwvPr1044eTYsW+uD1EjDWFfXPkIPc=; h=Subject:From:To:Date:In-Reply-To:References; b=mvCet3Qb0dXJlb+kOhh8JKMEOsCCUzs6tgVbAUXI6gsLXg0qoorL5YAOtwt53Sgc5 PcHpkVwo6xC7I5FTdfkCpzuEqMESHnyW1RCl3jLvQ+kSEuyglTR6j0tWmHS8lZnXcb YMBAfw/HnEKLjsA31+AYF5WJTa4mdVIUZ/WckZ4jFDvXzs0k4OPRfkhoXbcVyPKLuP 2klktgXFpr9o4QzYy24XeGsMHVYWH6jtavJ4GjMDcLeVlIg1zrek1lbgNpGeFGrxzh wnCDYJPnU3XU/AAhGwD/fBAaElQlOzoDHaGthY2eemwYAf3wALAzxOm15nJWbdGZVW PBT+KrOmewGtw== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54942 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 (-) --=-IBOa/9ZWAjOqrgVX6B1U Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable SeerLite via Bug reports for GNU Guix schreef op do 14-04-2022 om 12:45 [-0400]: > However, now I can't run `guix upgrade`. I get the following error: >=20 > =C2=A0=C2=A0=C2=A0=C2=A0 guix upgrade: error: the source of kakoune@2021.= 08.28=C2=A0is not a Git=20 > reference I guess the problem is that 'with-branch'/'with-commit' come before 'with-git-url' in (untested!). Greetings, Maxime. --=-IBOa/9ZWAjOqrgVX6B1U Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYl261BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j49AQDE/UkiXxT4wqAokTBG0+gI8Alf Lz704+0mqc8N5XMJkQD/Yo/oXnWVVsY29INSWdI+ATqnTtNJjBtpmdm4woDU/QE= =j4d8 -----END PGP SIGNATURE----- --=-IBOa/9ZWAjOqrgVX6B1U-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 18:49:28 2022 Received: (at control) by debbugs.gnu.org; 28 Apr 2022 22:49:28 +0000 Received: from localhost ([127.0.0.1]:50260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkCwy-0003g6-3t for submit@debbugs.gnu.org; Thu, 28 Apr 2022 18:49:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkCww-0003fq-Sq for control@debbugs.gnu.org; Thu, 28 Apr 2022 18:49:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkCwr-0003Pb-KA for control@debbugs.gnu.org; Thu, 28 Apr 2022 18:49:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=4ZXp1zQ2yATkOo4IbPAyzBBBaIjZCjuGXktnHJnaMEY=; b=QxREjWcfE19FFq ZINXvxRYPgVORp429t4cdXta8t9HstNjTB2N2owCC63LRHbubkhaGjVsa6zhxs6S71pibjs15EfWi +IAIZAMELOM1+z+a5QuKdQilTUWVLT1kvq+AsZKdv9gwqf/P3Tn5KXz2DHqi67O2OpPFoaloMEVfS xrwSRWqQPVt13NKRjH2Ys0IVdnUG2zpNeS+z1bSeMpHwNtp1/YNDwklIUtpKbW9YAMcnYgmCLSNBD Hr7uTQxsaduQ7ptTR4Lwa1g8+AblnNZ8x8h205O+tEzfdjrgM/qCt0MG0CGWvtOkomietIIYB5pt+ ok6tzsQv90hIUGK7trOw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58422 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkCwr-0000jM-87 for control@debbugs.gnu.org; Thu, 28 Apr 2022 18:49:21 -0400 Date: Fri, 29 Apr 2022 00:49:19 +0200 Message-Id: <87o80kaknk.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #54942 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: -3.3 (---) severity 54942 important quit From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 18:54:35 2022 Received: (at 54942) by debbugs.gnu.org; 28 Apr 2022 22:54:35 +0000 Received: from localhost ([127.0.0.1]:50275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkD1v-0003oH-8K for submit@debbugs.gnu.org; Thu, 28 Apr 2022 18:54:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkD1u-0003o4-Az for 54942@debbugs.gnu.org; Thu, 28 Apr 2022 18:54:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkD1n-0004Fq-RY; Thu, 28 Apr 2022 18:54:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Wej4gQMGF3LgpYAPT7T/kCh0CUVTbCe0r6IIxM8EO8w=; b=cW10WWDw0Jk/MiAq2oHM PV6tWMbYSW7Q7+xeuPLiR7rJwD7RqybXfGiOoxJORMW2IWL/UkqtEOUSsiN6RLEESCOT1xrrucT/6 tTa2bac4kVZIxMHobHkuBBX1RcXE+aLN+2dCzPLqE36JMAvM0svND6iRscIJyhU410EeHwPwXcsnN cxpeZXnxrqKzM/sjTkEFbj2RZ1Mo23X8b6s8YvVOKy6JVW53rJNOfFnybprtvozkeOm/dhD9HWSBH DcQ9fN+rillKilxVRZF9AvJTjcg1OuZ/ITS/kBEx3kIK0W5RVu+ffBG9i2ZzYdcQYWQw+ndb35AKD 9ZRXL0viKYdvMA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:63791 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkD1n-0001Dv-E3; Thu, 28 Apr 2022 18:54:27 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: SeerLite Subject: Re: bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation References: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> Date: Fri, 29 Apr 2022 00:54:25 +0200 In-Reply-To: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> (seerlite@nixnet.email's message of "Thu, 14 Apr 2022 12:45:11 -0400") Message-ID: <87fslwakf2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54942 Cc: 54942@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: -3.3 (---) Hi, SeerLite skribis: > I installed a package with --with-git-url and --with-branch to my profile: > > guix install kakoune > --with-git-url=3Dkakoune=3Dhttps://github.com/mawww/kakoune.git=20 > --with-branch=3Dkakoune=3Dbreaking-cleanups > > However, now I can't run `guix upgrade`. I get the following error: > > guix upgrade: error: the source of kakoune@2021.08.28 is not a Git > reference [...] Maxime Devos skribis: > I guess the problem is that 'with-branch'/'with-commit' come before > 'with-git-url' in > > (untested!). My guess is rather than the profile records (or replays) transformations in the wrong order: --8<---------------cut here---------------start------------->8--- $ guix shell kakoune --with-git-url=3Dkakoune=3Dhttps://github.com/mawww/ka= koune.git --with-branch=3Dkakoune=3Dbreaking-cleanups --export-manifest ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (use-modules (guix transformations)) (define transform1 (options->transformation '((with-git-url . "kakoune=3Dhttps://github.com/mawww/kakoune.git") (with-branch . "kakoune=3Dbreaking-cleanups")))) (packages->manifest (list (transform1 (specification->package "kakoune")))) $ guix shell kakoune --with-git-url=3Dkakoune=3Dhttps://github.com/mawww/ka= koune.git --with-branch=3Dkakoune=3Dbreaking-cleanups --export-manifest > /= tmp/m.scm $ guix build -m /tmp/m.scm -v1 guix build: error: the source of kakoune@2021.08.28 is not a Git reference --8<---------------cut here---------------end--------------->8--- If you change the order of both options in the alist passed to =E2=80=98options->transformations=E2=80=99, it=E2=80=99s all good. Now we need to find the place where things are being reversed=E2=80=A6 Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu May 05 17:58:30 2022 Received: (at 54942-done) by debbugs.gnu.org; 5 May 2022 21:58:30 +0000 Received: from localhost ([127.0.0.1]:46686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmjUU-0001FC-9O for submit@debbugs.gnu.org; Thu, 05 May 2022 17:58:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmjUT-0001Es-7A for 54942-done@debbugs.gnu.org; Thu, 05 May 2022 17:58:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmjUN-0008Dx-CR; Thu, 05 May 2022 17:58:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=PsNomBX+Hm/bvpRVjpLRdb5i9pa9zVi2zfMk2YV/nsM=; b=j7Wx7lL/0tYpK/ieoVz0 XUKWHS26oj9w9yM9XsdN0WEjLwU7Exgg8ySiY4XPADsTdaVKum1zoGTTpYfd/tqymTmwe2T77x/Zg CSxw2EY1jCwQTztfb1kiGV+OCGyk5ogggYZE+7DI96K3SNEe5fZA+eM5M0vQYkMqeIMKXERzcb9tR FqtwMZbfFqXzWMYHCYSS+QpsWD0qWdFRnCV21Tbnr0M7gR7bCjowvub0aZkKjkwIzuqanpNq3Sfet N/aIsP5YKLNC+nBBuBl6k2KNy1CEWgr68guRHHRD4+oiCDZm14myX96+8YM5GNgGUbvdF9bPE+GgJ yyMvZU6cyV1RoA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64537 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmjUM-0001Y6-Vu; Thu, 05 May 2022 17:58:23 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: SeerLite Subject: Re: bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation References: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> <87fslwakf2.fsf@gnu.org> Date: Thu, 05 May 2022 23:58:21 +0200 In-Reply-To: <87fslwakf2.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 29 Apr 2022 00:54:25 +0200") Message-ID: <87ilqj63r6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54942-done Cc: 54942-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: -3.3 (---) Hi, Ludovic Court=C3=A8s skribis: > SeerLite skribis: > >> I installed a package with --with-git-url and --with-branch to my profil= e: >> >> guix install kakoune >> --with-git-url=3Dkakoune=3Dhttps://github.com/mawww/kakoune.git=20 >> --with-branch=3Dkakoune=3Dbreaking-cleanups >> >> However, now I can't run `guix upgrade`. I get the following error: >> >> guix upgrade: error: the source of kakoune@2021.08.28 is not a Git >> reference > > [...] > > Maxime Devos skribis: > >> I guess the problem is that 'with-branch'/'with-commit' come before >> 'with-git-url' in >> >> (untested!). > > My guess is rather than the profile records (or replays) transformations > in the wrong order: I believe this is fixed by 0f024554e63a49e20c2a7a67e928073c266bf5c5. Please let me know if anything=E2=80=99s wrong! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 22:47:22 2022 Received: (at 54942-done) by debbugs.gnu.org; 13 May 2022 02:47:22 +0000 Received: from localhost ([127.0.0.1]:42650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npLKs-0003v5-Jl for submit@debbugs.gnu.org; Thu, 12 May 2022 22:47:22 -0400 Received: from mx.nixnet.email ([94.16.121.167]:56046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npLKq-0003ux-EC for 54942-done@debbugs.gnu.org; Thu, 12 May 2022 22:47:20 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mx.nixnet.email (Postfix) with ESMTPSA id 8F1B720026C; Thu, 12 May 2022 22:47:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nixnet.email; s=202002021149; t=1652410039; h=from:from:reply-to:subject:subject:to:to:cc:cc; bh=yZgddqyb+jLH4vvVDHpbVm73VSP++dQoDaWwUf5qeJ0=; b=JW/G7KNV4W+9mJl2bPB2HDS/+ygqCsIihVHVbV0FYpmUPWZtesDehenTAJYScBOlXsbpzQ zdV7JRwnogHn/Z8TkzpafkIyaiTdqqfTgmC33jmjTlmya+NOiKC6JP6QoWoSIMxUk4mecT qdsqcuQ1vs5yfW6HlWtYJF4UWBb4WE0= Message-ID: Date: Thu, 12 May 2022 22:47:15 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: bug#54942: Can't run guix upgrade when a package is installed with the --with-git-url transformation Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <55a97413-14a1-fbca-2c55-73b6e3782b47@nixnet.email> <87fslwakf2.fsf@gnu.org> <87ilqj63r6.fsf@gnu.org> From: SeerLite In-Reply-To: <87ilqj63r6.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54942-done Cc: 54942-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.0 (-) On 5/5/22 17:58, Ludovic Courtès wrote: > I believe this is fixed by 0f024554e63a49e20c2a7a67e928073c266bf5c5. > > Please let me know if anything’s wrong! > > Ludo’. Thank you, works perfectly now! :) From unknown Thu Jun 19 14:12:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Jun 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator