Subject: bug#65236: closed (Re: bug#65236: package/inherit records lack location for version field)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 06 Sep 2023 20:44:02 +0000

Your bug report

#65236: package/inherit records lack location for version field

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 [email-masked].

-- 
65236: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65236
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#65236: package/inherit records lack location for version field
From: Maxim Cournoyer <[email-masked]>
To: Simon Tournier <[email-masked]>
Cc: [email-masked]
Date: Wed, 06 Sep 2023 16:43:17 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Simon Tournier <[email-masked]> writes:

> Hi Maxim,
>
> On Fri, 11 Aug 2023 at 21:27, Maxim Cournoyer <[email-masked]> 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

Subject: package/inherit records lack location for version field
From: Maxim Cournoyer <[email-masked]>
To: bug-guix <[email-masked]>
Date: Fri, 11 Aug 2023 21:27:59 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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