[DSE-Dev] Bug#1087016: libselinux FTBFS for musl: lstat64 undeclared

Helmut Grohne helmut at subdivi.de
Fri Nov 8 07:23:37 GMT 2024


Source: libselinux
Version: 3.7-3
Tags: ftbfs
User: helmutg at debian.org
Usertags: rebootstrap

libselinux fails to build from source on musl-linux-any, because lstat64
is undeclared. For using this symbol one has to export a feature test
macro such as -D_LARGEFILE64_SOURCE. It happens to work on glibc by
accident. I'm attaching a patch for your convenience.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libselinux.patch
Type: text/x-diff
Size: 477 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/selinux-devel/attachments/20241108/28aa1a7b/attachment.patch>


More information about the SELinux-devel mailing list