Your message dated Thu, 19 Jan 2023 12:49:13 +0000
with message-id <e1piulx-00djwc...@fasolo.debian.org>
and subject line Bug#1015600: fixed in python-pyxattr 0.8.0-1
has caused the Debian Bug report #1015600,
regarding python-pyxattr: ftbfs with LTO (link time optimization) enabled
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.)


-- 
1015600: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015600
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-pyxattr
Version: 0.7.2-2
Severity: minor
Tags: sid bookworm
User: debian-...@lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/python-pyxattr_0.7.2-2_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
dh_auto_clean
I: pybuild base:239: python3.9 setup.py clean 
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyxattr/build' (and everything 
under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.9' does not exist -- can't clean it
I: pybuild base:239: python3.10 setup.py clean 
/<<PKGBUILDDIR>>/setup.py:3: DeprecationWarning: The distutils package is 
deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 
632 for potential alternatives
  import distutils
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyxattr/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.10' does not exist -- can't clean it
/usr/bin/make clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf doc/html doc/doctrees
rm -f doc/readme.md doc/news.rst
rm -f xattr.so
rm -f *.so
rm -rf build
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:239: python3.9 setup.py config 
running config
I: pybuild base:239: python3.10 setup.py config 
/<<PKGBUILDDIR>>/setup.py:3: DeprecationWarning: The distutils package is 
deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 
632 for potential alternatives
  import distutils
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:239: /usr/bin/python3.9 setup.py build 
running build
running build_ext
building 'xattr' extension
creating build
creating build/temp.linux-x86_64-3.9
x86_64-linux-gnu-gcc -pthread -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>>=. -flto=auto 
-ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -D_XATTR_VERSION="0.7.2" -D_XATTR_AUTHOR="Iustin Pop" 
-D_XATTR_EMAIL="ius...@k1024.org" -I/usr/include/python3.9 -c xattr.c -o 
build/temp.linux-x86_64-3.9/xattr.o -Wall -Werror -Wsign-compare
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g 
-fwrapv -O2 -flto=auto -ffat-lto-objects 
-specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-3.9/xattr.o -o 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyxattr/build/xattr.cpython-39-x86_64-linux-gnu.so
/usr/bin/ld: /tmp/ccMfwT33.ltrans0.ltrans.o: relocation R_X86_64_32 against 
`.rodata.str1.1' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:369: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.9 setup.py build 
I: pybuild base:239: /usr/bin/python3 setup.py build 
/<<PKGBUILDDIR>>/setup.py:3: DeprecationWarning: The distutils package is 
deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 
632 for potential alternatives
  import distutils
running build
running build_ext
building 'xattr' extension
creating build/temp.linux-x86_64-3.10
x86_64-linux-gnu-gcc -pthread -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>>=. -flto=auto 
-ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -D_XATTR_VERSION="0.7.2" -D_XATTR_AUTHOR="Iustin Pop" 
-D_XATTR_EMAIL="ius...@k1024.org" -I/usr/include/python3.10 -c xattr.c -o 
build/temp.linux-x86_64-3.10/xattr.o -Wall -Werror -Wsign-compare
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g 
-fwrapv -O2 -flto=auto -ffat-lto-objects 
-specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects 
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-3.10/xattr.o -o 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pyxattr/build/xattr.cpython-310-x86_64-linux-gnu.so
/usr/bin/ld: /tmp/ccdUrLdw.ltrans0.ltrans.o: relocation R_X86_64_32 against 
`.rodata.str1.1' can not be used when making a shared object; recompile with 
-fPIC
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:369: 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.9 3.10" returned 
exit code 13
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: python-pyxattr
Source-Version: 0.8.0-1
Done: Iustin Pop <ius...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-pyxattr, 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 1015...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Iustin Pop <ius...@debian.org> (supplier of updated python-pyxattr 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: Thu, 19 Jan 2023 12:44:31 +0100
Source: python-pyxattr
Architecture: source
Version: 0.8.0-1
Distribution: unstable
Urgency: medium
Maintainer: Iustin Pop <ius...@debian.org>
Changed-By: Iustin Pop <ius...@debian.org>
Closes: 986191 1015600
Changes:
 python-pyxattr (0.8.0-1) unstable; urgency=medium
 .
   * New upstream version, one memory leak on an error path and otherwise
     trivial changes.
   * Bump standards version (no changes needed, AFACIS).
   * Re-enable pie, since it now builds correctly with it (Closes: #986191).
   * Enable LTO, looks like more recent Python allows building with it
     (Closes: #1015600).
Checksums-Sha1:
 993b196a3ec93a953d418e6d38a8d169f6fe0c8f 2400 python-pyxattr_0.8.0-1.dsc
 f10997d877c955162696a81819a4454e7a21df22 35720 python-pyxattr_0.8.0.orig.tar.gz
 75ca1c20a71675f9c0df53d0051947f04b4041d3 833 
python-pyxattr_0.8.0.orig.tar.gz.asc
 5b2f0269c48335320041a8765011a42c85291f0d 8968 
python-pyxattr_0.8.0-1.debian.tar.xz
 28b120a5168a3b9106ec96f28e65640f08cdbb63 9331 
python-pyxattr_0.8.0-1_source.buildinfo
Checksums-Sha256:
 37b8b6a2681c176247269e1c24a5cddeb7bae3e0bbf78a8a5a83cdb4591daaf7 2400 
python-pyxattr_0.8.0-1.dsc
 7bf40cec5ae93dd656128717dbd268cfc3b3b28d95536d7886776c94fa267855 35720 
python-pyxattr_0.8.0.orig.tar.gz
 6f19625c36ffeb1ce028ed7c7e08940f225c8e9ee2540b94130983154599a706 833 
python-pyxattr_0.8.0.orig.tar.gz.asc
 7026ecfad9be2a9c66d4eb9fab1401e46a493dc3701b02d5bcfd5b48e67a6b29 8968 
python-pyxattr_0.8.0-1.debian.tar.xz
 6acb155374dd24de3a07dd51d1ce548825c35e7be1400648744289487907f458 9331 
python-pyxattr_0.8.0-1_source.buildinfo
Files:
 17f43ab76ab41e8d0e5adf5515b96fcb 2400 python optional 
python-pyxattr_0.8.0-1.dsc
 a64dd127c266e7678e378c6ac47716ac 35720 python optional 
python-pyxattr_0.8.0.orig.tar.gz
 1fa4eb3725dc346c8078bf3fe88e0d8a 833 python optional 
python-pyxattr_0.8.0.orig.tar.gz.asc
 3ca63bf07ad7518a25341a643924f768 8968 python optional 
python-pyxattr_0.8.0-1.debian.tar.xz
 59126399b809de8dea928b27806c067d 9331 python optional 
python-pyxattr_0.8.0-1_source.buildinfo

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

iQJGBAEBCgAwFiEEy5TjqjsXVdYeuxml9m4+QZ+E9N4FAmPJOLYSHGl1c3RpbkBk
ZWJpYW4ub3JnAAoJEPZuPkGfhPTemqEP/RvcCpfsl2CjUsKOIA2mzj2qDs2halTy
fM3hVgrOYmq2MkwUuqeHozHHVkj7sA+ledLlgPuT9Tqx3GEP+Ni9AtyE11WpJXVe
4irho/R5c3OyeZdIDidLSFnfd9lOs58AWGaAt57GQ+swXlwy8Ouialu20c7/lliV
bke3KgeoArpj2YZeDvbxHLDfkDuRrPVIoU3o03MCD5uhtf0iKNlw6W08sA3VkZOV
n+WUz9Z3i8nQ7GHiqYlclKVuoyBNowtG6BWy8rrDQKAj71UyLTmQMiHsniJdE/hW
BSNFIDKbgZOCaN3GVrwoXFTSKyD/JegMugHDVEt1RACo4iPGm70xVqG73QQidXEO
AD2fRACsXmCt+RXI8/VVsu7buPE9/rAfclYYxOe2mrRVnpDXzwc7MPHN3HBOFWiS
dvC9UbH2aqZAUXhvZb55WKm/MJi5Rx9mKXW9UhvYuYlqiXxV2xBCpxioK10YxI0H
om+Qzg43vs7zJcNm+dbqkBHGK9WTr95gRd4Be/O/ocj7+jYeHlg/2GVxNOyfI7Yh
XLM4oGbA8LbDufcxjMytxWvBk3ql6aRm3QHFdoDGKGwzXz5td7XEHKk9LGb9waEo
hMVdOSqq1uQeH+G+dBW7sEmoN6Tucm1iLsIyhrzFyyM5iXtqvnI3ho13fZdK6VhI
9p5jOUMu9Pnb
=xo8f
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to