Your message dated Fri, 11 Nov 2022 19:19:16 +0000
with message-id <e1otzya-00cgam...@fasolo.debian.org>
and subject line Bug#1020135: fixed in numpy 1:1.21.5-2
has caused the Debian Bug report #1020135,
regarding numpy: FTBFS: AttributeError: 'UnixCCompiler' object has no attribute 
'cxx_compiler'
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 ow...@bugs.debian.org
immediately.)


-- 
1020135: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020135
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: numpy
Version: 1:1.21.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> <string>:1: DeprecationWarning: The distutils package is deprecated and 
> slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
> potential alternatives
> py3versions: no X-Python3-Version in control file, using supported versions
> dh_auto_build
>       pybuild --build -i python{version} -p 3.10
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /<<PKGBUILDDIR>>/setup.py:63: RuntimeWarning: NumPy 1.21.5 may not yet 
> support Python 3.10.
>   warnings.warn(
> Running from numpy source directory.
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning: 
> Distutils was imported before Setuptools, but importing Setuptools also 
> replaces the `distutils` module in `sys.modules`. This may lead to 
> undesirable behaviors or errors. To avoid these issues, avoid using distutils 
> directly, ensure that setuptools is installed in the traditional way (e.g. 
> not an editable install), and/or make sure that setuptools is always imported 
> before distutils.
>   warnings.warn(
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning: 
> Setuptools is replacing distutils.
>   warnings.warn("Setuptools is replacing distutils.")
> /<<PKGBUILDDIR>>/tools/cythonize.py:69: DeprecationWarning: The distutils 
> package is deprecated and slated for removal in Python 3.12. Use setuptools 
> or check PEP 632 for potential alternatives
>   from distutils.version import LooseVersion
> numpy/random/_bounded_integers.pxd.in has not changed
> numpy/random/_sfc64.pyx has not changed
> numpy/random/_philox.pyx has not changed
> numpy/random/_pcg64.pyx has not changed
> numpy/random/_bounded_integers.pyx.in has not changed
> numpy/random/_generator.pyx has not changed
> Processing numpy/random/_bounded_integers.pyx
> numpy/random/bit_generator.pyx has not changed
> numpy/random/_common.pyx has not changed
> numpy/random/mtrand.pyx has not changed
> numpy/random/_mt19937.pyx has not changed
> /<<PKGBUILDDIR>>/numpy/distutils/system_info.py:2027: UserWarning: 
>     Optimized (vendor) Blas libraries are not found.
>     Falls back to netlib Blas library which has worse performance.
>     A better performance should be easily gained by switching
>     Blas library.
>   if self._calc_info(blas):
> Warning: attempted relative import with no known parent package
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:262: 
> UserWarning: Unknown distribution option: 'define_macros'
>   warnings.warn(msg)
> Cythonizing sources
> non-existing path in 'numpy/distutils': 'site.cfg'
> running build
> running config_cc
> running config_fc
> running build_src
> creating build
> creating build/src.linux-x86_64-3.10
> creating build/src.linux-x86_64-3.10/numpy
> creating build/src.linux-x86_64-3.10/numpy/distutils
> x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv 
> -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g 
> -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fPIC -Inumpy/core/src/common -Inumpy/core/src 
> -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray 
> -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd 
> -I/usr/include/python3.10 -c _configtest.c -o _configtest.o
> x86_64-linux-gnu-gcc _configtest.o -o _configtest
> success!
> removing: _configtest.c _configtest.o _configtest.o.d _configtest
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/setup.py", line 448, in <module>
>     setup_package()
>   File "/<<PKGBUILDDIR>>/setup.py", line 440, in setup_package
>     setup(**metadata)
>   File "/<<PKGBUILDDIR>>/numpy/distutils/core.py", line 169, in setup
>     return old_setup(**new_attr)
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 87, in 
> setup
>     return distutils.core.setup(**attrs)
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 
> 185, in setup
>     return run_commands(dist)
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 
> 201, in run_commands
>     dist.run_commands()
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
> 973, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in 
> run_command
>     super().run_command(command)
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
> 992, in run_command
>     cmd_obj.run()
>   File "/<<PKGBUILDDIR>>/numpy/distutils/command/build.py", line 61, in run
>     old_build.run(self)
>   File 
> "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py", line 
> 132, in run
>     self.run_command(cmd_name)
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 
> 319, in run_command
>     self.distribution.run_command(command)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1217, in 
> run_command
>     super().run_command(command)
>   File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 
> 992, in run_command
>     cmd_obj.run()
>   File "/<<PKGBUILDDIR>>/numpy/distutils/command/build_src.py", line 144, in 
> run
>     self.build_sources()
>   File "/<<PKGBUILDDIR>>/numpy/distutils/command/build_src.py", line 155, in 
> build_sources
>     self.build_library_sources(*libname_info)
>   File "/<<PKGBUILDDIR>>/numpy/distutils/command/build_src.py", line 288, in 
> build_library_sources
>     sources = self.generate_sources(sources, (lib_name, build_info))
>   File "/<<PKGBUILDDIR>>/numpy/distutils/command/build_src.py", line 378, in 
> generate_sources
>     source = func(extension, build_dir)
>   File "/<<PKGBUILDDIR>>/numpy/core/setup.py", line 677, in get_mathlib_info
>     config_cmd.compiler = bk_c.cxx_compiler()
> AttributeError: 'UnixCCompiler' object has no attribute 'cxx_compiler'
> E: pybuild pybuild:379: 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.10 returned 
> exit code 13
> make[1]: *** [debian/rules:18: override_dh_auto_build-arch] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/numpy_1.21.5-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: numpy
Source-Version: 1:1.21.5-2
Done: Stefano Rivera <stefa...@debian.org>

We believe that the bug you reported is fixed in the latest version of
numpy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1020...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefa...@debian.org> (supplier of updated numpy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 11 Nov 2022 21:03:10 +0200
Source: numpy
Architecture: source
Version: 1:1.21.5-2
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <mo...@debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 1020135
Changes:
 numpy (1:1.21.5-2) unstable; urgency=medium
 .
   [ Stefano Rivera]
   * Team upload.
 .
   [ Sandro Tosi ]
   * debian/rules
     - set SETUPTOOLS_USE_DISTUTILS=stdlib to ensure compatibility with
       setuptools >= 60.0.0; Thanks to Jochen Sprickerhof; Closes: #1020135
 .
   [ Graham Inggs ]
   * Use `Py_SET_TYPE` macro instead of assigning to `Py_TYPE` for
     compatibility with Python 3.11.
Checksums-Sha1:
 72c97cb4168b23a0e9fa2132a9633e9b017134c7 2307 numpy_1.21.5-2.dsc
 4cab94d45aa8823ad5b183a6a20145142c4d90fa 30932 numpy_1.21.5-2.debian.tar.xz
 9dc14a891919779282dd0999a6d2a78a8ca473d3 12791 numpy_1.21.5-2_source.buildinfo
Checksums-Sha256:
 cdaefd475dfb87fbcdf724714ed6069840980d09874a297dafd478a5646947ce 2307 
numpy_1.21.5-2.dsc
 fd821f531c561cf9e46b63a47fc3ef1ac729438c6375f19f7f47085709c9b1b4 30932 
numpy_1.21.5-2.debian.tar.xz
 3173ca9dddcabf4e9d0c8d46ffc163e26bcf561dc3946d16a19c69d0ce93dad7 12791 
numpy_1.21.5-2_source.buildinfo
Files:
 145f63d1da6fd29191ef25d89f415a9e 2307 python optional numpy_1.21.5-2.dsc
 b9e6eed82cd4b3386ec8eec77efd3e39 30932 python optional 
numpy_1.21.5-2.debian.tar.xz
 35f984ee072f603364cd633729b60605 12791 python optional 
numpy_1.21.5-2_source.buildinfo

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

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCY26cpxQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2CdXAQDZRBMkp2nZwg31zuEya4yCWNoz4pIK
ZLWh9Ey0CLlVqAEAjmoN9BOfaAVfR6uQl9S63FToznzY8TWvwtG+a5aoJw8=
=Iwf/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to