* [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0
@ 2023-07-22 7:35 Bernd Kuhls
2023-07-22 21:23 ` Thomas Petazzoni via buildroot
2023-08-19 14:51 ` Yann E. MORIN
0 siblings, 2 replies; 7+ messages in thread
From: Bernd Kuhls @ 2023-07-22 7:35 UTC (permalink / raw)
To: buildroot; +Cc: Eric Le Bihan
Release notes: https://mesonbuild.com/Release-notes-for-1-2-0.html
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/meson/meson.hash | 4 ++--
package/meson/meson.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/meson/meson.hash b/package/meson/meson.hash
index cb36b674fa..02fa1535ef 100644
--- a/package/meson/meson.hash
+++ b/package/meson/meson.hash
@@ -1,4 +1,4 @@
# Locally calculated after checking pgp signature
-# https://github.com/mesonbuild/meson/releases/download/1.1.1/meson-1.1.1.tar.gz.asc
-sha256 d04b541f97ca439fb82fab7d0d480988be4bd4e62563a5ca35fadb5400727b1c meson-1.1.1.tar.gz
+# https://github.com/mesonbuild/meson/releases/download/1.2.0/meson-1.2.0.tar.gz.asc
+sha256 1c0b634fe6b6a7072e398647f1bf392048577068a5c92ae44d04085dab0ded6f meson-1.2.0.tar.gz
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
diff --git a/package/meson/meson.mk b/package/meson/meson.mk
index 503aca8c25..8eabe108c4 100644
--- a/package/meson/meson.mk
+++ b/package/meson/meson.mk
@@ -4,7 +4,7 @@
#
################################################################################
-MESON_VERSION = 1.1.1
+MESON_VERSION = 1.2.0
MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
MESON_LICENSE = Apache-2.0
MESON_LICENSE_FILES = COPYING
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0
2023-07-22 7:35 [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0 Bernd Kuhls
@ 2023-07-22 21:23 ` Thomas Petazzoni via buildroot
2023-08-03 21:22 ` Romain Naour
[not found] ` <6f65d64b-61e4-c574-1c6d-075beec80025__2330.9377183736$1691097798$gmane$org@gmail.com>
2023-08-19 14:51 ` Yann E. MORIN
1 sibling, 2 replies; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-22 21:23 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Eric Le Bihan, buildroot
On Sat, 22 Jul 2023 09:35:33 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:
> Release notes: https://mesonbuild.com/Release-notes-for-1-2-0.html
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/meson/meson.hash | 4 ++--
> package/meson/meson.mk | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0
2023-07-22 21:23 ` Thomas Petazzoni via buildroot
@ 2023-08-03 21:22 ` Romain Naour
[not found] ` <6f65d64b-61e4-c574-1c6d-075beec80025__2330.9377183736$1691097798$gmane$org@gmail.com>
1 sibling, 0 replies; 7+ messages in thread
From: Romain Naour @ 2023-08-03 21:22 UTC (permalink / raw)
To: Thomas Petazzoni, Bernd Kuhls; +Cc: Eric Le Bihan, buildroot
Hello Bernd,
Le 22/07/2023 à 23:23, Thomas Petazzoni via buildroot a écrit :
> On Sat, 22 Jul 2023 09:35:33 +0200
> Bernd Kuhls <bernd@kuhls.net> wrote:
>
>> Release notes: https://mesonbuild.com/Release-notes-for-1-2-0.html
>>
>> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
>> ---
>> package/meson/meson.hash | 4 ++--
>> package/meson/meson.mk | 2 +-
>> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> Applied to master, thanks.
This meson version bump introduce a regression while building host-qemu on some
host:
host/lib/libgio-2.0.so: undefined reference to `g_module_open_full'
collect2: error: ld returned 1 exit status
Can you have a look?
Best regards,
Romain
>
> Thomas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0
[not found] ` <6f65d64b-61e4-c574-1c6d-075beec80025__2330.9377183736$1691097798$gmane$org@gmail.com>
@ 2023-08-04 15:32 ` Bernd Kuhls
2023-08-11 12:13 ` Romain Naour
0 siblings, 1 reply; 7+ messages in thread
From: Bernd Kuhls @ 2023-08-04 15:32 UTC (permalink / raw)
To: buildroot
Am Thu, 3 Aug 2023 23:22:13 +0200 schrieb Romain Naour:
> This meson version bump introduce a regression while building host-qemu
> on some host:
>
> host/lib/libgio-2.0.so: undefined reference to `g_module_open_full'
> collect2: error: ld returned 1 exit status
Hi Romain,
my machine, running Debian Bookworm, does not belong to "some host" since
I can not reproduce the build error with this defconfig:
BR2_PER_PACKAGE_DIRECTORIES=y
BR2_PACKAGE_HOST_QEMU=y
Can you provide more informations?
Regards, Bernd
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0
2023-08-04 15:32 ` Bernd Kuhls
@ 2023-08-11 12:13 ` Romain Naour
0 siblings, 0 replies; 7+ messages in thread
From: Romain Naour @ 2023-08-11 12:13 UTC (permalink / raw)
To: Bernd Kuhls, buildroot
Hi Bernd,
Le 04/08/2023 à 17:32, Bernd Kuhls a écrit :
> Am Thu, 3 Aug 2023 23:22:13 +0200 schrieb Romain Naour:
>
>> This meson version bump introduce a regression while building host-qemu
>> on some host:
>>
>> host/lib/libgio-2.0.so: undefined reference to `g_module_open_full'
>> collect2: error: ld returned 1 exit status
>
> Hi Romain,
>
> my machine, running Debian Bookworm, does not belong to "some host" since
> I can not reproduce the build error with this defconfig:
>
> BR2_PER_PACKAGE_DIRECTORIES=y
> BR2_PACKAGE_HOST_QEMU=y
>
> Can you provide more informations?
Sorry for the lack of information about "some host" but I didn't know why the
error occurre only on some specific host.
I did a git bisect on meson and find the first bad commit [1].
With this commit applied, the ninja build file
(build/host-qemu-8.0.3/build/build.ninja) uses paths reported by "gcc
--print-search-dirs" before searching libraries in host directory (where
host-qemu is supposed to find libgio-2.0.so).
LINK_ARGS = -L/usr/lib/gcc/x86_64-linux-gnu/10
-L/usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu
-L/usr/lib/x86_64-linux-gnu
-L/usr/lib/gcc/x86_64-linux-gnu/10/../../../../lib
-L/usr/lib -L/lib/x86_64-linux-gnu
-L/lib/../lib
-L/usr/lib/../lib
-L/usr/lib/gcc/x86_64-linux-gnu/10/../../.. -L/lib
[...]
It seems a real meson issue since qemu detect and want to use the libglib2
provided by Buildroot (2.76.1) from host directory...
but since libglib2-dev older than the one provided by Buildroot is installed in
"/usr/lib/x86_64-linux-gnu" it try to link with it and fail since this version
doesn't provide g_module_open_full symbol.
[...]/host/lib/libgio-2.0.so.0.7600.1
/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.6600.8
[1]
https://github.com/mesonbuild/meson/commit/59cfbf68e00aa774a9868101f423bd662938c15d
I'm not sure yet how to fix or workaround this issue, help welcome!
Best regards,
Romain
>
> Regards, Bernd
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0
2023-07-22 7:35 [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0 Bernd Kuhls
2023-07-22 21:23 ` Thomas Petazzoni via buildroot
@ 2023-08-19 14:51 ` Yann E. MORIN
2023-11-09 5:04 ` James Hilliard
1 sibling, 1 reply; 7+ messages in thread
From: Yann E. MORIN @ 2023-08-19 14:51 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Eric Le Bihan, James Hilliard, buildroot
Bernd, All,
+James who previously looked at a lot of meson changes
On 2023-07-22 09:35 +0200, Bernd Kuhls spake thusly:
> Release notes: https://mesonbuild.com/Release-notes-for-1-2-0.html
Unfortunately, we've had to revert this change, as it caused unforeseen
breakage that is not easily fixed.
Specifically, the way the library search paths are forced into the link
step for native builds, like we've seen in host-qemu.
So, let's try to bump later, when we can have a better understanding on
why the change was made and how we can fix it.
One lead could be to udnerstand why some libs are linked by full apth
while others are linked by name:
/path/to/host/lib/libgio-2.0.so -L /path/to/host/lib/ -lgmodule-2.0
So, if you or James could look into that and take the matter with
upstream as a follow up to Romain's and others' reports [0] [1], that
would be awesome.
[0] https://github.com/mesonbuild/meson/issues/11914#issuecomment-1678090566
[1] https://github.com/mesonbuild/meson/issues/12140
Regards,
Yann E. MORIN.
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/meson/meson.hash | 4 ++--
> package/meson/meson.mk | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/meson/meson.hash b/package/meson/meson.hash
> index cb36b674fa..02fa1535ef 100644
> --- a/package/meson/meson.hash
> +++ b/package/meson/meson.hash
> @@ -1,4 +1,4 @@
> # Locally calculated after checking pgp signature
> -# https://github.com/mesonbuild/meson/releases/download/1.1.1/meson-1.1.1.tar.gz.asc
> -sha256 d04b541f97ca439fb82fab7d0d480988be4bd4e62563a5ca35fadb5400727b1c meson-1.1.1.tar.gz
> +# https://github.com/mesonbuild/meson/releases/download/1.2.0/meson-1.2.0.tar.gz.asc
> +sha256 1c0b634fe6b6a7072e398647f1bf392048577068a5c92ae44d04085dab0ded6f meson-1.2.0.tar.gz
> sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
> diff --git a/package/meson/meson.mk b/package/meson/meson.mk
> index 503aca8c25..8eabe108c4 100644
> --- a/package/meson/meson.mk
> +++ b/package/meson/meson.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -MESON_VERSION = 1.1.1
> +MESON_VERSION = 1.2.0
> MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
> MESON_LICENSE = Apache-2.0
> MESON_LICENSE_FILES = COPYING
> --
> 2.39.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0
2023-08-19 14:51 ` Yann E. MORIN
@ 2023-11-09 5:04 ` James Hilliard
0 siblings, 0 replies; 7+ messages in thread
From: James Hilliard @ 2023-11-09 5:04 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: Eric Le Bihan, Bernd Kuhls, buildroot
On Sat, Aug 19, 2023 at 8:52 AM Yann E. MORIN <yann.morin.1998@free.fr> wrote:
>
> Bernd, All,
>
> +James who previously looked at a lot of meson changes
>
> On 2023-07-22 09:35 +0200, Bernd Kuhls spake thusly:
> > Release notes: https://mesonbuild.com/Release-notes-for-1-2-0.html
>
> Unfortunately, we've had to revert this change, as it caused unforeseen
> breakage that is not easily fixed.
>
> Specifically, the way the library search paths are forced into the link
> step for native builds, like we've seen in host-qemu.
>
> So, let's try to bump later, when we can have a better understanding on
> why the change was made and how we can fix it.
>
> One lead could be to udnerstand why some libs are linked by full apth
> while others are linked by name:
>
> /path/to/host/lib/libgio-2.0.so -L /path/to/host/lib/ -lgmodule-2.0
>
> So, if you or James could look into that and take the matter with
> upstream as a follow up to Romain's and others' reports [0] [1], that
> would be awesome.
>
> [0] https://github.com/mesonbuild/meson/issues/11914#issuecomment-1678090566
> [1] https://github.com/mesonbuild/meson/issues/12140
There's some test code here that may fix the issue, I am unable to reproduce
the issue myself, so would be good if someone who can reproduce it can test:
https://github.com/mesonbuild/meson/issues/11914#issuecomment-1764880338
>
> Regards,
> Yann E. MORIN.
>
> > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> > ---
> > package/meson/meson.hash | 4 ++--
> > package/meson/meson.mk | 2 +-
> > 2 files changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/package/meson/meson.hash b/package/meson/meson.hash
> > index cb36b674fa..02fa1535ef 100644
> > --- a/package/meson/meson.hash
> > +++ b/package/meson/meson.hash
> > @@ -1,4 +1,4 @@
> > # Locally calculated after checking pgp signature
> > -# https://github.com/mesonbuild/meson/releases/download/1.1.1/meson-1.1.1.tar.gz.asc
> > -sha256 d04b541f97ca439fb82fab7d0d480988be4bd4e62563a5ca35fadb5400727b1c meson-1.1.1.tar.gz
> > +# https://github.com/mesonbuild/meson/releases/download/1.2.0/meson-1.2.0.tar.gz.asc
> > +sha256 1c0b634fe6b6a7072e398647f1bf392048577068a5c92ae44d04085dab0ded6f meson-1.2.0.tar.gz
> > sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING
> > diff --git a/package/meson/meson.mk b/package/meson/meson.mk
> > index 503aca8c25..8eabe108c4 100644
> > --- a/package/meson/meson.mk
> > +++ b/package/meson/meson.mk
> > @@ -4,7 +4,7 @@
> > #
> > ################################################################################
> >
> > -MESON_VERSION = 1.1.1
> > +MESON_VERSION = 1.2.0
> > MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION)
> > MESON_LICENSE = Apache-2.0
> > MESON_LICENSE_FILES = COPYING
> > --
> > 2.39.2
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot@buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
>
> --
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
> '------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-11-09 5:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-22 7:35 [Buildroot] [PATCH 1/1] package/meson: bump to version 1.2.0 Bernd Kuhls
2023-07-22 21:23 ` Thomas Petazzoni via buildroot
2023-08-03 21:22 ` Romain Naour
[not found] ` <6f65d64b-61e4-c574-1c6d-075beec80025__2330.9377183736$1691097798$gmane$org@gmail.com>
2023-08-04 15:32 ` Bernd Kuhls
2023-08-11 12:13 ` Romain Naour
2023-08-19 14:51 ` Yann E. MORIN
2023-11-09 5:04 ` James Hilliard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox