[Wayland-bugs] [Bug 105939] libinput install phase failure
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Apr 7 04:13:15 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105939
Bug ID: 105939
Summary: libinput install phase failure
Product: Wayland
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: lhcwhu at gmail.com
Hi, I met an error when compiling libinput, it gave me the following error
during "install" phase.
➜ libinput git:(master) ✗ sudo ninja -C builddir/ install
Password:
ninja: Entering directory `builddir/'
[306/307] Installing files.
Installing libinput-device-group to /usr/lib/udev/libinput-device-group
Installing libinput-model-quirks to /usr/lib/udev/libinput-model-quirks
Installing libinput.so.10.13.0 to /usr/lib64/libinput.so.10.13.0
Installing libinput-debug-events to /usr/libexec/libinput/libinput-debug-events
Installing libinput-list-devices to /usr/libexec/libinput/libinput-list-devices
Installing libinput-measure to /usr/libexec/libinput/libinput-measure
Installing libinput-record to /usr/libexec/libinput/libinput-record
Installing libinput-debug-gui to /usr/libexec/libinput/libinput-debug-gui
Installing libinput to /usr/bin/libinput
Installing libinput.h to /usr/include/
Installing
/home/psdrv/Downloads/libinput/builddir/80-libinput-device-groups.rules to
/usr/lib/udev/rules.d
Installing
/home/psdrv/Downloads/libinput/builddir/90-libinput-model-quirks.rules to
/usr/lib/udev/rules.d
Installing
/home/psdrv/Downloads/libinput/builddir/90-libinput-model-quirks.hwdb to
/usr/lib/udev/hwdb.d
Installing /home/psdrv/Downloads/libinput/builddir/meson-private/libinput.pc to
/usr/lib64/pkgconfig
Installing /home/psdrv/Downloads/libinput/builddir/libinput-debug-events.1 to
/usr/share/man/man1
Installing /home/psdrv/Downloads/libinput/builddir/libinput-list-devices.1 to
/usr/share/man/man1
Installing /home/psdrv/Downloads/libinput/builddir/libinput-measure.1 to
/usr/share/man/man1
Installing /home/psdrv/Downloads/libinput/tools/libinput-measure-touchpad-tap
to /usr/libexec/libinput
Installing
/home/psdrv/Downloads/libinput/builddir/libinput-measure-touchpad-tap.1 to
/usr/share/man/man1
Installing
/home/psdrv/Downloads/libinput/tools/libinput-measure-touchpad-pressure to
/usr/libexec/libinput
Installing
/home/psdrv/Downloads/libinput/builddir/libinput-measure-touchpad-pressure.1 to
/usr/share/man/man1
Installing /home/psdrv/Downloads/libinput/tools/libinput-measure-touch-size to
/usr/libexec/libinput
Installing
/home/psdrv/Downloads/libinput/builddir/libinput-measure-touch-size.1 to
/usr/share/man/man1
Installing
/home/psdrv/Downloads/libinput/tools/libinput-measure-trackpoint-range to
/usr/libexec/libinput
Installing
/home/psdrv/Downloads/libinput/builddir/libinput-measure-trackpoint-range.1 to
/usr/share/man/man1
Installing /home/psdrv/Downloads/libinput/builddir/libinput-record.1 to
/usr/share/man/man1
Installing /home/psdrv/Downloads/libinput/tools/libinput-replay to
/usr/libexec/libinput
Installing /home/psdrv/Downloads/libinput/builddir/libinput-replay.1 to
/usr/share/man/man1
Installing /home/psdrv/Downloads/libinput/builddir/libinput-debug-gui.1 to
/usr/share/man/man1
Installing /home/psdrv/Downloads/libinput/builddir/libinput.1 to
/usr/share/man/man1
Failed to restore SELinux context of installed files...
Standard output:
Standard error:
No such file or directory
Running custom install script '/bin/sh
/home/psdrv/Downloads/libinput/src/libinput-restore-selinux-context.sh
/usr/lib64 /home/psdrv/Downloads/libinput/builddir/libinput.so.10.13.0'
Restoring SELinux context on /usr/lib64/libinput.so.10.13.0
No such file or directory
Failed to run install script '/bin/sh
/home/psdrv/Downloads/libinput/src/libinput-restore-selinux-context.sh
/usr/lib64 /home/psdrv/Downloads/libinput/builddir/libinput.so.10.13.0'
FAILED: meson-install
/usr/bin/python3.5 /usr/lib/python-exec/python3.5/meson --internal install
/home/psdrv/Downloads/libinput/builddir/meson-private/install.dat
ninja: build stopped: subcommand failed.
-------------------------
It seems "libinput-restore-selinux-context.sh" failed, however, i have disabled
selinux on my machine. Even when I manually edit meson.build to not run this
script, the install phase still fails.
I would appreciate if you can give any hints on how to solve this problem.
Who prints the message "Failed to restore SELinux context"? I grep through the
code base, but no matches.
The software versions I use:
Python 3.5
meson 0.45.1
ninja 1.8.2
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180407/adf031ae/attachment.html>
More information about the wayland-bugs
mailing list