Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148617 - media-libs/libsdl-1.2.11 failed with USE="libcaca"
Summary: media-libs/libsdl-1.2.11 failed with USE="libcaca"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-22 01:38 UTC by Yangtse Su
Modified: 2006-11-15 05:48 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 Yangtse Su 2006-09-22 01:38:02 UTC
# emerge --info
Portage 2.1.2_pre1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Thu, 21 Sep 2006 21:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 2.0.29
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo http://gentoo.139pay.com"
LANG="zh_CN.UTF-8"
LINGUAS="zh_CN"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.139pay.com/gentoo-portage"
USE="amd64 X a52 aac aalib acpi acpid alsa amr arts asf avi berkdb bitmap-fonts cairo cdr chardet cjk cli crypt css dbus divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode fam fame fbcon ffmpeg firefox flac fontconfig fortran gcc64 gdbm gif gpm graphviz gs gtk2 hal imagemagick input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde kernel_linux kipi kqemu ldap libg++ linguas_zh_CN mad mikmod mjpeg mp3 mp4 mpeg musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdf pdflib perl png ppds python qt3 qt4 quicktime rdesktop readline reflection samba sdl session sndfile socks5 spell spl ssl svg tcpd theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis wma x264 xcomposite xine xinerama xml xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Yangtse Su 2006-09-22 01:39:05 UTC
./src/video/caca/SDL_cacaevents.c: In function 'Caca_PumpEvents':
./src/video/caca/SDL_cacaevents.c:52: warning: passing argument 1 of 'caca_get_event' makes pointer from integer without a cast
./src/video/caca/SDL_cacaevents.c:52: error: too few arguments to function 'caca_get_event'
make: *** [build/SDL_cacaevents.lo] 错误 1

!!! ERROR: media-libs/libsdl-1.2.11 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  libsdl-1.2.11.ebuild, line 162:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-22 11:44:58 UTC
http://packages.gentoo.org/search/?sstring=libcaca
0.99 is masked, is that what you have?
Comment 3 Yangtse Su 2006-09-22 19:23:44 UTC
Yes,libcaca-0.99_beta4
Comment 4 Yangtse Su 2006-09-22 22:12:58 UTC
If i do not use this patch, It works well.
"libsdl-1.2.11-libcaca.patch"
Comment 5 SpanKY gentoo-dev 2006-09-22 22:35:38 UTC
then it's your fault for using p.masked packages :P
Comment 6 Yangtse Su 2006-09-23 00:41:40 UTC
I was not mean that.
But xine-lib-1.1.3_pre20060914 depends on >=media-libs/libcaca-0.99-bate1

I use xine to play wmv files.

mplayer failed with this version of libcaca too.
Comment 7 SpanKY gentoo-dev 2006-09-23 02:54:25 UTC
... and that version of xine-lib is also package.masked
Comment 8 Yangtse Su 2006-09-23 06:41:53 UTC
sure...
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-11-15 05:47:49 UTC
  27 Sep 2006; Hanno Boeck <hanno@gentoo.org>
  +files/libsdl-1.2.11-libcaca-new-api.patch, libsdl-1.2.11.ebuild:
  Add patch for new libcaca api, it uses the compatibility layer so it won't
  break old versions of libcaca.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-11-15 05:48:01 UTC
FIXED.