Bug#1002913: openttd: FBTFS

2021-12-31 Thread Matthijs Kooijman
Hi Aurelien,

Thanks for reporting, I had already seen the failure and am working on
a fix, probably next weekend. The issue is caused by the buildds
building arch and arch-indep separately, which exposes a problem in the
rules file, but I hadn't tested this scenario before upload.

Gr.

Matthijs


signature.asc
Description: PGP signature


Bug#1002913: openttd: FBTFS

2021-12-31 Thread Aurelien Jarno
Source: openttd
Version: 12.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

openttd fails to build from source:
| make[1]: Leaving directory '/<>/obj-x86_64-linux-gnu'
|dh_cmake_install -a -O--buildsystem=cmake
| -- Install configuration: "RelWithDebInfo"
| -- Installing: /<>/debian/openttd/usr/games/openttd
| -- Install configuration: "RelWithDebInfo"
| -- Installing: 
/<>/debian/openttd/usr/share/applications/openttd.desktop
| -- Install configuration: "RelWithDebInfo"
| -- Installing: 
/<>/debian/openttd/usr/share/doc/openttd/COPYING.md
| -- Installing: /<>/debian/openttd/usr/share/doc/openttd/README.md
| -- Installing: 
/<>/debian/openttd/usr/share/doc/openttd/changelog.txt
| -- Installing: 
/<>/debian/openttd/usr/share/doc/openttd/multiplayer.md
| -- Installing: 
/<>/debian/openttd/usr/share/doc/openttd/known-bugs.txt
|debian/rules execute_after_dh_install
| make[1]: Entering directory '/<>'
| # Prevent installing duplicate license file
| rm debian/openttd/usr/share/doc/openttd/COPYING.md
| # These are unused
| rm -r debian/openttd-data/usr/share/pixmaps
| rm: cannot remove 'debian/openttd-data/usr/share/pixmaps': No such file or 
directory
| make[1]: *** [debian/rules:46: execute_after_dh_install] Error 1
| make[1]: Leaving directory '/<>'
| make: *** [debian/rules:7: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

The full build log can be found there:
https://buildd.debian.org/fetch.php?pkg=openttd=amd64=12.1-1=1640717943=0