Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753878 - dev-libs/gjs-1.66.1 fails to compile
Summary: dev-libs/gjs-1.66.1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 753982 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-11-10 17:01 UTC by Agostino Sarubbo
Modified: 2020-11-11 18:22 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,9.60 KB, text/plain)
2020-11-10 17:01 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-11-10 17:01:22 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2020-11-10 17:01:24 UTC
Created attachment 670742 [details]
build.log

build log and emerge --info
Comment 2 Bernd Feige 2020-11-11 09:06:23 UTC
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.
Comment 3 HougeLangley 2020-11-11 09:21:46 UTC
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'
Comment 4 Attila Tóth 2020-11-11 09:50:20 UTC
See also: https://bugs.gentoo.org/753982
Comment 5 Attila Tóth 2020-11-11 09:51:27 UTC
It happens with [sysprof] USE flag enabled.
Obvious reason: no sysprof-capture-4 in the tree the package trying to look for.
Comment 6 Attila Tóth 2020-11-11 09:55:51 UTC
(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.
Comment 7 Larry the Git Cow gentoo-dev 2020-11-11 18:20:47 UTC
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(-)
Comment 8 Matt Turner gentoo-dev 2020-11-11 18:22:50 UTC
*** Bug 753982 has been marked as a duplicate of this bug. ***