<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - libinput install phase failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105939#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - libinput install phase failure"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105939">bug 105939</a>
from <span class="vcard"><a class="email" href="mailto:lhcwhu@gmail.com" title="huaicheng <lhcwhu@gmail.com>"> <span class="fn">huaicheng</span></a>
</span></b>
<pre><span class="quote">>please trim your emails when replying via email. otherwise you're dumping all email >content into the bugzilla comments and creating random attachments.</span >
Sorry about that.
<span class="quote">>Replace the shebang in the script with #!/bin/sh -x and run it again, what's the output >then? </span >
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.
<span class="quote">>What does restorecon /usr/lib64/libinput.so.10.13.0 say when run manually (after >install)?</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>