Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701052 - >gnome-base/gnome-shell-3.28.3 - Gjs-ERROR **: ...: Could not initialize Javascript
Summary: >gnome-base/gnome-shell-3.28.3 - Gjs-ERROR **: ...: Could not initialize Java...
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: REGRESSION
Depends on: 703538
Blocks:
  Show dependency tree
 
Reported: 2019-11-24 09:26 UTC by Émeric Maschino
Modified: 2020-04-26 12:16 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,203.82 KB, text/plain)
2019-11-24 09:26 UTC, Émeric Maschino
Details
environment (environment,117.62 KB, text/plain)
2019-11-24 09:26 UTC, Émeric Maschino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Émeric Maschino 2019-11-24 09:26:25 UTC
Created attachment 597380 [details]
build.log

Hi,

While stabilizing bug #685254, trying to emerge =gnome-base/gnome-shell-3.30.2-r2 failed during the compilation phase on ia64. From the relevant part of build.log:

[126/127] /usr/bin/g-ir-scanner -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.3_rc0/include -pthread --no-libtool --namespace=Shell --nsversion=0.1 --warn-all --output src/Shell-0.1.gir --quiet -I/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2/src -I/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src -I./. -I../gnome-shell-3.30.2/. -I./src/st/. -I../gnome-shell-3.30.2/src/st/. -I./src/st/.. -I../gnome-shell-3.30.2/src/st/.. -I./src/tray -I../gnome-shell-3.30.2/src/tray --filelist=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src/25a6634@@gnome-shell@sha/Shell_0.1_gir_filelist --include=Clutter-3 --include=ClutterX11-3 --include=Meta-3 --include=Gcr-3 --include=PolkitAgent-1.0 --include-uninstalled=subprojects/gvc/Gvc-1.0.gir --include-uninstalled=src/ShellMenu-0.1.gir --include-uninstalled=src/st/St-1.0.gir --cflags-begin -I./. -I../gnome-shell-3.30.2/. -I./src/st/. -I../gnome-shell-3.30.2/src/st/. -I./src/st/.. -I../gnome-shell-3.30.2/src/st/.. -I./src/tray -I../gnome-shell-3.30.2/src/tray -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.3_rc0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gjs-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/mozjs-60 -I/usr/include/nspr -I/usr/include/mutter/clutter-3 -I/usr/include/json-glib-1.0 -I/usr/include/mutter/cogl -I/usr/include/startup-notification-1.0 -D_REENTRANT -I/usr/include/polkit-1 -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gstreamer-1.0 -I/usr/include/mutter -I/usr/include/gsettings-desktop-schemas --cflags-end --add-include-path=/usr/share/gir-1.0 --add-include-path=/usr/lib/mutter --add-include-path=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/subprojects/gvc --add-include-path=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src --add-include-path=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src/st --library gnome-shell -L/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src -L/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src/tray -L/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src -L/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src/st --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=xml2 --extra-library=gtk-3 --extra-library=gdk-3 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=atk-1.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=gdk_pixbuf-2.0 --extra-library=atk-bridge-2.0 --extra-library=gjs -L/usr/lib/mutter --extra-library=mutter-clutter-3 --extra-library=json-glib-1.0 --extra-library=wayland-egl --extra-library=wayland-client --extra-library=Xtst --extra-library=Xi --extra-library=mutter-cogl-3 --extra-library=gmodule-2.0 --extra-library=gbm --extra-library=drm --extra-library=wayland-server --extra-library=EGL --extra-library=X11 --extra-library=Xext --extra-library=Xdamage --extra-library=Xfixes --extra-library=Xcomposite --extra-library=Xrandr --extra-library=mutter-cogl-pango-3 --extra-library=startup-notification-1 --extra-library=girepository-1.0 --extra-library=canberra --extra-library=canberra-gtk3 --extra-library=polkit-agent-1 --extra-library=polkit-gobject-1 --extra-library=gcr-base-3 --extra-library=gck-1 --extra-library=p11-kit --extra-library=gstreamer-1.0 --extra-library=gstbase-1.0 --extra-library=mutter-3 --extra-library=m --sources-top-dirs /var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2/subprojects/ --sources-top-dirs /var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/subprojects/
FAILED: src/Shell-0.1.gir 
/usr/bin/g-ir-scanner -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.3_rc0/include -pthread --no-libtool --namespace=Shell --nsversion=0.1 --warn-all --output src/Shell-0.1.gir --quiet -I/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2/src -I/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src -I./. -I../gnome-shell-3.30.2/. -I./src/st/. -I../gnome-shell-3.30.2/src/st/. -I./src/st/.. -I../gnome-shell-3.30.2/src/st/.. -I./src/tray -I../gnome-shell-3.30.2/src/tray --filelist=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src/25a6634@@gnome-shell@sha/Shell_0.1_gir_filelist --include=Clutter-3 --include=ClutterX11-3 --include=Meta-3 --include=Gcr-3 --include=PolkitAgent-1.0 --include-uninstalled=subprojects/gvc/Gvc-1.0.gir --include-uninstalled=src/ShellMenu-0.1.gir --include-uninstalled=src/st/St-1.0.gir --cflags-begin -I./. -I../gnome-shell-3.30.2/. -I./src/st/. -I../gnome-shell-3.30.2/src/st/. -I./src/st/.. -I../gnome-shell-3.30.2/src/st/.. -I./src/tray -I../gnome-shell-3.30.2/src/tray -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.3_rc0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gjs-1.0 -I/usr/include/gobject-introspection-1.0 -I/usr/include/mozjs-60 -I/usr/include/nspr -I/usr/include/mutter/clutter-3 -I/usr/include/json-glib-1.0 -I/usr/include/mutter/cogl -I/usr/include/startup-notification-1.0 -D_REENTRANT -I/usr/include/polkit-1 -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gstreamer-1.0 -I/usr/include/mutter -I/usr/include/gsettings-desktop-schemas --cflags-end --add-include-path=/usr/share/gir-1.0 --add-include-path=/usr/lib/mutter --add-include-path=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/subprojects/gvc --add-include-path=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src --add-include-path=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src/st --library gnome-shell -L/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src -L/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src/tray -L/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src -L/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/src/st --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=xml2 --extra-library=gtk-3 --extra-library=gdk-3 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=atk-1.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=gdk_pixbuf-2.0 --extra-library=atk-bridge-2.0 --extra-library=gjs -L/usr/lib/mutter --extra-library=mutter-clutter-3 --extra-library=json-glib-1.0 --extra-library=wayland-egl --extra-library=wayland-client --extra-library=Xtst --extra-library=Xi --extra-library=mutter-cogl-3 --extra-library=gmodule-2.0 --extra-library=gbm --extra-library=drm --extra-library=wayland-server --extra-library=EGL --extra-library=X11 --extra-library=Xext --extra-library=Xdamage --extra-library=Xfixes --extra-library=Xcomposite --extra-library=Xrandr --extra-library=mutter-cogl-pango-3 --extra-library=startup-notification-1 --extra-library=girepository-1.0 --extra-library=canberra --extra-library=canberra-gtk3 --extra-library=polkit-agent-1 --extra-library=polkit-gobject-1 --extra-library=gcr-base-3 --extra-library=gck-1 --extra-library=p11-kit --extra-library=gstreamer-1.0 --extra-library=gstbase-1.0 --extra-library=mutter-3 --extra-library=m --sources-top-dirs /var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2/subprojects/ --sources-top-dirs /var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/subprojects/

