GNU bug report logs - #36387
[PATCH] gnu: mesa: Fix detection of wayland-scanner pkg-config file.

Previous Next

Package: guix-patches;

Reported by: Kei Kebreau <kkebreau <at> posteo.net>

Date: Wed, 26 Jun 2019 01:55:03 UTC

Severity: normal

Tags: patch

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 36387 in the body.
You can then email your comments to 36387 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 guix-patches <at> gnu.org:
bug#36387; Package guix-patches. (Wed, 26 Jun 2019 01:55:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kei Kebreau <kkebreau <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 26 Jun 2019 01:55:03 GMT) Full text and rfc822 format available.

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

From: Kei Kebreau <kkebreau <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Kei Kebreau <kkebreau <at> posteo.net>
Subject: [PATCH] gnu: mesa: Fix detection of wayland-scanner pkg-config file.
Date: Tue, 25 Jun 2019 21:53:45 -0400
* gnu/packages/gl.scm (mesa)[arguments]: Add "patch-meson-build" phase.
---
 gnu/packages/gl.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 96e7fc7165..78f7401f20 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -337,6 +337,15 @@ also known as DXTn or DXTC) for Mesa.")
                        (("'u_format_test',") ""))
                      #t)))
                '())
+         (add-after
+           'unpack 'patch-meson-build
+           (lambda _
+             ;; Without this, meson fails with the following error:
+             ;; Dependency "wayland-scanner" not found, tried pkgconfig.
+             (substitute* "meson.build"
+               (("dependency\\('wayland-scanner', native: true\\)")
+                "dependency('wayland-scanner')"))
+             #t))
          (add-before
            'configure 'fix-dlopen-libnames
            (lambda* (#:key inputs outputs #:allow-other-keys)
-- 
2.22.0





Information forwarded to guix-patches <at> gnu.org:
bug#36387; Package guix-patches. (Sun, 14 Nov 2021 01:24:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Kei Kebreau <kkebreau <at> posteo.net>
Cc: 36387 <at> debbugs.gnu.org
Subject: Re: bug#36387: [PATCH] gnu: mesa: Fix detection of wayland-scanner
 pkg-config file.
Date: Sat, 13 Nov 2021 20:22:55 -0500
Hello,

Kei Kebreau <kkebreau <at> posteo.net> writes:

> * gnu/packages/gl.scm (mesa)[arguments]: Add "patch-meson-build" phase.
> ---
>  gnu/packages/gl.scm | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
> index 96e7fc7165..78f7401f20 100644
> --- a/gnu/packages/gl.scm
> +++ b/gnu/packages/gl.scm
> @@ -337,6 +337,15 @@ also known as DXTn or DXTC) for Mesa.")
>                         (("'u_format_test',") ""))
>                       #t)))
>                 '())
> +         (add-after
> +           'unpack 'patch-meson-build
> +           (lambda _
> +             ;; Without this, meson fails with the following error:
> +             ;; Dependency "wayland-scanner" not found, tried pkgconfig.
> +             (substitute* "meson.build"
> +               (("dependency\\('wayland-scanner', native: true\\)")
> +                "dependency('wayland-scanner')"))
> +             #t))
>           (add-before
>             'configure 'fix-dlopen-libnames
>             (lambda* (#:key inputs outputs #:allow-other-keys)

Was this fixing a build failure of mesa itself?  Or does it manifest
when building other packages depending on mesa?

Given the patch is 2 years old, I'm guessing it went stale?

Thanks,

Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#36387; Package guix-patches. (Mon, 27 Dec 2021 13:47:01 GMT) Full text and rfc822 format available.

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

From: Kei Kebreau <kkebreau <at> posteo.net>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 36387 <at> debbugs.gnu.org
Subject: Re: bug#36387: [PATCH] gnu: mesa: Fix detection of wayland-scanner
 pkg-config file.
Date: Mon, 27 Dec 2021 13:46:44 +0000
It did in fact go stale. I vaguely remember having some trouble building 
mesa locally, but this no longer seems to be the case.

On 11/13/21 8:22 PM, Maxim Cournoyer wrote:
> Hello,
>
> Kei Kebreau<kkebreau <at> posteo.net>  writes:
>
>> * gnu/packages/gl.scm (mesa)[arguments]: Add "patch-meson-build" phase.
>> ---
>>   gnu/packages/gl.scm | 9 +++++++++
>>   1 file changed, 9 insertions(+)
>>
>> diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
>> index 96e7fc7165..78f7401f20 100644
>> --- a/gnu/packages/gl.scm
>> +++ b/gnu/packages/gl.scm
>> @@ -337,6 +337,15 @@ also known as DXTn or DXTC) for Mesa.")
>>                          (("'u_format_test',") ""))
>>                        #t)))
>>                  '())
>> +         (add-after
>> +           'unpack 'patch-meson-build
>> +           (lambda _
>> +             ;; Without this, meson fails with the following error:
>> +             ;; Dependency "wayland-scanner" not found, tried pkgconfig.
>> +             (substitute* "meson.build"
>> +               (("dependency\\('wayland-scanner', native: true\\)")
>> +                "dependency('wayland-scanner')"))
>> +             #t))
>>            (add-before
>>              'configure 'fix-dlopen-libnames
>>              (lambda* (#:key inputs outputs #:allow-other-keys)
> Was this fixing a build failure of mesa itself?  Or does it manifest
> when building other packages depending on mesa?
>
> Given the patch is 2 years old, I'm guessing it went stale?
>
> Thanks,
>
> Maxim




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Tue, 28 Dec 2021 02:35:02 GMT) Full text and rfc822 format available.

Notification sent to Kei Kebreau <kkebreau <at> posteo.net>:
bug acknowledged by developer. (Tue, 28 Dec 2021 02:35:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Kei Kebreau <kkebreau <at> posteo.net>
Cc: 36387-done <at> debbugs.gnu.org
Subject: Re: bug#36387: [PATCH] gnu: mesa: Fix detection of wayland-scanner
 pkg-config file.
Date: Mon, 27 Dec 2021 21:34:13 -0500
Hello,

Kei Kebreau <kkebreau <at> posteo.net> writes:

> It did in fact go stale. I vaguely remember having some trouble
> building mesa locally, but this no longer seems to be the case.

Alright, thank you for the heads up.  Closing.

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Jan 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 103 days ago.

Previous Next


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