Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298607 - dev-embedded/libftdi-0.17 fails to build with USE=python and libftdi not installed yet
Summary: dev-embedded/libftdi-0.17 fails to build with USE=python and libftdi not inst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Embedded Team (OBSOLETE)
URL: http://developer.intra2net.com/mailar...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-28 00:54 UTC by Maciej Piechotka
Modified: 2009-12-29 07:46 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 Maciej Piechotka 2009-12-28 00:54:42 UTC
building '_ftdi' extension
creating build/temp.linux-x86_64-2.6
x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -fPIC -I../../src -I/usr/include/python2.6 -c ftdi_wrap.c -o build/temp.linux-x86_64-2.6/ftdi_wrap.o
ftdi_wrap.c: In function '_wrap_ftdi_enable_bitbang':
ftdi_wrap.c:6337: warning: 'ftdi_enable_bitbang' is deprecated (declared at ../../src/ftdi.h:331)
x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common -O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution build/temp.linux-x86_64-2.6/ftdi_wrap.o -L@top_buildir@/src/.libs -Llib -L/usr/lib -L/usr/lib64 -lftdi -lpython2.6 -o build/lib.linux-x86_64-2.6/_ftdi.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lftdi
collect2: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
make[4]: *** [all-local] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-embedded/libftdi-0.17/work/libftdi-0.17/bindings/python'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-embedded/libftdi-0.17/work/libftdi-0.17/bindings/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-embedded/libftdi-0.17/work/libftdi-0.17/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-embedded/libftdi-0.17/work/libftdi-0.17'
make: *** [all] Error 2


Reproducible: Always




# emerge --info dev-embedded/libftdi
Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 27 Dec 2009 00:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -ggdb -march=core2 -mfpmath=sse -mmmx -msse -msse2 -msse3 -msse4.1 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -msahf -mcx16 -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution"
DISTDIR="/var/tmp/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://212.219.56.132/sites/www.ibiblio.org/gentoo/ http://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.133/sites/www.ibiblio.org/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common"
LINGUAS="en en_GB pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/local/layman/suka /usr/portage/local/layman/java-overlay /usr/portage/local/layman/haskell /usr/portage/local/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aio alsa amd64 applet autoipd avahi banshee bash-completion berkdb bluetooth bonjour boo branding bzip2 cairo caps cdr cli connection-sharing consolekit cracklib crypt cups cxx dbus debugger deskbar devhelp device-mapper dirac disk-partition djvu dmraid doc dri dts dvd dvdr dvi eds emacs emboss encode evo exif expat extras fam fat ffmpeg firefox flac fontconfig fortran fts3 fuse galago gallium gconf gdbm gdu geoip gif git glade glitz gmp gnome gnome-keyring gnutls gpg gphoto2 gpm graphite gsm gstreamer gtk gtksourceview guile hal iconv idn ieee1394 introspection ipv6 irc jabber jadetex java java6 javascript jpeg kdrive kerberos kpathsea kvm lame laptop latex ldap libffi libnotify libproxy libsigseg libsoup libwnck lm_sensor lua lzma lzo mad mikmod mmx mng modules mono moonlight mp3 mp4 mpeg mudflap multilib nautilus ncurses network networkmanager nls nntp nptl nptlonly nsplugin ntfs objc objc++ objc-gc ogg opengl openmp pam pango pch pcre pdf perl png podcast policykit poppler ppds pppd prolog pulseaudio python qt3 qt3support qt4 quicktime raw readline reflection reiserfs ruby samba sasl schroedinger sdl session sip sourceview spell spl sqlite sse sse2 ssl startup-notification subversion svg symlink sysfs syslog tcpd theora threads thunar tiff tk truetype udev unicode usb v4l v4l2 videos vim-syntax vorbis vte wav webkit win64 wxwidgets wxwindows x264 xattr xcb xcomposite xml xorg xpm xrender xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maciej Piechotka 2009-12-28 00:56:14 UTC
Problems are with python USE flag on fresh install (if reinstall or without python USE flag all is ok).
Comment 2 SpanKY gentoo-dev 2009-12-29 07:46:47 UTC
fixed in ebuild and posted upstream