Bug#954632: unknown-horizons: FTBFS: AttributeError: module 'platform' has no attribute 'dist'

Lucas Nussbaum lucas at debian.org
Sun Mar 22 07:58:53 GMT 2020


Source: unknown-horizons
Version: 2019.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p /<<PKGBUILDDIR>>/.config/unknown-horizons \
> /<<PKGBUILDDIR>>/.local/share/unknown-horizons \
> /<<PKGBUILDDIR>>/.cache/unknown-horizons && cp content/settings-template.xml /<<PKGBUILDDIR>>/.config
> rm -f /<<PKGBUILDDIR>>/.config/settings-template.xml
> find . -name "*.mo" -delete
> rm -f content/lang/stats.json
> rm -f /<<PKGBUILDDIR>>/unknown-horizons.svg
> dh_auto_clean
> I: pybuild base:217: python3.8 setup.py clean 
> Traceback (most recent call last):
>   File "setup.py", line 42, in <module>
>     if platform.dist()[0].lower() in ('debian', 'ubuntu'):
> AttributeError: module 'platform' has no attribute 'dist'
> E: pybuild pybuild:352: clean: plugin distutils failed with: exit code=1: python3.8 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p 3.8 returned exit code 13
> make[1]: *** [debian/rules:28: override_dh_auto_clean] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/03/21/unknown-horizons_2019.1-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-games-devel mailing list