(process:543): Gjs-ERROR **: 19:47:29.315: Could not initialize Javascript
/usr/include/sys/ucontext.h:92: syntax error, unexpected typedef-name in '     unsigned long _pad[__builtin_offsetof (mcontext_t, sc_gr[0])/8];' at 'mcontext_t'
/usr/include/sys/ucontext.h:94: syntax error, unexpected '}' in '   }' at '}'
Command '['/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/tmp-introspectwvqyvvb9/Shell-0.1', '--introspect-dump=/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/tmp-introspectwvqyvvb9/functions.txt,/var/tmp/portage/gnome-base/gnome-shell-3.30.2-r2/work/gnome-shell-3.30.2-build/tmp-introspectwvqyvvb9/dump.xml']' died with <Signals.SIGTRAP: 5>.

This is a regression from =gnome-base/gnome-shell-3.28.3.
To date, =gnome-base/gnome-shell-3.32.2 fails the same.

Please let me know how I can help further.

Thanks,

     Émeric
Comment 1 Émeric Maschino 2019-11-24 09:26:55 UTC
Created attachment 597382 [details]
environment
Comment 2 Émeric Maschino 2019-11-24 09:27:29 UTC
emerge --info output:

Portage 2.3.76 (python 3.6.9-final-0, default/linux/ia64/17.0/desktop/gnome, gcc-9.2.0, glibc-2.29-r2, 4.19.82-gentoo ia64)
=================================================================
System uname: Linux-4.19.82-gentoo-ia64-Madison-with-gentoo-2.6
KiB Mem:    24983088 total,  21654480 free
KiB Swap:     499696 total,    499696 free
Timestamp of repository gentoo: Wed, 20 Nov 2019 00:45:01 +0000
Head commit of repository gentoo: 32068cf7204c8310cc646c916b2a0128becb79fd
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="@FREE"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
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="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j3"
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="X a52 aac acl acpi alsa berkdb bindist branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvdr eds elogind encode evo exif fam flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk ia64 iconv icu introspection ipv6 jpeg lcms ldap libnotify libsecret libtirpc mad mng mp3 mp4 mpeg nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio readline sdl spell split-usr ssl startup-notification svg tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2018" ALSA_CARDS="fm801" 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" ELIBC="glibc" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev radeon r300" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Émeric Maschino 2019-11-27 22:36:39 UTC
As for bug #701054, I fear that the problem lies in =dev-lang/spidermonkey-60.5.2_p0-r2 in the end.

