| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a fresh musl stage3, I could reproduce the reported "can't resolve libraries to shared libraries: m"
error. In another, older musl chroot, it worked fine.
The difference in the g-ir-scanner invocations between the two was
the good build had `--extra-library=m` and friends, while the bad one used
raw `-lm`. meson's `_gir_has_option` invokes `g-ir-scanner --help` to see
if it supports `--extra-library` or not.
The check was failing with:
ImportError: Error loading shared library libglib-2.0.so.0: No such file or directory (needed by .../scanner.cpython-312-x86_64-linux-musl.so)
because RPATH didn't reflect what we were trying to do.
By using --prefix=${EPREFIX}/usr (the default) with --destdir ${T} and
--skip-subprojects glib, we were having to pray that running everything
with LD_LIBRARY_PATH & friends set would work out, rather than installing
it properly to ${T} and letting RPATH do its job. We now let Meson install
glib and gobject-introspection properly to ${T}/bootstrap-gi-prefix and
tell everything where to find it.
As for why it didn't show up earlier in glibc stage3s w/o glib already installed:
musl doesn't have libm.so, it does have a stub libm.a. glibc has a stub libm.so
nowadays as it merged everything in to libc.so.
I haven't cleaned up all the previous workarounds and hacks which may
no longer be needed in case we need to do more meddling here.
Thanks to Eli for both letting me rubberduck and also giving critical
suggestions that made the problem (and solution) obvious.
Closes: https://bugs.gentoo.org/945911
Thanks-to: Eli Schwartz <eschwartz@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/946789
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
Closes: https://github.com/gentoo/gentoo/pull/39816
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Requirement removed again in >=2.81.1, setuptools still needed for
gobject-introspection via USE="introspection".
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3740
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4133
Closes: https://bugs.gentoo.org/946727
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39804
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/946735
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/946735
Signed-off-by: Gabi Falk <gabifalk@gmx.com>
Closes: https://github.com/gentoo/gentoo/pull/39807
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/946725
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/946578
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
-Dglib_debug is default-enabled in >=2.80 but they recommend distros default
it to off.
Bug: https://bugs.gentoo.org/946485
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
As reported in the bug and per upstream commit b02e29558fca8053fcb811fbf5691c09a876bb5a,
-Dglib_debug is default-enabled in >=2.80 but they recommend distros default
it to off, so let's do that.
Closes: https://bugs.gentoo.org/946485
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
g-ir-scanner has some relocatable logic but it searches for 'lib', not 'lib64',
so it can't find itself and eventually falls back to the system installation.
Followup to cfe67c6d2d4e15989aa16764a92c36e284457712.
Closes: https://bugs.gentoo.org/946221
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/946134
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without PKG_CONFIG_PATH having the just-built paths prepended, meson
will find binaries from gobject-introspection on the system instead
which may be:
a) old (which is a problem anyway, unclear if that's guaranteed to work,
and weird given we just built one), or
b) too old (where gobject-introspection on the system is older than the
fixed versions for bug #865183)
Fix that by prepending the right paths.
Bug: https://bugs.gentoo.org/865183
Closes: https://bugs.gentoo.org/946221
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
It fails with multilib otherwise on the 2nd run as it already exists;
I assume this may have worked before if the test destroyed the socket?
We may want to change this to ${ABI} or something instead but then
there's the risk of the path being too long for unix sockets.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Pass various options down to the glib subproject for the bootstrapping
gobject-introspection part.
This fixes an automagic build failure with DTrace at least as well
as speeding up the build a bit. But overall, it should make it more
robust as it's affected by fewer components.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/945255
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/945169
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
| |
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
| |
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
glib[introspection] has a circular dependency with
gobject-introspection. Work around it by bootstrapping
gobject-introspection internally if the required version is not
installed already.
Bug: https://bugs.gentoo.org/937616
Signed-off-by: Blake Batson <bbatson101@gmail.com>
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
|
|
|
|
| |
Change was created by running the following command::
ekeyword ^ia64 */*/*.ebuild
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/938302
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/938822
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
|
| |
This reverts commit 32e91ca4f405d15a16302661c51607e0633c5606.
Better fix inc.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
| |
- expected by the build system.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
| |
- expected by the build system.
Closes: https://bugs.gentoo.org/938822
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
|
|
|
|
|
| |
See efb3a82e3496d3a52a1d04d4cbdb83b25655d96a.
Bug: https://bugs.gentoo.org/938302
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Thanks-to: Andrew Nowa Ammerlaan
Bug: https://bugs.gentoo.org/937616
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
| |
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
| |
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
| |
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com>
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|