https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/gexiv2-0.13.0 fails to compile with dev-lang/python-exec[-native-symlinks]. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html Please take a look at the tracker bug for more info.
Created attachment 737845 [details] build.log build log and emerge --info
Created attachment 737848 [details] 1-meson-log.txt 1-meson-log.txt
* Package: media-libs/gexiv2-0.13.0 * Repository: gentoo * Maintainer: gnome@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc introspection kernel_linux python_targets_python3_9 userland_GNU vala * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gexiv2-0.13.0.tar.xz to /var/tmp/portage/media-libs/gexiv2-0.13.0/work >>> Source unpacked in /var/tmp/portage/media-libs/gexiv2-0.13.0/work >>> Preparing source in /var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0 ... meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/media-libs/gexiv2-0.13.0/temp/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/media-libs/gexiv2-0.13.0/temp/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-libs/gexiv2-0.13.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Dgtk_doc=false -Dintrospection=true -Dvapi=true -Dtools=false -Dpython3=false /var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0 /var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0-build The Meson build system Version: 0.59.1 Source dir: /var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0 Build dir: /var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0-build Build type: native build Project name: gexiv2 Project version: 0.13.0 C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 11.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 11.2.0 p1) 11.2.0") C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.37 C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 11.2.0 "x86_64-pc-linux-gnu-g++ (Gentoo 11.2.0 p1) 11.2.0") C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.37 Host machine cpu family: x86_64 Host machine cpu: x86_64 Message: Project API version: 0.10 Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.0) Run-time dependency exiv2 found: YES 0.27.4 Run-time dependency gobject-2.0 found: YES 2.68.4 Run-time dependency gio-2.0 found: YES 2.68.4 Library m found: YES Program python3 (gi) found: NO Checking if "BMFF support in exiv2" with dependency exiv2 compiles: NO Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Vala compiler for the host machine: /usr/bin/valac-0.52 (valac 0.52.5) Configuring gexiv2-version.h using configuration Program glib-mkenums found: YES (/usr/bin/glib-mkenums) Run-time dependency gobject-introspection-1.0 found: YES 1.68.0 Dependency gobject-introspection-1.0 found: YES 1.68.0 (cached) Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner) Dependency gobject-introspection-1.0 found: YES 1.68.0 (cached) Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Program /usr/bin/vapigen-0.52 found: YES (/usr/bin/vapigen-0.52) meson.build:51: WARNING: 'python3' is disabled, any Python tests will not be run. Configuring gexiv2.py using configuration Configuring test_metadata.py using configuration test/meson.build:25:18: ERROR: Unable to get the path of a not-found external program A full log can be found at /var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0-build/meson-logs/meson-log.txt * ERROR: media-libs/gexiv2-0.13.0::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 2617: Called meson_src_configure * environment, line 1752: Called die * The specific snippet of code: * "${mesonargs[@]}" ) || die * * If you need support, post the output of `emerge --info '=media-libs/gexiv2-0.13.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/gexiv2-0.13.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/gexiv2-0.13.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gexiv2-0.13.0/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0' * S: '/var/tmp/portage/media-libs/gexiv2-0.13.0/work/gexiv2-0.13.0'
*** Bug 811831 has been marked as a duplicate of this bug. ***
We've had another report in #gentoo of USE=-python being broken in some cases, even with native-symlinks on(?). I see Matt landed a patch for exiv2 detection (https://gitlab.gnome.org/GNOME/gexiv2/-/commit/180c2d664254ca0f7eac1a398619ef2b90670e58) but there's also this PR: https://gitlab.gnome.org/GNOME/gexiv2/-/merge_requests/64. If nothing needs this newer version, maybe we should just mask it for now.
0.13.0 was a development release that I wouldn't have put in ~arch, so I'm fine with p.mask if needed
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb2f78359bdf9127691752395af68f30fa69a5da commit eb2f78359bdf9127691752395af68f30fa69a5da Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-09 23:29:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-09 23:30:00 +0000 profiles: mask media-libs/gexiv2-0.13.0 Fails to build depending on USE flags, some work is ongoing upstream. Acked-by: Mart Raudsepp <leio@gentoo.org> Bug: https://bugs.gentoo.org/811810 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
(In reply to Mart Raudsepp from comment #6) > 0.13.0 was a development release that I wouldn't have put in ~arch, so I'm > fine with p.mask if needed Thanks. I'd missed this, but masked now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21bf129424d68a2315450390c633a6f9ff938bb8 commit 21bf129424d68a2315450390c633a6f9ff938bb8 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-03-27 18:22:30 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-03-27 18:28:16 +0000 media-libs/gexiv2: Version bump to 0.14.0 Closes: https://bugs.gentoo.org/811810 Closes: https://bugs.gentoo.org/835781 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/gexiv2/Manifest | 1 + .../files/0.14.0-clean-up-python-support.patch | 175 +++++++++++++++++++++ media-libs/gexiv2/gexiv2-0.14.0.ebuild | 82 ++++++++++ 3 files changed, 258 insertions(+)