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

Lukas Larsson lukas at erlang.org
Tue Mar 26 11:38:32 GMT 2024


This bug has been fixed but not released yet for Erlang. This is the github
PR with the fix: https://github.com/erlang/otp/pull/7952

The fix will be part of the Erlang 27 release.

Lukas

On Mon, Mar 25, 2024 at 7:52 PM Andrey Rakhmatullin <wrar at debian.org> wrote:

> 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
>
> _______________________________________________
> Pkg-erlang-devel mailing list
> Pkg-erlang-devel at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-erlang-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-erlang-devel/attachments/20240326/d470bd56/attachment.htm>


More information about the Pkg-erlang-devel mailing list