Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950335 - sys-apps/util-linux-2.40.4: tests fail to compile on hppa (test_mkfds_ppoll.c:68:26: error: unknown type name ‘sigset_t’; did you mean ‘size_t’?)
Summary: sys-apps/util-linux-2.40.4: tests fail to compile on hppa (test_mkfds_ppoll.c...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2025-02-27 11:00 UTC by Sam James
Modified: 2025-03-07 18:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,27.57 KB, application/x-xz)
2025-02-27 11:01 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-27 11:00:29 UTC
```
hppa2.0-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4  -include config.h -I/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/include -DLOCALEDIR=\"/usr/share/locale\" -D_PATH_RUNSTATEDIR=\"/run\" -D_PATH_LOCALSTATEDIR=\"/var\" -D_PATH_SYSCONFSTATICDIR=\"/usr/lib\"    -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fsigned-char -fno-common -Wall -Wextra -Waddress-of-packed-member -Wdiscarded-qualifiers -Wformat-security -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 -Wvla -Walloca -Werror=sequence-point -O2 -pipe -march=2.0 -fdiagnostics-color=always -frecord-gcc-switches -c -o tests/helpers/test_mkfds_ppoll.o /var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds_ppoll.c
/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds_ppoll.c:68:26: error: unknown type name ‘sigset_t’; did you mean ‘size_t’?
   68 | static void clear_sigset(sigset_t *sigset)
      |                          ^~~~~~~~
      |                          size_t
In file included from /var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds_ppoll.c:38:
/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds_ppoll.c: In function ‘wait_event_ppoll’:
/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds_ppoll.c:76:23: error: unknown type name ‘sigset_t’; did you mean ‘size_t’?
   76 |                       sigset_t sigset;,
      |                       ^~~~~~~~
/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds.h:47:17: note: in definition of macro ‘DEFUN_WAIT_EVENT_POLL’
   47 |                 XDECLS                                                  \
      |                 ^~~~~~
/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds_ppoll.c:77:23: error: implicit declaration of function ‘clear_sigset’ [-Wimplicit-function-declaration]
   77 |                       clear_sigset(&sigset);,
      |                       ^~~~~~~~~~~~
/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds.h:73:17: note: in definition of macro ‘DEFUN_WAIT_EVENT_POLL’
   73 |                 SETUP_SIG_HANDLER                                       \
      |                 ^~~~~~~~~~~~~~~~~
/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds_ppoll.c:77:23: warning: nested extern declaration of ‘clear_sigset’ [-Wnested-externs]
   77 |                       clear_sigset(&sigset);,
      |                       ^~~~~~~~~~~~
/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4/tests/helpers/test_mkfds.h:73:17: note: in definition of macro ‘DEFUN_WAIT_EVENT_POLL’
   73 |                 SETUP_SIG_HANDLER                                       \
      |                 ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:10910: tests/helpers/test_mkfds_ppoll.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4-.hppa'
make[2]: *** [Makefile:17250: check-am] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4-.hppa'
make[1]: *** [Makefile:16952: check-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/util-linux-2.40.4/work/util-linux-2.40.4-.hppa'
make: *** [Makefile:17254: check] Error 2
 * ERROR: sys-apps/util-linux-2.40.4::gentoo failed (test phase):
 *   emake failed
```

---

Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/hppa/23.0/hppa2.0/systemd, gcc-14, glibc-2.40-r5, 6.10.7 parisc64)
=================================================================
System uname: Linux-6.10.7-parisc64-PA8900_-Shortfin-with-glibc2.40
KiB Mem:     8194376 total,   3158992 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Thu, 27 Feb 2025 09:48:32 +0000
Head commit of repository gentoo: 8133b76f5e48a3c0deeb9439360c38e2f89806fd

sh dash 0.5.12
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.8::gentoo, 3.13.1_p1::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          255.16::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    eclass-overrides: local
    volatile: False
    sync-git-verify-commit-signature: yes
    sync-git-clone-extra-opts: -b stable -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0 -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now

ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="@FREE"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=2.0 -fdiagnostics-color=always -frecord-gcc-switches"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=2.0 -fdiagnostics-color=always -frecord-gcc-switches"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --usepkg=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=2.0 -fdiagnostics-color=always -frecord-gcc-switches"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=2.0 -fdiagnostics-color=always -frecord-gcc-switches"
GENTOO_MIRRORS="https://mirrors.gethosted.online/gentoo/ https://www.mirrorservice.org/sites/distfiles.gentoo.org/ https://mirror.bytemark.co.uk/gentoo/ https://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LEX="flex"
LINGUAS="en en_GB"
MAKEOPTS="-j3 -l3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="PIC acl bash-completion big-endian bzip2 caps crypt filecaps firewalld gdbm gmp hardened hppa hunspell iconv ipv6 jit ncurses nls openmp pam pcre pie readline seccomp ssl system-av1 system-binutils system-boost system-bootstrap system-cairo system-clang system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-leveldb system-libevent system-libs system-libyaml system-lz4 system-mitkrb5 system-sqlite system-ssl system-tbb system-uulib system-webp system-zlib systemd udev unicode verify-sig xattr zlib zsh-completion" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="fbdev dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-27 11:01:00 UTC
Created attachment 919998 [details]
build.log.xz
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-07 18:43:48 UTC
The patch needs eautoreconf so will see if 2.40.5 appears...