[Wayland-bugs] [Bug 104628] Allow building inside a container
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jan 14 21:33:41 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=104628
Bug ID: 104628
Summary: Allow building inside a container
Product: Wayland
Version: unspecified
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: krasi.root at gmail.com
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 at exe/udev_libinput-device-group.c.o'.
FAILED: libinput-device-group at exe/udev_libinput-device-group.c.o
cc -Ilibinput-device-group at 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 at exe/udev_libinput-device-group.c.o' -MF
'libinput-device-group at exe/udev_libinput-device-group.c.o.d' -o
'libinput-device-group at 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 at sha/src_evdev-debounce.c.o'.
FAILED: input at sha/src_evdev-debounce.c.o
cc -Iinput at 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 at sha/src_evdev-debounce.c.o' -MF
'input at sha/src_evdev-debounce.c.o.d' -o 'input at 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 at sha/src_evdev-fallback.c.o'.
FAILED: input at sha/src_evdev-fallback.c.o
cc -Iinput at 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 at sha/src_evdev-fallback.c.o' -MF
'input at sha/src_evdev-fallback.c.o.d' -o 'input at 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 at sha/src_evdev-middle-button.c.o'.
FAILED: input at sha/src_evdev-middle-button.c.o
cc -Iinput at 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 at sha/src_evdev-middle-button.c.o' -MF
'input at sha/src_evdev-middle-button.c.o.d' -o
'input at 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 at sha/src_libinput.c.o'.
FAILED: input at sha/src_libinput.c.o
cc -Iinput at 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 at sha/src_libinput.c.o' -MF
'input at sha/src_libinput.c.o.d' -o 'input at 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 at sha/src_evdev.c.o'.
FAILED: input at sha/src_evdev.c.o
cc -Iinput at 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 at sha/src_evdev.c.o' -MF
'input at sha/src_evdev.c.o.d' -o 'input at 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 at sha/src_evdev-mt-touchpad.c.o'.
FAILED: input at sha/src_evdev-mt-touchpad.c.o
cc -Iinput at 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 at sha/src_evdev-mt-touchpad.c.o' -MF
'input at sha/src_evdev-mt-touchpad.c.o.d' -o
'input at 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 at sha/src_evdev-mt-touchpad-tap.c.o'.
FAILED: input at sha/src_evdev-mt-touchpad-tap.c.o
cc -Iinput at 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 at sha/src_evdev-mt-touchpad-tap.c.o'
-MF 'input at sha/src_evdev-mt-touchpad-tap.c.o.d' -o
'input at 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 at sha/src_evdev-mt-touchpad-buttons.c.o'.
FAILED: input at sha/src_evdev-mt-touchpad-buttons.c.o
cc -Iinput at 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 at sha/src_evdev-mt-touchpad-buttons.c.o' -MF
'input at sha/src_evdev-mt-touchpad-buttons.c.o.d' -o
'input at 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 at sha...rc_evdev-mt-touchpad-edge-scroll.c.o'.
FAILED: input at sha/src_evdev-mt-touchpad-edge-scroll.c.o
cc -Iinput at 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 at sha/src_evdev-mt-touchpad-edge-scroll.c.o' -MF
'input at sha/src_evdev-mt-touchpad-edge-scroll.c.o.d' -o
'input at 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.
--
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/20180114/6b5b5b2e/attachment.html>
More information about the wayland-bugs
mailing list