Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 414949

Summary: Emerge app-pda/usbmuxd-1.0.8 fails with dev-util/cmake-2.8.8-r1
Product: Gentoo Linux Reporter: Franz Graf <franz.graf>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: franz.graf
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Franz Graf 2012-05-06 20:51:52 UTC
Created attachment 311039 [details]
emerge --info

Emerging app-pda/usbmuxd-1.0.8 fails with dev-util/cmake-2.8.8-r1 (but emerges fine with cmake-2.8.7-r5 - see below).

>>> Emerging (1 of 34) app-pda/usbmuxd-1.0.8
 * usbmuxd-1.0.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking usbmuxd-1.0.8.tar.bz2 to /var/tmp/portage/app-pda/usbmuxd-1.0.8/work
>>> Source unpacked in /var/tmp/portage/app-pda/usbmuxd-1.0.8/work
>>> Preparing source in /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build/gentoo_rules.cmake  /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.5.3
-- The CXX compiler identification is GNU 4.5.3
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring usbmuxd v1.0.8
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- Found PLIST 
-- Will build usbmuxd: YES
-- Looking for include file pthread.h
-- Looking for include file 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  
-- libusbmuxd will be built with inotify support
-- libusbmuxd will be built with protocol version 1 support
USB_INCLUDE_DIR=USB_INCLUDE_DIR-NOTFOUND
USB_LIBRARY=/usr/lib64/libusb-1.0.so
CMake Error at Modules/LibFindMacros.cmake:74 (message):
  Required library USB NOT FOUND.

  Install the library (dev version) and try again.  If the library is already
  installed, use ccmake to set the missing variables manually.
Call Stack (most recent call first):
  Modules/FindUSB.cmake:40 (libfind_process)
  daemon/CMakeLists.txt:1 (find_package)

-- Configuring incomplete, errors occurred!
 * ERROR: app-pda/usbmuxd-1.0.8 failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 2546:  Called cmake-utils_src_configure
 *   environment, line  619:  Called _execute_optionaly 'src_configure'
 *   environment, line  216:  Called enable_cmake-utils_src_configure
 *   environment, line  939:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of 'emerge --info =app-pda/usbmuxd-1.0.8',
 * the complete build log and the output of 'emerge -pqv =app-pda/usbmuxd-1.0.8'.
 * The complete build log is located at '/var/tmp/portage/app-pda/usbmuxd-1.0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-pda/usbmuxd-1.0.8/temp/environment'.
 * Working directory: '/var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build'
 * S: '/var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8'

------------------------

I tried re-installing dev-libs/libusb-1.0.9, but still no success.

When downgrading to dev-util/cmake-2.8.7-r5, it emerges without error:

>>> Emerging (1 of 1) app-pda/usbmuxd-1.0.8
 * usbmuxd-1.0.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking usbmuxd-1.0.8.tar.bz2 to /var/tmp/portage/app-pda/usbmuxd-1.0.8/work
>>> Source unpacked in /var/tmp/portage/app-pda/usbmuxd-1.0.8/work
>>> Preparing source in /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build/gentoo_rules.cmake  /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/app-pda/usbmuxd-1.0.8/work/usbmuxd-1.0.8_build/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring usbmuxd v1.0.8
-- checking for module 'libplist'
--   found libplist, version 1.8
-- Found PLIST 
-- Will build usbmuxd: YES
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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 
-- libusbmuxd will be built with inotify support
-- libusbmuxd will be built with protocol version 1 support
-- checking for module 'libusb-1.0>=1.0.3'
--   found libusb-1.0, version 1.0.9
-- Found USB 
-- usbmuxd will be built with protocol version 1 support

....
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-05-06 21:10:10 UTC

*** This bug has been marked as a duplicate of bug 414601 ***