| Summary: | app-pda/usbmuxd-1.0.8 with >=dev-util/cmake-2.8.8 - CMake Error at Modules/LibFindMacros.cmake:74 (message): Required library USB NOT FOUND. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander <nobodydead> |
| Component: | Current packages | Assignee: | Gentoo PDA project <pda> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | franz.graf, kde |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Build log
A simple proof of concept |
||
|
Description
Alexander
2012-05-04 14:18:23 UTC
Created attachment 310795 [details] Build log I have an identical problem, build log attached Portage 2.2.0_alpha101 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.15-r1, 3.3.0-gentoo x86_64) ================================================================= System uname: Linux-3.3.0-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.1 Timestamp of tree: Thu, 03 May 2012 22:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p28 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/cmake: 2.8.8-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.5 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.7 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.3 (virtual/os-headers) sys-libs/glibc: 2.15-r1 Repositories: gentoo ikelos Installed sets: @desktop, @global, @prometheus, @science ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="-j12" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/ikelos" SYNC="rsync://heimdal/gentoo-portage" USE="X aac acl acpi alsa amd64 apng bash-completion berkdb bindist bluray branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups cxx dbus device-mapper dga djvu dmraid dri dvd dvdr dvi emacs encode exif fftw firefox flac fontconfig foomaticdb fortran gdbm gif gimp glut gmp gnuplot gnutls gphoto2 gtk gtk3 hddtemp iconv ios ipod ipv6 jpeg lame latex libkms lm_sensors mad matroska mmx modules mp3 mp4 mpeg mplayer mtp mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg ogm openal opengl openmp pam pcre pdf png posix ppds pppd python qt3support qt4 radius raw readline session smp sse sse2 ssl sysfs tcpd theora threads tiff truetype udev unicode usb vorbis x264 xemacs xft xmp xorg xpf xpm xps xvid zlib" ALSA_CARDS="usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="dmraid plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON I failed to note above, this occurred during a world update and following an update of libusb to libusb-1.0.9: Fri Mar 30 18:36:51 2012 >>> dev-libs/libusb-0.1.12-r7 Fri Mar 30 18:39:27 2012 >>> virtual/libusb-0 Fri Mar 30 21:50:32 2012 >>> dev-libs/libusb-1.0.9_rc3 Fri Mar 30 22:50:01 2012 >>> virtual/libusb-1 Fri May 4 10:33:17 2012 >>> dev-libs/libusb-1.0.9 any news here? Created attachment 310895 [details, diff]
A simple proof of concept
As shown with this attachement, there has been no change in the include or cflags lines in libusb-1.0.pc pkg-config file between libusb-1.0.9_rc3 and libusb-1.0.9.
Therefore I'm inclined to believe this a cmake induced problem. Does downgrading cmake to 2.8.7 series help?
Yes, downgrading from cmake-2.8.8-r1 to cmake-2.8.7-r5 solves the problem and it builds fine. Thanks Samuli! Workaround applied to Portage and CCing dev-util/cmake maintainers so they are informed. The workaround is here: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/usbmuxd/usbmuxd-1.0.8.ebuild?r1=1.2&r2=1.3 Should be fixed now in cmake-2.8.8-r2, see bug 414659 *** Bug 414949 has been marked as a duplicate of this bug. *** *** Bug 414951 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 414659 *** (In reply to comment #7) > Should be fixed now in cmake-2.8.8-r2, see bug 414659 I can confirm this and dropped the workaround from the ebuild. Thanks! |