[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libdlib-dev: find_package (dlib) fails



On Sun, 04 Sep 2016 11:50:02 -0400 Greg Sharp <gregsharp.geo@yahoo.com> wrote:
Package: libdlib-dev
Version: 18.18-1+b1
Severity: normal

The dlib.cmake supplied by debian cannot be used to configure a project.  Given
the following CMakeLists.txt file:

cmake_minimum_required (VERSION 3.5)
find_package (dlib)

Yields the following error:

CMake Error at /usr/lib/cmake/dlib/dlib.cmake:76 (message):
  The imported target "dlib::dlib" references the file

     "/usr/lib/libdlib.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/cmake/dlib/dlib.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/cmake/dlib/dlibConfig.cmake:35 (include)
  CMakeLists.txt:2 (find_package)


-- Configuring incomplete, errors occurred!

This is quite a biggy. Please ensure that your -dev packages work as
intended. Some autopkgtest for it would be warmly welcome. A library
package with non-working discovery should be higher severity IMO.

I would have offered to help, but your packaging setup is highly
non-standard (Github, non-sourceful tree). You might want to consider
joining a packaging team such as Debian Science and host your work
there. This way, it would be easier for your rdepends to collaborate
with you.

cc-ing the team's mailing list.

Ghis


Reply to: