Hi Georges! On Tue, Jul 02, 2024 at 07:17:41PM +0200, Georges Khaznadar wrote: > Package: qt5-qmake > Version: 5.15.13+dfsg-2 > Severity: important > > Dear Maintainer, > > I cannot currently rebuild the package xdrawchem, which uses qmake and > also the library libopenbabel-dev > > A build log can be found at > https://salsa.debian.org/georgesk/xdrawchem/-/pipelines/691085 > > I could reproduce this bug with this minimal example: > > --------------------------8<--------------------------- > $ sudo cowbuilder login > ... > root@georges:/# cd tmp > root@georges:/tmp# cat > foo.pro <<EOF > > TEMPLATE = app > > TARGET = foo > > CONFIG += link_pkgconfig > > PKGCONFIG += openbabel-3 > > EOF > root@georges:/tmp# apt install libopenbabel-dev qt5-qmake libqt5core5t64 > ... > root@georges:/tmp# qmake -makefile > Info: creating stash file /tmp/.qmake.stash > Project ERROR: openbabel-3 development package not found > --------------------------8<--------------------------- > > The error message states that openbabel-3 is not there; however > the file /usr/lib/x86_64-linux-gnu/pkgconfig/openbabel-3.pc is around.
Thank you for the minimal example. qmake calls pkg-config as a subprocess, so you need to build-depend on pkgconf explicitly if you need it. It is an optional feature so I don't think it should be a hard dependency. -- Dmitry Shachnev
signature.asc
Description: PGP signature