Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890499 - sys-apps/man-db-2.11.2 fails tests man-executable-page-on-path, man-language-specific-requests, man-missing-locales, man-so-links-same-section, and zsoelim-so-includes
Summary: sys-apps/man-db-2.11.2 fails tests man-executable-page-on-path, man-language-...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://gitlab.com/man-db/man-db/-/co...
Whiteboard:
Keywords: PATCH, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-01-11 17:51 UTC by tka
Modified: 2023-01-28 15:29 UTC (History)
0 users

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


Attachments
build.log (build.log,362.48 KB, text/plain)
2023-01-11 17:52 UTC, tka
Details
src/tests/test-suite.log (test-suite.log,12.52 KB, text/plain)
2023-01-11 17:54 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2023-01-11 17:51:45 UTC
make  check-TESTS
make[3]: Entering directory '/var/tmp/portage/sys-apps/man-db-2.11.2/work/man-db-2.11.2/src/tests'
make[4]: Entering directory '/var/tmp/portage/sys-apps/man-db-2.11.2/work/man-db-2.11.2/src/tests'
PASS: lexgrog-backslash-dash-rhs
PASS: lexgrog-basic
PASS: lexgrog-multiple-whatis
SKIP: man-deleted-directory
PASS: man-exact-section-matches
FAIL: man-executable-page-on-path
PASS: man-invalid-db-entry
FAIL: man-language-specific-requests
PASS: man-mandatory-manpath
FAIL: man-missing-locales
PASS: man-override-dir
PASS: man-recode-in-place
PASS: man-recode-suffix
FAIL: man-so-links-same-section
PASS: man-suffixed-extension
PASS: man-symlinks-with-matching-names
PASS: manconv-coding-tags
PASS: manconv-guess-from-encoding
PASS: manconv-incomplete-char-at-eof
PASS: manconv-odd-combinations
PASS: mandb-basic
PASS: mandb-bogus-symlink
PASS: mandb-cachedir-tag
PASS: mandb-empty-page
PASS: mandb-purge-updates-timestamp
PASS: mandb-regular-file-symlink-changes
PASS: mandb-symlink-beats-whatis-ref
PASS: mandb-symlink-target-timestamp
PASS: mandb-whatis-broken-link-changes
PASS: whatis-path-to-executable
FAIL: zsoelim-so-includes
============================================================================
Testsuite summary for man-db 2.11.2
============================================================================
# TOTAL: 31
# PASS:  25
# SKIP:  1
# XFAIL: 0
# FAIL:  5
# XPASS: 0
# ERROR: 0
============================================================================
See src/tests/test-suite.log
Please report to cjwatson@debian.org
============================================================================
make[4]: *** [Makefile:2033: test-suite.log] Error 1
make[4]: Leaving directory '/var/tmp/portage/sys-apps/man-db-2.11.2/work/man-db-2.11.2/src/tests'
make[3]: *** [Makefile:2141: check-TESTS] Error 2
make[3]: Leaving directory '/var/tmp/portage/sys-apps/man-db-2.11.2/work/man-db-2.11.2/src/tests'
make[2]: *** [Makefile:2424: check-am] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-apps/man-db-2.11.2/work/man-db-2.11.2/src/tests'
make[1]: *** [Makefile:2201: check-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/man-db-2.11.2/work/man-db-2.11.2/src'
make: *** [Makefile:1757: check-recursive] Error 1
 * ERROR: sys-apps/man-db-2.11.2::gentoo failed (test phase):
 *   Make check failed. See above for details.

Reproducible: Always
Comment 1 tka 2023-01-11 17:52:43 UTC
Created attachment 848237 [details]
build.log

# emerge -pqv '=sys-apps/man-db-2.11.2::gentoo'
[ebuild     U ] sys-apps/man-db-2.11.2 [2.11.1] USE="manpager seccomp zlib -nls (-selinux) -static-libs" 


# emerge --info '=sys-apps/man-db-2.11.2::gentoo'
Portage 3.0.43 (python 3.10.9-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-12, glibc-2.36-r6, 6.1.4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.4-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-glibc2.36
KiB Mem:    16284928 total,   9245548 free
KiB Swap:   20971516 total,  20971516 free
Timestamp of repository gentoo: Wed, 11 Jan 2023 16:00:01 +0000
Head commit of repository gentoo: 7ddd4c7ec131f881b2f690dd16792a7a47846eb8
sh bash 5.2_p15-r1
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.6-r1::gentoo
app-shells/bash:           5.2_p15-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.66.0::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.6-r1::gentoo
sys-devel/gcc:             12.2.1_p20221231::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.6::gentoo
sys-devel/llvm:            15.0.6-r1::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: --new-compress
    sync-rsync-verify-max-age: 24

local
    location: /var/lib/portage-local/local
    masters: gentoo
    priority: 0
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LEX="flex"
LINGUAS=""
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--new-compress"
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="X a52 acl acpi alsa amd64 avx bzip2 cairo caps cdda cddb cdparanoia cli crypt cups dbus dri dts dvd elogind fam ffmpeg fftw flac fontconfig gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg lame lcms libglvnd libnotify libtirpc lzma mad matroska mmap mmx mmxext mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre pie png policykit ppds readline sasl sdl seccomp split-usr sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg test test-rust theora threads tiff truetype udev udisks unicode upower vaapi verify-sig vorbis wayland x264 xattr xcb xinerama xml xtpax xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="crocus intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LANG, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 tka 2023-01-11 17:54:28 UTC
Created attachment 848239 [details]
src/tests/test-suite.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-12 07:53:20 UTC
Lots of this sort of thing:
"""
--- /var/tmp/portage/sys-apps/man-db-2.11.2/temp/tmp.UhvzPBoeC6/1.exp	2023-01-11 18:45:33.445823485 +0100
+++ /var/tmp/portage/sys-apps/man-db-2.11.2/temp/tmp.UhvzPBoeC6/2.out	2023-01-11 18:45:33.515824248 +0100
@@ -1,5 +0,0 @@
-.TH test 1
-.SH NAME
-test \- top-level test page
-.SH DESCRIPTION
-test
  FAIL: test-fullso(1) .so link with section
/bin/sh: /var/tmp/portage/sys-apps/man-db-2.11.2/temp/tmp.UhvzPBoeC6/fake-program: Function not implemented
/bin/sh: /var/tmp/portage/sys-apps/man-db-2.11.2/temp/tmp.UhvzPBoeC6/fake-program: Function not implemented
man: command exited with status 126: (cd 
...
"""

What about older versions?
Comment 4 tka 2023-01-28 15:10:12 UTC
The tests also fail for sys-apps/man-db-2.11.1 and 2.10.2-r1.
All tests pass for sys-apps/man-db-9999.
Comment 5 tka 2023-01-28 15:29:38 UTC
The upstream commit that makes the tests pass can be found at [1]. Tested by applying it via /etc/portage/patches to sys-apps/man-db-2.11.2 build.

[1] https://gitlab.com/man-db/man-db/-/commit/ec3c909111d1de809f1c13f4d218997c235a1569