← Back to team overview

dx-packages team mailing list archive

[Bug 1752399] Re: net-cpp fails to build with g++ 7

 

marking as affecting the reverse-dependency tree of net-cpp.  Since
there doesn't appear to be a maintainer for net-cpp itself anymore,
either someone interested in the reverse-dependencies will need to step
up to maintain it, or the entire tree will need to be dropped from the
release pocket.

** Also affects: unity-scopes-api (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: url-dispatcher (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: indicator-datetime (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: indicator-network (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: indicator-power (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: indicator-sound (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: unity-control-center (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to url-dispatcher in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1752399

Title:
  net-cpp fails to build with g++ 7

Status in indicator-datetime package in Ubuntu:
  New
Status in indicator-network package in Ubuntu:
  New
Status in indicator-power package in Ubuntu:
  New
Status in indicator-sound package in Ubuntu:
  New
Status in net-cpp package in Ubuntu:
  Triaged
Status in unity-control-center package in Ubuntu:
  New
Status in unity-scopes-api package in Ubuntu:
  New
Status in url-dispatcher 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/indicator-datetime/+bug/1752399/+subscriptions