[Slackbuilds-users] Puzzling error building qt5-webkit

Luveh Keraph 1.41421 at gmail.com
Sat Apr 25 14:51:52 UTC 2020


I have seen this in two of my Slackware 14.2 systems, whereas in two others
the latest qt5-webkit builds fine. What is particularly puzzling is the
complaint about undefined phtreads-related symbols, when all of my 14.2
system have the pthread library installed.

Anybody come across this?

-- Found GStreamer:
GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES
(Required is at least version "1.0.3")
CMake Error at
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
  Could NOT find Hyphen (missing: HYPHEN_INCLUDE_DIR HYPHEN_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
  Source/cmake/FindHyphen.cmake:37 (find_package_handle_standard_args)
  Source/cmake/OptionsQt.cmake:842 (find_package)
  Source/cmake/WebKitCommon.cmake:51 (include)
  CMakeLists.txt:137 (include)


-- Configuring incomplete, errors occurred!
See also
"/tmp/SBo/qtwebkit-5.212.0-alpha4/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/SBo/qtwebkit-5.212.0-alpha4/build/CMakeFiles/CMakeError.log".

In CMakeError.log I have the following:

Run Build Command:"/usr/bin/gmake" "cmTC_4f2cb/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_4f2cb.dir/build.make
CMakeFiles/cmTC_4f2cb.dir
/build
gmake[1]: Entering directory
'/tmp/SBo/qtwebkit-5.212.0-alpha4/build/CMakeFiles/
CMakeTmp'
Building C object CMakeFiles/cmTC_4f2cb.dir/CheckSymbolExists.c.o
/usr/bin/cc    -O2 -fPIC  -fno-exceptions -fno-strict-aliasing    -o
CMakeFiles/
cmTC_4f2cb.dir/CheckSymbolExists.c.o   -c
/tmp/SBo/qtwebkit-5.212.0-alpha4/build
/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_4f2cb
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4f2cb.dir/link.txt
--verbose
=1
/usr/bin/cc  -O2 -fPIC  -fno-exceptions -fno-strict-aliasing
CMakeFiles/cmTC
_4f2cb.dir/CheckSymbolExists.c.o  -o cmTC_4f2cb -rdynamic
CMakeFiles/cmTC_4f2cb.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text.startup+0x3): undefined reference to
`pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_4f2cb.dir/build.make:97: recipe for target 'cmTC_4f2cb'
failed
gmake[1]: *** [cmTC_4f2cb] Error 1
gmake[1]: Leaving directory
'/tmp/SBo/qtwebkit-5.212.0-alpha4/build/CMakeFiles/C
MakeTmp'
Makefile:126: recipe for target 'cmTC_4f2cb/fast' failed
gmake: *** [cmTC_4f2cb/fast] Error 2

File
/tmp/SBo/qtwebkit-5.212.0-alpha4/build/CMakeFiles/CMakeTmp/CheckSymbolExist
s.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed
with th
e following output:
Change Dir: /tmp/SBo/qtwebkit-5.212.0-alpha4/build/CMakeFiles/CMakeTmp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200425/2d23b6bd/attachment.htm>


More information about the SlackBuilds-users mailing list