Bug#853624: pytango: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:35:17 UTC 2017
Package: src:pytango
Version: 9.2.0-2
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/pytango_9.2.0-2_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html
[...]
copying tango/tango_futures.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango
copying tango/client.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango
copying tango/futures.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango
copying tango/globals.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango
copying tango/green.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango
copying tango/pipe_data.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango/databaseds
copying tango/databaseds/database.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango/databaseds
copying tango/databaseds/db_errors.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango/databaseds
copying tango/databaseds/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango/databaseds
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango/databaseds/db_access
copying tango/databaseds/db_access/beacon.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango/databaseds/db_access
copying tango/databaseds/db_access/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango/databaseds/db_access
copying tango/databaseds/db_access/sqlite3.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/tango/databaseds/db_access
running build_ext
Traceback (most recent call last):
File "setup.py", line 531, in <module>
main()
File "setup.py", line 528, in main
return setup(**setup_args())
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 172, in run
dftbuild.run(self)
File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
self.run_command(cmd_name)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/build_ext.py", line 75, in run
_build_ext.run(self)
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "setup.py", line 231, in build_extensions
if V(gcc_ver) >= V("4.3.3"):
File "/usr/lib/python2.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/lib/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '7'
E: pybuild pybuild:283: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build
dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the debian-science-maintainers
mailing list