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

2024-03-26 Thread Lukas Larsson
On Tue, Mar 26, 2024 at 1:21 PM Sergei Golovan  wrote:

> Hi, Lukas!
>

Hello!


> Thank you for pointing out the PR request! I'm planning to upload
> Erlang 27 for trixie, but currently it requires some additional tools
> missing in Debian. So, I'll add this fix in the meantime for Erlang
> 25.
>

Sounds like a good plan.

Feel free to reach out to me if you think any adjustments on our side would
help you to update to 27.

Thanks for the work you do to keep Erlang packages in Debian up to date!

Lukas


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

2024-03-26 Thread Sergei Golovan
Hi, Lukas!


On Tue, Mar 26, 2024 at 2:42 PM Lukas Larsson  wrote:
>
> 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.

Thank you for pointing out the PR request! I'm planning to upload
Erlang 27 for trixie, but currently it requires some additional tools
missing in Debian. So, I'll add this fix in the meantime for Erlang
25.

-- 
Sergei Golovan



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

2024-03-26 Thread Lukas Larsson
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  wrote:

> Source: erlang
> Version: 1:25.3.2.10+dfsg-1
> Severity: serious
> Tags: ftbfs
>
>
>
> https://buildd.debian.org/status/fetch.php?pkg=erlang=armhf=1%3A25.3.2.10%2Bdfsg-1=1711383511=0
>
> arm-linux-gnueabihf-gcc -Werror=undef -Werror=implicit -Werror=return-type
> -fno-strict-aliasing -fno-common -g -O2 -fno-strict-aliasing
> -I/<>/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-de...@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-erlang-devel
>