Package: src:libarcus
Version: 5.0.0-6
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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:libarcus, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild --with python3
   dh_auto_clean -O--buildsystem=pybuild
        pybuild --clean -i python{version} -p "3.14 3.13" --parallel=2
I: pybuild base:385: dh_auto_clean --buildsystem=cmake
I: pybuild base:385: dh_auto_clean --buildsystem=cmake
        rm -rf .pybuild/
        find . -name \*.pyc -exec rm {} \;
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/libarcus5.substvars debian/libarcus-dev.substvars 
debian/python3-arcus.substvars debian/files
        rm -fr -- debian/libarcus5/ debian/tmp/ debian/libarcus-dev/ 
debian/python3-arcus/
        find .  \( \( \

[... snipped ...]


    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
    FETCHCONTENT_FULLY_DISCONNECTED
    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_LIBRARY
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python3_LIBRARY


-- Build files have been written to: 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
   dh_auto_build -O--buildsystem=pybuild
        pybuild --build -i python{version} -p "3.14 3.13" --parallel=2
I: pybuild base:385: dh_auto_build --buildsystem=cmake 
--builddirectory=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build -- 
        cd .pybuild/cpython3_3.14/build && make -j2 INSTALL="install 
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
/usr/bin/cmake -S/<<PKGBUILDDIR>> 
-B/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build --check-build-system 
CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/CMakeFiles 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
make  -f CMakeFiles/Arcus.dir/build.make CMakeFiles/Arcus.dir/depend
make  -f CMakeFiles/pyArcus.dir/build.make CMakeFiles/pyArcus.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build && /usr/bin/cmake -E 
cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/CMakeFiles/Arcus.dir/DependInfo.cmake
 "--color=" Arcus
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build && /usr/bin/cmake -E 
cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/CMakeFiles/pyArcus.dir/DependInfo.cmake
 "--color=" pyArcus
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
make  -f CMakeFiles/pyArcus.dir/build.make CMakeFiles/pyArcus.dir/build
make  -f CMakeFiles/Arcus.dir/build.make CMakeFiles/Arcus.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
make[3]: Nothing to be done for 'CMakeFiles/pyArcus.dir/build'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
[  0%] Built target pyArcus
[ 12%] Building CXX object CMakeFiles/Arcus.dir/src/Socket.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/Socket.cpp.o -MF 
CMakeFiles/Arcus.dir/src/Socket.cpp.o.d -o 
CMakeFiles/Arcus.dir/src/Socket.cpp.o -c /<<PKGBUILDDIR>>/src/Socket.cpp
[ 25%] Building CXX object CMakeFiles/Arcus.dir/src/SocketListener.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/SocketListener.cpp.o -MF 
CMakeFiles/Arcus.dir/src/SocketListener.cpp.o.d -o 
CMakeFiles/Arcus.dir/src/SocketListener.cpp.o -c 
/<<PKGBUILDDIR>>/src/SocketListener.cpp
[ 37%] Building CXX object CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o -MF 
CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o.d -o 
CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o -c 
/<<PKGBUILDDIR>>/src/MessageTypeStore.cpp
In file included from /<<PKGBUILDDIR>>/src/Socket.cpp:20:
/<<PKGBUILDDIR>>/src/Socket_p.h: In member function ‘void 
Arcus::Socket::Private::sendMessage(const Arcus::MessagePtr&)’:
/<<PKGBUILDDIR>>/src/Socket_p.h:366:50: warning: ‘int 
google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use 
ByteSizeLong() instead [-Wdeprecated-declarations]
  366 |         uint32_t message_size = message->ByteSize();
      |                                 ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/google/protobuf/generated_enum_util.h:38,
                 from 
/usr/include/google/protobuf/generated_enum_reflection.h:47,
                 from 
/usr/include/google/protobuf/generated_message_reflection.h:46,
                 from /usr/include/google/protobuf/message.h:124,
                 from /<<PKGBUILDDIR>>/src/Socket_p.h:42:
/usr/include/google/protobuf/message_lite.h:381:7: note: declared here
  381 |   int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
      |       ^~~~~~~~
[ 50%] Building CXX object CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o -MF 
CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o.d -o 
CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o -c 
/<<PKGBUILDDIR>>/src/PlatformSocket.cpp
[ 62%] Building CXX object CMakeFiles/Arcus.dir/src/Error.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/Error.cpp.o -MF CMakeFiles/Arcus.dir/src/Error.cpp.o.d 
-o CMakeFiles/Arcus.dir/src/Error.cpp.o -c /<<PKGBUILDDIR>>/src/Error.cpp
[ 75%] Linking CXX shared library libArcus.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/Arcus.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-flto=auto -fno-fat-lto-objects -shared -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/Arcus.dir/link.d -Wl,-soname,libArcus.so.5 -o 
libArcus.so.5.0.0 CMakeFiles/Arcus.dir/src/Socket.cpp.o 
CMakeFiles/Arcus.dir/src/SocketListener.cpp.o 
CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o 
CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o 
CMakeFiles/Arcus.dir/src/Error.cpp.o  
-Wl,-rpath,:::::::::::::::::::::::::::::::::::::::::::: 
/usr/lib/x86_64-linux-gnu/libprotobuf.so
/usr/bin/cmake -E cmake_symlink_library libArcus.so.5.0.0 libArcus.so.5 
libArcus.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
[ 75%] Built target Arcus
make  -f CMakeFiles/sip_pyArcus.dir/build.make CMakeFiles/sip_pyArcus.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build && /usr/bin/cmake -E 
cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/CMakeFiles/sip_pyArcus.dir/DependInfo.cmake
 "--color=" sip_pyArcus
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
make  -f CMakeFiles/sip_pyArcus.dir/build.make CMakeFiles/sip_pyArcus.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
[ 87%] Building CXX object CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o
/usr/bin/c++ -DSIP_VERSION=0x060f02 -Dsip_pyArcus_EXPORTS 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/src -I/<<PKGBUILDDIR>>/python 
-I/<<PKGBUILDDIR>>/src -isystem /usr/include/python3.14 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -MD -MT CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o -MF 
CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o.d -o 
CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o -c 
/<<PKGBUILDDIR>>/python/PythonMessage.cpp
[100%] Linking CXX shared library pyArcus.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/sip_pyArcus.dir/link.txt 
--verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-flto=auto -fno-fat-lto-objects -shared -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/sip_pyArcus.dir/link.d -Wl,-soname,pyArcus.so 
-o pyArcus.so CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o  
-Wl,-rpath,/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build:/usr/lib/python3.14/config-3.14-x86_64-linux-gnu:
 libArcus.so.5.0.0 /usr/lib/x86_64-linux-gnu/libprotobuf.so 
/usr/lib/python3.14/config-3.14-x86_64-linux-gnu/libpython3.14.so
/usr/bin/cmake -E env 
PYTHONPATH=::/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build /usr/bin/sip-build 
--pep484-pyi --no-protected-is-public
pyproject.toml: line 5: using '[tool.sip.metadata]' to specify the project 
metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' 
instead
Using the CMake builder
These bindings will be built: pyArcus.
Generating the source files
Generating the pyArcus bindings...
sip-build: An internal error occurred...
Traceback (most recent call last):
  File "/usr/bin/sip-build", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3/dist-packages/sipbuild/tools/build.py", line 19, in 
main
    handle_exception(e)
    ~~~~~~~~~~~~~~~~^^^
  File "/usr/lib/python3/dist-packages/sipbuild/exceptions.py", line 76, in 
handle_exception
    raise e
  File "/usr/lib/python3/dist-packages/sipbuild/tools/build.py", line 16, in 
main
    project.build()
    ~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/sipbuild/project.py", line 256, in build
    self.builder.build()
    ~~~~~~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/CMakeBuilder.py", line 
12, in build
    self._generate_bindings()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/sipbuild/builder.py", line 255, in 
_generate_bindings
    buildable = bindings.generate()
  File "/usr/lib/python3/dist-packages/sipbuild/bindings.py", line 148, in 
generate
    spec, modules, sip_files = parse(self.sip_file, SIP_VERSION, encoding,
                               ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            project.target_abi, self.tags, self.disabled_features,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            self.protected_is_public, self._sip_include_dirs,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            project.sip_module)
            ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser.py", 
line 19, in parse
    protected_is_public, include_dirs, sip_module, is_strict).parse(
                                                              ~~~~~^
            sip_file)
            ^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser_manager.py", 
line 1448, in parse
    self._parser.parse(self._read(sip_file, raw_sip_file),
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            lexer=self._lexer, tracking=True)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ply/yacc.py", line 331, in parse
    return self.parseopt(input, lexer, debug, tracking, tokenfunc)
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ply/yacc.py", line 823, in parseopt
    p.callable(pslice)
    ~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3/dist-packages/sipbuild/generator/parser/rules.py", 
line 2307, in p_enum_decl
    pm.add_enum(p, 1, p[3], p[2], p[4], p[5], p[7])
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser_manager.py", 
line 661, in add_enum
    if cpp_name is None or (self.spec.target_abi[0] == 12 and not is_scoped):
                            ~~~~~~~~~~~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable
make[3]: *** [CMakeFiles/sip_pyArcus.dir/build.make:108: pyArcus.so] Error 1
make[3]: *** Deleting file 'pyArcus.so'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
make[2]: *** [CMakeFiles/Makefile2:161: CMakeFiles/sip_pyArcus.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build'
dh_auto_build: error: cd .pybuild/cpython3_3.14/build && make -j2 
INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
E: pybuild pybuild:485: build: plugin cmake failed with: exit code=25: 
dh_auto_build --buildsystem=cmake 
--builddirectory=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build -- 
I: pybuild base:385: dh_auto_build --buildsystem=cmake 
--builddirectory=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build -- 
        cd .pybuild/cpython3_3.13/build && make -j2 INSTALL="install 
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
/usr/bin/cmake -S/<<PKGBUILDDIR>> 
-B/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build --check-build-system 
CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/CMakeFiles 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make  -f CMakeFiles/Arcus.dir/build.make CMakeFiles/Arcus.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make  -f CMakeFiles/pyArcus.dir/build.make CMakeFiles/pyArcus.dir/depend
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build && /usr/bin/cmake -E 
cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/CMakeFiles/Arcus.dir/DependInfo.cmake
 "--color=" Arcus
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build && /usr/bin/cmake -E 
cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/CMakeFiles/pyArcus.dir/DependInfo.cmake
 "--color=" pyArcus
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make  -f CMakeFiles/Arcus.dir/build.make CMakeFiles/Arcus.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make  -f CMakeFiles/pyArcus.dir/build.make CMakeFiles/pyArcus.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make[3]: Nothing to be done for 'CMakeFiles/pyArcus.dir/build'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
[ 12%] Building CXX object CMakeFiles/Arcus.dir/src/Socket.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/Socket.cpp.o -MF 
CMakeFiles/Arcus.dir/src/Socket.cpp.o.d -o 
CMakeFiles/Arcus.dir/src/Socket.cpp.o -c /<<PKGBUILDDIR>>/src/Socket.cpp
[ 12%] Built target pyArcus
[ 25%] Building CXX object CMakeFiles/Arcus.dir/src/SocketListener.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/SocketListener.cpp.o -MF 
CMakeFiles/Arcus.dir/src/SocketListener.cpp.o.d -o 
CMakeFiles/Arcus.dir/src/SocketListener.cpp.o -c 
/<<PKGBUILDDIR>>/src/SocketListener.cpp
[ 37%] Building CXX object CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o -MF 
CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o.d -o 
CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o -c 
/<<PKGBUILDDIR>>/src/MessageTypeStore.cpp
In file included from /<<PKGBUILDDIR>>/src/Socket.cpp:20:
/<<PKGBUILDDIR>>/src/Socket_p.h: In member function ‘void 
Arcus::Socket::Private::sendMessage(const Arcus::MessagePtr&)’:
/<<PKGBUILDDIR>>/src/Socket_p.h:366:50: warning: ‘int 
google::protobuf::MessageLite::ByteSize() const’ is deprecated: Please use 
ByteSizeLong() instead [-Wdeprecated-declarations]
  366 |         uint32_t message_size = message->ByteSize();
      |                                 ~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/google/protobuf/generated_enum_util.h:38,
                 from 
/usr/include/google/protobuf/generated_enum_reflection.h:47,
                 from 
/usr/include/google/protobuf/generated_message_reflection.h:46,
                 from /usr/include/google/protobuf/message.h:124,
                 from /<<PKGBUILDDIR>>/src/Socket_p.h:42:
/usr/include/google/protobuf/message_lite.h:381:7: note: declared here
  381 |   int ByteSize() const { return internal::ToIntSize(ByteSizeLong()); }
      |       ^~~~~~~~
[ 50%] Building CXX object CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o -MF 
CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o.d -o 
CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o -c 
/<<PKGBUILDDIR>>/src/PlatformSocket.cpp
[ 62%] Building CXX object CMakeFiles/Arcus.dir/src/Error.cpp.o
/usr/bin/c++ -DMAKE_ARCUS_LIB -DSIP_VERSION=0x060f02 -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/src -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT 
CMakeFiles/Arcus.dir/src/Error.cpp.o -MF CMakeFiles/Arcus.dir/src/Error.cpp.o.d 
-o CMakeFiles/Arcus.dir/src/Error.cpp.o -c /<<PKGBUILDDIR>>/src/Error.cpp
[ 75%] Linking CXX shared library libArcus.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/Arcus.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-flto=auto -fno-fat-lto-objects -shared -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/Arcus.dir/link.d -Wl,-soname,libArcus.so.5 -o 
libArcus.so.5.0.0 CMakeFiles/Arcus.dir/src/Socket.cpp.o 
CMakeFiles/Arcus.dir/src/SocketListener.cpp.o 
CMakeFiles/Arcus.dir/src/MessageTypeStore.cpp.o 
CMakeFiles/Arcus.dir/src/PlatformSocket.cpp.o 
CMakeFiles/Arcus.dir/src/Error.cpp.o  
-Wl,-rpath,:::::::::::::::::::::::::::::::::::::::::::: 
/usr/lib/x86_64-linux-gnu/libprotobuf.so
/usr/bin/cmake -E cmake_symlink_library libArcus.so.5.0.0 libArcus.so.5 
libArcus.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
[ 75%] Built target Arcus
make  -f CMakeFiles/sip_pyArcus.dir/build.make CMakeFiles/sip_pyArcus.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build && /usr/bin/cmake -E 
cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/CMakeFiles/sip_pyArcus.dir/DependInfo.cmake
 "--color=" sip_pyArcus
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make  -f CMakeFiles/sip_pyArcus.dir/build.make CMakeFiles/sip_pyArcus.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
[ 87%] Building CXX object CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o
/usr/bin/c++ -DSIP_VERSION=0x060f02 -Dsip_pyArcus_EXPORTS 
-I/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/src -I/<<PKGBUILDDIR>>/python 
-I/<<PKGBUILDDIR>>/src -isystem /usr/include/python3.13 -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -flto=auto -fno-fat-lto-objects 
-fPIC -MD -MT CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o -MF 
CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o.d -o 
CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o -c 
/<<PKGBUILDDIR>>/python/PythonMessage.cpp
[100%] Linking CXX shared library pyArcus.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/sip_pyArcus.dir/link.txt 
--verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-flto=auto -fno-fat-lto-objects -shared -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/sip_pyArcus.dir/link.d -Wl,-soname,pyArcus.so 
-o pyArcus.so CMakeFiles/sip_pyArcus.dir/python/PythonMessage.cpp.o  
-Wl,-rpath,/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build:/usr/lib/python3.13/config-3.13-x86_64-linux-gnu:
 libArcus.so.5.0.0 /usr/lib/x86_64-linux-gnu/libprotobuf.so 
/usr/lib/python3.13/config-3.13-x86_64-linux-gnu/libpython3.13.so
/usr/bin/cmake -E env 
PYTHONPATH=::/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build /usr/bin/sip-build 
--pep484-pyi --no-protected-is-public
pyproject.toml: line 5: using '[tool.sip.metadata]' to specify the project 
metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' 
instead
Using the CMake builder
These bindings will be built: pyArcus.
Generating the source files
Generating the pyArcus bindings...
sip-build: An internal error occurred...
Traceback (most recent call last):
  File "/usr/bin/sip-build", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3/dist-packages/sipbuild/tools/build.py", line 19, in 
main
    handle_exception(e)
    ~~~~~~~~~~~~~~~~^^^
  File "/usr/lib/python3/dist-packages/sipbuild/exceptions.py", line 76, in 
handle_exception
    raise e
  File "/usr/lib/python3/dist-packages/sipbuild/tools/build.py", line 16, in 
main
    project.build()
    ~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/sipbuild/project.py", line 256, in build
    self.builder.build()
    ~~~~~~~~~~~~~~~~~~^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/CMakeBuilder.py", line 
12, in build
    self._generate_bindings()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/sipbuild/builder.py", line 255, in 
_generate_bindings
    buildable = bindings.generate()
  File "/usr/lib/python3/dist-packages/sipbuild/bindings.py", line 148, in 
generate
    spec, modules, sip_files = parse(self.sip_file, SIP_VERSION, encoding,
                               ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            project.target_abi, self.tags, self.disabled_features,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            self.protected_is_public, self._sip_include_dirs,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            project.sip_module)
            ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser.py", 
line 19, in parse
    protected_is_public, include_dirs, sip_module, is_strict).parse(
                                                              ~~~~~^
            sip_file)
            ^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser_manager.py", 
line 1448, in parse
    self._parser.parse(self._read(sip_file, raw_sip_file),
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            lexer=self._lexer, tracking=True)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ply/yacc.py", line 331, in parse
    return self.parseopt(input, lexer, debug, tracking, tokenfunc)
           ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ply/yacc.py", line 823, in parseopt
    p.callable(pslice)
    ~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3/dist-packages/sipbuild/generator/parser/rules.py", 
line 2307, in p_enum_decl
    pm.add_enum(p, 1, p[3], p[2], p[4], p[5], p[7])
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/usr/lib/python3/dist-packages/sipbuild/generator/parser/parser_manager.py", 
line 661, in add_enum
    if cpp_name is None or (self.spec.target_abi[0] == 12 and not is_scoped):
                            ~~~~~~~~~~~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable
make[3]: *** [CMakeFiles/sip_pyArcus.dir/build.make:108: pyArcus.so] Error 1
make[3]: *** Deleting file 'pyArcus.so'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make[2]: *** [CMakeFiles/Makefile2:161: CMakeFiles/sip_pyArcus.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build'
dh_auto_build: error: cd .pybuild/cpython3_3.13/build && make -j2 
INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
E: pybuild pybuild:485: build: plugin cmake failed with: exit code=25: 
dh_auto_build --buildsystem=cmake 
--builddirectory=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build -- 
dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13" 
--parallel=2 returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to