🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1150646: tftp-hpa: FTBFS on armhf: error: conflicting types for ‘off_t’; have ‘long int’

#521
From: Sebastian Ramacher
Date: Sun, 11 Oct 2026 17:20
87 lines
6402 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: debian-arm@lists.debian.org, sramacher@debian.org
User: debian-arm@lists.debian.org
Usertags: armhf

Dear maintainer,

tftp-hpa does not build on armhf:

arm-linux-gnueabihf-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/tftp-hpa-7.2=. -fstack-protector-strong -fstack-clash-protection -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 pollset.o.dep -I.. -c pollset.c
In file included from tftpsubs.h:12,
                 from tftp-xfer.h:10,
                 from tftp-xfer.c:7:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
  314 | typedef long off_t;
      |              ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type ‘off_t’ {aka ‘long long int’}
  245 | typedef __off64_t off_t;
      |                   ^~~~~
In file included from xalloc.h:17,
                 from xasprintf.c:7:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
  314 | typedef long off_t;
      |              ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type ‘off_t’ {aka ‘long long int’}
  245 | typedef __off64_t off_t;
      |                   ^~~~~
In file included from progname.c:7:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
  314 | typedef long off_t;
      |              ^~~~~
In file included from signal.c:13:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
  314 | typedef long off_t;
      |              ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type ‘off_t’ {aka ‘long long int’}
  245 | typedef __off64_t off_t;
      |                   ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type ‘off_t’ {aka ‘long long int’}
  245 | typedef __off64_t off_t;
      |                   ^~~~~
In file included from xalloc.h:17,
                 from xalloc.c:14:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
  314 | typedef long off_t;
      |              ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type ‘off_t’ {aka ‘long long int’}
  245 | typedef __off64_t off_t;
      |                   ^~~~~
In file included from tftp-io.c:7:
../config.h:314:14: error: conflicting types for ‘off_t’; have ‘long int’
  314 | typedef long off_t;
      |              ^~~~~
In file included from /usr/include/arm-linux-gnueabihf/bits/sigstksz.h:24,
                 from /usr/include/signal.h:328,
                 from ../config.h:36:
/usr/include/unistd.h:245:19: note: previous declaration of ‘off_t’ with type ‘off_t’ {aka ‘long long int’}
  245 | typedef __off64_t off_t;
      |                   ^~~~~
make[2]: *** [../MRULES:9: xasprintf.o] Error 1

See
https://buildd.debian.org/status/fetch.php?pkg=tftp-hpa&arch=armhf&ver=7.2-3&stamp=1790534322&raw=0
for details.

Cheers
-- 
Sebastian Ramacher
Technical Details
Message-ID: <NN5nj-4V7X-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.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.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sebastian Ramacher <sramacher@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.ports.arm
Subject: Bug#1150646: tftp-hpa: FTBFS on armhf: error: conflicting types for ‘off_t’; have ‘long int’
Date: Sun, 11 Oct 2026 19:20:01 +0200
Message-ID: <NN5nj-4V7X-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 11 17:19:12 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1150646@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-arm@lists.debian.org, sramacher@debian.org, zeha@debian.org
X-Debian-Pr-Message: report 1150646
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/1996287
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 87
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 11 Oct 2026 19:16:44 +0200
X-Original-Message-ID: <asvEfH1mj-jyVra4@ramacher.at>