Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83290 - hpoj-0.91-r3 compilation failed, Function src_compile, Line 45, Exitcode 2
Summary: hpoj-0.91-r3 compilation failed, Function src_compile, Line 45, Exitcode 2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 77346 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-25 04:57 UTC by Julien Cynober
Modified: 2005-05-31 17:28 UTC (History)
3 users (show)

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


Attachments
Output of 'emerge hpoj' (hpoj.log,26.03 KB, application/octet-stream)
2005-02-25 04:59 UTC, Julien Cynober
Details
Output of 'emerge hpoj' (hpoj.log,26.03 KB, text/plain)
2005-02-25 05:00 UTC, Julien Cynober
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Cynober 2005-02-25 04:57:35 UTC
My USE flags for hpoj are : +X +cups +qt +scanner -snmp +ssl +usb

Reproducible: Always
Steps to Reproduce:
1.emerge hpoj
2.
3.




'emerge info' returns :
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r6 i686)
=================================================================
System uname: 2.6.9-gentoo-r6 i686 mobile AMD Athlon(tm) XP-M 2000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 25 2005, 04:37:49)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -fforce-addr
-finline-functions -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -fforce-addr
-finline-functions -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR"
LC_ALL="fr_FR"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa arts avi berkdb bitmap-fonts cdr cjk crypt cups
curldvd emboss encode f77 fam font-server foomaticdb fortran gdbm gif gpm gtk
gtk2 imagemagick imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg
ncurses nls oggvorbis opengl pam pdflib perl png ppds python qt quicktime
readline sambascanner sdl spell sse ssl svg svga tcpd tiff truetype
truetype-fonts type1-fonts usb xine xml2 xmms xprint xv xvid zlib linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET, PORTDIR_OVERLAY
Comment 1 Julien Cynober 2005-02-25 04:59:11 UTC
Created attachment 52112 [details]
Output of 'emerge hpoj'
Comment 2 Julien Cynober 2005-02-25 05:00:05 UTC
Created attachment 52113 [details]
Output of 'emerge hpoj'
Comment 3 Max 2005-03-07 11:44:37 UTC
Sadly enough I get the exact same error here... In a related bug, someone mentioned re-emerging libusb might work. But it doesn't. Here's my emerge info:

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  7 2005, 15:36:36)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="amd64 S3TC X aavm acpi acpi4linux alsa amd apache2 ared arts audiofile autofs avantgo avi berkdb bitmap-fonts bluetooth bootsplash bzip2 bzlib cairo calendar caps ccache cddb cdparanoia cdr clamav codecs crypt css cups curl dba dga divx4linux dv dvd dvdr dvdread eds emul-linux-x86 encode esd evo ex exif f77 faad fam fb fbcon fbdev ffmpeg flac font-server foomaticdb fortran freetype fs ftp gd gif gimp gmail gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal icq imagemagick imap imlib irmc java javascript jikes joystick jp2 jpeg jpeg2k kde kdeenablefinal kdexdeltas lm_sensors lzo lzw lzw-tiff mad maildir mime mjpeg motif mozilla moznocompose moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn multilib mysql ncurses network nntp nptl nptlonly offensive ogg oggvorbis openal opengl opens operanom2 oscar oss pam pda perl php pic png posix ppds procmail pthreads python qt quicktime radeon readline rtc session slang smime sockets spamassassin spell ssl stencil-buffer svg theora tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales vcd videos vidix vorbis wxwindows xine xml2 xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 4 Thomas Eckert 2005-03-09 02:34:21 UTC
same problem here.
haven't had a deep look into this but libusb-0.1.8 seems to cause the trouble.
downgrading to libusb-0.1.7-r1 made hpoj compile for me.
Comment 5 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-03-20 04:01:21 UTC
Also upgrading to dev-libs/libusb-0.1.10a allowed the successful compilation of net-print/hpoj-0.91-r3.
Comment 6 Jon Haynes 2005-04-02 00:38:03 UTC
Like Marcus I upgraded dev-libs/libusb-0.1.10a and got hpoj to compile.
Comment 7 James Bannon 2005-04-10 06:13:41 UTC
I can't get the upgrade to the new library version, presumably because I don't have ~x86 set. If it only compiles with this version of the library then perhaps it should be removed from the x86 branch until the new library is available on that branch.
Comment 8 Andrew Johnson 2005-04-20 07:29:00 UTC
I'm experiencing the same problem.  I believe this is occuring because libusb-0.1.8 seems to use the wrong filenames for the shared libraries, at least on my system.  Instead of the libusb.so, libusb-0.1.4.so, and libusb-0.1.4.4.0.so in /usr/lib I would expect I got libusb, libusb-0.1.4, and libusb-0.1.4.4.0 (no .so on any of them).  Reemerging libusb didn't help, but a simple "cd /usr/lib; ln -s libusb-0.1.4.4.0 libusb.so" allowed hpoj-0.91-r3 to emerge and behave properly.
Comment 9 Mike Hepple 2005-04-24 10:31:46 UTC
Had the same problem, resolution was

echo "dev-libs/libusb ~x86" >> /etc/portage/package.keywords
emerge -av libusb hpoj

Works fine now. However bear in mind that libusb is masked, if you're running a stable system you may want to look at other solutions.
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 15:02:24 UTC
*** Bug 77346 has been marked as a duplicate of this bug. ***
Comment 11 Heinrich Wendel (RETIRED) gentoo-dev 2005-04-24 15:04:42 UTC
what about marking libusb-1.10a stable?
Comment 12 James Porter 2005-05-29 14:41:22 UTC
(In reply to comment #11)
> what about marking libusb-1.10a stable?
I agree...this has been a big head-ache for me...please mark 1.10a stable and
0.1.8 unstable
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2005-05-30 08:49:26 UTC
i've just marked libusb-0.10a stable for x86
Comment 14 Heinrich Wendel (RETIRED) gentoo-dev 2005-05-31 17:28:43 UTC
stable now -> close