<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Allow building inside a container"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104628">104628</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Allow building inside a container
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>krasi.root@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>trying to build the driver inside a docker container and than install it on the
host, but it seems that 'ninja install' also does some building before the
installation so it fails.
I want to avoid polluting my workstation with all the build packages and
dependencies so it would be super cool if this can be done in the container and
than I can simply delete the container when done.





sudo ninja  -C builddir/ install
ninja: Entering directory `builddir/'
[1/276] Compiling C object 'libinput-d...p@exe/udev_libinput-device-group.c.o'.
FAILED: libinput-device-group@exe/udev_libinput-device-group.c.o 
cc  -Ilibinput-device-group@exe -I. -I.. -I../src -I../include
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -MMD -MQ
'libinput-device-group@exe/udev_libinput-device-group.c.o' -MF
'libinput-device-group@exe/udev_libinput-device-group.c.o.d' -o
'libinput-device-group@exe/udev_libinput-device-group.c.o' -c
../udev/libinput-device-group.c
../udev/libinput-device-group.c:29:10: fatal error: libudev.h: No such file or
directory
 #include <libudev.h>
          ^~~~~~~~~~~
compilation terminated.
[2/276] Compiling C object 'input@sha/src_evdev-debounce.c.o'.
FAILED: input@sha/src_evdev-debounce.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ 'input@sha/src_evdev-debounce.c.o' -MF
'input@sha/src_evdev-debounce.c.o.d' -o 'input@sha/src_evdev-debounce.c.o' -c
../src/evdev-debounce.c
In file included from ../src/evdev-fallback.h:32:0,
                 from ../src/evdev-debounce.c:26:
../src/evdev.h:34:10: fatal error: libevdev/libevdev.h: No such file or
directory
 #include <libevdev/libevdev.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/276] Compiling C object 'input@sha/src_evdev-fallback.c.o'.
FAILED: input@sha/src_evdev-fallback.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ 'input@sha/src_evdev-fallback.c.o' -MF
'input@sha/src_evdev-fallback.c.o.d' -o 'input@sha/src_evdev-fallback.c.o' -c
../src/evdev-fallback.c
../src/evdev-fallback.c:29:10: fatal error: mtdev-plumbing.h: No such file or
directory
 #include <mtdev-plumbing.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
[4/276] Compiling C object 'input@sha/src_evdev-middle-button.c.o'.
FAILED: input@sha/src_evdev-middle-button.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ 'input@sha/src_evdev-middle-button.c.o' -MF
'input@sha/src_evdev-middle-button.c.o.d' -o
'input@sha/src_evdev-middle-button.c.o' -c ../src/evdev-middle-button.c
In file included from ../src/evdev-middle-button.c:28:0:
../src/evdev.h:34:10: fatal error: libevdev/libevdev.h: No such file or
directory
 #include <libevdev/libevdev.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[5/276] Compiling C object 'input@sha/src_libinput.c.o'.
FAILED: input@sha/src_libinput.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ 'input@sha/src_libinput.c.o' -MF
'input@sha/src_libinput.c.o.d' -o 'input@sha/src_libinput.c.o' -c
../src/libinput.c
In file included from ../src/libinput.c:37:0:
../src/libinput.h:35:10: fatal error: libudev.h: No such file or directory
 #include <libudev.h>
          ^~~~~~~~~~~
compilation terminated.
[6/276] Compiling C object 'input@sha/src_evdev.c.o'.
FAILED: input@sha/src_evdev.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ 'input@sha/src_evdev.c.o' -MF
'input@sha/src_evdev.c.o.d' -o 'input@sha/src_evdev.c.o' -c ../src/evdev.c
../src/evdev.c:37:10: fatal error: mtdev-plumbing.h: No such file or directory
 #include <mtdev-plumbing.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
[7/276] Compiling C object 'input@sha/src_evdev-mt-touchpad.c.o'.
FAILED: input@sha/src_evdev-mt-touchpad.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ 'input@sha/src_evdev-mt-touchpad.c.o' -MF
'input@sha/src_evdev-mt-touchpad.c.o.d' -o
'input@sha/src_evdev-mt-touchpad.c.o' -c ../src/evdev-mt-touchpad.c
In file included from ../src/evdev-mt-touchpad.h:29:0,
                 from ../src/evdev-mt-touchpad.c:31:
../src/evdev.h:34:10: fatal error: libevdev/libevdev.h: No such file or
directory
 #include <libevdev/libevdev.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[8/276] Compiling C object 'input@sha/src_evdev-mt-touchpad-tap.c.o'.
FAILED: input@sha/src_evdev-mt-touchpad-tap.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ 'input@sha/src_evdev-mt-touchpad-tap.c.o'
-MF 'input@sha/src_evdev-mt-touchpad-tap.c.o.d' -o
'input@sha/src_evdev-mt-touchpad-tap.c.o' -c ../src/evdev-mt-touchpad-tap.c
In file included from ../src/evdev-mt-touchpad.h:29:0,
                 from ../src/evdev-mt-touchpad-tap.c:34:
../src/evdev.h:34:10: fatal error: libevdev/libevdev.h: No such file or
directory
 #include <libevdev/libevdev.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[9/276] Compiling C object 'input@sha/src_evdev-mt-touchpad-buttons.c.o'.
FAILED: input@sha/src_evdev-mt-touchpad-buttons.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ
'input@sha/src_evdev-mt-touchpad-buttons.c.o' -MF
'input@sha/src_evdev-mt-touchpad-buttons.c.o.d' -o
'input@sha/src_evdev-mt-touchpad-buttons.c.o' -c
../src/evdev-mt-touchpad-buttons.c
In file included from ../src/evdev-mt-touchpad.h:29:0,
                 from ../src/evdev-mt-touchpad-buttons.c:33:
../src/evdev.h:34:10: fatal error: libevdev/libevdev.h: No such file or
directory
 #include <libevdev/libevdev.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[10/276] Compiling C object 'input@sha...rc_evdev-mt-touchpad-edge-scroll.c.o'.
FAILED: input@sha/src_evdev-mt-touchpad-edge-scroll.c.o 
cc  -Iinput@sha -I. -I.. -I../ -I../include -I/usr/include/libevdev-1.0/
-I/usr/include/libwacom-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O0 -g
-Wno-unused-parameter -g -fvisibility=hidden -Wmissing-prototypes
-Wstrict-prototypes -fPIC -MMD -MQ
'input@sha/src_evdev-mt-touchpad-edge-scroll.c.o' -MF
'input@sha/src_evdev-mt-touchpad-edge-scroll.c.o.d' -o
'input@sha/src_evdev-mt-touchpad-edge-scroll.c.o' -c
../src/evdev-mt-touchpad-edge-scroll.c
In file included from ../src/evdev-mt-touchpad.h:29:0,
                 from ../src/evdev-mt-touchpad-edge-scroll.c:33:
../src/evdev.h:34:10: fatal error: libevdev/libevdev.h: No such file or
directory
 #include <libevdev/libevdev.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.</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>