GNU bug report logs - #65236
package/inherit records lack location for version field

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Sat, 12 Aug 2023 01:29:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65236 in the body.
You can then email your comments to 65236 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#65236; Package guix. (Sat, 12 Aug 2023 01:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 12 Aug 2023 01:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: package/inherit records lack location for version field
Date: Fri, 11 Aug 2023 21:27:59 -0400
Hello Guix,

In the current code base, if you do:

--8<---------------cut here---------------start------------->8---
(use-modules (guix package)
             (gnu packages qt))

(package-field-location qtbase 'version)

=> #f
--8<---------------cut here---------------end--------------->8---

It returns #f.  This means 'guix refresh -u base' fails like:

--8<---------------cut here---------------start------------->8---
qtbase: updating from version 6.3.2 to version 6.5.2...
--8<---------------cut here---------------end--------------->8---

Now, package/inherit is bogus here, but the problems remains for other
packages, such as zxing-cpp-1.2.

-- 
Thanks,
Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#65236; Package guix. (Tue, 05 Sep 2023 16:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 65236 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, 65236 <at> debbugs.gnu.org
Subject: Re: bug#65236: package/inherit records lack location for version field
Date: Tue, 05 Sep 2023 16:38:58 +0200
Hi Maxim,

On Fri, 11 Aug 2023 at 21:27, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:

> --8<---------------cut here---------------start------------->8---
> (use-modules (guix package)
>              (gnu packages qt))
>
> (package-field-location qtbase 'version)
>
> => #f
> --8<---------------cut here---------------end--------------->8---

[...]

> Now, package/inherit is bogus here, but the problems remains for other
> packages, such as zxing-cpp-1.2.

I think it is fixed by <https://issues.guix.gnu.org/issue/65757>.

Cheers,
simon




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 06 Sep 2023 20:44:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Wed, 06 Sep 2023 20:44:02 GMT) Full text and rfc822 format available.

Message #13 received at 65236-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 65236-done <at> debbugs.gnu.org
Subject: Re: bug#65236: package/inherit records lack location for version field
Date: Wed, 06 Sep 2023 16:43:17 -0400
Hi,

Simon Tournier <zimon.toutoune <at> gmail.com> writes:

> Hi Maxim,
>
> On Fri, 11 Aug 2023 at 21:27, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
>
>> --8<---------------cut here---------------start------------->8---
>> (use-modules (guix package)
>>              (gnu packages qt))
>>
>> (package-field-location qtbase 'version)
>>
>> => #f
>> --8<---------------cut here---------------end--------------->8---
>
> [...]
>
>> Now, package/inherit is bogus here, but the problems remains for other
>> packages, such as zxing-cpp-1.2.
>
> I think it is fixed by <https://issues.guix.gnu.org/issue/65757>.

Installed with a small fix in d552c250.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 05 Oct 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.