On 2/5/26 08:42, Pádraig Brady wrote:
I'm a bit confused at the build failure as gnulib
is supposed to provide stub selinux headers and libs when not available.
Yes, to debug this HP-UX 'make' glitch it would be helpful to see what
commands were used to do the build on HP-UX, and what the contents of
the following files are:
config.log
Makefile
If I build as follows on Fedora:
./configure --without-selinux
make V=1
the build process does the following before running the C compiler, and
we need to find out why that is not happening on HP-UX.
/usr/bin/mkdir -p 'lib/selinux'
sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \
-e 's|@''GUARD_PREFIX''@|GL|g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''PRAGMA_COLUMNS''@||g' \
-e 's|@''NEXT_SELINUX_SELINUX_H''@||g' \
-e 's/@''USE_SELINUX_SELINUX_H''@/0/g' \
./lib/se-selinux.in.h > lib/selinux/selinux.h-t
mv lib/selinux/selinux.h-t lib/selinux/selinux.h