Bug#1037695: iminuit: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:25:43 BST 2023
Package: src:iminuit
Version: 2.11.2-4
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/iminuit_2.11.2-4_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html
[...]
35 | cfcn_t cfcn_ = nullptr;
| ^~~~~~
/<<PKGBUILDDIR>>/src/fcn.cpp: In constructor ‘FCN::FCN(pybind11::object, pybind11::object, bool, double)’:
/<<PKGBUILDDIR>>/src/fcn.cpp:23:5: error: ‘cfcn_’ was not declared in this scope; did you mean ‘fcn_’?
23 | cfcn_ = reinterpret_cast<cfcn_t>(address);
| ^~~~~
| fcn_
/<<PKGBUILDDIR>>/src/fcn.cpp:23:30: error: ‘cfcn_t’ does not name a type
23 | cfcn_ = reinterpret_cast<cfcn_t>(address);
| ^~~~~~
/<<PKGBUILDDIR>>/src/fcn.cpp: In member function ‘virtual double FCN::operator()(const std::vector<double>&) const’:
/<<PKGBUILDDIR>>/src/fcn.cpp:31:9: error: ‘cfcn_’ was not declared in this scope; did you mean ‘fcn_’?
31 | if (cfcn_) {
| ^~~~~
| fcn_
gmake[4]: *** [CMakeFiles/_core.dir/build.make:149: CMakeFiles/_core.dir/src/functionminimum_extra.cpp.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: *** [CMakeFiles/_core.dir/build.make:121: CMakeFiles/_core.dir/src/fcn.cpp.o] Error 1
gmake[4]: *** [CMakeFiles/_core.dir/build.make:135: CMakeFiles/_core.dir/src/functionminimum.cpp.o] Error 1
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
gmake[3]: *** [CMakeFiles/Makefile2:103: CMakeFiles/_core.dir/all] Error 2
gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
gmake[2]: *** [Makefile:94: all] Error 2
gmake[2]: Leaving directory '/<<PKGBUILDDIR>>/build/temp.linux-x86_64-cpython-311'
cmake args: -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_iminuit/build/iminuit/ -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON
build args: --config Release -j8
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 10, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 108, 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 969, in run_commands
self.run_command(cmd)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1213, in run_command
super().run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
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 318, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1213, in run_command
super().run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py", line 468, in build_extensions
self._build_extensions_serial()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/command/build_ext.py", line 494, in _build_extensions_serial
self.build_extension(ext)
File "/<<PKGBUILDDIR>>/cmake_ext.py", line 82, in build_extension
subprocess.check_call(
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '-j8']' returned non-zero exit status 2.
E: pybuild pybuild:388: 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.11 returned exit code 13
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list