Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471934 - [gamerlay] media-libs/libsdl-2.0.0 fails to compile against x11-libs/libX11-1.5.99.902
Summary: [gamerlay] media-libs/libsdl-2.0.0 fails to compile against x11-libs/libX11-1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-31 20:00 UTC by Victor Orozco
Modified: 2013-06-03 05:49 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 Victor Orozco 2013-05-31 20:00:26 UTC
New ebuild for libsdl-2.0.0 fails with libX11-1.5.99.902, this bug seems related to bug #471300

Build fails to buid with:

[ 82%] Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11touch.c.o
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0-amd64/CMakeFiles 82
/usr/bin/x86_64-pc-linux-gnu-gcc  -DSDL2_EXPORTS -DUSING_GENERATED_CONFIG_H  -DNDEBUG -march=corei7 -O2 -pipe -DHAVE_LINUX_VERSION_H -D_REENTRANT -mfpmath=387 -msse2 -msse -mmmx -fvisibility=hidden -march=corei7 -O2 -pipe  -fPIC -I/var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0-amd64/include -I/var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0/include    -o CMakeFiles/SDL2.dir/src/video/x11/SDL_x11touch.c.o -c /var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0/src/video/x11/SDL_x11touch.c
[ 83%] In file included from /var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0/src/video/x11/SDL_x11dyn.c:113:0:
/var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0/src/video/x11/SDL_x11sym.h:206:1: error: conflicting types for ‘_XData32’
/usr/include/X11/Xlibint.h:595:12: note: previous declaration of ‘_XData32’ was here
Building C object CMakeFiles/SDL2.dir/src/video/x11/SDL_x11opengles.c.o
/usr/bin/x86_64-pc-linux-gnu-gcc  -DSDL2_EXPORTS -DUSING_GENERATED_CONFIG_H  -DNDEBUG -march=corei7 -O2 -pipe -DHAVE_LINUX_VERSION_H -D_REENTRANT -mfpmath=387 -msse2 -msse -mmmx -fvisibility=hidden -march=corei7 -O2 -pipe  -fPIC -I/var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0-amd64/include -I/var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0/include    -o CMakeFiles/SDL2.dir/src/video/x11/SDL_x11opengles.c.o -c /var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0/src/video/x11/SDL_x11opengles.c
make[2]: *** [CMakeFiles/SDL2.dir/src/video/x11/SDL_x11dyn.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0-amd64'
make[1]: *** [CMakeFiles/SDL2.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-libs/libsdl-2.0.0/work/SDL2-2.0.0-amd64'
make: *** [all] Error 2


-----

There are two related bugs at upstream's bugzilla
http://bugzilla.libsdl.org/show_bug.cgi?id=1875
http://bugzilla.libsdl.org/show_bug.cgi?id=1877

I can confirm that the proposed patch in the second bug report (for 2.0.0-pre7238) works also for 2.0.0 version. I've tested it modifying the ebuild for euser_patch support.


Reproducible: Always




Portage 2.3.5-r8 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.3, glibc-2.15-r4, 3.9.2-tuxonice x86_64)
=================================================================
System uname: Linux-3.9.2-tuxonice-x86_64-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2.0
KiB Mem:    16390344 total,   6927192 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Fri, 31 May 2013 05:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.2.0-r1000
dev-lang/python:          2.7.5-r1000, 3.2.5-r1000, 3.3.2-r1000
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.10.2-r9
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r4
Repositories: gentoo zugaina angelos science sunrise tuxtor gamerlay sabayon java
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula AdobeFlash-11.x google-talkplugin skype-4.0.0.7-copyright Google-TOS IBM-J1.6 Intel-SDP TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en pt pt_BR es"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/angelos /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/tuxtor /var/lib/layman/gamerlay /var/lib/layman/sabayon /var/lib/layman/java"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="7zip X a52 aac aalib acl acpi addbookmarks additions admin administrator alsa amarok amazon amd amd64 amrnb animation-rtl antlr apache2 apng archive ares ascii aspell autoipd automount avahi bash-completion bdf berkdb binary-drivers bluetooth branding bzip2 c++ cairo ccache cdda cddb cdio cdr cli clutter colord consolekit contentcache corba cracklib crypt css cups cursors custom-cxxflags cxx daap dbus dc1394 development directfb disk-partition divx djvu dri dts dvd dvdr dvdread eds equalizer evo fastbuild fat fbcon fbcondecor fbsplash ffmpeg flac ftp fuse gconf gdbm gdm gif git gnome gnome-keyring gnome-print gnutella gnutls gpm grub gstreamer gtk gtk2 gtk3 gtkstyle hddtemp hfs httpd icons iconv icu id3tag imagemagick injection introspection ipv6 java jpeg jpeg2k keymap lame lcms libcaca libgcrypt libmpeg2 libnotify live lm_sensors lua lxde mad mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mudflap multilib musepack mysql nautilus ncurses nls nptl nsplugin ntfs nvidia objc objc++ objc-gc ogg openal openexr opengl openmp pam pcimcia pcre php plugins png policykit pppd private-headers pulseaudio python readline reflection reiser4 reiserfs resolvconf samba sdl shout simplexml skins spl sqlite srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification stream subversion svg taglib tcpd theora threads tiff tokenizer truetype twitter udev udf unicode v4l v4l2 vcd vdpau verse vim-syntax vorbis vpx wavpack webkit wmf wxwindows x x264 xcb xcomposite xinerama xml xscreensaver xsl xulrunner xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher" LINGUAS="en pt pt_BR es" NETBEANS_MODULES="apisupport javafx cnd java profiler websvccommon enterprise webcommon" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 1 Julian Ospald 2013-05-31 20:24:25 UTC
Don't use the "Games" component for overlay ebuilds.
Comment 2 Vadim A. Misbakh-Soloviov (mva) (RETIRED) gentoo-dev 2013-05-31 23:24:02 UTC
fixed in 1.5 hours *before* reporting ;).

And, yes, don't ude "games" herd dor gamerlay, please. Gentoo Games Team don't likr that.
Comment 3 Azamat H. Hackimov 2013-06-03 04:06:24 UTC
mva, don't break my ebuilds more. And why this bug assigned to mva and not me?
Comment 4 Sergey Popov (RETIRED) gentoo-dev 2013-06-03 05:49:50 UTC
(In reply to Azamat H. Hackimov from comment #3)
> mva, don't break my ebuilds more. And why this bug assigned to mva and not
> me?

Cause somebody forgot to discover actual maintainer of package in metadata and blindly assign gamerlay bugs to overlay's owner. No offense, Julian