• Bug#1101247: pyside2: FTBFS: /usr/include/unicode/localpointer.h:561:26

    From Santiago Vila@21:1/5 to All on Tue Mar 25 01:20:04 2025
    Package: src:pyside2
    Version: 5.15.16-3.1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    [ 23%] Building CXX object ApiExtractor/CMakeFiles/apiextractor.dir/xmlutils_libxslt.cpp.o
    cd /<<PKGBUILDDIR>>/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo/shiboken2/ApiExtractor && /usr/bin/c++ -DCMAKE_CXX_COMPILER=\"/usr/bin/c++\" -DHAVE_LIBXSLT -DHAVE_QTXMLPATTERNS -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -
    DQT_XML_LIB -I/<<PKGBUILDDIR>>/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo/shiboken2/ApiExtractor/apiextractor_autogen/include -I/usr/lib/llvm-19/include -I/<<PKGBUILDDIR>>/sources/shiboken2/ApiExtractor -I/<<PKGBUILDDIR>>/pyside3_build/py3.13-
    qt5.15.15-64bit-relwithdebinfo/shiboken2/ApiExtractor -I/<<PKGBUILDDIR>>/sources/shiboken2/ApiExtractor/parser -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-
    linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack
    -protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -fvisibility=hidden -Wno-strict-aliasing -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_TO_ASCII -O2 -g -DNDEBUG -std=gnu++11 -fPIC -fPIC -MD -MT ApiExtractor/
    CMakeFiles/apiextractor.dir/xmlutils_libxslt.cpp.o -MF CMakeFiles/apiextractor.dir/xmlutils_libxslt.cpp.o.d -o CMakeFiles/apiextractor.dir/xmlutils_libxslt.cpp.o -c /<<PKGBUILDDIR>>/sources/shiboken2/ApiExtractor/xmlutils_libxslt.cpp
    In file included from /usr/include/unicode/uenum.h:25,
    from /usr/include/unicode/ucnv.h:52,
    from /usr/include/libxml2/libxml/encoding.h:31,
    from /usr/include/libxml2/libxml/parser.h:812,
    from /usr/include/libxml2/libxml/xmlerror.h:10,
    from /usr/include/libxml2/libxml/xpath.h:26,
    from /usr/include/libxslt/xsltutils.h:19,
    from /<<PKGBUILDDIR>>/sources/shiboken2/ApiExtractor/xmlutils_libxslt.cpp:38:
    /usr/include/unicode/localpointer.h:561:26: error: parameter declared ‘auto’
    561 | template <typename Type, auto closeFunction>
    | ^~~~ /usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
    573 | explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
    | ^
    /usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
    583 | LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
    | ^
    /usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
    599 | operator std::unique_ptr<Type, decltype(closeFunction)> () && {
    | ^ /usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
    69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    /usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
    597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    make[3]: *** [ApiExtractor/CMakeFiles/apiextractor.dir/build.make:410: ApiExtractor/CMakeFiles/apiextractor.dir/xmlutils_libxslt.cpp.o] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo/shiboken2'
    make[2]: *** [CMakeFiles/Makefile2:685: ApiExtractor/CMakeFiles/apiextractor.dir/all] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo/shiboken2'
    make[1]: *** [Makefile:149: all] Error 2
    make[1]: Leaving directory '/<<PKGBUILDDIR>>/pyside3_build/py3.13-qt5.15.15-64bit-relwithdebinfo/shiboken2'
    error: Error compiling shiboken2
    ***** Exception while trying to prepare bdist_wheel override class: cannot import name 'safer_name' from 'wheel.bdist_wheel' (/usr/lib/python3/dist-packages/wheel/bdist_wheel.py). Skipping wheel overriding.
    Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/setup.py", line 296, in <module>
    setup_runner.run_setup()
    ~~~~~~~~~~~~~~~~~~~~~~^^
    File "/<<PKGBUILDDIR>>/build_scripts/setup_runner.py", line 168, in run_setup
    raise RuntimeError(msg)
    RuntimeError:
    setup.py invocation failed with exit code: 1.


    setup.py invocation was: /usr/bin/python3 setup.py build --relwithdebinfo --verbose-build --no-examples --build-tests --doc-build-online --ignore-git --parallel=2 --internal-build-type=shiboken2

    E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build --relwithdebinfo --verbose-build --no-examples --build-tests --doc-build-online --ignore-git --parallel=2
    dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13
    make: *** [debian/rules:30: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202503/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:pyside2, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Tue Mar 25 10:30:05 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 25 Mar 2025 09:24:55 +0000
    with message-id <[email protected]>
    and subject line Bug#1101245: fixed in openbabel 3.1.1+dfsg-12
    has caused the Debian Bug report #1101245,
    regarding pyside2: FTBFS: /usr/include/unicode/localpointer.h:561:26: error: parameter declared 'auto'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1101245: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101245
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 25 Mar 2025 00:11:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
    PP_MIME_FAKE_ASCII_TEXT,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 150; neutral, 259; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila Return-path: <[email protected]>
    Received: from muffat.debian.org ([2607:f8f0:614:1::127
  • From Debian Bug Tracking System@21:1/5 to All on Wed Mar 26 00:10:02 2025
    This is a multi-part message in MIME format...

    Your message dated Tue, 25 Mar 2025 22:56:04 +0000
    with message-id <[email protected]>
    and subject line Bug#1101260: fixed in xmoto 0.6.2+repack-3
    has caused the Debian Bug report #1101260,
    regarding pyside2: FTBFS: /usr/include/unicode/localpointer.h:561:26: error: parameter declared 'auto'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1101260: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101260
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 25 Mar 2025 00:11:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
    PP_MIME_FAKE_ASCII_TEXT,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 150; neutral, 259; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila Return-path: <[email protected]>
    Received: from muffat.debian.org ([2607:f8f0:614:1::127
  • From Debian Bug Tracking System@21:1/5 to All on Fri Mar 28 01:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Fri, 28 Mar 2025 00:47:04 +0100
    with message-id <[email protected]>
    and subject line Re: pyside2: FTBFS: /usr/include/unicode/localpointer.h:561:26: error: parameter declared 'auto'
    has caused the Debian Bug report #1101247,
    regarding pyside2: FTBFS: /usr/include/unicode/localpointer.h:561:26: error: parameter declared 'auto'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1101247: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101247
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 25 Mar 2025 00:11:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
    PP_MIME_FAKE_ASCII_TEXT,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 150; neutral, 259; spammy,
    0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--trixie,
    0.000-+--pkgbuilddir, 0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila Return-path: <[email protected]>
    Received: from muffat.debian.org ([2607:f8f0:614:1::127