Source: util-linux
Version: 2.39.1-3
Severity: normal
Tags: ftbfs

Dear Maintainer,

Build fails here:
gcc -DHAVE_CONFIG_H -I.  -include config.h -I./include 
-DLOCALEDIR=\"/usr/share/locale\" -D_PATH_RUNSTATEDIR=\"/run\" 
-D_PATH_SYSCONFSTATICDIR=\"/usr/lib\"   -Wdate-time -D_FORTIFY_SOURCE=2 
-fsigned-char -fno-common -Wall -Wextra -Waddress-of-packed-member 
-Wdiscarded-qualifiers -Wimplicit-function-declaration -Wmissing-declarations 
-Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs 
-Wno-missing-field-initializers -Wold-style-definition -Wpointer-arith 
-Wredundant-decls -Wsign-compare -Wstrict-prototypes -Wtype-limits 
-Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable 
-Wunused-parameter -Wunused-result -Wunused-variable -Werror=sequence-point -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -c -o 
tests/helpers/test_enosys.o tests/helpers/test_enosys.c
In file included from tests/helpers/test_enosys.c:30:
./include/audit-arch.h:61:6: error: #error Unknown target architecture
   61 | #    error Unknown target architecture
      |      ^~~~~
make[5]: *** [Makefile:10077: tests/helpers/test_enosys.o] Error 1

See:
https://buildd.debian.org/status/fetch.php?pkg=util-linux&arch=hppa&ver=2.39.1-3&stamp=1690505350&raw=0

The audit architecture defines for hppa are defined in 
/usr/include/linux/audit.h:

#define AUDIT_ARCH_PARISC       (EM_PARISC)
#define AUDIT_ARCH_PARISC64     (EM_PARISC|__AUDIT_ARCH_64BIT)

Please add the architecture defines for hppa to include/audit-arch.h.

Thanks,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.1.43+ (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- debconf information:
  util-linux/noauto-with-nonzero-passnum:

Reply via email to