Package: autoconf
Version: 2.72-6
Severity: important
Tags: lfs
User: [email protected]
Usertags: i386
Control: affects -1 xrdp

Dear Maintainer,

building xrdp on i386 FTBFS due to missing

    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64

while it builds successfully on armhf where these flags are included.
See also bug https://bugs.debian.org/1131950.

As there no architecture specific configuration in the package, I
suspect autoconf is causing this error.

I also tried autoconf 2.73-1 from experimental, only to encounter the
very same issue.

The problem is also visible when building, for instance, rhash. Compare

   arm-linux-gnueabihf-gcc -c -DUSE_GETTEXT -DNDEBUG -pipe -ffunction-
   sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-
   prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-
   cast -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-
   after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
   D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -
   Werror=implicit-function-declaration -ffile-prefix-map=/build/rhash-
   1.4.6=. -fstack-protector-strong -fstack-clash-protection -Wformat -
   Werror=format-security -D_FILE_OFFSET_BITS=64 calc_sums.c -o
   calc_sums.o

to

   i686-linux-gnu-gcc -c -DUSE_GETTEXT -DNDEBUG -pipe -ffunction-
   sections -fdata-sections -fomit-frame-pointer -Wall -W -Wstrict-
   prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-
   cast -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-
   after-statement -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -
   Werror=implicit-function-declaration -ffile-prefix-map=/build/rhash-
   1.4.6=. -fstack-protector-strong -Wformat -Werror=format-security -
   D_FILE_OFFSET_BITS=64 calc_sums.c -o calc_sums.o

tough in this case it does not cause a FTBFS. 

Note that '-D_FILE_OFFSET_BITS=64' right before calc_sums.c appears
only for being explictly configured in rhash's debian/rules. Therefore
it appears twice on armhf and once on i386.

Not sure whether this is an upstream issue or not.

Sven

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.8+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autoconf depends on:
ii  debianutils  5.23.2
ii  m4           1.4.21-1
ii  perl         5.40.1-7

Versions of packages autoconf recommends:
ii  automake [automaken]  1:1.18.1-4

Versions of packages autoconf suggests:
pn  autoconf-archive  <none>
pn  autoconf-doc      <none>
ii  gettext           0.23.2-1
pn  gnu-standards     <none>
ii  libtool           2.5.4-9

-- no debconf information

-- 
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to