dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #42093
[Bug 1752399] Re: net-cpp fails to build with g++ 7
url-dispatcher no longer depends on unity-scopes-api.
** No longer affects: url-dispatcher (Ubuntu)
** No longer affects: unity-control-center (Ubuntu)
** No longer affects: indicator-sound (Ubuntu)
** No longer affects: indicator-power (Ubuntu)
** No longer affects: indicator-network (Ubuntu)
** No longer affects: indicator-datetime (Ubuntu)
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-power in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1752399
Title:
net-cpp fails to build with g++ 7
Status in net-cpp package in Ubuntu:
Triaged
Status in unity-scopes-api package in Ubuntu:
New
Bug description:
net-cpp is failing to build. The last output in the build log is:
/usr/bin/cc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/net-cpp-2.2.0+17.04.20161108
.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FO
RTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-Bsymbolic-functions
-Wl,-z,relro -rdynamic CMakeFiles/cmTC_6912c.dir/CheckFunctionExists.c.o -o cm
TC_6912c -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_6912c.dir/build.make:97: recipe for target 'cmTC_6912c' failed
make[3]: *** [cmTC_6912c] Error 1
-lpthreads is the wrong high-level option, the portable option is
'-pthread'.
This failure happens as part of cmake configuration, so I don't know
if this is the root cause of the build failure or not. cmake error
output is opaque.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-cpp/+bug/1752399/+subscriptions