Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471604 - =media-libs/libsdl-1.2.15 - In file included from ./src/video/x11/SDL_x11dyn.c:96:0: ./src/video/x11/SDL_x11sym.h:168:1: error: conflicting types for '_XData32'
Summary: =media-libs/libsdl-1.2.15 - In file included from ./src/video/x11/SDL_x11dyn....
Status: RESOLVED DUPLICATE of bug 471300
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-28 15:49 UTC by Росен Александров
Modified: 2013-05-28 16:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libsdl build log (media-libs:libsdl-1.2.15-r3:20130528-124301.log,48.59 KB, text/x-log)
2013-05-28 15:49 UTC, Росен Александров
Details
libsdl-1.2.15-xdata32.patch (libsdl-1.2.15-xdata32.patch,644 bytes, patch)
2013-05-28 16:11 UTC, Росен Александров
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Росен Александров 2013-05-28 15:49:29 UTC
Created attachment 349456 [details]
libsdl build log

libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -D_REENTRANT -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11dyn.c  -fPIC -DPIC -o build/.libs/SDL_x11dyn.o
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe  -I./include -D_GNU_SOURCE=1 -fvisibility=hidden  -D_REENTRANT   -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11events.c  -o build/SDL_x11events.lo
In file included from ./src/video/x11/SDL_x11dyn.c:96:0:
./src/video/x11/SDL_x11sym.h:168:1: error: conflicting types for '_XData32'
In file included from ./src/video/x11/SDL_x11dyn.h:34:0,
                 from ./src/video/x11/SDL_x11dyn.c:26:
/usr/include/X11/Xlibint.h:595:12: note: previous declaration of '_XData32' was here
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe  -I./include -D_GNU_SOURCE=1 -fvisibility=hidden  -D_REENTRANT   -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11gamma.c  -o build/SDL_x11gamma.lo
make: *** [build/SDL_x11dyn.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -D_REENTRANT -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11events.c  -fPIC -DPIC -o build/.libs/SDL_x11events.o
./src/video/x11/SDL_x11events.c: In function 'X11_TranslateKeycode':
./src/video/x11/SDL_x11events.c:1108:2: warning: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
./src/video/x11/SDL_x11events.c: In function 'get_modifier_masks':
./src/video/x11/SDL_x11events.c:1200:4: warning: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -I./include -D_GNU_SOURCE=1 -fvisibility=hidden -D_REENTRANT -DXTHREADS -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c ./src/video/x11/SDL_x11gamma.c  -fPIC -DPIC -o build/.libs/SDL_x11gamma.o
emake failed
 * ERROR: media-libs/libsdl-1.2.15-r3 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2885:  Called __eapi2_src_compile
 *   phase-helpers.sh, line  632:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of `emerge --info '=media-libs/libsdl-1.2.15-r3'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libsdl-1.2.15-r3'`.
 * The complete build log is located at '/var/log/portage/media-libs:libsdl-1.2.15-r3:20130528-124301.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/libsdl-1.2.15-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libsdl-1.2.15-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libsdl-1.2.15-r3/work/SDL-1.2.15'
 * S: '/var/tmp/portage/media-libs/libsdl-1.2.15-r3/work/SDL-1.2.15'
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-28 16:08:55 UTC
Please comment with the output of `emerge --info`, thank you.
Comment 2 Росен Александров 2013-05-28 16:10:32 UTC
there is my emerge --info

http://bpaste.net/show/102586/
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-05-28 16:10:46 UTC

*** This bug has been marked as a duplicate of bug 471300 ***
Comment 4 Росен Александров 2013-05-28 16:11:12 UTC
Created attachment 349460 [details, diff]
libsdl-1.2.15-xdata32.patch