Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 821694

Summary: dev-libs/gjs-1.70.0: meson.build:252:4: ERROR: Problem encountered: A minimal SpiderMonkey program
Product: Gentoo Linux Reporter: HougeLangley <hougelangley1987>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=836872
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description HougeLangley 2021-11-04 17:35:43 UTC
houge@Gentoo-Musl ~ $ doas cat /var/tmp/portage/dev-libs/gjs-1.70.0/temp/build.log
doas (houge@Gentoo-Musl) password:
 * Package:    dev-libs/gjs-1.70.0
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        abi_x86_64 amd64 cairo elibc_musl kernel_linux readline userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gjs-1.70.0.tar.xz to /var/tmp/portage/dev-libs/gjs-1.70.0/work
>>> Source unpacked in /var/tmp/portage/dev-libs/gjs-1.70.0/work
>>> Preparing source in /var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0 ...
/var/tmp/portage/dev-libs/gjs-1.70.0/temp/environment: line 2269: type: locale: not found
meson setup --libdir lib --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.70.0/temp/meson.x86_64-gentoo-linux-musl.amd64.ini --buildtype plain -Dcairo=enabled -Dreadline=enabled -Dprofiler=disabled -Dinstalled_tests=false -Dskip_dbus_tests=true -Dskip_gtk_tests=true /var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0 /var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0-build
The Meson build system
Version: 0.59.4
Source dir: /var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0
Build dir: /var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0-build
Build type: native build
Project name: gjs
Project version: 1.70.0
C compiler for the host machine: x86_64-gentoo-linux-musl-gcc (gcc 11.2.0 "x86_64-gentoo-linux-musl-gcc (Gentoo 11.2.0 p1) 11.2.0")
C linker for the host machine: x86_64-gentoo-linux-musl-gcc ld.bfd 2.37
C++ compiler for the host machine: x86_64-gentoo-linux-musl-g++ (gcc 11.2.0 "x86_64-gentoo-linux-musl-g++ (Gentoo 11.2.0 p1) 11.2.0")
C++ linker for the host machine: x86_64-gentoo-linux-musl-g++ ld.bfd 2.37
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: YES
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-typedef-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
Found pkg-config: /usr/bin/x86_64-gentoo-linux-musl-pkg-config (1.8.0)
Run-time dependency glib-2.0 found: YES 2.70.0
Run-time dependency gthread-2.0 found: YES 2.70.0
Run-time dependency gobject-2.0 found: YES 2.70.0
Run-time dependency gio-2.0 found: YES 2.70.0
Run-time dependency libffi found: YES 3.4.2
Run-time dependency gobject-introspection-1.0 found: YES 1.70.0
Run-time dependency mozjs-78 found: YES 78.15.0
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
Dependency sysprof-capture-4 skipped: feature profiler disabled
Library readline found: YES
Checking if "SpiderMonkey is a non-debug build" with dependency mozjs-78 compiles: YES
Checking if "SpiderMonkey sanity check" with dependency mozjs-78 runs: NO (-11)

meson.build:252:4: ERROR: Problem encountered: A minimal SpiderMonkey program
could not be compiled, linked, or run. Most likely you should build it with a
different configuration. Check the recommended configuration:
https://github.com/spidermonkey-embedders/spidermonkey-embedding-examples/blob/esr78/docs/Building%20SpiderMonkey.md

A full log can be found at /var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0-build/meson-logs/meson-log.txt
 * ERROR: dev-libs/gjs-1.70.0::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_configure
 *   environment, line 2672:  Called meson_src_configure
 *   environment, line 1974:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=dev-libs/gjs-1.70.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/gjs-1.70.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/gjs-1.70.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gjs-1.70.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0'
 * S: '/var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0'

Reproducible: Always
Comment 1 HougeLangley 2021-11-04 17:36:45 UTC
Created attachment 748638 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-05 23:08:14 UTC
Missing "A full log can be found at /var/tmp/portage/dev-libs/gjs-1.70.0/work/gjs-1.70.0-build/meson-logs/meson-log.txt".