Your message dated Sun, 16 Jul 2023 08:35:12 +0000
with message-id <[email protected]>
and subject line Bug#1033365: fixed in 0ad 0.0.26-4
has caused the Debian Bug report #1033365,
regarding 0ad: Build fails if python3-setuptools is installed
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 [email protected]
immediately.)
--
1033365: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033365
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: 0ad
Version: 0.0.26-3
Severity: normal
If the user has python3-setuptools, version 58.3.0 or higher, installed
in a Debian sid build environment when building 0ad then build fails.
To confirm that python3-setuptools is a minimal case for reproduction of
symptoms, I also tested build of 0ad without python3-setuptools, but
with each of the dependency packages of python3-setuptools. In that case
build was successful. I have also tested with python3-setuptools
versions 58.2.0-1 and 52.0.0-4, and build of 0ad was successful with
those versions. I used matching versions of python3-pkg-resources for
the tests.
I think that the cause of the failure to build 0ad with
python3-setuptools version >= 58.3.0 is that easyinstall was deprecated
in python3-setuptools on 2021-10-22. Version 58.3.0 is the next upstream
release after that.
Steps to reproduce:
# sbuild-createchroot sid /path/to/chroot/sid [debian mirror]
# cd /
# schroot -c source:sid-amd64-sbuild
# mkdir /home/myusername (replace "myusername" with your primary
username outside the chroot)
# cp -r /etc/skel/. /home/myusername
# chown -R myusername:myusername /home/myusername
# chmod g+ws /home/myusername
# chmod o-rx /home/myusername
# apt-get update
# apt-get install --no-install-recommends python3-setuptools
(installs several packages, but the only packages that would not
otherwise be installed by `apt-get build-dep 0ad` are:
python3-pkg-resources python3-setuptools)
# dpkg --status python3-setuptools | grep '^Version'
(output is Version: 66.1.1-1)
# dpkg --status python3-pkg-resources | grep '^Version'
(output is Version: 66.1.1-1)
# exit
$ sbuild -d sid-amd64-sbuild 0ad_0.0.26-3
Excerpt of output from steps to reproduce:
patching file python/mozbuild/mozbuild/preprocessor.py
patching file python/mozbuild/mozbuild/util.py
Creating Python 3 environment
/usr/lib/python3/dist-packages/setuptools/command/install.py:34:
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build
and pip and other standards-based tools.
warnings.warn(
created virtual environment CPython3.11.2.final.0-64 in 239ms
creator
CPython3Posix(dest=/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3,
clear=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle,
wheel=bundle, via=copy, app_data_dir=/tmp/tmppfskju67)
added seed packages: pip==20.2.2, setuptools==49.6.0, wheel==0.35.1
activators
BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
[...]
Job: 0ad_0.0.26-3
Machine Architecture: amd64
Package: 0ad
Source-Version: 0.0.26-3
Status: attempted
Version: 0.0.26-3
E: Build failure (dpkg-buildpackage died)
Solutions:
Option 1. We look for a root cause and fix the bug that causes build
failure if the user happens to have python3-setuptools installed. An
idea would be to configure the virtualenv to use the builtin version of
python3-setuptools.
Option 2. Alternatively, we add "Build-Conflicts: python3-setuptools (>=
58.3.0)" to the control file of the Debian package of 0ad.
I'll send the latter fix, probably via Salsa.
--- End Message ---
--- Begin Message ---
Source: 0ad
Source-Version: 0.0.26-4
Done: Vincent Cheng <[email protected]>
We believe that the bug you reported is fixed in the latest version of
0ad, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Cheng <[email protected]> (supplier of updated 0ad 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 16 Jul 2023 00:13:32 -0700
Source: 0ad
Built-For-Profiles: noudeb
Architecture: source
Version: 0.0.26-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Vincent Cheng <[email protected]>
Closes: 1033365 1037564
Changes:
0ad (0.0.26-4) unstable; urgency=medium
.
[ Vincent Cheng ]
* Fix FTBFS with gcc 13. (Closes: #1037564)
.
[ David W. Kennedy ]
* Add Build-Conflicts: python3-setuptools (>= 58.3.0) to avoid mozjs FTBFS.
(Closes: #1033365)
Checksums-Sha1:
c1fedd6df1da1aa5ca19ba96f9d31678fc61aff3 2613 0ad_0.0.26-4.dsc
f992e934794f64138dae2718d4a7bf0dcabfc746 5083728 0ad_0.0.26-4.debian.tar.xz
Checksums-Sha256:
dab15679f169bc9885128f8001fe6f2cf81b62f7155980279eba8cbb81b5991b 2613
0ad_0.0.26-4.dsc
c1135c5ebe413c53a65a2d80e2b420deaef65bae3e90ad5173f5eee847d69626 5083728
0ad_0.0.26-4.debian.tar.xz
Files:
a347e40bd5c58c62461c88ea8cdbda69 2613 games optional 0ad_0.0.26-4.dsc
0e1faf0dcc97a8e8607a493852d82b6f 5083728 games optional
0ad_0.0.26-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE1TqBWjy3ZZr4guOVju3MG6ofMv8FAmSznbwACgkQju3MG6of
Mv85ag//QCmd+hu8xo/915ayzVDhMxGd5muODsPNz9zd3eOA07GqF5ryEqLXYBbI
8mjeXjYMviRRopZhKM7Mbgham59aW9/03smm4UHg1XxfnYBIoK5hRDUXnnKYmjU4
gokATq8TuR3QE141n3DHxcBhpx7rY7EdVNeQw/5irhm8YhDqR7tYdh+hHjgggGAr
vydHkk39yuSDZchCSAZ9kUZ9DEESmqSXAP/AfaM5OTUhk/xLGh5I6OXqj6RCr/xi
Jm9zndWGAguzDhfIiDZAd2FyJIALJPsrokxp3or9ZuZfROCx6WS6E4rn+JMjfzO+
hsH+gf4v7AgzstFsqURI2qZJWwFi3kpsUpUETzzPAHEcpI/Qh/yPxqymQZlMPWR3
0JD/QmQLF+zZX1DYikfeh45GGM080Uc4PDO1F/Dz9i7L7qfgkwx6jKoOdnml7hhx
Pf4Pf5OgRtqz5wTu8deTHPWQ8o9Z8j5+KT7R6ukN7umAVUegKK6kGns3X1z6woGG
zcSyRIatSKekfbgg7lr2GVyq99/ijjMQGnqrY/uOD7ZW+R1n70HnS2KLbB1TSTqt
QQOZWT75sNNNDktLi5LL+WsEOnE6C7TkpVPv3ZkV8JZfuhSXLmVAEwvQUSD62RsD
dL3QGw4YJThul/R7AVrklV2ddBDr/Yc3LFjFARIHzXFLbzgksZw=
=pI3S
-----END PGP SIGNATURE-----
--- End Message ---