Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 956964 - sys-apps/kbd-2.8.0 fails tests
Summary: sys-apps/kbd-2.8.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2025-05-31 10:26 UTC by tka
Modified: 2025-06-01 22:26 UTC (History)
0 users

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


Attachments
build.log (build.log,173.82 KB, text/plain)
2025-05-31 10:27 UTC, tka
Details
environment (environment,11.91 KB, text/plain)
2025-05-31 10:33 UTC, tka
Details
testsuite.log.xz (testsuite.log.xz,23.74 KB, application/x-xz)
2025-05-31 10:34 UTC, tka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2025-05-31 10:26:24 UTC
make  check-local
make[3]: Entering directory '/var/tmp/portage/sys-apps/kbd-2.8.0/work/kbd-2.8.0/tests'
/bin/sh '/var/tmp/portage/sys-apps/kbd-2.8.0/work/kbd-2.8.0/tests/testsuite'  --keywords=unittest --jobs=1
## --------------------- ##
## kbd 2.8.0 test suite. ##
## --------------------- ##

utilities unit tests

  1: loadkeys mutually exclusive options             skipped (utils.at:5)
  2: loadkeys default keymap                         skipped (utils.at:14)
  3: loadkeys prefer unicode with keymap file        skipped (utils.at:21)
  4: loadkeys prefer unicode with stdin              skipped (utils.at:27)
  5: loadkeys prefer unicode with stdin file         skipped (utils.at:33)

libcommon unit tests

  6: test options output                             FAILED (libcommon.at:8)
  7: test footer message                             FAILED (libcommon.at:16)
  8: test get console                                FAILED (libcommon.at:21)

libkeymap unit tests

  9: test 01                                         FAILED (libkeymap.at:5)
 10: test 02                                         FAILED (libkeymap.at:10)
 11: test 03                                         FAILED (libkeymap.at:15)
 12: test 04                                         FAILED (libkeymap.at:20)
 13: test 05                                         FAILED (libkeymap.at:25)
 14: test 06                                         FAILED (libkeymap.at:30)
 15: test 07                                         FAILED (libkeymap.at:35)
 16: test 08                                         FAILED (libkeymap.at:40)
 17: test 09                                         FAILED (libkeymap.at:45)
 18: test 10                                         FAILED (libkeymap.at:50)
 19: test 11                                         FAILED (libkeymap.at:55)
 20: test 12                                         FAILED (libkeymap.at:60)
 21: test 13                                         FAILED (libkeymap.at:65)
 22: test 14                                         FAILED (libkeymap.at:70)
 23: test 15                                         FAILED (libkeymap.at:75)
 24: test 16                                         FAILED (libkeymap.at:80)
 25: test 17                                         FAILED (libkeymap.at:85)
 26: test 18                                         FAILED (libkeymap.at:90)
 27: test 19 (alt-is-meta)                           FAILED (libkeymap.at:98)
 28: test 20 (bkeymap)                               FAILED (libkeymap.at:108)
 29: test 21 (mktable)                               FAILED (libkeymap.at:117)
 30: test 22 (fulltable numeric=1 ts=FULL_TABLE)     FAILED (libkeymap.at:132)
 31: test 23 (fulltable numeric=0 ts=DEFAULT)        FAILED (libkeymap.at:141)
 32: test 24 (fulltable numeric=0 ts=SEPARATE_LINES) ok
 33: binary keymap (us.map)                          FAILED (libkeymap.at:162)
 34: binary keymap (pt-latin9.map)                   FAILED (libkeymap.at:172)
 35: binary keymap (cz.map)                          FAILED (libkeymap.at:182)
 36: dump summary                                    FAILED (libkeymap.at:191)
 37: dump compose as usual                           FAILED (libkeymap.at:199)

libkbdfile unit tests

 38: test 01                                         FAILED (libkbdfile.at:5)
 39: test 02                                         FAILED (libkbdfile.at:10)
 40: test 03                                         FAILED (libkbdfile.at:15)
 41: test 04                                         FAILED (libkbdfile.at:20)
 42: test 05                                         FAILED (libkbdfile.at:25)
 43: test 06                                         FAILED (libkbdfile.at:30)
 44: test 07                                         FAILED (libkbdfile.at:35)
 45: test 08                                         FAILED (libkbdfile.at:40)
 46: test 09                                         FAILED (libkbdfile.at:45)
 47: test 10                                         FAILED (libkbdfile.at:50)
 48: test 11                                         FAILED (libkbdfile.at:55)
 49: test 12                                         FAILED (libkbdfile.at:60)
 50: test 13                                         FAILED (libkbdfile.at:65)
 51: test 14                                         FAILED (libkbdfile.at:70)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 46 tests were run,
