Your message dated Mon, 01 Aug 2016 17:24:17 +0000
with message-id <e1bugwr-0005gp...@franck.debian.org>
and subject line Bug#811953: fixed in python-cffi 1.7.0-1
has caused the Debian Bug report #811953,
regarding python-cffi: FTBFS with GCC 6: left shift of negative value
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.)
--
811953: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811953
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-cffi
Version: 1.4.2-2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-shift-negative-value
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> building 'verify209' extension
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fstack-protector-strong
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
> -I/usr/include/python2.7 -c verify209.c -o ./verify209.o -Werror -Wall
> -Wextra -Wconversion
> ----------------------------- Captured stderr call
> -----------------------------
> verify209.c: In function '_cffi_const_BB':
> verify209.c:437:34: error: left shift of negative value
> [-Werror=shift-negative-value]
> *o = (unsigned long long)((BB) << 0); /* check that BB is an integer */
> ^~
>
> cc1: all warnings being treated as errors
> __________________________ test_global_const_int_size
> __________________________
>
> def test_global_const_int_size():
> # integer constants: ignore the declared type, always just use the
> value
> for value in [-2**63, -2**31, -2**15,
> 2**15-1, 2**15, 2**31-1, 2**31, 2**32-1, 2**32,
> 2**63-1, 2**63, 2**64-1]:
> ffi = FFI()
> if value == int(ffi.cast("long long", value)):
> if value < 0:
> vstr = '(-%dLL-1)' % (~value,)
> else:
> vstr = '%dLL' % value
> elif value == int(ffi.cast("unsigned long long", value)):
> vstr = '%dULL' % value
> else:
> raise AssertionError(value)
> ffi.cdef("static const unsigned short AA;")
> > lib = ffi.verify("#define AA %s\n" % vstr)
>
> testing/cffi1/test_verify1.py:678:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> testing/cffi1/test_verify1.py:41: in verify
> **kwds)
> cffi/recompiler.py:1356: in _verify
> outputfilename = recompile(ffi, module_name, preamble, *args, **kwds)
> cffi/recompiler.py:1334: in recompile
> outputfilename = ffiplatform.compile('.', ext, compiler_verbose)
> cffi/ffiplatform.py:29: in compile
> outputfilename = _build(tmpdir, ext, compiler_verbose)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> tmpdir = '.', ext = <distutils.extension.Extension instance at 0x7faeb0d68560>
> compiler_verbose = 1
>
> def _build(tmpdir, ext, compiler_verbose=0):
> # XXX compact but horrible :-(
> from distutils.core import Distribution
> import distutils.errors, distutils.log
> #
> dist = Distribution({'ext_modules': [ext]})
> dist.parse_config_files()
> options = dist.get_option_dict('build_ext')
> options['force'] = ('ffiplatform', True)
> options['build_lib'] = ('ffiplatform', tmpdir)
> options['build_temp'] = ('ffiplatform', tmpdir)
> #
> try:
> old_level = distutils.log.set_threshold(0) or 0
> try:
> distutils.log.set_verbosity(compiler_verbose)
> dist.run_command('build_ext')
> finally:
> distutils.log.set_threshold(old_level)
> except (distutils.errors.CompileError,
> distutils.errors.LinkError) as e:
> > raise VerificationError('%s: %s' % (e.__class__.__name__, e))
> E VerificationError: CompileError: command 'x86_64-linux-gnu-gcc'
> failed with exit status 1
>
> cffi/ffiplatform.py:60: VerificationError
> ----------------------------- Captured stdout call
> -----------------------------
> running build_ext
> building 'verify210' extension
> x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fstack-protector-strong
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
> -I/usr/include/python2.7 -c verify210.c -o ./verify210.o -Werror -Wall
> -Wextra -Wconversion
> ----------------------------- Captured stderr call
> -----------------------------
> verify210.c: In function '_cffi_const_AA':
> verify210.c:426:34: error: left shift of negative value
> [-Werror=shift-negative-value]
> *o = (unsigned long long)((AA) << 0); /* check that AA is an integer */
> ^~
>
> cc1: all warnings being treated as errors
--- End Message ---
--- Begin Message ---
Source: python-cffi
Source-Version: 1.7.0-1
We believe that the bug you reported is fixed in the latest version of
python-cffi, 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 811...@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 python-cffi 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: Mon, 01 Aug 2016 12:52:35 -0400
Source: python-cffi
Binary: python-cffi python-cffi-backend python-cffi-backend-dbg python3-cffi
python3-cffi-backend python3-cffi-backend-dbg
Architecture: source
Version: 1.7.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Description:
python-cffi - Foreign Function Interface for Python calling C code
python-cffi-backend - Foreign Function Interface for Python calling C code -
backend
python-cffi-backend-dbg - Foreign Function Interface for Python calling C code
(Debug versi
python3-cffi - Foreign Function Interface for Python 3 calling C code
python3-cffi-backend - Foreign Function Interface for Python 3 calling C code
- runtime
python3-cffi-backend-dbg - Foreign Function Interface for Python 3 calling C
code (Debug ver
Closes: 811953
Changes:
python-cffi (1.7.0-1) unstable; urgency=medium
.
* New upstream release. (Closes: #811953)
Checksums-Sha1:
5b78408b50e195c1dc74c3cd9dbf7321c2056ba7 2533 python-cffi_1.7.0-1.dsc
d8033f34e17c0c51bb834b27f6e8c59fc24ae72c 400251 python-cffi_1.7.0.orig.tar.gz
20b173fdb4be5db06f05aeff702a2d9ccc17741d 5568 python-cffi_1.7.0-1.debian.tar.xz
Checksums-Sha256:
ad708dffaa33a3c76f21231f9a5d9da14b916976c79d0b0e5fa24e3e711f95e4 2533
python-cffi_1.7.0-1.dsc
6ed5dd6afd8361f34819c68aaebf9e8fc12b5a5893f91f50c9e50c8886bb60df 400251
python-cffi_1.7.0.orig.tar.gz
68cb65bea24297140b0bdd73b0479331a8286d544cfafcb06f67ee2630045cc9 5568
python-cffi_1.7.0-1.debian.tar.xz
Files:
82fae295b73b2718fd4dcf9cb1fdb604 2533 python optional python-cffi_1.7.0-1.dsc
34122a545060cee58bab88feab57006d 400251 python optional
python-cffi_1.7.0.orig.tar.gz
5853776c0a0c879be2351dde7c40526b 5568 python optional
python-cffi_1.7.0-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCgAGBQJXn35wAAoJEOrxkryqPw9RaO8IAIVHYEbzUIi8gafzUMPN9qYm
brCFhx11coLd84XsTOjxfah2zOmdrO/5LbUiYL5mXh4WxgFF5cglrREe+A7uuZBb
VN7RTZN2I7nOsCSGhWDvb396d/9cpVQJF3lNOgL796niWahh9vQOIkPPyv+t+E5X
n0UaO53gAk8C5D/vDJVys2tMVnjsVoGHfkGYOx7WQe4Gwz/C/Uiv7RSt38tgeYjY
TC0mTN6erCsWAVn3xp4YXteOXewkCzpEoL6dyp1IKtMgQfybdRAsSoDLraxb5BUe
zYfSoTAEdJLzNEzYAlXaWs6VI2T1JDkyVgE7TWcERTyh+eE8jq9Gvy6rEgtU/18=
=brMU
-----END PGP SIGNATURE-----
--- End Message ---