#1150647 tftp-hpa: FTBFS on i386: tftp.c:331:37: error: passing argument 4 of ‘client_recv_time’ from incompatible pointer type [-Wincompatible-pointer-types] #1150647
- Package:
- src:tftp-hpa
- Source:
- src:tftp-hpa
- Submitter:
- Sebastian Ramacher
- Date:
- 2026-10-13 12:53:17 UTC
- Severity:
- normal
- Tags:
Source: tftp-hpa
Version: 7.2-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org
User: debian-qa@lists.debian.org
Usertags: i386
Dear maintainer,
tftp-hpa does not build on i386:
i686-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tftp-hpa-7.2=. -fstack-protector-strong -Wformat -Werror=format-security -g3 -ggdb -fwrapv -fno-strict-aliasing -ftrivial-auto-var-init=zero -U__STRICT_ANSI__ -fno-common -pthread -ffunction-sections -fdata-sections -W -Wall -Wpedantic -Wbad-function-cast -Wc99-c11-compat -Wc11-c23-compat -Wc23-c2y-compat -Wflex-array-member-not-at-end -Wframe-larger-than=768 -Wheader-guard -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstack-usage=16384 -Wstrict-prototypes -Wtrigraphs -Wtrivial-auto-var-init -Wundef -Wvla -Wwrite-strings -MMD -MF misc.o.dep -I.. -c misc.c
tftp.c: In function ‘tftp_sendfile’:
tftp.c:331:37: error: passing argument 4 of ‘client_recv_time’ from incompatible pointer type [-Wincompatible-pointer-types]
331 | &from, &r_timeout);
| ^~~~~~~~~~
| |
| long unsigned int *
tftp.c:85:40: note: expected ‘uintmax_t *’ {aka ‘long long unsigned int *’} but argument is of type ‘long unsigned int *’
85 | uintmax_t *timeout_us_p)
| ~~~~~~~~~~~^~~~~~~~~~~~
tftp.c: In function ‘tftp_recvfile’:
tftp.c:495:37: error: passing argument 4 of ‘client_recv_time’ from incompatible pointer type [-Wincompatible-pointer-types]
495 | &from, &r_timeout);
| ^~~~~~~~~~
| |
| long unsigned int *
tftp.c:85:40: note: expected ‘uintmax_t *’ {aka ‘long long unsigned int *’} but argument is of type ‘long unsigned int *’
85 | uintmax_t *timeout_us_p)
| ~~~~~~~~~~~^~~~~~~~~~~~
i686-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tftp-hpa-7.2=. -fstack-protector-strong -Wformat -Werror=format-security -g3 -ggdb -fwrapv -fno-strict-aliasing -ftrivial-auto-var-init=zero -U__STRICT_ANSI__ -fno-common -pthread -ffunction-sections -fdata-sections -W -Wall -Wpedantic -Wbad-function-cast -Wc99-c11-compat -Wc11-c23-compat -Wc23-c2y-compat -Wflex-array-member-not-at-end -Wframe-larger-than=768 -Wheader-guard -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstack-usage=16384 -Wstrict-prototypes -Wtrigraphs -Wtrivial-auto-var-init -Wundef -Wvla -Wwrite-strings -MMD -MF path.o.dep -I.. -c path.c
make[2]: *** [../MRULES:9: tftp.o] Error 1
i686-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tftp-hpa-7.2=. -fstack-protector-strong -Wformat -Werror=format-security -g3 -ggdb -fwrapv -fno-strict-aliasing -ftrivial-auto-var-init=zero -U__STRICT_ANSI__ -fno-common -pthread -ffunction-sections -fdata-sections -W -Wall -Wpedantic -Wbad-function-cast -Wc99-c11-compat -Wc11-c23-compat -Wc23-c2y-compat -Wflex-array-member-not-at-end -Wframe-larger-than=768 -Wheader-guard -Winline -Wjump-misses-init -Wlogical-op -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstack-usage=16384 -Wstrict-prototypes -Wtrigraphs -Wtrivial-auto-var-init -Wundef -Wvla -Wwrite-strings -MMD -MF listen.o.dep -I.. -c listen.c
make[2]: *** Waiting for unfinished jobs....
See
https://buildd.debian.org/status/fetch.php?pkg=tftp-hpa&arch=i386&ver=7.2-3&stamp=1790534412&raw=0
for details.
Cheers
We believe that the bug you reported is fixed in the latest version of tftp-hpa, 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 1150647@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Chris Hofstaedtler <zeha@debian.org> (supplier of updated tftp-hpa 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: Tue, 13 Oct 2026 11:09:51 +0200 Source: tftp-hpa Architecture: source Version: 7.2+20261013-1 Distribution: unstable Urgency: medium Maintainer: Chris Hofstaedtler <zeha@debian.org> Changed-By: Chris Hofstaedtler <zeha@debian.org> Closes: 1150646 1150647 Changes: tftp-hpa (7.2+20261013-1) unstable; urgency=medium . Update to latest upstream snapshot. . [ H. Peter Anvin ] * Fix autoconf test for off_t (Closes: #1150646) * tftp: fix type of r_timeout (Closes: #1150647) Checksums-Sha1: 666685b1f40c0582b71284c07094c17bd3c83f51 1534 tftp-hpa_7.2+20261013-1.dsc 93279d12a50d04caa6effb3b2a1a5283c0c4ef7a 130237 tftp-hpa_7.2+20261013.orig.tar.gz 5bed71ee00cb89aa765244f7eaa14d3e12b06ede 23708 tftp-hpa_7.2+20261013-1.debian.tar.xz Checksums-Sha256: cdbf9342c97da0eed0b369b4bbca9c95154e2a00fedda468e4b8997580ea6fa7 1534 tftp-hpa_7.2+20261013-1.dsc 1e12f70a0346a0aee4bf654a807fa9d214424eb16c8d864cffc7012c0783288e 130237 tftp-hpa_7.2+20261013.orig.tar.gz c2741b126998d146abe8f03ea6470f1dba0b14a508febe72029b94d32fad04ba 23708 tftp-hpa_7.2+20261013-1.debian.tar.xz Files: 13650c43f8fa2c0aa124f6c7cf6b63f5 1534 net optional tftp-hpa_7.2+20261013-1.dsc d5328b0040756505b357c680f264d2f9 130237 net optional tftp-hpa_7.2+20261013.orig.tar.gz 407893ac5b6f0e29d7cec56de567ce0b 23708 net optional tftp-hpa_7.2+20261013-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSAaWBt6yRrKLK4+bRHi2NEKKNrcgUCas32lAAKCRBHi2NEKKNr cnivAQDQFZyazudYb6Lr2biWKvRZ3kjpPpxqDWJvZmGkwlJGIwD+M0Qo5a3Pei8/ SkwXrhvW2Hc7pnfj5OEKmRLzd08MNwE= =rHws -----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of tftp-hpa, 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 1150647@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Chris Hofstaedtler <zeha@debian.org> (supplier of updated tftp-hpa 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: Tue, 13 Oct 2026 13:14:14 +0200 Source: tftp-hpa Architecture: source Version: 7.2+20261013-2 Distribution: unstable Urgency: medium Maintainer: Chris Hofstaedtler <zeha@debian.org> Changed-By: Chris Hofstaedtler <zeha@debian.org> Closes: 1150647 Changes: tftp-hpa (7.2+20261013-2) unstable; urgency=medium . * tftp: fix type of r_timeout in recv path (Closes: #1150647) Checksums-Sha1: 512c7fedc81bc234f91a5d8bff24689507843666 1534 tftp-hpa_7.2+20261013-2.dsc 1e3d9199c83fb30fcf31876cf7a3c54f9f334102 24148 tftp-hpa_7.2+20261013-2.debian.tar.xz Checksums-Sha256: 2d8c3ffdb7ab6ba9371493afa4ad08563b713f5d46f45c279dff934fba6480d9 1534 tftp-hpa_7.2+20261013-2.dsc b137d66f157cba05740eab19421dfd0ec9fe4770923b34085e26c813f76c399c 24148 tftp-hpa_7.2+20261013-2.debian.tar.xz Files: 2edb56e472244579fd0cc850c836ff9f 1534 net optional tftp-hpa_7.2+20261013-2.dsc 8d212e3bb7aa334b905414afa416f59e 24148 net optional tftp-hpa_7.2+20261013-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSAaWBt6yRrKLK4+bRHi2NEKKNrcgUCas4TCQAKCRBHi2NEKKNr clVGAP9GMV/f8e+PZOvzBQzPaxU5KrcJTkCvBPsx2PZczTuwKQD/dA7VH7GIZoWj Fk+OSRXOqiY/PhQbICM7WJUWnfIK1Qg= =UiFM -----END PGP SIGNATURE-----