Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244350 - x11-base/xorg-server-1.5.2 + media-libs/libcaca-0.99_beta16 - libtool: link: cannot find the library `/usr/lib64/libcucul.la' or unhandled argument `/usr/lib64/libcucul.la'
Summary: x11-base/xorg-server-1.5.2 + media-libs/libcaca-0.99_beta16 - libtool: link: ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 244758 268708 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-25 18:06 UTC by Randall Wald
Modified: 2009-05-05 12:24 UTC (History)
2 users (show)

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 Randall Wald 2008-10-25 18:06:34 UTC
I'm in the process of updating my system to use gcc 4.3. As part of that, I needed to un-keyword mask libcaca (as per bug #213001). When I got to remerging x11-base/xorg-server-1.5.2, I got the following errors:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../fb -I../../../mi -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -I/usr/kerberos/include   -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -DHAVE_KDRIVE_CONFIG_H -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -I/usr/kerberos/include   -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb    -march=native -O2 -pipe -ftree-vectorize -MT sdl.o -MD -MP -MF .deps/sdl.Tpo -c -o sdl.o sdl.c
mv -f .deps/sdl.Tpo .deps/sdl.Po
/bin/sh ../../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=native -O2 -pipe -ftree-vectorize -rdynamic -Wl,-O1 -Wl,-z,lazy -o Xsdl sdl.o ../../../dix/libdix.la ../../../hw/kdrive/src/libkdrive.a ../../../hw/kdrive/src/libkdrivestubs.a ../../../config/libconfig.a ../../../fb/libfb.la ../../../mi/libmi.la ../../../fb/libfb.la ../../../mi/libmi.la ../../../xfixes/libxfixes.la ../../../Xext/libXext.la ../../../dbe/libdbe.la ../../../XTrap/libxtrap.la ../../../record/librecord.la ../../../glx/libglx.la ../../../render/librender.la ../../../randr/librandr.la ../../../damageext/libdamageext.la ../../../miext/damage/libdamage.la ../../../miext/shadow/libshadow.la ../../../Xi/libXi.la ../../../xkb/libxkb.la ../../../xkb/libxkbstubs.la ../../../composite/libcomposite.la ../../../dix/libxpstubs.la ../../../os/libos.la ../../../hw/kdrive/linux/liblinux.a ../../../os/libos.la -lXfont -lXau -lfontenc -lpixman-1 -lhal -ldbus-1 -lXdmcp    -lm  -lrt   -lcrypto -lSDL -lpthread -lm  -lrt
mkdir .libs
libtool: link: cannot find the library `/usr/lib64/libcucul.la' or unhandled argument `/usr/lib64/libcucul.la'
make[3]: *** [Xsdl] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.2/work/xorg-server-1.5.2/hw/kdrive/sdl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.2/work/xorg-server-1.5.2/hw/kdrive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.2/work/xorg-server-1.5.2/hw'
make: *** [all-recursive] Error 1
 * 
 * ERROR: x11-base/xorg-server-1.5.2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 3171:  Called x-modular_src_compile
 * environment, line 3970:  Called x-modular_src_make
 * environment, line 4006:  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/x11-base/xorg-server-1.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.5.2/temp/environment'.
 * 

I checked, and indeed libcaca-0.99_beta16 does not provide a /usr/lib64/libcucul.la file; the only relevant-looking files provided are:

/usr/include/cucul.h
/usr/lib64/libcucul.so.0.99.0
/usr/lib64/libcucul++.so
/usr/lib64/libcucul++.so.0
/usr/lib64/libcucul++.so.0.99.16
/usr/lib64/libcucul.so
/usr/lib64/libcucul.so.0
/usr/lib64/libcucul.so.0.99.16
/usr/lib64/pkgconfig/cucul++.pc
/usr/lib64/pkgconfig/cucul.pc

Should xorg-server be trying to link against one of these? Should libcaca-0.99_beta16 be providing a proper libcucul.la file? I don't know; hopefully, someone else does.

Here's my emerge --info:

Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.25-protect-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-protect-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.2.5
Timestamp of tree: Fri, 24 Oct 2008 16:47:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en ja"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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/sunrise /usr/portage/local/layman/roslin /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="64bit 7zip X a52 aac aalib acl acpi aim alsa amarok amazon amd64 animgif anthy audacious bash-completion berkdb bittorrent bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli console cracklib crypt css cups dbus dict directfb divx djvu dri dvd dvdnav dvdr dvdread dvi eds emboss encode esd exif fam fat fbcon fbcondecor fbsplash ffmpeg flac fortran ftp gdbm gif gimp gimpprint glitz glsa gmail gnome gpm gs gstreamer gtk hal hdaps hddtemp hfs ibmacpi iconv icq icu idea ieee1394 imagemagick ipv6 ipw4965 isdnlog jabber java javascript jingle john jpeg kerberos lame laptop latex ldap libcaca libnotify lm_sensors lua mad matroska md5sum midi mikmod mmx mng mono mp3 mpeg mplayer msn mtp mudflap multilib musicbrainz mysql ncurses nethack nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp openssl opensslcrypt openvpn pam pcmcia pcre pdf perl pidgin png pop ppds pppd prediction python qt3support quicktime rar raw readline realmedia reflection reiserfs sdl server session spell spl sse sse2 ssl svg sysfs tcpd theora threads thunderbird tiff timidity tracker truetype uim unicode usb vim-syntax vim-with-x visualization vorbis wav wifi wma wmp wordperfect wxwindows x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en ja" USERLAND="GNU" VIDEO_CARDS="vesa vga i810 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-10-25 19:40:15 UTC
You should run:
revdep-rebuild
Comment 2 Randall Wald 2008-10-25 21:26:06 UTC
That fixed it, thanks. Sorry about the spurious bug report.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-28 17:50:32 UTC
*** Bug 244758 has been marked as a duplicate of this bug. ***
Comment 4 Randall Wald 2008-10-29 04:02:19 UTC
Useful note: If one downgrades from libcaca-0.99_beta16 to libcaca-0.99_beta11, one will need to rebuild libsdl and (possibly; I did these just to be sure) anything you have installed that looks like sdl-*, before you can rebuild xorg-server. revdep-rebuild didn't catch these necessary rebuilds, so I'm posting them here in case someone else finds it useful.
Comment 5 Rafał Mużyło 2009-05-05 12:24:25 UTC
*** Bug 268708 has been marked as a duplicate of this bug. ***