[Wayland-bugs] [Bug 105080] libinput-1.10.0: meson doesn't respect --bindir

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 13 16:03:51 UTC 2018


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

            Bug ID: 105080
           Summary: libinput-1.10.0: meson doesn't respect --bindir
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: timo.gurr at gmail.com

Created attachment 137321
  --> https://bugs.freedesktop.org/attachment.cgi?id=137321&action=edit
0001-meson-Fix-bindir-usage-in-install-script.patch

Passing a bindir different from prefix like e.g.

meson --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/bin
--libdir=/usr/x86_64-pc-linux-gnu/lib
--libexecdir=/usr/x86_64-pc-linux-gnu/libexec
--includedir=/usr/x86_64-pc-linux-gnu/include --sysconfdir=/etc
--datadir=/usr/share --mandir=/usr/share/man --default-library=shared
-Ddebug-gui=false -Dudev-dir=/usr/x86_64-pc-linux-gnu/lib/udev
-Ddocumentation=false -Dlibwacom=false -Dtests=false
/var/tmp/paludis/build/sys-libs-libinput-1.10.0/work/libinput-1.10.0

to meson results in an install error later on:

[...]
--- /usr/bin/libinput-list-devices
--- /usr/bin/libinput-debug-events
--- No need to do anything for preinst phase
>>> Checking whether we can merge to / ..................
!!! Expected '/usr/bin' to be a directory but found a symlink to a directory
[...]

It should respect the bindir passed via meson configure and install to
/usr/x86_64-pc-linux-gnu/bin instead of /usr/bin.

There was aleady a patch proposed which still applies to 1.10.0 and fixed the
problem:
https://lists.freedesktop.org/archives/wayland-devel/2017-November/036009.html

For completeness the patch is attached as well.

-- 
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/20180213/cbcc108c/attachment.html>


More information about the wayland-bugs mailing list