Your message dated Fri, 18 Oct 2024 21:04:33 +0000
with message-id <[email protected]>
and subject line Bug#1064726: fixed in 0ad 0.0.26-6
has caused the Debian Bug report #1064726,
regarding 0ad: FTBFS: ImportError: cannot import name 'dist' from 'distutils' 
(/usr/lib/python3.11/distutils/__init__.py)
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.)


-- 
1064726: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064726
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: 0ad
Version: 0.0.26-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240224 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> Creating Python 3 environment
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv.py",
>  line 46, in <module>
>     run()
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv.py",
>  line 40, in run
>     from virtualenv.__main__ import run as run_virtualenv
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv/__init__.py",
>  line 3, in <module>
>     from .run import cli_run, session_via_cli
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv/run/__init__.py",
>  line 12, in <module>
>     from .plugin.creators import CreatorSelector
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv/run/plugin/creators.py",
>  line 6, in <module>
>     from virtualenv.create.via_global_ref.builtin.builtin_way import 
> VirtualenvBuiltin
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv/create/via_global_ref/builtin/builtin_way.py",
>  line 7, in <module>
>     from virtualenv.create.creator import Creator
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv/create/creator.py",
>  line 15, in <module>
>     from virtualenv.discovery.cached_py_info import LogCmd
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv/discovery/cached_py_info.py",
>  line 16, in <module>
>     from virtualenv.discovery.py_info import PythonInfo
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/third_party/python/virtualenv/virtualenv/discovery/py_info.py",
>  line 16, in <module>
>     from distutils import dist
> ImportError: cannot import name 'dist' from 'distutils' 
> (/usr/lib/python3.11/distutils/__init__.py)
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/../js/src/../../configure.py",
>  line 181, in <module>
>     sys.exit(main(sys.argv))
>              ^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/../js/src/../../configure.py",
>  line 52, in main
>     sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 445, in run
>     self.include_file(path)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 436, in include_file
>     exec_(code, self)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/util.py",
>  line 53, in exec_
>     exec(object, globals, locals)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/moz.configure", 
> line 7, in <module>
>     include('build/moz.configure/init.configure')
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 773, in include_impl
>     self.include_file(what)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 436, in include_file
>     exec_(code, self)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/util.py",
>  line 53, in exec_
>     exec(object, globals, locals)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/build/moz.configure/init.configure",
>  line 242, in <module>
>     @depends('PYTHON3', check_build_environment, mozconfig, '--help')
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 756, in decorator
>     depends = DependsFunction(self, func, dependencies, when=when)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 129, in __init__
>     sandbox._value_for(self)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 542, in _value_for
>     return self._value_for_depends(obj)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/util.py",
>  line 1020, in method_call
>     cache[args] = self.func(instance, *args)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 551, in _value_for_depends
>     value = obj.result()
>             ^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/util.py",
>  line 1020, in method_call
>     cache[args] = self.func(instance, *args)
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 155, in result
>     return self._func(*resolved_args)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/configure/__init__.py",
>  line 1161, in wrapped
>     return new_func(*args, **kwargs)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/build/moz.configure/init.configure",
>  line 357, in virtualenv_python3
>     manager.build(python)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/virtualenv.py",
>  line 486, in build
>     self.create(python)
>   File 
> "/<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/python/mozbuild/mozbuild/virtualenv.py",
>  line 249, in create
>     raise Exception(
> Exception: Failed to create virtualenv: 
> /<<PKGBUILDDIR>>/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3
>  (virtualenv.py retcode: 1)
> ERROR: SpiderMonkey build failed
> make[1]: *** [debian/rules:40: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/02/24/0ad_0.0.26-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: 0ad
Source-Version: 0.0.26-6
Done: Olivier Tilloy <[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.
Olivier Tilloy <[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: Thu, 18 Oct 2024 20:30:00 +0200
Source: 0ad
Architecture: source
Version: 0.0.26-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <[email protected]>
Changed-By: Olivier Tilloy <[email protected]>
Closes: 1064726 1076685 1085385
Changes:
 0ad (0.0.26-6) unstable; urgency=medium
 .
   [ Olivier Tilloy ]
   * Fix FTBFS with Python 3.12. (Closes: #1085385)
     - d/control: remove build dependency python3-distutils,
       add python3-looseversion and python3-setuptools,
       remove build conflict on python3-setuptools. (Closes: #1064726)
     - d/rules: copy all relevant patches to be applied to the vendored
       copy of spidermonkey at build time.
     - d/p/fix_python_3.12_ftbfs.patch: apply additional patches to fix
       the build of the vendored copy of spidermonkey.
     - d/p/mozjs_upgrade_vendored_six.patch: upgrade vendored version of six.
     - d/p/mozjs_upstream_96d0575812.patch: cherry-pick upstream changeset
       for clang's new pass manager.
     - d/p/mozjs_upstream_db9bdaed1b.patch: cherry-pick upstream changeset
       to use importlib instead of imp in mozbuild.
     - d/p/mozjs_virtualenv_fixes.patch: minimal least-intrusive build fixes
       for an old virtualenv to work with Python 3.12.
   * Fix FTBFS for vendored zip-lib.
     - d/p/ziplib-ignore-implicit-function-declaration-error.patch
 .
   [ Yangfl ]
   * Fix FTBFS for the transition to miniupnpc 2.2.8. (Closes: #1076685)
     - d/p/miniupnpc-transition.patch
Checksums-Sha1:
 7ca4b734d6f615233e059780dd695433b41bbb87 2604 0ad_0.0.26-6.dsc
 f02c4afda8efff548aa39633e77aea518d51b69c 5109928 0ad_0.0.26-6.debian.tar.xz
 587e918b028191a24c3874cc6c38a5ac1e0d2f39 17979 0ad_0.0.26-6_source.buildinfo
Checksums-Sha256:
 87032712f2cf7f3739f8f49e4b744cb2ff4a0390d352c5520911a55d7b97abaf 2604 
0ad_0.0.26-6.dsc
 d2dfc9bd6f17efb357de8099ef7f651052af18b7b9ffef561b7680da2b685e25 5109928 
0ad_0.0.26-6.debian.tar.xz
 a8445f102d9d0dd010e28deff73f3325dad5fac0d19f59ac66e8b642ec7ee422 17979 
0ad_0.0.26-6_source.buildinfo
Files:
 00ebca603dde797ae477f1ee1b2514e1 2604 games optional 0ad_0.0.26-6.dsc
 31beeec09a35ad0d10f1b7780baf0db4 5109928 games optional 
0ad_0.0.26-6.debian.tar.xz
 0ffe5da1f0831fb380be60eaacae2668 17979 games optional 
0ad_0.0.26-6_source.buildinfo

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

iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmcSybcACgkQMfMURUSh
dBqAzw/+K4yLU/eV6npVRFSPZbADVQpew+KXuMKH4Pa8usNZksJh5ovNUcIqfL7n
f/7Qj26Acgblc0IPXkYPWAmtVU5oXwgf1ej1Xuy8OD9/tp7iFOCLVQEBitSKjOjc
TSE2pX3nnpCSCRmfOpZJBPE15rpgU4r51zSBeXL4G+jK299N/1S7dYvKRc3Ojx7p
OAFvIy9Hc0O4UALkrBe6YLQJWpWXkMpME/YHGNQM65eiknIEVSCNgLqDDvc8IIvC
XvnaD0G1S+V8+MTxco+MMvPtTHuQtDxyZ0vG+IPca1JRuGdzfBYOwQUwU9d64Ozt
HY60uEvc/ZFs3h/x2eiZSmPFy2FAZ2AYgq09Y2iGokim8VaHtI3pmSb4rXPr4rD7
YNPWJRV345ikfPfMgXlMP/CnMgGVnmTGyTOpDEWoOHmUy6SWyQSyK091gnU+V3rl
lTnv1A98T0O8iHePmQJJq6yvTZcU9G439Bi4myxfvXeEnB5+zi+TBdREIivVXxFy
TUTot8bVogEclxEGyqer3S4CykC5qk3h0eiFkoUvAO/yNM2VSH5HCnmROf1Rj3v4
O8UzocrglDcNRVj8QPS9sWAAgYfha+8idWoupsD2zV8UfcRYt2ZBgq0ExKdLv7Tz
1R/7Fs11g/ozkXEhmJfIR41p+67btDPPhsRLmb+OCtWlk3csOk0=
=lKP6
-----END PGP SIGNATURE-----

Attachment: pgpmMT2EhRPpp.pgp
Description: PGP signature


--- End Message ---

Reply via email to