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

Bug#767107: Lintian reports error on dependency to qt5-default but removing it causes build failures



Hi Jussi,

Thanks for the bug report.

* Jussi Pakkanen <jpakkane@gmail.com>, 2014-10-28, 16:22:
Lintian reports an error for depending on metapackages. One of them is qt5-default. Depending on it causes errors such as this one:

https://lintian.debian.org/maintainer/jpakkane@gmail.com.html#meson

However if you remove qt5-default from the list of dependencies and just add those packages that it depends on, trying to build packages in pbuilder fails with the following error message (from memory, might not be exact):

moc: can not find installation of Qt in ''

This happens whether or not you have qtchooser in your package dependencies.

IANA Qt expert, but my understanding is that meson should pass the "-qt5" option to "moc" and friends; then the error will go away.

Given this it seems like qt5-default should be removed from the list of metapackages Lintian warns about or the packaging of Qt5 needs to be changed so that their build tools work in pbuilder when qt5-default is not installed.

qt*-default was added after to the list of metapackages after a request from a prominent Qt/KDE team member, who probably knew what he was doing. :-) https://bugs.debian.org/756158

But admittedly, currently the tag description is outdated and not really helpful. :-(

--
Jakub Wilk


Reply to: