Public bug reported: 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 g...@github.com:openzim/zim-tools.git $ cd zim-tools/ $ mkdir build $ cd build/ $ meson .. Actual result: The Meson build system Version: 0.45.1 Source dir: /home/alex/tmp/zim-tools Build dir: /home/alex/tmp/zim-tools/build Build type: native build Project name: zim-tools Native C compiler: ccache cc (gcc 7.5.0 "cc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") Native C++ compiler: ccache c++ (gcc 7.5.0 "c++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") 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/tmp/zim-tools/build/meson-logs/meson-log.txt: Determining dependency 'docopt' with pkg-config executable '/usr/bin/pkg-config' 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/x86_64-linux-gnu/pkgconfig/libzstd.pc ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: libdocopt-dev 0.6.2-2 Uname: Linux 4.19.91-041991-lowlatency x86_64 NonfreeKernelModules: nvidia_modeset nvidia 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~18.04 libc6 2.27-3ubuntu1 libdocopt0 0.6.2-2 libgcc1 1:8.4.0-1ubuntu1~18.04 libstdc++6 8.4.0-1ubuntu1~18.04 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) ** Affects: docopt.cpp (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887479 Title: No pkg-config file in libdocopt-dev To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docopt.cpp/+bug/1887479/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs