Thanks for the analysis.

When I added "exit 0" to the end of restore-selinux-context.sh file, it can fool the building system to
continue the installation process without further complaining.

On Sun, Apr 8, 2018 at 7:10 PM, <bugzilla-daemon@freedesktop.org> wrote:
Peter Hutterer changed bug 105939
What Removed Added
CC   peter.hutterer@who-t.net
Status NEW NEEDINFO

Comment # 1 on bug 105939 from Peter Hutterer
> Failed to restore SELinux context of installed files...

That bit is printed by meson itself, see the source file
mesonbuild/scripts/meson_install.py

But there's something rather weird:

> 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

Invocation is correct, the echo from the script is correct but it says "no such
file or directory", even though above it says:

> Installing libinput.so.10.13.0 to /usr/lib64/libinput.so.10.13.0

Don't know what exactly is going on her but they both seem to be the same issue
- even though the file is installed to that location, restorecon fails to find
it. I don't know why that could be, tbh, but this seems to be the bit worthy of
investigation.


You are receiving this mail because:
  • You reported the bug.