Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828523 - net-libs/webkit-gtk-2.34.1-r1 fails to build
Summary: net-libs/webkit-gtk-2.34.1-r1 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-07 18:11 UTC by Oleg Korsak
Modified: 2021-12-07 18:52 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,14.25 KB, text/plain)
2021-12-07 18:13 UTC, Oleg Korsak
Details
emerge-info.txt (emerge-info.txt,8.95 KB, text/plain)
2021-12-07 18:14 UTC, Oleg Korsak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Korsak 2021-12-07 18:11:53 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-07 18:13:15 UTC
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?
Comment 2 Oleg Korsak 2021-12-07 18:13:48 UTC
Created attachment 757638 [details]
build.log
Comment 3 Oleg Korsak 2021-12-07 18:14:26 UTC
Created attachment 757639 [details]
emerge-info.txt
Comment 4 Ionen Wolkens gentoo-dev 2021-12-07 18:25:01 UTC
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
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-07 18:25:45 UTC
(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.