Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249211 - dev-embedded/openocd-9999 should depend on libusb
Summary: dev-embedded/openocd-9999 should depend on libusb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-28 23:25 UTC by Scott
Modified: 2008-11-29 21:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2008-11-28 23:25:26 UTC
openocd requires libusb, but does not depend on it.


Reproducible: Always

Steps to Reproduce:
1. emerge -C libusb
2. emerge -1 openocd


Actual Results:  
usbprog.c:40:17: error: usb.h: No such file or directory
usbprog.c: In function 'usbprog_jtag_open':
usbprog.c:422: warning: assignment makes pointer from integer without a cast
usbprog.c:426: error: dereferencing pointer to incomplete type
usbprog.c:428: error: dereferencing pointer to incomplete type
usbprog.c:428: error: dereferencing pointer to incomplete type
usbprog.c:431: error: dereferencing pointer to incomplete type
usbprog.c:431: error: dereferencing pointer to incomplete type
usbprog.c:433: warning: assignment makes pointer from integer without a cast


Expected Results:  
compilation to complete and package to be installed

Local system does not have X or graphical enviroments/programs installed.

Portage 2.1.6_rc2 (default-linux/amd64/2007.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-glibc2.2.5
Timestamp of tree: Fri, 28 Nov 2008 06:01:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p48
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext a52 aac acl acpi additions alsa amd64 amr amuled ao apache2 ares atmo avahi bcmath berkdb bios bluetooth branding bzip2 cairo calendar cdda cddb cdio cli corba cpufreq cracklib crypt ctype curl daap dbus dga djvu dri dts dv dvb dvd dvdread dvi eds encode epiphany esd exif fam fastcgi fasttrack ffmpeg firefox flac fluidsynth fortran fpx gcc4 gd gdbm glitz gmp gnutls graphviz gs h323 hdri howl iconv id3 id3tag ieee1394 imagemagick imap imlib innodb ipv6 ithreads jack jbig jpeg jpeg2k keyring kqemu kvm lame lash lcms libnotify libwww live lm_sensors logrotate lua mad maildir matroska mdnsresponder-compat midi mmap mmx mmxext mng modplug mp3 mpeg mudflap musepack musicbrainz mysql mysqli nautilus ncurses netjack network nfs nls nptl nptlonly ocaml ogg ogg123 openft openmp pam pango parport pcre pdf perl php pidgin plotutils plugins png postgres ppds pppd python qemu readline reflection remote rss rtsp ruby samba sasl script sensord server session sharedext shout slp sockets speex spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification stats stream svg symlink syslog t1lib taglib tagwriting tcl tcpd teamarena theora threads tiff tk toolbar truetype twolame unicode upnp usb vboxbfe vcd vcdinfo vcdx vda vlm vorbis wavpack webdav wmf x264 xanim xattr xcf xml xorg xosd xrandr xscreensaver xv xvid xvmc zeroconf 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 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 proxy" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="s3 s3virge vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2008-11-29 21:03:06 UTC
ive made usb support optional

http://sources.gentoo.org/dev-embedded/openocd/openocd-9999.ebuild?r1=1.3&r2=1.4