ERROR: sys-apps/usbutils-0.86-r1 failed. /var/tmp/portage/sys-apps/usbutils-0.86-r1/temp/build.log: >>> Unpacking source... >>> Unpacking usbutils-0.86.tar.gz to /var/tmp/portage/sys-apps/usbutils-0.86-r1/work >>> Source unpacked in /var/tmp/portage/sys-apps/usbutils-0.86-r1/work >>> Preparing source in /var/tmp/portage/sys-apps/usbutils-0.86-r1/work/usbutils-0.86 ... * Applying usbutils-0.82-fbsd.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/usbutils-0.86-r1/work/usbutils-0.86 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --datarootdir=/usr/share --datadir=/usr/share/misc --enable-zlib checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... no checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for inflateEnd in -lz... yes checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands usbutils 0.86 ============= prefix: /usr datarootdir: /usr/share datadir: /usr/share/misc mandir: /usr/share/man usb.ids: /usr/share/misc/usb.ids zlib: yes compiler: x86_64-pc-linux-gnu-gcc cflags: -march=athlon64 -O2 -pipe -msse3 ldflags: -Wl,-O1 >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/usbutils-0.86-r1/work/usbutils-0.86 ... make -j3 make all-am make[1]: Entering directory `/var/tmp/portage/sys-apps/usbutils-0.86-r1/work/usbutils-0.86' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share/misc\" -march=athlon64 -O2 -pipe -msse3 -MT lsusb-lsusb.o -MD -MP -MF .deps/lsusb-lsusb.Tpo -c -o lsusb-lsusb.o `test -f 'lsusb.c' || echo './'`lsusb.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share/misc\" -march=athlon64 -O2 -pipe -msse3 -MT lsusb-lsusb-t.o -MD -MP -MF .deps/lsusb-lsusb-t.Tpo -c -o lsusb-lsusb-t.o `test -f 'lsusb-t.c' || echo './'`lsusb-t.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share/misc\" -march=athlon64 -O2 -pipe -msse3 -MT lsusb-names.o -MD -MP -MF .deps/lsusb-names.Tpo -c -o lsusb-names.o `test -f 'names.c' || echo './'`names.c mv -f .deps/lsusb-lsusb-t.Tpo .deps/lsusb-lsusb-t.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share/misc\" -march=athlon64 -O2 -pipe -msse3 -MT lsusb-devtree.o -MD -MP -MF .deps/lsusb-devtree.Tpo -c -o lsusb-devtree.o `test -f 'devtree.c' || echo './'`devtree.c mv -f .deps/lsusb-lsusb.Tpo .deps/lsusb-lsusb.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDATADIR=\"/usr/share/misc\" -march=athlon64 -O2 -pipe -msse3 -MT lsusb-usbmisc.o -MD -MP -MF .deps/lsusb-usbmisc.Tpo -c -o lsusb-usbmisc.o `test -f 'usbmisc.c' || echo './'`usbmisc.c mv -f .deps/lsusb-names.Tpo .deps/lsusb-names.Po sed 's|@usbids@|/usr/share/misc/usb.ids|g' update-usbids.sh.in >update-usbids.sh chmod 755 update-usbids.sh mv -f .deps/lsusb-usbmisc.Tpo .deps/lsusb-usbmisc.Po sed 's|VERSION|0.86|g;s|@usbids@|/usr/share/misc/usb.ids|g' lsusb.8.in >lsusb.8 sed 's|VERSION|0.86|g' usb-devices.1.in >usb-devices.1 mv -f .deps/lsusb-devtree.Tpo .deps/lsusb-devtree.Po gzip -c -9 usb.ids > usb.ids.gz sed 's|@usbids@|/usr/share/misc/usb.ids|g;s|@VERSION[@]|0.86|g' usbutils.pc.in >usbutils.pc x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -msse3 -Wl,--as-needed -Wl,-O1 -o lsusb lsusb-lsusb.o lsusb-lsusb-t.o lsusb-names.o lsusb-devtree.o lsusb-usbmisc.o -lusb -lz /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: ld gab 1 als Ende-Status zurück make[1]: *** [lsusb] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/usbutils-0.86-r1/work/usbutils-0.86' make: *** [all] Fehler 2 * * ERROR: sys-apps/usbutils-0.86-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2340: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/usbutils-0.86-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/usbutils-0.86-r1/temp/environment'. * emerge --info: Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.13 Timestamp of tree: Sun, 13 Dec 2009 10:45:03 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://gentoo.inode.at/ http://gentoo.mirror.web4u.cz/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" 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/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus dga dri dts dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 jpeg kpathsea libnotify lzo mad mikmod mmx mmxext modules mp2 mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ens1371" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" SANE_BACKENDS="niash" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
Try without ccache.
Thank you, without ccache it compiles fine.