Sure, up to =gnome-base/gnome-shell-3.28.3 there was no problem. But I think that's simply because this one had a dependency on >=dev-libs/gjs-1.47.0 and <dev-libs/gjs-1.53, so a dependency on e.g. =dev-libs/gjs-1.48.7 (as in current portage tree) requiring dev-lang/spidermonkey:38. And as reported in https://bugs.gentoo.org/701054#c6, sm38 has no problem initializing JS.

Now >gnome-base/gnome-shell-3.28.3 ebuilds, such as =gnome-base/gnome-shell-3.30.2-r2 and =gnome-base/gnome-shell-3.32.2 have a dependency on >=dev-libs/gjs-1.54.0. The latter now requires dev-lang/spidermonkey:60 rather than dev-lang/spidermonkey:38. And sm60 is failing to initialize JS, still as reported in https://bugs.gentoo.org/701054#c6.

Hence the "Could not initialize Javascript" error reported while trying to emerge =gnome-base/gnome-shell-3.30.2-r2.
Comment 4 Émeric Maschino 2020-01-19 11:56:41 UTC
Pending resolution of bug #703538 (e.g. with patch proposed in https://bugs.gentoo.org/703538#c6), I can confirm that gnome-base/gnome-shell (3.32.2 if it does matter) installed flawlessly and passes tests.
Comment 5 Mart Raudsepp gentoo-dev 2020-02-02 11:06:10 UTC
Removing the blocking markup against gnome-3.30-stable from here, as only hppa is left there, and this bug is not applicable to hppa
Comment 6 Mart Raudsepp gentoo-dev 2020-04-26 09:34:17 UTC
So this bug can be closed now?
Comment 7 Émeric Maschino 2020-04-26 12:16:50 UTC
(In reply to Mart Raudsepp from comment #6)
> So this bug can be closed now?

Yes :-).