Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134695 - sane-backends-1.0.15-r3 up to 1.0.17 fail with sanei_pa4s2.c:(.text+0x14f): undefined ref to `ieee1284_find_ports'...
Summary: sane-backends-1.0.15-r3 up to 1.0.17 fail with sanei_pa4s2.c:(.text+0x14f): u...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-28 14:26 UTC by René
Modified: 2006-07-07 02:30 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 René 2006-05-28 14:26:40 UTC
emerge sane-backends-1.0.15-r3 up to 1.0.17 fail with sanei_pa4s2.c:(.text+0x14f): undefined reference to `ieee1284_find_ports'...

i686-pc-linux-gnu-gcc -o sane-find-scanner sane-find-scanner.o check-usb-chip.o ../backend/.libs/sane_strstatus.o  ../sanei/libsanei.a ../lib/liblib.a /usr/lib/libusb.so -lnsl /usr/lib/libjpeg.so /usr/lib/libgphoto2.so /usr/lib/libexif.so /usr/lib/libgphoto2_port.so -ldl -lm
../sanei/libsanei.a(sanei_pa4s2.o): In function `pa4s2_init':
sanei_pa4s2.c:(.text+0x14f): undefined reference to `ieee1284_find_ports'
sanei_pa4s2.c:(.text+0x269): undefined reference to `ieee1284_free_ports'
../sanei/libsanei.a(sanei_pa4s2.o): In function `pa4s2_open':
sanei_pa4s2.c:(.text+0x440): undefined reference to `ieee1284_open'
../sanei/libsanei.a(sanei_pa4s2.o): In function `pa4s2_disable':
sanei_pa4s2.c:(.text+0x584): undefined reference to `ieee1284_write_control'
sanei_pa4s2.c:(.text+0x59d): undefined reference to `ieee1284_write_data'
sanei_pa4s2.c:(.text+0x5b6): undefined reference to `ieee1284_write_data'
sanei_pa4s2.c:(.text+0x5cf): undefined reference to `ieee1284_write_data'
...

!!! ERROR: media-gfx/sane-backends-1.0.15-r3 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  sane-backends-1.0.15-r3.ebuild, line 97:   Called die

------------------------------------------------------------------------------
emerge --info
Portage 2.1_rc3 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-suspend2-r4rene i686)
=================================================================
System uname: 2.6.16-suspend2-r4rene i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays /usr/local/overlays/gentoo.de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 arts asf avi berkdb bidi bitmap-fonts bzip2 cdparanoia cdr cli crypt cups curl dri dvd encode esd exif expat fam fbsplash firefox gdbm gif gimp gimpprint gphoto2 gpm gstreamer gtk gtk2 hal idn imagemagick imlib jack java javascript jpeg kde ladspa lcms libg++ libwww logrotate mad mikmod mmx mng motif mozsvg mp3 mpeg musicbrainz ncurses nls nptl nsplugin ogg opengl pam pcre pdf pdflib perl plotutils png ppds pppd python qt quicktime readline reflection scanner sdl session sox spell spl sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vidix visualization vorbis win32codecs xcomposite xine xml xmms xorg xv zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 René 2006-05-28 15:07:10 UTC
After emerging dev-libs/libusb-0.1.12, the problem was gone. Missing dependency?
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2006-05-28 23:05:44 UTC
Looks more like you had some broken dependencies that were fixed by chance this way. The symbols it complains about belong to sys-libs/libieee1284, not to libusb. I guess a revdep-rebuild could have fixed this. Please retry with the old libusb version to make sure it is a version problem (which I doubt).
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2006-07-07 02:30:49 UTC
No reaction - please re-open if necessary.