[Bug 1755949] [NEW] process-cpp FTBFS in bionic
Launchpad Bug Tracker
1755949 at bugs.launchpad.net
Thu Mar 15 00:08:17 UTC 2018
You have been subscribed to a public bug by Steve Langasek (vorlon):
process-cpp fails to build with an inscrutable error from cmake about
failing to find pthreads:
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b3690/fast"
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTC_b3690.dir/build.make CMakeFiles/cmTC_b3690.dir/build
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b3690.dir/CheckFunctionExists.c.o
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_b3690.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.9/Modules/CheckFunctionExists.c
Linking C executable cmTC_b3690
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b3690.dir/link.txt --verbose=1
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-Bsymbolic-functions -Wl,-z,relro -rdynamic CMakeFiles/cmTC_b3690.dir/CheckFunctionExists.c.o -o cmTC_b3690 -lpthreads
https://launchpad.net/ubuntu/+source/process-
cpp/3.0.1-0ubuntu6/+build/13627287/+files/buildlog_ubuntu-bionic-amd64
.process-cpp_3.0.1-0ubuntu6_BUILDING.txt.gz
pthreads are certainly supported. They're spelled '-pthread'. I have
no idea why cmake is failing to find them, you'd think this is a pretty
basic thing; and other cmake-using software doesn't seem to have this
problem.
Poking around in the CMakeFiles, it appears to be some sort of adverse
interaction with gmock. But I don't know why this is or how to fix it.
** Affects: dbus-cpp (Ubuntu)
Importance: Undecided
Status: New
** Affects: mediascanner2 (Ubuntu)
Importance: Undecided
Status: New
** Affects: process-cpp (Ubuntu)
Importance: Undecided
Status: New
--
process-cpp FTBFS in bionic
https://bugs.launchpad.net/bugs/1755949
You received this bug notification because you are a member of Ubuntu Package Archive Administrators, which is subscribed to the bug report.
More information about the ubuntu-archive
mailing list