Bug 101557

Summary: libinput fails to compile on systems without restorecon
Product: Wayland Reporter: n3rdopolis <bluescreen_avenger>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact: Peter Hutterer <peter.hutterer>
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description n3rdopolis 2017-06-22 11:57:42 UTC
I get this debug output trying to compile libinput now on a debian system that does not have restorecon

ninja: Entering directory `build'
[0/1] Installing files.
Restoring SELinux context on //opt/lib/i386-linux-gnu/libinput.so.10.13.0
/srcbuild/libinput/src/libinput-restore-selinux-context.sh: 10: /srcbuild/libinput/src/libinput-restore-selinux-context.sh: restorecon: not found
Comment 1 Peter Hutterer 2017-06-23 02:47:18 UTC
commit ec27aa3a78c549a78f97bab180e65ddbc23822c6 
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jun 23 09:35:27 2017 +1000

    Skip restorecon if it cannot be found
    
    https://bugs.freedesktop.org/show_bug.cgi?id=101557

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.