No pkg-config file in libdocopt-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docopt.cpp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
No pkg-config file in libdocopt-dev. It causes build process failed because it relies on finding a library via pkg-config:
Steps to reproduce:
$ git clone <email address hidden>
$ cd zim-tools/
$ mkdir build
$ cd build/
$ meson ..
Actual result:
The Meson build system
Version: 0.45.1
Source dir: /home/alex/
Build dir: /home/alex/
Build type: native build
Project name: zim-tools
Native C compiler: ccache cc (gcc 7.5.0 "cc (Ubuntu 7.5.0-3ubuntu1~
Native C++ compiler: ccache c++ (gcc 7.5.0 "c++ (Ubuntu 7.5.0-3ubuntu1~
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency libzim found: YES 6.1.4
Dependency rt found: NO
meson.build:20:0: ERROR: Native dependency 'docopt' not found
(please, don't mind this 'rt' library absence, it's OK).
In /home/alex/
Determining dependency 'docopt' with pkg-config executable '/usr/bin/
meson.build:20:0: ERROR: Native dependency 'docopt' not found
Expected result:
Meson should find libdocopt via pkg-config
Additional info
$ dpkg -L libdocopt-dev | grep pc
<empty output>
Other packages have it, for example:
$ dpkg -L libzstd-dev | grep pc
/usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libdocopt-dev 0.6.2-2
Uname: Linux 4.19.91-
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.15
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Jul 14 12:41:18 2020
Dependencies:
gcc-8-base 8.4.0-1ubuntu1~
libc6 2.27-3ubuntu1
libdocopt0 0.6.2-2
libgcc1 1:8.4.0-
libstdc++6 8.4.0-1ubuntu1~
InstallationDate: Installed on 2019-10-27 (260 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: docopt.cpp
UpgradeStatus: No upgrade log present (probably fresh install)
After creation of this stub compilation was sucessful:
$ cat /usr/lib/ x86_64- linux-gnu/ pkgconfig/ docopt. pc /usr/include
prefix=/usr
libdir=/usr/lib
includedir=
Name: docopt docopt. org/
Description: C++11 port of docopt
URL: http://
Version: 0.6.2
Libs: -L${libdir} -ldocopt
Cflags: -I${includedir}