Summary: | dev-libs/wlc-0.0.7: CMake variables are NOTFOUND | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | kevinboxhoorn |
Component: | Current packages | Assignee: | Jasen Borisov <tajjada> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info emerge -pqv |
Description
kevinboxhoorn
2017-01-09 06:30:37 UTC
Created attachment 459260 [details]
build.log
Contains some logging about shell-init and chdir not finding directories because my PWD was a non-existent directory at the time.
Created attachment 459262 [details]
emerge --info
Created attachment 459264 [details]
emerge -pqv
Comment on attachment 459260 [details] build.log >[32;01m * [39;49;00mPackage: dev-libs/wlc-0.0.7 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: tajjada@gmail.com proxy-maint@gentoo.org >[32;01m * [39;49;00mUSE: X abi_x86_64 amd64 elibc_glibc kernel_linux systemd userland_GNU xwayland >[32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >>>> Unpacking source... >>>> Unpacking wlc-0.0.7.tar.bz2 to /var/tmp/portage/dev-libs/wlc-0.0.7/work >>>> Source unpacked in /var/tmp/portage/dev-libs/wlc-0.0.7/work >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >>>> Preparing source in /var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7 ... >>>> Source prepared. >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >>>> Configuring source in /var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7 ... >>>> Working in BUILD_DIR: "/var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7_build" >cmake -C /var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DWLC_BUILD_EXAMPLES=OFF -DWLC_BUILD_TESTS=OFF -DWLC_BUILD_STATIC=no -DWLC_X11_SUPPORT=yes -DCMAKE_DISABLE_FIND_PACKAGE_Systemd=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Dbus=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7_build/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7 >loading initial cache file /var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7_build/gentoo_common_config.cmake >-- The C compiler identification is GNU 4.9.4 >-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc >-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Detecting C compile features >-- Detecting C compile features - done >-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "0.28") >-- Could NOT find chck (missing: CHCK_LIBRARIES CHCK_INCLUDE_DIRS) >Adding chck as subdirectory >-- Performing Test has_fstack_protector_strong >-- Performing Test has_fstack_protector_strong - Success >-- Performing Test ok >-- Performing Test ok - Success >-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") >-- 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 >-- Could NOT find valgrind (missing: VALGRIND_INCLUDE_DIRS) >-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) >-- Found MATH: /usr/lib64/libm.so >-- Found WAYLAND_CLIENT: /usr/lib64/libwayland-client.so >-- Found WAYLAND_SERVER: /usr/lib64/libwayland-server.so >-- Found WAYLAND_EGL: /usr/lib64/libwayland-egl.so >-- Found WAYLAND: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-egl.so >-- Found PIXMAN: /usr/lib64/libpixman-1.so >-- Found XKBCOMMON: /usr/lib64/libxkbcommon.so >-- Found UDEV: /usr/include >-- Found LIBINPUT: /usr/include >-- Found X11: /usr/lib64/libX11.so;/usr/lib64/libX11-xcb.so;/usr/lib64/libXfixes.so >-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-ewmh.so;/usr/lib64/libxcb-composite.so;XCB_LIBRARIES_xcb-xkb-NOTFOUND;/usr/lib64/libxcb-image.so;/usr/lib64/libxcb-xfixes.so >-- Found GLESv2: /usr/lib64/libGLESv2.so >-- Found EGL: /usr/lib64/libEGL.so >-- Found DRM: /usr/include/libdrm >-- Found GBM: /usr/include >-- Found DBUS: /usr/include/dbus-1.0;/usr/lib64/dbus-1.0/include >-- Found SYSTEMD: /usr/include >-- Looking for mkostemp >-- Looking for mkostemp - found >-- Looking for posix_fallocate >-- Looking for posix_fallocate - found >-- Found wlproto: /usr/share/wayland-protocols >-- >-- The following features have been enabled: > > * Static , Compile as static library > * /usr/share/wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v6 , Protocol extension > >-- The following OPTIONAL packages have been found: > > * ZLIB > Enables compression support > * Threads > Enables threading support > * PkgConfig > >-- The following RECOMMENDED packages have been found: > > * Dbus , Message bus system , <http://www.freedesktop.org/wiki/Software/dbus/> > Enables logind support > * Systemd , System and Service Manager , <http://freedesktop.org/wiki/Software/systemd/> > Enables logind support > >-- The following REQUIRED packages have been found: > > * Math , Standard C math library > * Wayland , Protocol for implementing compositors , <http://wayland.freedesktop.org/> > * Pixman , Low-level software library for pixel manipulation , <http://pixman.org/> > * XKBCommon , Library to handle keyboard descriptions , <http://xkbcommon.org/> > * Udev , Device manager for the Linux kernel , <https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html> > * LibInput , Library to handle input devices , <http://freedesktop.org/wiki/Software/libinput/> > * X11 , Open source implementation of the X Window System , <http://www.x.org/> > Enables X11 backend > * XCB , X protocol C-language Binding , <http://xcb.freedesktop.org/> > Enables Xwayland and X11 backend > * GLESv2 , The Standard for Embedded Accelerated 3D Graphics , <https://www.khronos.org/opengles/> > Enables OpenGL renderer > * EGL , Native Platform Interface , <http://www.khronos.org/egl/> > Enables EGL context > * DRM , Kernel module that gives direct hardware access to DRI clients , <http://dri.freedesktop.org/> > Enables DRM backend > * GBM , Generic buffer manager , <http://www.mesa3d.org/> > Enables DRM backend > >-- The following features have been disabled: > > * Tests , Compile tests > * Static , Compile as static library > * Examples , Compile example programs > >-- The following OPTIONAL packages have not been found: > > * Valgrind > * Doxygen > Enables documentation > * WaylandProtocols > >-- <<< Gentoo configuration >>> >Build type Gentoo >Install path /usr >Compiler flags: >C -march=core2 -mtune=core2 -O2 -pipe >C++ >Linker flags: >Executable -Wl,-O1 -Wl,--as-needed >Module -Wl,-O1 -Wl,--as-needed >Shared -Wl,-O1 -Wl,--as-needed > >CMake Error: The following variables are used in this project, but they are set to NOTFOUND. >Please set them or make sure they are set and tested correctly in the CMake files: >XCB_LIBRARIES_xcb-xkb (ADVANCED) > linked by target "wlc-tests" in directory /var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7/src > linked by target "wlc" in directory /var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7/src > >-- Configuring incomplete, errors occurred! >See also "/var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7_build/CMakeFiles/CMakeOutput.log". >See also "/var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7_build/CMakeFiles/CMakeError.log". > [31;01m*[0m ERROR: dev-libs/wlc-0.0.7::gentoo failed (configure phase): > [31;01m*[0m cmake failed > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 115: Called src_configure > [31;01m*[0m environment, line 3140: Called cmake-utils_src_configure > [31;01m*[0m environment, line 798: Called _cmake_execute_optionally 'src_configure' > [31;01m*[0m environment, line 278: Called enable_cmake-utils_src_configure > [31;01m*[0m environment, line 1247: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-libs/wlc-0.0.7::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-libs/wlc-0.0.7::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-libs/wlc-0.0.7/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/wlc-0.0.7/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7_build' > [31;01m*[0m S: '/var/tmp/portage/dev-libs/wlc-0.0.7/work/wlc-0.0.7' >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory >chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory I have found the source of the issue. When WLC is compiled with the "X" or "Xwayland" USE flags, it requires x11-libs/libxcb to be compiled with the "xkb" USE flag. Something simple will need to be changed in the ebuild. commit 354780f46a375cfa418774ec605b5db88bd5e8ba Author: Mykyta Holubakha <hilobakho@gmail.com> AuthorDate: Wed Jan 11 01:11:33 2017 +0200 Commit: Göktürk Yüksek <gokturk@gentoo.org> CommitDate: Sun Jan 15 00:07:42 2017 -0500 dev-libs/wlc: add xkb use to x11-libs/libxcb dep Gentoo-Bug: https://bugs.gentoo.org/605148 |