https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/gjs-1.66.1 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 670742 [details] build.log build log and emerge --info
Solution is to have dev-libs/gjs-1.66.1 depend upon dev-util/sysprof-capture:4, not >=dev-util/sysprof-capture-3.33.2:3 as per the current ebuild.
Calculating dependencies... done! * Package: dev-libs/gjs-1.66.1 * Repository: gentoo * Maintainer: gnome@gentoo.org * USE: abi_x86_64 amd64 cairo elibc_glibc gtk kernel_linux readline sysprof userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking gjs-1.66.1.tar.xz to /var/tmp/portage/dev-libs/gjs-1.66.1/work >>> Source unpacked in /var/tmp/portage/dev-libs/gjs-1.66.1/work >>> Preparing source in /var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1 ... meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/dev-libs/gjs-1.66.1/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Dcairo=enabled -Dreadline=enabled -Dprofiler=enabled -Dinstalled_tests=false -Dskip_dbus_tests=true -Dskip_gtk_tests=true /var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1 /var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1-build The Meson build system Version: 0.55.3 Source dir: /var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1 Build dir: /var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1-build Build type: native build Project name: gjs Project version: 1.66.1 C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 10.2.0 "x86_64-pc-linux-gnu-gcc (Gentoo 10.2.0-r3 p4) 10.2.0") C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.35.1 C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 10.2.0 "x86_64-pc-linux-gnu-g++ (Gentoo 10.2.0-r3 p4) 10.2.0") C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.35.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C++ supports arguments -fno-strict-aliasing: YES Compiler for C++ supports arguments -Wno-variadic-macros -Wvariadic-macros: YES Compiler for C++ supports arguments -Wno-missing-field-initializers -Wmissing-field-initializers: YES Compiler for C supports arguments -Wno-typedef-redefinition -Wtypedef-redefinition: NO Compiler for C++ supports link arguments -Bsymbolic-functions: YES Compiler for C supports arguments -fno-semantic-interposition: YES Compiler for C++ supports arguments -fno-semantic-interposition: YES Compiler for C++ supports arguments -fno-rtti: YES Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.7.3) Run-time dependency glib-2.0 found: YES 2.66.2 Run-time dependency gthread-2.0 found: YES 2.66.2 Run-time dependency gobject-2.0 found: YES 2.66.2 Run-time dependency gio-2.0 found: YES 2.66.2 Run-time dependency libffi found: YES 3.3 Run-time dependency gobject-introspection-1.0 found: YES 1.66.1 Run-time dependency mozjs-78 found: YES 78.4.1 Run-time dependency cairo found: YES 1.16.0 Run-time dependency cairo-gobject found: YES 1.16.0 Run-time dependency cairo-xlib found: YES 1.16.0 Found CMake: /usr/bin/cmake (3.18.4) Run-time dependency sysprof-capture-4 found: NO (tried pkgconfig and cmake) Looking for a fallback subproject for the dependency sysprof-capture-4 meson.build:141:0: ERROR: Automatic wrap-based subproject downloading is disabled A full log can be found at /var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1-build/meson-logs/meson-log.txt * ERROR: dev-libs/gjs-1.66.1::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2274: Called meson_src_configure * environment, line 1563: Called die * The specific snippet of code: * "${mesonargs[@]}" ) || die * * If you need support, post the output of `emerge --info '=dev-libs/gjs-1.66.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/gjs-1.66.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-libs/gjs-1.66.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gjs-1.66.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1' * S: '/var/tmp/portage/dev-libs/gjs-1.66.1/work/gjs-1.66.1'
See also: https://bugs.gentoo.org/753982
It happens with [sysprof] USE flag enabled. Obvious reason: no sysprof-capture-4 in the tree the package trying to look for.
(In reply to Attila Tóth from comment #5) > It happens with [sysprof] USE flag enabled. > Obvious reason: no sysprof-capture-4 in the tree the package trying to look > for. But it seems sysprof-capture-3.38 is enough for the package. The dependency should be adjusted.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3715fb971d6602ade558f541ff7cd495d4a51f7a commit 3715fb971d6602ade558f541ff7cd495d4a51f7a Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-11-11 18:20:07 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-11-11 18:20:30 +0000 dev-libs/gjs: Fix dependency on sysprof-capture Closes: https://bugs.gentoo.org/753878 Signed-off-by: Matt Turner <mattst88@gentoo.org> dev-libs/gjs/gjs-1.66.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
*** Bug 753982 has been marked as a duplicate of this bug. ***