Source: libselinux
Version: 3.8.1-1
Severity: normal
Tags: ftbfs fixed-upstream
Forwarded: 
https://github.com/SELinuxProject/selinux/commit/5c3fcbd931b7f9752b5ce29cec3b6813991d61c0
User: helm...@debian.org
Usertags: rebootstrap

libselinux fails to build from source on arc.

| arc-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -g 
-O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/tmp/buildd/libselinux_1/libselinux-3.8.1=. 
-specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat 
-Werror=format-security -fno-semantic-interposition -Wdate-time 
-D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -Wall -Wextra -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND 
-DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_STRLCPY -DHAVE_REALLOCARRAY  -c -o 
matchpathcon.o matchpathcon.c
| In file included from matchpathcon.c:1:
| matchpathcon.c:270:1: error: static assertion failed: "inode size mismatch"
|   270 | static_assert(sizeof(unsigned long) == sizeof(__ino_t), "inode size 
mismatch");
|       | ^~~~~~~~~~~~~

This is roughly the same as #1098481. Unfortunately, the Debian-specific
patch is incomplete whereas the upstream patch covers more
architectures. Please update the patch.

Helmut

Reply via email to