Bug#1016935: assaultcube: FTBFS with GCC 12: dwz fails
Tobias Frost
tobi at debian.org
Fri Sep 2 09:21:46 BST 2022
On Wed, 10 Aug 2022 07:41:00 +0200 Andreas Beckmann <anbe at debian.org> wrote:
> Source: assaultcube
> Version: 1.2.0.2.1-2
> Severity: serious
> Tags: ftbfs sid bookworm
> Justification: fails to build from source (but built successfully in the past)
>
> Hi,
>
> assaultcube recently started to FTBFS, this could be related to GCC 12
> becoming the default compiler.
>
> dh_dwz -O--sourcedirectory=source/src
> dwz: debian/assaultcube/usr/lib/games/assaultcube/ac_client: Unknown debugging section .debug_addr
> dwz: debian/assaultcube/usr/lib/games/assaultcube/ac_server: Unknown debugging section .debug_addr
> dwz: Too few files for multifile optimization
> dh_dwz: error: dwz -mdebian/assaultcube/usr/lib/debug/.dwz/x86_64-linux-gnu/assaultcube.debug -M/usr/lib/debug/.dwz/x86_64-linux-gnu/assaultcube.debug --
debian/assaultcube/usr/lib/games/assaultcube/ac_client debian/assaultcube/usr/lib/games/assaultcube/ac_server returned exit code 1
> dh_dwz: error: Aborting due to earlier error
> make: *** [debian/rules:9: binary] Error 25
>
>
> Andreas
Upstream has hardcoded clang to be used, and it seems that clang and dh_dwz won't work together.
As they say in their Makefile that they did this because there were problems with gcc in the past,
and stress that those bugs have been fixed, I'll fix it by changing the compiler to gcc.
--
tobi
More information about the Pkg-games-devel
mailing list