gentoo / musl

[MIRROR] musl development overlay
https://gitweb.gentoo.org/proj/musl.git
99 stars 59 forks source link

dev-libs/gjs-1.70.0: meson.build:252:4: ERROR: Problem encountered: A minimal SpiderMonkey program #455

Open HougeLangley opened 2 years ago

HougeLangley commented 2 years ago
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
HougeLangley commented 2 years ago
Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.0/musl, gcc-11.2.0, musl-1.2.2-r3, 5.14.15-xanmod1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.14.15-xanmod1-x86_64-Intel-R-_Xeon-R-_CPU_E5-2690_v2_@_3.00GHz-with-libc
KiB Mem:    64298468 total,  60529700 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: d866866f50d767f018c4328eac69d829f6973974

Head commit of repository customkernel: 723fd38c7fcf5c19e14be26478f4e5a618247f44

Head commit of repository musl: a5d68ab17020883025f9b2d1c708b67c3cc9fe1a

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r5::gentoo
dev-lang/python:          3.9.7_p1::gentoo, 3.10.0_p1::gentoo
dev-lang/rust-bin:        1.56.1::gentoo
dev-util/cmake:           3.21.4::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/openrc:          0.44.7::gentoo
sys-apps/sandbox:         2.29::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.5::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::musl
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::musl (virtual/os-headers)
sys-libs/musl:            1.2.2-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

customkernel
    location: /var/db/repos/customkernel
    sync-type: git
    sync-uri: https://github.com/HougeLangley/customkernel.git
    masters: gentoo

musl
    location: /var/db/repos/musl
    sync-type: git
    sync-uri: https://github.com/gentoo/musl.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --autounmask-write=y -j -l"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O3 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O3 -pipe"
GENTOO_MIRRORS="https://mirrors.ustc.edu.cn/gentoo/"
INSTALL_MASK="charset.alias /usr/share/locale/locale.alias"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US zh_CN en zh"
MAKEOPTS="-j40"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 bzip2 cli crypt dri fortran iconv ipv6 libglvnd libtirpc lto ncurses nls nptl openmp pam pcre pgo readline seccomp split-usr ssl unicode vala vulkan wayland xattr zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2019" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="en-US zh-CN en zh" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="qxl virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
anarchpenguin commented 2 years ago

If you could provide the emerge --info spidermonkey might help to debug issue

HougeLangley commented 2 years ago

If you could provide the emerge --info spidermonkey might help to debug issue

Thanks, I will try later

listout commented 2 years ago

Hi @anarchpenguin, since this issue is still open is there any update on this issue? I'm having the same issue.

My emerge --info