Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276297 - media-libs/sdl-gfx-2.0.19: won't compile
Summary: media-libs/sdl-gfx-2.0.19: won't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-02 20:48 UTC by Denis Sokolovsky
Modified: 2009-07-05 09:41 UTC (History)
1 user (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 Denis Sokolovsky 2009-07-02 20:48:30 UTC
Update to media-libs/sdl-gfx-2.0.19 from media-libs/sdl-gfx-2.0.17 failed.
Installing of media-libs/sdl-gfx-2.0.19 (after removing media-libs/sdl-gfx-2.0.17) also fails

Reproducible: Always

Steps to Reproduce:
Nothing especial - first time happens on "emerge -avDNu @system @world"
1. Install media-libs/sdl-gfx-2.0.19
Actual Results:  
/bin/sh ./libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -O2 -march=nocona -pipe  -DUSE_MMX -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -version-info 18:1:5 -Wl,-O1 -o libSDL_gfx.la -rpath /usr/lib SDL_gfxPrimitives.lo SDL_rotozoom.lo SDL_framerate.lo SDL_imageFilter.lo SDL_gfxBlitFunc.lo  -lm -lSDL -lpthread
libtool: link: i686-pc-linux-gnu-gcc -shared  .libs/SDL_gfxPrimitives.o .libs/SDL_rotozoom.o .libs/SDL_framerate.o .libs/SDL_imageFilter.o .libs/SDL_gfxBlitFunc.o   -lm /usr/lib/libSDL.so -lpthread  -march=nocona -Wl,-O1   -Wl,-soname -Wl,libSDL_gfx.so.13 -o .libs/libSDL_gfx.so.13.5.1
libtool: link: (cd ".libs" && rm -f "libSDL_gfx.so.13" && ln -s "libSDL_gfx.so.13.5.1" "libSDL_gfx.so.13")
libtool: link: (cd ".libs" && rm -f "libSDL_gfx.so" && ln -s "libSDL_gfx.so.13.5.1" "libSDL_gfx.so")
libtool: link: i686-pc-linux-gnu-ar cru .libs/libSDL_gfx.a  SDL_gfxPrimitives.o SDL_rotozoom.o SDL_framerate.o SDL_imageFilter.o SDL_gfxBlitFunc.o
libtool: link: i686-pc-linux-gnu-ranlib .libs/libSDL_gfx.a
/bin/sed: can't read /usr/lib/libcucul.la: No such file or directory
libtool: link: `/usr/lib/libcucul.la' is not a valid libtool archive
make: *** [libSDL_gfx.la] Error 1
 * 
 * ERROR: media-libs/sdl-gfx-2.0.19 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  120:  Called _eapi2_src_compile
 *               ebuild.sh, line  634:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 *  The die message:
 *   emake failed


# emerge --info
Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-glibc2.0
Timestamp of tree: Thu, 02 Jul 2009 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /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/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="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ http://de-mirror.org/distro/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB uk ru"
MAKEOPTS="-j4"
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.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdr cli clisp cracklib crypt cups dbus djvu dri dv dvd dvdr dvdread eds emboss encode evo exif fam fastcgi fbcon festival ffmpeg fftw firefox flac fortran ftp gdbm geoip gif gnome gnutls gpm gs gstreamer gtk hal hddtemp iconv ieee1394 imlib ipv6 irda isdnlog ithreads java java6 jbig jpeg jpeg2k lcms ldap libcaca libnotify libsamplerate libsndfile lua lzo mad midi mikmod mmap mmx mng modplug mp3 mpeg mudflap musepack nas ncurses nfs nls nntp nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pam pcmcia pcre pdf perl pg-intdatetime png postgres ppds pppd pulseaudio python qt3support quicktime rar readline reflection samba sdl server session slang snmp spell spl sqlite sse sse2 ssl ssse3 startup-notification svg symlink sysfs syslog tcl theora threads tiff tk truetype unicode usb vim-syntax vorbis wavpack wifi win32codecs wma wmf x264 x86 xattr xcb xcomposite xinerama xml xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel emu10k1" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB uk ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rick Harris 2009-07-02 22:57:16 UTC
See bug #275907, latest stable media-libs/libcaca-0.99_beta16 is broken.
Mask it and downgrade to media-libs/libcaca-0.99_beta14 and sdl-gfx will work again.
Comment 2 Rafał Mużyło 2009-07-02 23:27:38 UTC
(In reply to comment #1)
> See bug #275907, latest stable media-libs/libcaca-0.99_beta16 is broken.
> Mask it and downgrade to media-libs/libcaca-0.99_beta14 and sdl-gfx will work
> again.
> 
You are wrong.
Both la file and static archive of libcaca is installed.
libcucul, on the other hand, is correctly not installed,
as it does not exist anymore.

As for the reporter: use revdep-rebuild (or have a look
at xcb-rebuilder.sh from x11-libs/libxcb and create
similar for libcucul).
Comment 3 Nico Baggus 2009-07-03 06:51:18 UTC
hm. libcucul.so is installed....?
Comment 4 Denis Sokolovsky 2009-07-03 07:38:16 UTC
> hm. libcucul.so is installed....?

libcucul.so is symlink to libcaca.so. Have media-libs/libcaca-0.99_beta16.
revdep-rebuild rebuild all sdl libraries (including libsdl) and now evrything is ok.

Hmm, should I run revdep-rebuild every time before reporting a bug?
Comment 5 Rafał Mużyło 2009-07-03 09:21:18 UTC
Maybe not every time, but it's something that
should be done every once in awhile.
Actually, this is a rather special case,
as revdep-rebuild is meant more for
library major version change
(like when readline goes from libreadline.so.5 to 
libreadline.so.6 or nspr goes from /usr/lib/nspr/libnspr4.so.7
to /usr/lib/nspr/libnspr4.so.8).
Comment 6 Denis Sokolovsky 2009-07-03 10:10:00 UTC
So, as I understand this bug is really not a bug and must be closed. Who must close bug: I as reporter or somebody from staff?

P.S. may be for such special cases is worth to include some news or, may be, forcibly run revdep-rebuild?
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-05 09:41:14 UTC
Not a bug --> INVALID