Luca Boccassi <bl...@debian.org> writes:

> On Mon, 29 Apr 2024 13:03:22 +1200 Andrew Bartlett <abart...@samba.org>
> wrote:
>> Just a warning that trying to brute force a fix for this is likely to
>> end badly.  A lot of developer time was spent to get to this current
>> delicate situation, which relied on the narrow behaviour that is now
>> eliminated by the Debian time_t 64 transition rules. 
>> 
>> Socket-wrapper starts with:
>> 
>> /*
>>  * Make sure we do not redirect (f)open(at)() or fcntl() to their
> 64bit
>>  * variants
>>  */
>> #undef _FILE_OFFSET_BITS
>> 
>> This was added in 
>>
> https://gitlab.com/cwrap/socket_wrapper/-/commit/bbe14cc3200ca553b13ed49357e2e88ba487eeaa
>> 
>> Setting  -D_FILE_OFFSET_BITS=64 will break the fcntl64 wrapper and so
>> break Samba's tests. 
>> 
>> I don't know if there is a good fix for this actually.  
>> 
>> Andrew Bartlett
>
> How about simply dropping armv7 support from socket-wrapper and uid-
> wrapper? Having architectures that are actually used being blocked by
> these issues is suboptimal at best

Yes, I'm a bit uncertain how to fix these bugs, and lack time to debug
it.  If someone wants to help, please do!

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to