Source: azure-uamqp-python
Version: 1.6.11-1
Severity: serious
Tags: ftbfs
Justification: FTBFS
User: [email protected]
Usertags: cmake-4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainer,

During a test rebuild for CMake 4, azure-uamqp-python failed to rebuild.

Log Summary:
- 
-------------------------------------------------------------------------------
[...]
copying uamqp/client.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/compat.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/mgmt_operation.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/receiver.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/address.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/session.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/types.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/__init__.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/connection.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/utils.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/message.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
copying uamqp/sender.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
creating 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
copying uamqp/async_ops/mgmt_operation_async.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
copying uamqp/async_ops/connection_async.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
copying uamqp/async_ops/__init__.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
copying uamqp/async_ops/sender_async.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
copying uamqp/async_ops/session_async.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
copying uamqp/async_ops/utils.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
copying uamqp/async_ops/client_async.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
copying uamqp/async_ops/receiver_async.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/async_ops
creating 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/authentication
copying uamqp/authentication/common.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/authentication
copying uamqp/authentication/cbs_auth_async.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/authentication
copying uamqp/authentication/cbs_auth.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/authentication
copying uamqp/authentication/__init__.py -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp/authentication
running egg_info
creating uamqp.egg-info
writing uamqp.egg-info/PKG-INFO
writing dependency_links to uamqp.egg-info/dependency_links.txt
writing requirements to uamqp.egg-info/requires.txt
writing top-level names to uamqp.egg-info/top_level.txt
writing manifest file 'uamqp.egg-info/SOURCES.txt'
reading manifest file 'uamqp.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'uamqp.egg-info/SOURCES.txt'
copying uamqp/c_uamqp.c -> 
/build/reproducible-path/azure-uamqp-python-1.6.11/.pybuild/cpython3_3.13/build/uamqp
running build_ext
will build uamqp in build/temp.linux-aarch64-cpython-313/cmake
Building with generator flags: -G "Unix Makefiles"
calling cmake 
/build/reproducible-path/azure-uamqp-python-1.6.11/src/vendor/azure-uamqp-c/ -G 
"Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON  
-Duse_builtin_httpapi:bool=ON  -Dskip_samples:bool=ON 
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release
Re-run cmake no build system arguments
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


- -- The C compiler identification is GNU 14.3.0
- -- The CXX compiler identification is GNU 14.3.0
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Check for working C compiler: /usr/bin/cc - skipped
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Check for working CXX compiler: /usr/bin/c++ - skipped
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
CMake Error at deps/azure-macro-utils-c/CMakeLists.txt:4 
(cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


- -- Configuring incomplete, errors occurred!
Traceback (most recent call last):
  File "/build/reproducible-path/azure-uamqp-python-1.6.11/setup.py", line 253, 
in <module>
    setup(
    ~~~~~^
        name='uamqp',
        ^^^^^^^^^^^^^
    ...<32 lines>...
        python_requires=">=3.7",
        ^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 117, in 
setup
    return distutils.core.setup(**attrs)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 
186, in setup
    return run_commands(dist)
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 
202, in run_commands
    dist.run_commands()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
1002, in run_commands
    self.run_command(cmd)
    ~~~~~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1104, in 
run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
1021, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", 
line 135, in run
    self.run_command(cmd_name)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 357, 
in run_command
    self.distribution.run_command(command)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1104, in 
run_command
    super().run_command(command)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
1021, in run_command
    cmd_obj.run()
    ~~~~~~~~~~~^^
  File "/build/reproducible-path/azure-uamqp-python-1.6.11/setup.py", line 127, 
in run
    self.build_cmake(ext)
    ~~~~~~~~~~~~~~~~^^^^^
  File "/build/reproducible-path/azure-uamqp-python-1.6.11/setup.py", line 176, 
in build_cmake
    subprocess.check_call(joined_cmd, shell=True, universal_newlines=True, 
env=build_env)
    
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'cmake 
/build/reproducible-path/azure-uamqp-python-1.6.11/src/vendor/azure-uamqp-c/ -G 
"Unix Makefiles" -Duse_openssl:bool=ON -Duse_default_uuid:bool=ON  
-Duse_builtin_httpapi:bool=ON  -Dskip_samples:bool=ON 
-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release' returned 
non-zero exit status 1.
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3 setup.py build 
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit 
code 13
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
- 
--------------------------------------------------------------------------------
Build finished at 2025-08-29T14:19:08Z

- 
-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2389148/

The most likely cause of build failures is the removed backwards compatibility 
for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/152413/

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

Thanks,
Timo


-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmwPruYMA35fCsSO/zIxr3RQD9MoFAmi0zVgACgkQzIxr3RQD
9MoX4hAAxPPKatkAR663hkpN3jeLJ3xmF+Cm0GbOM/58mU129ME89csZHfC7HbJh
1kcBUwCG22dzx2gsrxGQBo2NMyZA1bMpD6V9Mu7nWiUukIukDMH1HmLLxI1nhIIX
m7FFLwHd8KaBq3rghCSpztMOmr4tCGYAWX6Nrhq/zn1XIcGyog/HF6++UcEyHAnN
Z5jKmGHBy9VEgrQ3hwMpuGB0HBgtPuJxyyxJNh3CYEbDaWL2YsOJ9Cbf0sOO+N/9
mLPZdSkv65UkP9smhrQQ9Zg3dtZf2rxQ8vKjEXWKApsnSZFm4+xP0mGh4n37I83O
ZgY+xFiSYPf4zCEQjfXyqe3RdHU/WS+rgxGyrQ53mYYJFfRkYLli1MxLbNAfjZdk
fa3yvGWk4+iV+syD7X2r6DvcpOzr14HBGEHcSOpYtXNuR+5EyV6wGR/BLcZeMyX/
9KS+h+tpppAoqvCDo0kFgaFNFSKAjRXOc9YLwEwOHo6dkTgvNzLwEz37k/ejvBZ/
QbW9qEJEarHA9Wtkm8SpSC4gApw1yS0d7+W0am8Wukk+EO0+IwmIehNwp/I/7fJ9
VZcaghkZbxu+2BmCtViuiG7fjVotKvAt8mDL130sikGNhlE7brF9RllTDSPkw+BO
agJ7UbLiZ8Kr0d1ZN6TIAdMeUjo5mbS8v9Veu8rtNEHIXxe2Gio=
=XkuI
-----END PGP SIGNATURE-----

Reply via email to