'MAKEOPTS=-j1 emerge -v1 webkit-gtk' fails with: ... [3151/3212] : && /usr/bin/x86_64-pc-linux-gnu-g++ -fdiagnostics-color=always -Wno-expansion-to-defined -Wno-attributes -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold -Wl,--disable-new-dtags -rdynamic Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/AboutBlankLoad.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/CanHandleRequest.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/CookieManager.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/DocumentStartUserScriptAlertCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/DOMWindowExtensionBasic.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/DOMWindowExtensionNoCache.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/DownloadDecideDestinationCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/EnumerateMediaDevices.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/EvaluateJavaScript.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/FailedLoad.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/Find.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ForceRepaint.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/FrameMIMETypeHTML.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/FrameMIMETypePNG.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/Geolocation.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/GetInjectedBundleInitializationUserDataCallback.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/HitTestResultNodeHandle.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/InjectedBundleBasic.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/InjectedBundleFrameHitTest.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/InjectedBundleInitializationUserDataCallbackWins.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/LoadAlternateHTMLStringWithNonDirectoryURL.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/LoadCanceledNoServerRedirectCallback.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/LoadPageOnCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/MouseMoveAfterCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/NewFirstVisuallyNonEmptyLayout.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/NewFirstVisuallyNonEmptyLayoutFails.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/NewFirstVisuallyNonEmptyLayoutForImages.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/NewFirstVisuallyNonEmptyLayoutFrames.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PageLoadBasic.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PageLoadDidChangeLocationWithinPageForFrame.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ParentFrame.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PendingAPIRequestURL.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PreventEmptyUserAgent.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PrivateBrowsingPushStateNoHistoryCallback.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ProvisionalURLAfterWillSendRequestCallback.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ReloadPageAfterCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ResizeWindowAfterCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/RestoreSessionStateContainingFormData.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ShouldGoToBackForwardListItem.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/TextFieldDidBeginAndEndEditing.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/UserMedia.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/UserMessage.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WillSendSubmitEvent.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKPageCopySessionStateWithFiltering.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKPageGetScaleFactorNotZero.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKPreferences.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKRetainPtr.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKString.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKStringJSString.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKURL.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/gtk/InputMethodFilter.cpp.o -o bin/TestWebKitAPI/WebKit/TestWebKit -Wl,-rpath,/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkit-gtk-2.20.4_build/lib lib/libTestWebKitAPIBase.a lib/libWTFGTK.a lib/libwebkit2gtk-4.0.so.37.28.4 lib/libgtest.so -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 lib/libWebCoreGTK.a lib/libANGLESupport.a -lrt lib/libWebCorePlatformGTK.a -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 /usr/lib64/libxml2.so /usr/lib64/libxslt.so /usr/lib/libsqlite3.so /usr/lib64/libGL.so /usr/lib64/libEGL.so lib/libPAL.a lib/libjavascriptcoregtk-4.0.so.18.7.12 /usr/lib64/libwoff2dec.so lib/libxdgmime.a /usr/lib64/libcairo.so /usr/lib/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libharfbuzz.so /usr/lib64/libharfbuzz-icu.so /usr/lib/libgcrypt.so /usr/lib64/libgstapp-1.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgstpbutils-1.0.so /usr/lib64/libgstaudio-1.0.so /usr/lib64/libgsttag-1.0.so /usr/lib64/libgstvideo-1.0.so /usr/lib64/libgstgl-1.0.so /usr/lib64/libgstfft-1.0.so /usr/lib/libjpeg.so /usr/lib/libpng.so /usr/lib64/libwebp.so /usr/lib64/libwebpdemux.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo.so /usr/lib/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libharfbuzz.so /usr/lib64/libharfbuzz-icu.so /usr/lib/libgcrypt.so /usr/lib64/libgstapp-1.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgstpbutils-1.0.so /usr/lib64/libgstaudio-1.0.so /usr/lib64/libgsttag-1.0.so /usr/lib64/libgstvideo-1.0.so /usr/lib64/libgstgl-1.0.so /usr/lib64/libgstfft-1.0.so /usr/lib/libjpeg.so /usr/lib/libpng.so /usr/lib64/libwebp.so /usr/lib64/libwebpdemux.so /usr/lib64/libatk-1.0.so /usr/lib64/libgmodule-2.0.so -lsecret-1 /usr/lib64/libsoup-2.4.so /usr/lib/libtasn1.so /usr/lib/libhyphen.so /usr/lib/libX11.so /usr/lib/libXcomposite.so /usr/lib/libXdamage.so /usr/lib/libXrender.so /usr/lib/libXt.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 lib/libWTFGTK.a lib/libbmalloc.a -ldl /usr/lib64/libicudata.so /usr/lib64/libicui18n.so /usr/lib64/libicuuc.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -lz -lpthread && : FAILED: bin/TestWebKitAPI/WebKit/TestWebKit : && /usr/bin/x86_64-pc-linux-gnu-g++ -fdiagnostics-color=always -Wno-expansion-to-defined -Wno-attributes -Wno-noexcept-type -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold -Wl,--disable-new-dtags -rdynamic Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/AboutBlankLoad.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/CanHandleRequest.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/CookieManager.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/DocumentStartUserScriptAlertCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/DOMWindowExtensionBasic.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/DOMWindowExtensionNoCache.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/DownloadDecideDestinationCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/EnumerateMediaDevices.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/EvaluateJavaScript.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/FailedLoad.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/Find.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ForceRepaint.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/FrameMIMETypeHTML.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/FrameMIMETypePNG.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/Geolocation.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/GetInjectedBundleInitializationUserDataCallback.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/HitTestResultNodeHandle.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/InjectedBundleBasic.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/InjectedBundleFrameHitTest.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/InjectedBundleInitializationUserDataCallbackWins.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/LoadAlternateHTMLStringWithNonDirectoryURL.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/LoadCanceledNoServerRedirectCallback.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/LoadPageOnCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/MouseMoveAfterCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/NewFirstVisuallyNonEmptyLayout.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/NewFirstVisuallyNonEmptyLayoutFails.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/NewFirstVisuallyNonEmptyLayoutForImages.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/NewFirstVisuallyNonEmptyLayoutFrames.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PageLoadBasic.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PageLoadDidChangeLocationWithinPageForFrame.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ParentFrame.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PendingAPIRequestURL.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PreventEmptyUserAgent.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/PrivateBrowsingPushStateNoHistoryCallback.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ProvisionalURLAfterWillSendRequestCallback.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ReloadPageAfterCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ResizeWindowAfterCrash.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/RestoreSessionStateContainingFormData.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/ShouldGoToBackForwardListItem.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/TextFieldDidBeginAndEndEditing.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/UserMedia.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/UserMessage.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WillSendSubmitEvent.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKPageCopySessionStateWithFiltering.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKPageGetScaleFactorNotZero.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKPreferences.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKRetainPtr.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKString.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKStringJSString.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/WKURL.cpp.o Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/gtk/InputMethodFilter.cpp.o -o bin/TestWebKitAPI/WebKit/TestWebKit -Wl,-rpath,/var/tmp/portage/net-libs/webkit-gtk-2.20.4/work/webkit-gtk-2.20.4_build/lib lib/libTestWebKitAPIBase.a lib/libWTFGTK.a lib/libwebkit2gtk-4.0.so.37.28.4 lib/libgtest.so -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lcairo -lgobject-2.0 -lglib-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 lib/libWebCoreGTK.a lib/libANGLESupport.a -lrt lib/libWebCorePlatformGTK.a -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 /usr/lib64/libxml2.so /usr/lib64/libxslt.so /usr/lib/libsqlite3.so /usr/lib64/libGL.so /usr/lib64/libEGL.so lib/libPAL.a lib/libjavascriptcoregtk-4.0.so.18.7.12 /usr/lib64/libwoff2dec.so lib/libxdgmime.a /usr/lib64/libcairo.so /usr/lib/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libharfbuzz.so /usr/lib64/libharfbuzz-icu.so /usr/lib/libgcrypt.so /usr/lib64/libgstapp-1.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgstpbutils-1.0.so /usr/lib64/libgstaudio-1.0.so /usr/lib64/libgsttag-1.0.so /usr/lib64/libgstvideo-1.0.so /usr/lib64/libgstgl-1.0.so /usr/lib64/libgstfft-1.0.so /usr/lib/libjpeg.so /usr/lib/libpng.so /usr/lib64/libwebp.so /usr/lib64/libwebpdemux.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo.so /usr/lib/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libharfbuzz.so /usr/lib64/libharfbuzz-icu.so /usr/lib/libgcrypt.so /usr/lib64/libgstapp-1.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgstpbutils-1.0.so /usr/lib64/libgstaudio-1.0.so /usr/lib64/libgsttag-1.0.so /usr/lib64/libgstvideo-1.0.so /usr/lib64/libgstgl-1.0.so /usr/lib64/libgstfft-1.0.so /usr/lib/libjpeg.so /usr/lib/libpng.so /usr/lib64/libwebp.so /usr/lib64/libwebpdemux.so /usr/lib64/libatk-1.0.so /usr/lib64/libgmodule-2.0.so -lsecret-1 /usr/lib64/libsoup-2.4.so /usr/lib/libtasn1.so /usr/lib/libhyphen.so /usr/lib/libX11.so /usr/lib/libXcomposite.so /usr/lib/libXdamage.so /usr/lib/libXrender.so /usr/lib/libXt.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 lib/libWTFGTK.a lib/libbmalloc.a -ldl /usr/lib64/libicudata.so /usr/lib64/libicui18n.so /usr/lib64/libicuuc.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -lz -lpthread && : Tools/TestWebKitAPI/CMakeFiles/TestWebKit.dir/Tests/WebKit/AboutBlankLoad.cpp.o:AboutBlankLoad.cpp:function TestWebKitAPI::WebKit_AboutBlankLoad_Test::TestBody(): error: undefined reference to 'WKContextCreate'
root@localhost:/usr/src(17)# emerge --info '=net-libs/webkit-gtk-2.20.4::gentoo' Portage 2.3.45 (python 3.6.6-final-0, default/linux/amd64/17.0/systemd, gcc-7.3.0, glibc-2.27-r6, 4.17.5-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.17.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.6 KiB Mem: 4040136 total, 1667772 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 09 Aug 2018 02:00:01 +0000 Head commit of repository gentoo: 81866a674b5577540dcf8ac4e55f9d442cc7f9d5 sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p3) 2.30.0 app-shells/bash: 4.4_p23::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo dev-util/cmake: 3.12.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r3::gentoo, 2.31.1::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage 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: no x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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="R X Xaw3d acl alsa amd64 apache2 berkdb bzip2 cairo cdda cddb clang cli client cmake crypt cups curl cxx dbus dri eds ffmpeg firefox fortran gdbm gimp git gnome gnome-keyring gpm gstreamer gtk gtk3 iconv icu introspection ipv6 jadetex jpeg jpeg2k latex ldap libtirpc modules mozilla multilib ncurses nfs nls nptl ogg opengl openmp pam pcre png policykit preview-latex pulseaudio python raw readline seccomp sqlite ssl sudo systemd tcpd test tex theora udev udisks unicode vala xattr xetex xorg 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="alias auth_basic authz_groupfile dav dav_fs authn_file auth_digest" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" 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" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="NVPTX X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="virtualbox vboxvideo nouveau" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS root@localhost:/usr/src(18)# emerge -pqv '=net-libs/webkit-gtk-2.20.4::gentoo' [ebuild U ] net-libs/webkit-gtk-2.20.4 [2.18.6] USE="X egl geolocation gnome-keyring gstreamer introspection jit opengl test* webgl (-aqua) -coverage -doc -gles2 -libnotify -nsplugin -spell -wayland"
Created attachment 542900 [details] build.log.bz2
Tests are restricted, so I don't understand how you are getting -DENABLE_API_TESTS=yes passed. RESTRICT=test makes it force disabled for me (the test USE flag) and thus these files aren't even built, so can't error. The tests are restricted precisely due to such problems, just occasionally retested locally, to see if it's fixed upstream. Clearly it isn't. But it shouldn't happen to you. Additional sign of trouble here is that in your output the test output isn't shown inside {} brackets. Compare with me: [ebuild R ] net-libs/webkit-gtk-2.20.4 USE="X egl geolocation gnome-keyring gstreamer introspection jit libnotify opengl spell wayland webgl (-aqua) -coverage -doc -gles2 -nsplugin {-test}" I also have FEATURES=test. Even if I locally comment out RESTRICT=test from the ebuild, I get "{test}" instead
It looks like USE=test is somehow disconnected from FEATURES=test for you. USE=test ought to get force disabled with FEATURES=-test or RESTRICT=test, but instead you have USE=test separately and it just applies, without considering it special.
Smells like something from bug 373209
Looks like portage 2.3.45 now supports USE=test without FEATURES=test for installing test deps and tools and whatnot that is behind USE=test, without actually running src_test. I don't necessarily agree with this when RESTRICT=test is set. portage@ - what's the verdict here? Do I need to now go comment out all the things that are currently just disabled by RESTRICT=test or something? Why is there no migration tracker in that case?
(In reply to Mart Raudsepp from comment #6) > Looks like portage 2.3.45 now supports USE=test without FEATURES=test for > installing test deps and tools and whatnot that is behind USE=test, without > actually running src_test. I don't necessarily agree with this when > RESTRICT=test is set. > portage@ - what's the verdict here? Do I need to now go comment out all the > things that are currently just disabled by RESTRICT=test or something? Why > is there no migration tracker in that case? I consider it a regression to change the behavior for ebuilds that set RESTRICT=test, since it contradicts bug 273272. This patch will fix it: https://archives.gentoo.org/gentoo-portage-dev/message/862fa1cc5970ab6a704db680ae394c4b https://github.com/gentoo/portage/pull/358
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=abf6f36a2785671f183f5f898f03c29cd5a915b9 commit abf6f36a2785671f183f5f898f03c29cd5a915b9 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-08-11 19:48:01 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-08-11 21:05:20 +0000 Make features USE respect RESTRICT=test (bug 663278) Make RESTRICT=test prevent the "test" USE flag from being added to features USE flags when FEATURES=test is enabled, in order to preserve default behavior for ebuilds that set RESTRICT=test. The code that sets the restrict_test variable in the setcpv method must execute earlier now, but the logic is unchanged. Note that it is still possible to enable USE=test for ebuilds that set RESTRICT=test, but FEATURES=test will not do it, so it will only be triggered by an explicit USE=test setting by the user or profile. Fixes: 8c5598c1af2c ("Replace implicit {FEATURES->USE}=test forcing with USE default") Bug: https://bugs.gentoo.org/663278 Reviewed-by: Michał Górny <mgorny@gentoo.org> lib/portage/package/ebuild/config.py | 50 ++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-)
This next patch enables support for RESTRICT="!test? ( test )": https://archives.gentoo.org/gentoo-portage-dev/message/7ef3fa50abb2d2579615546769cb6541 https://github.com/gentoo/portage/pull/359
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=45986341a80cfb01dad470f56f02b210b3ebf753 commit 45986341a80cfb01dad470f56f02b210b3ebf753 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2018-08-11 21:04:05 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2018-08-12 00:40:32 +0000 Support !test? conditionals in RESTRICT (bug 663278) Since RESTRICT="!test? ( test )" can be very useful within the context of bug 663278, pass an appropriate uselist parameter to the RESTRICT use_reduce call. Make self.configdict["features"]["USE"] independent of IUSE and RESTRICT, so that the same value can be shared between packages with different settings, which is important when evaluating USE conditional RESTRICT. When the evaluated value of RESTRICT contains "test", handle it like IUSE="-test", since features USE is independent of RESTRICT. Bug: https://bugs.gentoo.org/663278 lib/portage/package/ebuild/config.py | 40 +++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 14 deletions(-)