45 failed unexpectedly.
5 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send 'tests/testsuite.log' and all information you think might help:

   To: <gladkov.alexey@gmail.com>
   Subject: [kbd 2.8.0] testsuite: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below 'tests/testsuite.dir'.

make[3]: *** [Makefile:736: check-local] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-apps/kbd-2.8.0/work/kbd-2.8.0/tests'
make[2]: *** [Makefile:594: check-am] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-apps/kbd-2.8.0/work/kbd-2.8.0/tests'
make[1]: *** [Makefile:444: check-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/kbd-2.8.0/work/kbd-2.8.0/tests'
make: *** [Makefile:518: check-recursive] Error 1
 

Reproducible: Always
Comment 1 tka 2025-05-31 10:27:20 UTC
Created attachment 930144 [details]
build.log

# emerge -pqv '=sys-apps/kbd-2.8.0::gentoo'
[ebuild     U ] sys-apps/kbd-2.8.0 [2.7.1] USE="pam test -nls (-selinux)" 


# emerge --info '=sys-apps/kbd-2.8.0::gentoo'
Portage 3.0.68 (python 3.13.3-final-0, default/linux/amd64/23.0/split-usr/no-multilib/hardened, gcc-15, glibc-2.41-r2, 6.14.9 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.14.9-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-glibc2.41
KiB Mem:    16279628 total,  12478980 free
KiB Swap:   20971516 total,  20971516 free
Timestamp of repository gentoo: Sat, 31 May 2025 09:30:00 +0000
Head commit of repository gentoo: 17e84550fb1a7c1b48dfc28ba4d809e751d8e89e
sh bash 5.2_p37-r3
ld GNU ld (Gentoo 2.44 p4) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.18::gentoo
dev-build/cmake:           3.31.7-r1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.8.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.12.10_p1::gentoo, 3.13.3_p1::gentoo
dev-lang/rust:             1.86.0-r1::gentoo, 1.87.0::gentoo
llvm-core/clang:           19.1.7::gentoo, 20.1.6::gentoo
llvm-core/lld:             19.1.7::gentoo, 20.1.6::gentoo
llvm-core/llvm:            19.1.7::gentoo, 20.1.6::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.62.2::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-devel/binutils:        2.44-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             15.1.0::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.14::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r2::gentoo
Repositories:

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

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 collision-protect config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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,-z,pack-relative-relocs -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 crypt cups dbus dri dts dvd egl elogind fam ffmpeg fftw flac fontconfig gdbm gif gimp gles2 gmp gnutls gtk hardened iconv icu idn ipv6 jpeg lame lcms libnotify libtirpc lzma mad matroska mmap mmx mmxext mp3 mpeg ncurses networkmanager ogg opengl openmp pam pcre pic 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="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" CPU_FLAGS_X86="aes avx avx2 bmi1 bmi2 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 navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev synaptics" KERNEL="linux" 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="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="crocus intel nouveau" 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, LANG, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 tka 2025-05-31 10:33:29 UTC
Created attachment 930145 [details]
environment
Comment 3 tka 2025-05-31 10:34:55 UTC
Created attachment 930146 [details]
testsuite.log.xz
Comment 4 tka 2025-05-31 10:45:05 UTC
It looks like the tests try to execute valgrind, which is not installed on my system. The tests look similar to this:

libtool --mode=execute -- "$abs_srcdir"/valgrind.sh memcheck $abs_builddir/libcommon/libcommon-test01 || exit $?;
Comment 5 Larry the Git Cow gentoo-dev 2025-05-31 21:07:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c14d8756da8cce387d9ac6e5797d067f7fcda779

commit c14d8756da8cce387d9ac6e5797d067f7fcda779
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-31 21:06:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-31 21:06:30 +0000

    sys-apps/kbd: don't run Valgrind for tests
    
    Closes: https://bugs.gentoo.org/956964
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/kbd/kbd-2.8.0.ebuild | 9 +++++++++
 sys-apps/kbd/kbd-9999.ebuild  | 9 +++++++++
 2 files changed, 18 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2025-06-01 22:26:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50e334876dbbd54b22db3882de1016b2467c615a

commit 50e334876dbbd54b22db3882de1016b2467c615a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-06-01 22:26:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-06-01 22:26:00 +0000

    sys-apps/kbd: update live for Valgrind change upstream
    
    Bug: https://bugs.gentoo.org/956964
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/kbd/kbd-2.8.0.ebuild |  3 +++
 sys-apps/kbd/kbd-9999.ebuild  | 11 ++---------
 2 files changed, 5 insertions(+), 9 deletions(-)