Emerge of webkit-gtk-2.4.3 failed due to lack of SInternalSettingsGenerated.h. Reproducible: Always Steps to Reproduce: 1. emerge -avuDN webkit-gtk-2.4.3 2. 3. Actual Results: DerivedSources/WebCore/JSDOMWindow.cpp:177:41: fatal error: JSInternalSettingsGenerated.h: No such file or directory #include "JSInternalSettingsGenerated.h" ^ compilation terminated. GNUmakefile:61984: recipe for target 'DerivedSources/WebCore/libWebCore_la-JSDOMWindow.lo' failed make[1]: *** [DerivedSources/WebCore/libWebCore_la-JSDOMWindow.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f DerivedSources/WebCore/.deps/libWebCore_la-JSDOMStringMap.Tpo DerivedSources/WebCore/.deps/libWebCore_la-JSDOMStringMap.Plo mv -f DerivedSources/WebCore/.deps/libWebCore_la-JSDOMURL.Tpo DerivedSources/WebCore/.deps/libWebCore_la-JSDOMURL.Plo mv -f DerivedSources/WebCore/.deps/libWebCore_la-JSDOMTokenList.Tpo DerivedSources/WebCore/.deps/libWebCore_la-JSDOMTokenList.Plo make[1]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.4.3/work/webkitgtk-2.4.3' GNUmakefile:25615: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: net-libs/webkit-gtk-2.4.3::gentoo failed (compile phase): * emake failed Expected Results: Successful emerge of webkit-gtk-2.4.3 Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.13.7-gentoo x86_64) ================================================================= System uname: Linux-3.13.7-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.2 KiB Mem: 8125180 total, 6640716 free KiB Swap: 0 total, 0 free Timestamp of tree: Tue, 01 Jul 2014 06:45:01 +0000 ld GNU ld (GNU Binutils) 2.24 app-shells/bash: 4.2_p47 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.7, 3.2.5-r3, 3.3.5, 3.4.1 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.7.3-r1, 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.15 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo local-my ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-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/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=corei7 -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 preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/" LANG="pl_PL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/my" USE="X a53 aac acl acpi alsa amd64 apm audiofile bash-completion berkdb bindist bzip2 cairo cli cracklib crypt cscope ctype cups curl cxx dbus dhcpcd dri dts encode fbcon ffmpeg flac fortran gdbm gif git gnome gtk gzip hddtemp ibus iconv java6 jit jpeg lame libass libnotify lm_sensors lzma lzo matroshka mime mmx modules mozilla mp3 mp4 mpeg mplater multilib ncurses nls nptl nss ogg openal opengl openmp orc pam pcre pdf perl png ppp python readline session smp sockets spell sse sse2 sse3 ssl subversion syslog systemd tcpd threads udisks unicode usb vorbis x264 xscreensaver xvid zlib zsh-completion" 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="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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Created attachment 380030 [details] Build log of webkit-gtk-2.4.3
Could you retry with MAKEOPTS="-j1"?
(In reply to Pacho Ramos from comment #2) > Could you retry with MAKEOPTS="-j1"? I have tried and after 3 hours, compilation hanged out on: ./Source/WebKit/gtk/webkit/*.cpp Source/WebKit/gtk/webkit/webkitversion.h:37: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION'
I have switched from nvidia to xorg-x11 and everything goes well.
I experienced the same error, so I don't see this as FIXED. Please reopen. (In reply to Pacho Ramos from comment #2) > Could you retry with MAKEOPTS="-j1"? Did solve the issue for me. So this seems to be a parallel build issue. make_settings.pl is listed in line 316/4229 as well as line 439 of the failed build, so I'd guess that JSInternalSettingsGenerated.idl should exist pretty early. I have no clue why it is apparently called twice. The call to generate-bindings.pl which should build JSInternalSettingsGenerated.h from this does not appear in the log of either the failed nor the succeeding build. Not sure what to conclude from all this. (In reply to Sergiusz M from comment #4) > I have switched from nvidia to xorg-x11 and everything goes well. You switched WHAT? OpenGL implementation? In any case, this seems to have nothing to do with the originally reported issue, and I did no such switch.
Also having this problem when nvidia OpenGL enabled.
Running into same error with net-libs/webkit-gtk-2.4.7-r200 since using hardened profile + pax kernel. Will try with -j1.
Created attachment 390200 [details] 2.4.7-r200 emerge-pqv.txt
Created attachment 390202 [details] 2.4.7-r200 emerge-info.txt
build.log here: https://snscltt.info/bugzilla/webkit-gtk/build.log as it is far beyond the 1000kB
(In reply to Alexander Hof from comment #7) > Running into same error with net-libs/webkit-gtk-2.4.7-r200 since using > hardened profile + pax kernel. Will try with -j1. Building with -j1 succeded.
I can confirm this on webkit-gtk-2.4.8; "-j1" fixed it for me as well.
Created attachment 400758 [details, diff] force_makeopts_j1 I've added -j1 to MAKEOPTS in src_compile, I guess this would fix this bug. Is this an acceptable fix for the issue? Can a dev confirm this is according to ebuild policy?
Hitting this with 2.4.9
-j1 would result in unbearable build for me. Better add proper dependency in the Makefiles. It can't be that hard.
Switching opengl away from nvidia works for me in 2.4.9
Switching back and logging into GNOME... compilation still works :/
Hitting the same on a pure Intel system with mesa and whatnot. Issues like these are purely hit by luck, when the race condition from lacking Makefile dependencies gets hit. Not sure if to try again and maybe succeed this time, or to use MAKEOPTS=-j1 and go 4 times slower. As far as this upgrade goes. Can't really work on a patch of any sort at this time, but commenting to confirm the bug outside graphics or something. This is with net-libs/webkit-gtk-2.4.9::gentoo now
Same problem with webkit-gtk-2.4.11-r1. MAKEOPTS=-j1 solves the issue. (Intel + Mesa)
Still hitting this with 2.4.11-r1
Same here with 2.4.11-r1
Bug still present with net-libs/webkit-gtk-2.4.11-r200, passed with -J1 So this is a 3 years old bug, hitting people randomly. The build system for this software is broken but there is a known workaround: why isn't this workaround implemented? Or at least an error message pointing people to this?
Sorry, this version should have left the tree long ago due to over a hundred security issues, but there are still consumers that are slow to port to the newer webkit-gtk API or will never do so. Priority has been elsewhere for me than getting rid of webkit-gtk-2.4, but you should try to avoid it if at all possible. glsa-check -l affected should show it as well afaik.
This old SLOT has been p.masked, please remove it if you still have it. # Mart Raudsepp <leio@gentoo.org> (23 Feb 2018) # Old net-libs/webkit-gtk SLOTs have hundreds of known security issues. # Use the security safe net-libs webkit-gtk SLOT=4 instead via # libraries and applications ported to gtk3 and webkit2gtk API. # Masked for removal in 30 days. Bug #577068. # Please keep this package.mask entry until at least 25th May 2018 for # extra notification of the security vulnerabilities. net-libs/webkit-gtk:2 net-libs/webkit-gtk:3