🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #519

Bug#1150647: tftp-hpa: FTBFS on i386: tftp.c:331:37: error: passing argument 4 of ‘client_recv_time’ from incompatible pointer t...

#519
From: Sebastian Ramacher
Date: Sun, 11 Oct 2026 17:20
44 lines
5832 bytes
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
-- 
Sebastian Ramacher
Technical Details
Message-ID: <NN5nj-4V7X-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Sebastian Ramacher <sramacher@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#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]
Date: Sun, 11 Oct 2026 19:20:01 +0200
Message-ID: <NN5nj-4V7X-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 11 17:19:16 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1150647@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sramacher@debian.org, zeha@debian.org
X-Debian-Pr-Message: report 1150647
X-Debian-Pr-Package: src:tftp-hpa
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: tftp-hpa
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: sramacher
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996288
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 44
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 11 Oct 2026 19:17:53 +0200
X-Original-Message-ID: <asvEwQctsi7ldOre@ramacher.at>