Hi, ddnet fails to cross build from source. Digging into this I found that ddnet upstream has a very different idea about cross building from Debian. For instance, ddnet stops using any kind of system libraries and expects that you vendor them all into the ddnet source code. Also they immediately opt out of using pkgconf for cross compilation. This is very much not what we do in Debian. I managed to make it cross buildable, but given how ddnet upstream has chosen to implement cross building, I expect that they very much won't like this patch. Possibly, there could be some kind of global switch between that vendoring-world that they want and that "like native" world that Debian's cross build environment is? Do you mind maintaining this patch in the source package? Helmut
We believe that the bug you reported is fixed in the latest version of
ddnet, 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 1070253@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sébastien Noel <twolife@debian.org> (supplier of updated ddnet 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 05 Jun 2026 09:32:33 +0200
Source: ddnet
Architecture: source
Version: 19.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Sébastien Noel <twolife@debian.org>
Closes: 1070253 1123883
Changes:
ddnet (19.1-3) unstable; urgency=medium
.
* Team upload.
* Regenerate rust bridge during build to fix FTBFS with cxxbridge 1.0.192.
(Closes: #1123883)
* Backport 3 upstream patches to fix another build failure
when regenerating rust bridge.
* Add patch from Helmut Grohne to fix cross build (Closes: #1070253)
Checksums-Sha1:
a09f24caf81d0404cae8d988bb452f7894587444 2379 ddnet_19.1-3.dsc
6c0d328188b7fd2884d81bba2f32edde45a0874d 24840 ddnet_19.1-3.debian.tar.xz
40e89b18ef8c31b48c3fd2b7e9390c10a12b3ae0 19850 ddnet_19.1-3_amd64.buildinfo
Checksums-Sha256:
e71da63e7284be006086ee9bb6c3298416428483974251be5718babee4fbec18 2379 ddnet_19.1-3.dsc
fca8dd15e801cf40a1872e18f6459f1c829efaf7579612edf73fc64b8272d768 24840 ddnet_19.1-3.debian.tar.xz
796baf904a3a5860414831faca3f9d4973b9a5275fc1a587650190f5df62bf21 19850 ddnet_19.1-3_amd64.buildinfo
Files:
178fba94fc596a0975df66a9ce713a84 2379 games optional ddnet_19.1-3.dsc
2c437c71787822f4a9cc67645ee775a7 24840 games optional ddnet_19.1-3.debian.tar.xz
9b7d2f19c9f66bc74ac692431c0d5417 19850 games optional ddnet_19.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFHBAEBCgAxFiEEdlP6my3wO8aMe9FCrKAIuMk0p9QFAmoinvwTHHR3b2xpZmVA
ZGViaWFuLm9yZwAKCRCsoAi4yTSn1MkJCADAVJdy+tG6yPWOj/2jiL6D1VzDtiF5
KNr0oUooasHuGWjeLi7EpkTlXzce0RuyW1CATmpWsUTFaXqs/f/izAa4jUay2UUs
KGTYeETvg+JzG5G6WFBn0nnTyhOGOePxBiMLrN8dRChWSUJd9pEylBCV/uU17UC8
XgX93AJpBXOuCnUzH9kA6jXEhl4x/P3SP2tqHsweJV6PvUd9MwehDlUBUAfGmsDO
Fg9Cr1C6N2IGfTYlsdh7G3ywrHlBqgs1C0pvRFt+xHDuP+NHubxG8q8rc8NWYMSf
ZNjgTKa/5c/kVGJAMVENwsE7q9PH6LbhyBvAqPiGHQre+fKmMAx/BZj1
=9LUe
-----END PGP SIGNATURE-----