Package fails to configure and build Reproducible: Always Steps to Reproduce: 1. emerge -u net-libs/webkit-gtk 2. 3. Actual Results: -- Found the following ICU libraries: -- data (required) -- i18n (required) -- uc (required) -- Found ICU: /usr/include (found suitable version "70.1", minimum required is "61.2") -- Found JPEG: /usr/lib64/libjpeg.so (found version "62") -- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.9.12", minimum required is "2.8.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.37+apng") -- Found SQLite3: /usr/lib64/libsqlite3.so (found version "3.35.5") -- Looking for pthread.h -- Looking for pthread.h - not found CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Threads (missing: Threads_FOUND) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindThreads.cmake:238 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) Source/cmake/WebKitFindPackage.cmake:105 (_find_package) Source/cmake/OptionsGTK.cmake:22 (find_package) Source/cmake/WebKitCommon.cmake:220 (include) CMakeLists.txt:20 (include) Expected Results: build and install
1. You should use -1 for stuff like webkit-gtk as it's a dependency usually. 2. Please attach the full build.log and emerge --info. 3. Are you using distcc?
Created attachment 757638 [details] build.log
Created attachment 757639 [details] emerge-info.txt
C(XX)FLAGS="<snip> -Wl,--start-group" It's probably giving an error like this underneath: ld: missing --end-group; added as last command line option This isn't supposed to be in C(XX)FLAGS
(In reply to Ionen Wolkens from comment #4) > C(XX)FLAGS="<snip> -Wl,--start-group" > > It's probably giving an error like this underneath: > > ld: missing --end-group; added as last command line option > > This isn't supposed to be in C(XX)FLAGS Beaten me to it. That's absolutely not supposed to be in C{,XX}FLAGS, nor is it even supposed to be in user-provided LDFLAGS. Please share CMake*.log _IF_ removing that from C*FLAGS doesn't help.