[Wayland-bugs] [Bug 105939] libinput install phase failure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 9 05:41:27 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105939

--- Comment #4 from huaicheng <lhcwhu at gmail.com> ---
>please trim your emails when replying via email. otherwise you're dumping all email >content into the bugzilla comments and creating random attachments.

Sorry about that.

>Replace the shebang in the script with #!/bin/sh -x and run it again, what's the output >then? 

Adding "-x" after "#!/bin/bash" gives me nothing more in the output, instead, I
add "set -x" to restore-selinux.sh. The relevant output is below:

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'
+ libdir=/usr/lib64
++ basename /home/psdrv/Downloads/libinput/builddir/libinput.so.10.13.0
+ sofile=libinput.so.10.13.0
+ command -v restorecon
+ echo 'Restoring SELinux context on /usr/lib64/libinput.so.10.13.0'
Restoring SELinux context on /usr/lib64/libinput.so.10.13.0
+ restorecon /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.

>What does restorecon /usr/lib64/libinput.so.10.13.0 say when run manually (after >install)?

It reports "No such file or directory", but /usr/lib64/libinput.so.10.13.0
exits in my system.

$ ll /usr/lib64/libinput.so.10.13.0
-rwxr-xr-x 1 root root 752K Apr  8 20:17 /usr/lib64/libinput.so.10.13.0


It's also strange when I manually run the restore-selinux script, it doesn't
enter the "if" statement, however, the above output shows that statements
inside "if" are executed.

-- 
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/20180409/fc5c32f9/attachment.html>


More information about the wayland-bugs mailing list