[Pkg-sssd-devel] Bug#1069450: socket_wrapper and the time_t 64-bit is hard
Luca Boccassi
bluca at debian.org
Sun Jul 14 15:20:27 BST 2024
On Mon, 29 Apr 2024 13:03:22 +1200 Andrew Bartlett <abartlet at 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
--
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-sssd-devel/attachments/20240714/ab172019/attachment-0001.sig>
More information about the Pkg-sssd-devel
mailing list