Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142044 - libcdio-0.77 build failed.
Summary: libcdio-0.77 build failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 15:41 UTC by Sang Shuduo
Modified: 2006-09-25 12:32 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 Sang Shuduo 2006-07-28 15:41:53 UTC
emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
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/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://64.50.236.52/ http://64.50.238.52/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 MONO X aac alsa apache2 apm arts avi bash_completion berkdb bitmap-fonts chm cjk cli cpudetection crypt cscope cups custom-cflags debug directfb dlloader dri dts eds emboss encode esd fbcon foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 i8x0 imlib immqt ipv6 isdnlog jpeg kde libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline real reflection sdl session spell spl spreadsheet sse sse2 ssl tcpd truetype truetype-fonts trusted type1-fonts udev vorbis webservices win32codecs wv xml xmms xorg xv xvid zh_CN zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

error message:
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -O3 -march=i686 -pipe -fomit-frame-pointer -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare   -o libudf.la -rpath /usr/lib  udf.lo udf_file.lo udf_fs.lo udf_time.lo filemode.lo ../../lib/driver/libcdio.la -lm
i686-pc-linux-gnu-gcc -shared  .libs/udf.o .libs/udf_file.o .libs/udf_fs.o .libs/udf_time.o .libs/filemode.o  -Wl,--rpath -Wl,/var/tmp/portage/libcdio-0.77/work/libcdio-0.77/lib/driver/.libs ../../lib/driver/.libs/libcdio.so -lm  -march=i686 -Wl,-soname -Wl,libudf.so.0 -o .libs/libudf.so.0.0.0
.libs/udf.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[3]: *** [libudf.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/libcdio-0.77/work/libcdio-0.77/lib/udf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libcdio-0.77/work/libcdio-0.77/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libcdio-0.77/work/libcdio-0.77'
make: *** [all] Error 2

!!! ERROR: dev-libs/libcdio-0.77 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  libcdio-0.77.ebuild, line 48:   Called die
Comment 1 Matthias Schwarzott gentoo-dev 2006-08-25 07:49:52 UTC
Can you please try if it works with
FEATURES="-ccache" emerge libcdio
Comment 2 Sang Shuduo 2006-09-24 01:32:12 UTC
(In reply to comment #1)
> Can you please try if it works with
> FEATURES="-ccache" emerge libcdio
> 

Yes, it works.
Should I change it to fixed?
Comment 3 Matthias Schwarzott gentoo-dev 2006-09-25 12:32:22 UTC
As it seems you have bad entries in your ccache, clean it up with:

# CCACHE_DIR=/var/tmp/ccache ccache -C

Then it should work as usual without FEATURES="-ccache".
Now marked as fixed.