Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 904128

Summary: dev-libs/libinput-1.23.0 fails test - .../ validate-quirks-files FAIL 0.04s exit status 1
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: kingjon3377
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:libinput-1.23.0:20230410-123728.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-04-10 13:34:30 UTC
ninja: no work to do.
 1/30 libinput:all / leftover-rules                                                      OK                0.01s 30s
 2/30 libinput:all / validate-quirks                                                     OK                0.01s 30s
 3/30 libinput:all+root+hardware / list-devices                                          OK                0.01s
 4/30 libinput:all / tools-builddir-lookup                                               OK                0.01s
 5/30 libinput:all / tools-builddir-lookup-installed                                     OK                0.01s 30s
 6/30 libinput:all / validate-quirks-files                                               FAIL              0.04s   exit status 1
>>> MESON_SOURCE_ROOT=/var/tmp/portage/dev-libs/libinput-1.23.0/work/libinput-1.23.0 MALLOC_PERTURB_=92 /var/tmp/portage/dev-libs/libinput-1.23.0/work/libinput-1.23.0/test/test_quirks_files.py
 ✀  

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4_test-20230410-083931

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
Python 3.10.10
Available Rust versions:
  (none found)
php cli (if any):

  HEAD of ::gentoo
commit faf1fd5ca6142bae628481e2ef741fad1dd6394e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 10 08:31:57 2023 +0000

    2023-04-10 08:31:56 UTC

emerge -qpvO dev-libs/libinput
[ebuild  N    ] dev-libs/libinput-1.23.0  USE="test -doc" INPUT_DEVICES="-wacom"
Comment 1 Toralf Förster gentoo-dev 2023-04-10 13:34:32 UTC
Created attachment 859809 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-10 13:34:33 UTC
Created attachment 859810 [details]
dev-libs:libinput-1.23.0:20230410-123728.log
Comment 3 Toralf Förster gentoo-dev 2023-04-10 13:34:34 UTC
Created attachment 859811 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-04-10 13:34:35 UTC
Created attachment 859812 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-04-10 13:34:36 UTC
Created attachment 859813 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-10 13:34:37 UTC
Created attachment 859814 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-10 13:34:38 UTC
Created attachment 859815 [details]
temp.tar.bz2
Comment 8 Rolf Eike Beer archtester 2023-10-15 19:00:39 UTC
same with 1.24.0 on sparc
Comment 9 Matt Turner gentoo-dev 2023-10-16 01:16:04 UTC
I see a couple of things in the logs:

""" 
/usr/share/libinput: failed to find data files
Failed to load the device quirks from /usr/share/libinput and /etc/libinput/local-overrides.quirks. This will negatively affect device behavior. See https://wayland.freedesktop.org/libinput/doc/1.23.0/device-quirks.html for details.
"""

Looks like it might be looking for previously-installed files.

Also:

Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/libinput-1.23.0/work/libinput-1.23.0/test/test_quirks_files.py", line 11, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'

Missing dependency on pytest.
Comment 10 Larry the Git Cow gentoo-dev 2023-10-16 02:11:52 UTC
The bug has been closed via the following commit(s):

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

commit d0684ba3c465f9b6ee73f9086b1fe292faed68f2
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-10-16 01:15:31 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2023-10-16 02:11:47 +0000

    dev-libs/libinput: Add test dependency on pytest
    
    Closes: https://bugs.gentoo.org/904128
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-libs/libinput/libinput-1.24.0.ebuild | 27 ++++++++++++++++++---------
 1 file changed, 18 insertions(+), 9 deletions(-)