Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge failed Failed to emerge net-libs/webkit-gtk-2.16.3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
milan.verheij
n00b
n00b


Joined: 07 Jun 2017
Posts: 1

PostPosted: Wed Jun 07, 2017 9:59 am    Post subject: Emerge failed Failed to emerge net-libs/webkit-gtk-2.16.3 Reply with quote

Dear people,

I am trying to update my system but webkit-gtk gives me a headache.. it continues to fail to compile..

I tried
- running with NINJAFLAGS="-j1" MAKEOPTS="-j1" emerge -av1 =webkit-gtk-2.16.3
- re-emerging ruby
- re-emerging ninja
- switching ruby from 2.3 to 2.4
- putting RUBY_TARGETS="ruby24" in my make.conf

The error
Code:

FAILED: DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
cd /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkit-gtk-2.16.3_build/Source/JavaScriptCore && /usr/bin/ruby24 /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb -I/var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkit-gtk-2.16.3_build/DerivedSources/JavaScriptCore/ /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/llint/LowLevelInterpreter.asm /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkit-gtk-2.16.3_build/DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
/var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/offlineasm/parser.rb:94:in `initialize': undefined method `+' for #<Pathname:0x000000016bde00> (NoMethodError)
        from /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/offlineasm/parser.rb:799:in `new'
        from /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/offlineasm/parser.rb:799:in `block in parseIncludes'
        from /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/offlineasm/parser.rb:792:in `loop'
        from /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/offlineasm/parser.rb:792:in `parseIncludes'
        from /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/offlineasm/parser.rb:823:in `parseHash'
        from /var/tmp/portage/net-libs/webkit-gtk-2.16.3/work/webkitgtk-2.16.3/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb:55:in `<main>'
ninja: build stopped: subcommand failed.
 * ERROR: net-libs/webkit-gtk-2.16.3::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  115:  Called src_compile
 *   environment, line 5367:  Called cmake-utils_src_compile
 *   environment, line 1480:  Called cmake-utils_src_make
 *   environment, line 1652:  Called _cmake_ninja_src_make
 *   environment, line  589:  Called eninja
 *   environment, line 2264:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *



emerge --info '=net-libs/webkit-gtk-2.16.3::gentoo'
Code:

Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-6.3.0, glibc-2.24-r1, 4.11.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.11.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.3
KiB Mem:    24560284 total,   3908492 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Wed, 07 Jun 2017 09:00:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.6.1-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r3::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo, 2.28-r1::gentoo
sys-devel/gcc:            6.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.24-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bitwig-overlay
    location: /var/lib/layman/bitwig-overlay
    masters: gentoo
    priority: 50

vifino-overlay
    location: /var/lib/layman/vifino-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
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=broadwell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch 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.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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 amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif extensions fam firefox flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg kde kipi kmod kwallet lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell ssl startup-notification static-libs svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xorg xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="proxy authn_core authz_core proxy_http auth_basic access_compat unixd libxml2 libxml2-dev rewrite" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


If you need more information please ask.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Sat Sep 02, 2017 11:52 pm    Post subject: Reply with quote

It's only three months later, but I only see webkit-gtk-2.16.5 and 2.16.6 in the tree. Have you tried either of those? Have you tried a different version (5.x instead of 6.4) of gcc?
Back to top
View user's profile Send private message
littletux
n00b
n00b


Joined: 08 Dec 2003
Posts: 74

PostPosted: Fri Dec 01, 2017 8:06 pm    Post subject: Reply with quote

If you still search for a solution, maybe this will help

I have had the same issue but with newer version webkit-gtk-2.18.3, then I have read what you have tested and saw that ruby is a dependency.
So I switched back to ruby22 and all builds fine
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sat Dec 16, 2017 4:25 pm    Post subject: Reply with quote

I have got extactly this problem now with webkit-gtk-2.18.3

There's no useful error message. Any ideas?
Back to top
View user's profile Send private message
littletux
n00b
n00b


Joined: 08 Dec 2003
Posts: 74

PostPosted: Sat Dec 23, 2017 3:55 pm    Post subject: Reply with quote

@musv

look at my post and read exactly what there is writen
Back to top
View user's profile Send private message
karhuar
n00b
n00b


Joined: 23 Feb 2018
Posts: 1

PostPosted: Fri Feb 23, 2018 10:09 pm    Post subject: Reply with quote

The only one that works for me:

Code:
# USE="-jit" emerge -1 net-libs/webkit-gtk
Back to top
View user's profile Send private message
moult
Retired Dev
Retired Dev


Joined: 31 Mar 2008
Posts: 146
Location: Australia

PostPosted: Tue May 14, 2019 8:05 am    Post subject: Reply with quote

Experiencing this same problem with webkit-gtk-2.24.1 and ruby 24.

Things tried:
- -j1
- Checking for OOM, it is not an OOM issue
- USE="-jit"
_________________
thinkMoult - I write articles online. You might like some of them.
Planet Larry - do you write a blog and use Gentoo? Get your blog added to the Planet Larry Gentoo user blog aggregator!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum