Hi Patrick!

On Sat, Feb 14, 2026 at 01:36:09PM +0100, Patrick Franz wrote:
> Source: pyqt6
> Version: 6.10.2-1
> Severity: important
> Tags: ftbfs
> X-Debbugs-Cc: [email protected]
> 
> Dear maintainer,
> 
> we are currently preparing Qt 6.10.2 in experimental and your package FTBFS 
> against it.
> 
> The hopefully relevant part of the build log:
> 
> ---
> I: pybuild base:384: python3.14 /usr/bin/sip-build --verbose --no-make 
> --confirm-license --pep484-pyi --target-dir /usr/lib/python3/dist-packages 
> --build-dir /build/package/package/.pybuild/cpython3_3.14/build --qmake 
> /usr/lib/qt6/bin/qmake --qmake-setting 'CONFIG += nostrip' --qmake-setting 
> 'QMAKE_CXXFLAGS += "-g -O2 -ffile-prefix-map=/build/package/package=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2"' 
> --qmake-setting 'QMAKE_LFLAGS += "-Wl,-z,relro"'
> Querying qmake about your Qt installation...
> /usr/lib/qt6/bin/qmake -query
> This is the GPL version of PyQt 6.10.2 (licensed under the GNU General Public 
> License) for Python 3.14.3 on linux.
> Found the license file 'pyqt-gpl.sip'.
> Checking to see if the QtCore bindings can be built...
> /usr/lib/qt6/bin/qmake QtCore.pro
> Info: creating stash file 
> /build/package/package/.pybuild/cpython3_3.14/build/cfgtest_QtCore/.qmake.stash
> Project ERROR: Library 'libatomic' is not defined.

This problem is caused by qt_lib_core_private.pri being moved to
qt6-base-private-dev. However this breaks build of qmake projects that do
not use anything private, when that package is not installed. Here is a very
minimal example:

    # cat test.pro
    QT -= gui
    SOURCES = test.cpp

    # cat test.cpp
    int main() {
        return 0;
    }

    # qmake6
    Project ERROR: Library 'libatomic' is not defined.

QMAKE_LIBS_LIBATOMIC is defined in qt_lib_core_private.pri, but it is used
by qt_lib_core.pri which is public.

Is it possible to reconsider that change, or I should build-depend on
qt6-base-private-dev?

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to