Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot emerge -u libsdl to version 1.2.10
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rainbowdemon
n00b
n00b


Joined: 26 May 2006
Posts: 13
Location: Korschenbroich, NRW, Germany

PostPosted: Fri May 26, 2006 6:34 pm    Post subject: cannot emerge -u libsdl to version 1.2.10 Reply with quote

after running emerge --sync, and trying to upgrade world, libsdl version 1.2.10 (i am running a testing system), cancels with an error, following error message appears:

Code:

./src/video/x11/SDL_x11modes.c: In function 'X11_GetVideoModes':
./src/video/x11/SDL_x11modes.c:632: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c: In function 'X11_ResizeFullScreen':
./src/video/x11/SDL_x11modes.c:905: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:906: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:907: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:908: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c: In function 'X11_EnterFullScreen':
./src/video/x11/SDL_x11modes.c:967: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:968: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:969: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
./src/video/x11/SDL_x11modes.c:970: error: 'struct SDL_PrivateVideoData' has no member named 'xinerama_info'
make: *** [build/SDL_x11modes.lo] Error 1
make: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -O3 -march=k8 -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -I/usr/include/directfb -D_REENTRANT -D_REENTRANT -DHAVE_LINUX_VERSION_H -c ./src/video/x11/SDL_x11dyn.c -o build/SDL_x11dyn.o >/dev/null 2>&1

!!! ERROR: media-libs/libsdl-1.2.10 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  libsdl-1.2.10.ebuild, line 143:   Called die

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



MY info:

Code:

Portage 2.1_rc2-r3 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 AMD Turion(tm) 64 Mobile Technology MT-30
Gentoo Base System version 1.12.0
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=k8 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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 /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=k8 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de GER german"
MAKEOPTS="-j2"
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/overlays/gentoo-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa amarok apache2 apm arts asf avi bash-completion berkdb bitmap-fonts cdr cli crypt cups directfb doc dri dvd dvdr dvdread eds emboss encode foomaticdb fortran ftp gdbm gif gpm gstreamer gtk gtk2 imap imlib isdnlog java jikes jpeg kde libg++ libwww mad maildir mikmod motif mp3 mpeg mplayer mysql ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre pdflib perl pic png pppd python qt quicktime readline reflection ruby samba sdl session spell spl ssl tcltk tcpd truetype truetype-fonts type1-fonts usb vcd vorbis win32codecs wxwindows xine xml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_synaptics input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_GER linguas_german userland_GNU video_cards_nvidia video_cards_vesa video_cards_vga video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS




hope to get some help from y'all

thx in advance and excuse my newbe forum postings, never been doing that before ;)
Back to top
View user's profile Send private message
houtworm
Apprentice
Apprentice


Joined: 08 Mar 2003
Posts: 290
Location: Den Haag, Netherlands

PostPosted: Fri May 26, 2006 8:44 pm    Post subject: Reply with quote

same problem here
_________________
niemand is onbekwamer, dan een timmerman zonder hamer

Kees
Back to top
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 819
Location: PL

PostPosted: Fri May 26, 2006 9:37 pm    Post subject: Reply with quote

and same here. i used gcc 4.1.1

post it to bugzilla.
_________________
~amd64, ~x86
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Fri May 26, 2006 9:46 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=134386
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 82
Location: Germany, Old Europe

PostPosted: Sat May 27, 2006 10:25 am    Post subject: Reply with quote

Sorry to ask that noobish: How do you apply the patch in this bug? And further: Is this patch safe? shall you use it? What does the patch do?
Back to top
View user's profile Send private message
tehuty
n00b
n00b


Joined: 30 Apr 2006
Posts: 23

PostPosted: Sat May 27, 2006 11:29 am    Post subject: Reply with quote

Sorry but I am also do not know how to apply the patch in this bug?
plz help with it . :(
_________________
IBM T42 - stage-3-i686,,amd-athlon-xp- stage-3-i686.
KDE 3.5.2 on all. --- Eclipse + emacs .
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sat May 27, 2006 12:08 pm    Post subject: Reply with quote

If you don't know that, maybe you'd better wait a few days for the patch to make it into portage. But still...

copy media-libs/libsdl/libsdl-1.2.10.ebuild to your_overlay/media-libs/libsdl/
copy media-libs/libsdl/files/libsdl-1.2.10-*.patch to your_overlay/media-libs/libsdl/files/
copy the patch from bugzilla to the same dir
add a epatch ${FILESDIR}/name_of_the_patch to src_unpack() in the ebuild
ebuild libsdl-1.2.10.ebuild digest
emerge -1 libsdl
Back to top
View user's profile Send private message
tehuty
n00b
n00b


Joined: 30 Apr 2006
Posts: 23

PostPosted: Sat May 27, 2006 12:16 pm    Post subject: Reply with quote

Senks :D
_________________
IBM T42 - stage-3-i686,,amd-athlon-xp- stage-3-i686.
KDE 3.5.2 on all. --- Eclipse + emacs .
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 82
Location: Germany, Old Europe

PostPosted: Sat May 27, 2006 12:53 pm    Post subject: Reply with quote

*g* senks too...
Uncle Owen is like an uncle to mee. He takes care of the young and less knowledgibles (it sounds like 'les miserables', no?)
Maybe I wait a few days. But I wanted to know that anyway. Is there a howto in the gentoo-wiki about these patches?
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Sat May 27, 2006 2:13 pm    Post subject: Reply with quote

laurelin wrote:
Is there a howto in the gentoo-wiki about these patches?

I've once updated the 3rd party wiki with a small section on how to add patch files. If you patch is not in the build, then you need to also modify the ebuild as uncle said.
If you want a deeper insight into ebuilds (not that you really need to know that in order to digest ebuilds), take a look at the Ebuild How-to
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 82
Location: Germany, Old Europe

PostPosted: Sat May 27, 2006 2:23 pm    Post subject: Reply with quote

thanks a lot.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum