Bug#1074773: qt5-qmake: unable to rebuild package xdrawchem, due to an error of qmake

2024-07-02 Thread Dmitry Shachnev
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 < > 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


Bug#1074773: qt5-qmake: unable to rebuild package xdrawchem, due to an error of qmake

2024-07-02 Thread Georges Khaznadar
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 < 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 in advance if you can fix it.

Best regards,   Georges.


-- System Information:
Debian Release: trixie/sid
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'oldstable-updates'), (500, 'oldstable-security'), 
(500, 'oldoldstable'), (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-25-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qt5-qmake depends on:
ii  qt5-qmake-bin  5.15.13+dfsg-2
ii  qtchooser  66-2

qt5-qmake recommends no packages.

qt5-qmake suggests no packages.

-- no debconf information