mir fails to find drm.h
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alan Griffiths |
Bug Description
Hi
It seems that for some reason, mir cannot find drm.h
I get this output
-- Detecting CXX compile features
[ 1%] Building CXX object src/cookie/
[ 1%] Built target mirudev
[ 1%] Compiling Cap'n Proto schema mir_input_
[ 1%] Building CXX object src/cookie/
[ 1%] Compiling Cap'n Proto schema mir_event.capnp
[ 1%] Building CXX object src/core/
Scanning dependencies of target mircapnproto
[ 1%] Building CXX object src/capnproto/
/srcbuild/
#include <drm/drm.h>
compilation terminated.
src/platforms/
make[2]: *** [src/platforms/
make[2]: *** Waiting for unfinished jobs....
This is the cmake output of
cmake -Wno-dev . -DCMAKE_
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Lcov (missing: LCOV_EXECUTABLE GENHTML_EXECUTABLE)
-- Could NOT find gcovr (missing: GCOVR_EXECUTABLE)
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13")
-- doxygen 1.8.13 (>= 1.8.0) available - enabling make target doc
-- Performing Test HAS_W_MISMATCHE
-- Performing Test HAS_W_MISMATCHE
-- Performing Test HAS_W_PSABI
-- Performing Test HAS_W_PSABI - Success
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- date_time
-- system
-- program_options
-- filesystem
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found EGL: /opt/lib/
-- Found GLESv2: /opt/lib/
-- Found GLM: /usr/include
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Warning at /opt/share/
Protobuf compiler version doesn't match library version 3.0.0
Call Stack (most recent call first):
CMakeLists.
-- Found Protobuf: /usr/lib/
-- Found GLog: /usr/lib/
-- Found GFlags: /usr/lib/
-- Found LTTNG_UST: /usr/lib/
-- Checking for module 'libudev'
-- Found libudev, version 232
-- Checking for module 'glib-2.0'
-- Found glib-2.0, version 2.55.0
-- Checking for module 'wayland-server'
-- Found wayland-server, version 1.14.90
-- Checking for module 'wayland-client'
-- Found wayland-client, version 1.14.90
-- Checking for module 'glesv2'
-- Found glesv2, version 17.3.0-devel
-- Checking for module 'gbm>=9.0.0'
-- Found gbm, version 17.3.0-devel
-- Checking for module 'libdrm'
-- Found libdrm, version 2.4.83
-- Checking for module 'epoxy'
-- Found epoxy, version 1.3.1
-- Checking for module 'nettle'
-- Found nettle, version 3.3
-- Checking for module 'libinput'
-- Found libinput, version 1.8.901
-- Checking for module 'libxml++-2.6'
-- Found libxml++-2.6, version 2.40.1
-- Checking for module 'uuid'
-- Found uuid, version 2.29.2
-- Found XKBCOMMON: /opt/lib/
valgrind not found, disabling cpu benchmarks
valgrind not found, disabling memory benchmarks
-- Checking for module 'freetype2'
-- Found freetype2, version 18.3.12
-- Installing: //srcbuild/
-- Found GTest: /opt/include
-- Checking for module 'libevdev'
-- Found libevdev, version 1.5.7
-- Checking for module 'umockdev-1.0>=0.6'
-- Found umockdev-1.0, version 0.9.3
-- Performing Test HAS_W_NULL_
-- Performing Test HAS_W_NULL_
-- Performing Test HAS_W_OVERLOADE
-- Performing Test HAS_W_OVERLOADE
-- Performing Test HAS_W_INCONSIST
-- Performing Test HAS_W_INCONSIST
-- Performing Test HAS_W_GNU_
-- Performing Test HAS_W_GNU_
-- Performing Test MIRAL_COMPILE_
-- Performing Test MIRAL_COMPILE_
-- Performing Test MIRAL_COMPILE_
-- Performing Test MIRAL_COMPILE_
-- Cannot enable coverage targets because neither lcov nor gcovr are found.
CMake Warning at cmake/ABICheck.
no ABI checks possible: abi-compliance-
Call Stack (most recent call first):
CMakeLists.
-- Configuring done
-- Generating done
CMake Warning:
Manually-
LIB_INSTALL_DIR
-- Build files have been written to: /srcbuild/mir
Related branches
- Brandon Schaefer (community): Approve
- Mir CI Bot: Approve (continuous-integration)
-
Diff: 30 lines (+3/-3)1 file modifiedsrc/platforms/mesa/server/kms/display_buffer.cpp (+3/-3)
Changed in mir: | |
status: | Fix Committed → New |
Changed in mir: | |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
status: | Triaged → In Progress |
Changed in mir: | |
status: | Fix Committed → Won't Fix |
status: | Won't Fix → In Progress |
milestone: | none → 0.28.1 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
I forgot to add, this is http:// bazaar. launchpad. net/~mir- team/mir/ development- branch ...and I will try it with last:1 ...I just realized that the revision string I was trying to check out was 'master'