[Pkg-erlang-devel] Bug#1067701: FTBFS: _TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64

Andrey Rakhmatullin wrar at debian.org
Mon Mar 25 18:47:57 GMT 2024


Source: erlang
Version: 1:25.3.2.10+dfsg-1
Severity: serious
Tags: ftbfs


https://buildd.debian.org/status/fetch.php?pkg=erlang&arch=armhf&ver=1%3A25.3.2.10%2Bdfsg-1&stamp=1711383511&raw=0

arm-linux-gnueabihf-gcc -Werror=undef -Werror=implicit -Werror=return-type
-fno-strict-aliasing -fno-common -g -O2 -fno-strict-aliasing
-I/<<PKGBUILDDIR>>/erts/arm-unknown-linux-gnueabihf  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -D_GNU_SOURCE  -DHAVE_CONFIG_H -Wall -Wstrict-
prototypes -Wpointer-arith -Wmissing-prototypes -Wdeclaration-after-statement
-DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS
-D_POSIX_THREAD_SAFE_FUNCTIONS   -Iarm-unknown-linux-gnueabihf/opt/emu -Ibeam
-Isys/unix -Isys/common -Iarm-unknown-linux-gnueabihf -Ipcre -Iryu
-Iopenssl/include -I../include -I../include/arm-unknown-linux-gnueabihf
-I../include/internal -I../include/internal/arm-unknown-linux-gnueabihf -c
sys/unix/sys_time.c -o obj/arm-unknown-linux-gnueabihf/opt/emu/sys_time.o
In file included from /usr/include/features.h:393,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-
start.h:33,
                 from /usr/include/stdlib.h:26,
                 from sys/unix/sys_time.c:35:
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is allowed
only with _FILE_OFFSET_BITS=64"
   26 | #   error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
      |     ^~~~~


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.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



More information about the Pkg-erlang-devel mailing list