Bug#1026235: tar: ftbfs with recent glibc

2022-12-16 Thread John David Anglin
On 2022-12-16 5:33 p.m., Florian Weimer wrote: * John David Anglin: On 2022-12-16 4:24 p.m., Florian Weimer wrote: * John David Anglin: I think __USE_TIME_BITS64 should be defined when _FILE_OFFSET_BITS==64 This would avoid the overflow converting tv_sec from 64 to 32 bits. It's an ABI

Bug#1026235: tar: ftbfs with recent glibc

2022-12-16 Thread Florian Weimer
* John David Anglin: > On 2022-12-16 4:24 p.m., Florian Weimer wrote: >> * John David Anglin: >> >>> I think __USE_TIME_BITS64 should be defined when _FILE_OFFSET_BITS==64 >>> This would avoid the overflow converting tv_sec from 64 to 32 bits. >> It's an ABI break. You probably can enable it in

Bug#1026235: tar: ftbfs with recent glibc

2022-12-16 Thread John David Anglin
On 2022-12-16 4:24 p.m., Florian Weimer wrote: * John David Anglin: I think __USE_TIME_BITS64 should be defined when _FILE_OFFSET_BITS==64 This would avoid the overflow converting tv_sec from 64 to 32 bits. It's an ABI break. You probably can enable it in the tar build safely because it's

Bug#1026235: tar: ftbfs with recent glibc

2022-12-16 Thread Florian Weimer
* John David Anglin: > I think __USE_TIME_BITS64 should be defined when _FILE_OFFSET_BITS==64 > This would avoid the overflow converting tv_sec from 64 to 32 bits. It's an ABI break. You probably can enable it in the tar build safely because it's not a library. But doing it by default across

Bug#1026235: tar: ftbfs with recent glibc

2022-12-16 Thread John David Anglin
Source: libc6 Version: 2.36-6 Severity: normal Dear Maintainer, See the following BZ for tar: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026204 __USE_TIME_BITS64 now needs to be defined on most 32-bit architectures to build tar even when _FILE_OFFSET_BITS=64 is selected. The folowing