#1120913 atftp FTCBFS: -Wincompatible-pointer-types is an error

Package:
src:atftp
Source:
src:atftp
Submitter:
Helmut Grohne
Date:
2026-06-13 15:35:03 UTC
Severity:
normal
Tags:
#1120913#5
Date:
2025-11-16 21:49:06 UTC
From:
To:
atftp fails to cross build from source failing due to
-Wincompatible-pointer-types as an error. Comparing with a native build, 
the same diagnostic is emitted, but as a warning rather than an error.
That made me compare the compiler arguments and for some reason, the
cross build dropped std=gnu89. Turns out configure.ac add this when
${CC} matches gcc*|clang*, but the cross compiler is named TRIPLET-gcc.
I propose extending the pattern match to cover for this. Please find a
patch attached. Once applying it, atftp cross builds successfully.

Helmut

#1120913#10
Date:
2026-06-13 15:34:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
atftp, 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 1120913@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas B. Mundt <andi@debian.org> (supplier of updated atftp 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: Sat, 13 Jun 2026 17:01:38 +0200
Source: atftp
Architecture: source
Version: 0.8.1-1
Distribution: unstable
Urgency: medium
Maintainer: Ludovic Drolez <ldrolez@debian.org>
Changed-By: Andreas B. Mundt <andi@debian.org>
Closes: 1118835 1120913 1125387 1139464
Changes:
 atftp (0.8.1-1) unstable; urgency=medium
 .
   [ Andreas B. Mundt ]
   * New upstream version 0.8.1 (closes: #1139464)
   * Remove all patches applied upstream
   * Bump Standards-Version to 4.7.4 and remove fields in debian/control
     not needed any longer
   * Update french debconf translation (closes: #1118835). Thanks to
     Baptiste Jammet <baptiste@mailoo.org>
   * Add chinese debconf translations (closes: #1125387). Thanks to
     Yangfl <mmyangfl@gmail.com>
   * Fix cross building from source (closes: #1120913). Thanks Helmut
     Grohne <helmut@subdivi.de> for the patch
 .
   [ Luca ]
   * Italian translation updated
Checksums-Sha1:
 3fcbdcfb69c1589492cd515d1056aba76a50a039 2004 atftp_0.8.1-1.dsc
 b705e013d4dca4289e2d3ccab781efb78d87de94 103460 atftp_0.8.1.orig.tar.xz
 38112431c98775e9ef71be1de41acc3100fb7827 32948 atftp_0.8.1-1.debian.tar.xz
 8de9ba2e2367f1cb425c420fe797adaf2fb11ac6 6643 atftp_0.8.1-1_amd64.buildinfo
Checksums-Sha256:
 558c63629aba52f87b24508077dc370d42f9b6f9302930a567bcca08c35dfe17 2004 atftp_0.8.1-1.dsc
 1161dbb9aaf900275be4f64fb5cf9f21a21f1a04915650f8de447f3e2314aace 103460 atftp_0.8.1.orig.tar.xz
 61338681b267dec9adaaba6a7f5fc2b73b06834520bb8a1d4aa845d138c00c01 32948 atftp_0.8.1-1.debian.tar.xz
 09e0cc25b02faa6b54401043886d8a8030a7532c39137d85a167ca7cbb3b5c4a 6643 atftp_0.8.1-1_amd64.buildinfo
Files:
 f93d8a38cb088b9fa97290171eca3df8 2004 net optional atftp_0.8.1-1.dsc
 629f1fc10662a84cb9083707da4cb383 103460 net optional atftp_0.8.1.orig.tar.xz
 400e74c36cdc35851efed75c1f451dac 32948 net optional atftp_0.8.1-1.debian.tar.xz
 1410a01d03ca6b58333afac5ec142234 6643 net optional atftp_0.8.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEk4pc7h4pDeJV2ayYsB/qhGF7WG0FAmotcxwACgkQsB/qhGF7
WG2ECQ//TkjraOJxHKtDQlmYnaSFxuOF7jhICP6mOEMAlrNyTvWZtpRQQSAn1EsF
4CgxiUdoE68Q5e/qiX7wp4ZUUS82oRllwKeLqSKxK3ux5z5n3a/owDayEG3cMlgx
x5FRbrriFUvUoReWdiMl3V1f4ZRBjsW6w0R+r6cpc+TNioSVLlQEnEo7fVUkSaTe
5e/cJe9OMsu0/ZkINrccVO5iEC8uaNpnTTFF8rC7gzByHJi2XjXCcZUVKtMkjvCz
UHWUTx7igiBn63SSvP6B4MW2a2bkjp6B99SEs90McX3KWqo02il4Wf3u3a2yVGAx
+Ybru1GUV9qcA5bdBFn//t0qGXwStLLaD5k+L6qgg7vQk6RzFLf8kVWyWRa/eTCT
CY1vHlbvZNXOBgz77cb9Fpu0IpjYSdJKuxxieHhr+APEUK405IGGPsF4ReSFT9m3
FIfCf1+AAI3aSk7ICRv8JNfToUE5AhejwV3Qn2S1+EFTLvqH2Z/f3on9dwFAeCeS
9Jz5qmxBR34zZyq/f+kRzJ0HmsYPPwBVLIYkCtLfUpLodSK4bMnas4crIfZ2ENDW
L5t0NKUogdCGZ66AASpP/2/Lyfb3GtyquO4mfVEM38a3SuV0+5ZYcxaxcIo5WIm0
xB9llbL9z5ugliWam+d8nQ6q3sMx4tKrRJ3DAZDv7f12cOvh78Q=
=nUNc
-----END PGP SIGNATURE-----