Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513302 - media-libs/libsdl-1.2.15-r2 - 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-r2 - In file included from ./src/video/x11/SDL_x11dy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 513610 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-15 06:55 UTC by headcrabextra
Modified: 2014-06-17 21:43 UTC (History)
4 users (show)

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


Attachments
build log (build.log,47.01 KB, text/plain)
2014-06-15 06:55 UTC, headcrabextra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description headcrabextra 2014-06-15 06:55:04 UTC
/bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -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
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:568:12: note: previous declaration of ‘_XData32’ was here
make: *** [build/SDL_x11dyn.lo] Error 1

The full build log is attached.

Reproducible: Always




$ emerge -pqv '=media-libs/libsdl-1.2.15-r2::gentoo'
[ebuild     UD] media-libs/libsdl-1.2.15-r2 [1.2.15-r4] USE="X alsa joystick opengl pulseaudio sound video xinerama xv -aalib -custom-cflags -dga -directfb -fbcon -ggi -libcaca -nas -oss (-ps3) -static-libs (-svga) -tslib" 


$ emerge --info '=media-libs/libsdl-1.2.15-r2::gentoo'
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.12.21-gentoo-r1_gg20 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1_gg20-x86_64-Intel-R-_Core-TM-_i7-3517U_CPU_@_1.90GHz-with-gentoo-2.2
KiB Mem:     3942428 total,    307936 free
KiB Swap:    4509692 total,   4509592 free
Timestamp of tree: Sat, 14 Jun 2014 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2                                                                                                                                             
sys-devel/make:           3.82-r4                                                                                                                                           
sys-kernel/linux-headers: 3.13 (virtual/os-headers)                                                                                                                         
sys-libs/glibc:           2.17
Repositories: gentoo gentoo-overlay-tox aegypius x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --quiet-build --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://gentoo.bloodhost.ru/ http://mirror2.corbina.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ http://tux.rainside.sk/gentoo/ http://ftp.df.lth.se/pub/gentoo/ http://gentoo.kiev.ua/ftp/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/tox-overlay /var/lib/layman/aegypius /usr/local/portage"
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli cmake consolekit cracklib crypt cryptsetup cups cxx dbus declarative dri dts dvd dvdr emacs emboss encode exif fam ffmpeg firefox flac fortran gdbm gif git gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad matroska mmx mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline sdl session spell sse sse1 sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb valgrind vim vim-syntax vorbis vpx wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" 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 ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 headcrabextra 2014-06-15 06:55:43 UTC
Created attachment 378922 [details]
build log
Comment 2 Julian Ospald 2014-06-15 13:03:51 UTC
can't reproduce
Comment 3 headcrabextra 2014-06-15 13:08:33 UTC
(In reply to Julian Ospald (hasufell) from comment #2)
> can't reproduce

Well, what do you want me to do about it?
Comment 4 Elias Probst 2014-06-15 16:22:12 UTC
Ran into this issue with -r4… upgraded to -r5 here which built just fine.
Comment 5 Julian Ospald 2014-06-15 18:05:56 UTC
oh right, I didn't read -r2

-r4 should not be affected at all. If that is really the case, then something is very wrong.

Test with -r4, which is the latest stable version, not -r2. Your tree might be out of date.
Comment 6 headcrabextra 2014-06-15 18:26:11 UTC
(In reply to Julian Ospald (hasufell) from comment #5)
> oh right, I didn't read -r2
> 
> -r4 should not be affected at all. If that is really the case, then
> something is very wrong.
> 
> Test with -r4, which is the latest stable version, not -r2. Your tree might
> be out of date.

My tree is not outdated. I already have libsdl-1.2.15-r4 installed but emerge wants to downgrade it:

$ sudo emerge --pretend --oneshot =virtual/ffmpeg-9-r1
These are the packages that would be merged, in order:

Calculating dependencies  ...... done!
[ebuild     UD ] media-libs/libsdl-1.2.15-r2 [1.2.15-r4]
[ebuild     U ~] media-video/ffmpeg-2.2.3-r1 [2.2.3] ABI_X86="(64%*) -32% (-x32)" 
[ebuild     U ~] virtual/ffmpeg-9-r1 [9] ABI_X86="(64%*) -32% (-x32)"
Comment 7 Julian Ospald 2014-06-15 18:41:56 UTC
you are mixing stable and unstable arch which maybe confuses portage

portage is broken... however, this is not an ebuild bug

I suggest to unmask latest libsdl. Otherwise seek help in #gentoo IRC channel.
Comment 8 headcrabextra 2014-06-15 20:37:15 UTC
(In reply to Julian Ospald (hasufell) from comment #7)
> you are mixing stable and unstable arch which maybe confuses portage
> 
> portage is broken... however, this is not an ebuild bug
> 
> I suggest to unmask latest libsdl. Otherwise seek help in #gentoo IRC
> channel.

If portage is broken, maybe mark this bug as portage bug?
Comment 9 headcrabextra 2014-06-15 20:50:06 UTC
libsdl-1.2.15-r5 emerged fine
Comment 10 Julian Ospald 2014-06-16 13:29:25 UTC
(In reply to headcrabextra from comment #9)
> libsdl-1.2.15-r5 emerged fine

what about -r4?
Comment 11 headcrabextra 2014-06-16 16:34:37 UTC
(In reply to Julian Ospald (hasufell) from comment #10)
> (In reply to headcrabextra from comment #9)
> > libsdl-1.2.15-r5 emerged fine
> 
> what about -r4?

# emerge --pretend --oneshot =libsdl-1.2.15-r4
These are the packages that would be merged, in order:

Calculating dependencies  .......... ..... done!
[ebuild     UD ] media-libs/libsdl-1.2.15-r4 [1.2.15-r5] USE="-directfb%" 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/libsdl:0

  (media-libs/libsdl-1.2.15-r5::gentoo, installed) pulled in by
    >=media-libs/libsdl-1.2.13-r1[sound,video,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required by (media-video/ffmpeg-2.2.3-r1::gentoo, installed)

  (media-libs/libsdl-1.2.15-r4::gentoo, ebuild scheduled for merge) pulled in by
    =libsdl-1.2.15-r4


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
Comment 12 Julian Ospald 2014-06-16 18:21:25 UTC
(In reply to headcrabextra from comment #11)
> (In reply to Julian Ospald (hasufell) from comment #10)
> > (In reply to headcrabextra from comment #9)
> > > libsdl-1.2.15-r5 emerged fine
> > 
> > what about -r4?
> 
> # emerge --pretend --oneshot =libsdl-1.2.15-r4
> These are the packages that would be merged, in order:
> 
> Calculating dependencies  .......... ..... done!
> [ebuild     UD ] media-libs/libsdl-1.2.15-r4 [1.2.15-r5] USE="-directfb%" 
> 
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
> 
> media-libs/libsdl:0
> 
>   (media-libs/libsdl-1.2.15-r5::gentoo, installed) pulled in by
>    
> >=media-libs/libsdl-1.2.13-r1[sound,video,abi_x86_32(-)?,abi_x86_64(-)?,
> abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required
> by (media-video/ffmpeg-2.2.3-r1::gentoo, installed)
> 
>   (media-libs/libsdl-1.2.15-r4::gentoo, ebuild scheduled for merge) pulled
> in by
>     =libsdl-1.2.15-r4
> 
> 
> It may be possible to solve this problem by using package.mask to
> prevent one of those packages from being selected. However, it is also
> possible that conflicting dependencies exist such that they are
> impossible to satisfy simultaneously.  If such a conflict exists in
> the dependencies of two different packages, then those packages can
> not be installed simultaneously. You may want to try a larger value of
> the --backtrack option, such as --backtrack=30, in order to see if
> that will solve this conflict automatically.
> 
> For more information, see MASKED PACKAGES section in the emerge man
> page or refer to the Gentoo Handbook.

--nodeps
Comment 13 headcrabextra 2014-06-16 19:07:01 UTC
(In reply to Julian Ospald (hasufell) from comment #12)
> (In reply to headcrabextra from comment #11)
> > (In reply to Julian Ospald (hasufell) from comment #10)
> > > (In reply to headcrabextra from comment #9)
> > > > libsdl-1.2.15-r5 emerged fine
> > > 
> > > what about -r4?
> > 
> > # emerge --pretend --oneshot =libsdl-1.2.15-r4
> > These are the packages that would be merged, in order:
> > 
> > Calculating dependencies  .......... ..... done!
> > [ebuild     UD ] media-libs/libsdl-1.2.15-r4 [1.2.15-r5] USE="-directfb%" 
> > 
> > !!! Multiple package instances within a single package slot have been pulled
> > !!! into the dependency graph, resulting in a slot conflict:
> > 
> > media-libs/libsdl:0
> > 
> >   (media-libs/libsdl-1.2.15-r5::gentoo, installed) pulled in by
> >    
> > >=media-libs/libsdl-1.2.13-r1[sound,video,abi_x86_32(-)?,abi_x86_64(-)?,
> > abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?] required
> > by (media-video/ffmpeg-2.2.3-r1::gentoo, installed)
> > 
> >   (media-libs/libsdl-1.2.15-r4::gentoo, ebuild scheduled for merge) pulled
> > in by
> >     =libsdl-1.2.15-r4
> > 
> > 
> > It may be possible to solve this problem by using package.mask to
> > prevent one of those packages from being selected. However, it is also
> > possible that conflicting dependencies exist such that they are
> > impossible to satisfy simultaneously.  If such a conflict exists in
> > the dependencies of two different packages, then those packages can
> > not be installed simultaneously. You may want to try a larger value of
> > the --backtrack option, such as --backtrack=30, in order to see if
> > that will solve this conflict automatically.
> > 
> > For more information, see MASKED PACKAGES section in the emerge man
> > page or refer to the Gentoo Handbook.
> 
> --nodeps

It emerged successfully.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-17 21:23:30 UTC
*** Bug 513610 has been marked as a duplicate of this bug. ***
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-17 21:24:30 UTC
It's FIXED when you have FIXED it. Apparently this was fixed in -r5.
Comment 16 Julian Ospald 2014-06-17 21:43:24 UTC
(In reply to Jeroen Roovers from comment #15)
> It's FIXED when you have FIXED it. Apparently this was fixed in -r5.

* this bug is about a specific libsdl version which is still in the tree, so no, the bug is not "fixed", but obsolete, because we will not backport it to -r2
* -r2 was probably left in case the x11 patch broke something for users with lower x11 versions
* it is not only fixed in -r5, it is fixed since -r4