Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462036 - [gamerlay] media-libs/libsdl-2.0.0_pre7001 failed (compile phase)
Summary: [gamerlay] media-libs/libsdl-2.0.0_pre7001 failed (compile phase)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Azamat H. Hackimov
URL:
Whiteboard:
Keywords:
Depends on: 463942
Blocks:
  Show dependency tree
 
Reported: 2013-03-17 13:51 UTC by tman
Modified: 2014-04-15 13:37 UTC (History)
3 users (show)

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


Attachments
media-libs:libsdl-2.0.0_pre7001:20130317-144306.log (media-libs:libsdl-2.0.0_pre7001:20130317-144306.log,38.40 KB, text/plain)
2013-03-17 13:52 UTC, tman
Details
build.log (libsdl-2.0.0_pre7001:20130317-160248.log,195.78 KB, text/plain)
2013-03-17 16:13 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-03-17 13:51:20 UTC
* FEATURES:   sandbox
 * Updating /usr/portage/distfiles/hg-src/libsdl/SDL from http://hg.libsdl.org/SDL/
 * Creating working directory in /var/tmp/portage/media-libs/libsdl-2.0.0_pre7001/work/libsdl-2.0.0_pre7001 (target revision: 7001)
 * Work directory: /var/tmp/portage/media-libs/libsdl-2.0.0_pre7001/work/libsdl-2.0.0_pre7001 global id: ccc0d3207639 (was 7001 branch: default
 * Applying libsdl-add-libtool-export-cmake-v2.patch ...
 * x86: running cmake-utils_src_configure
 * amd64: running cmake-utils_src_configure
 * x86: running cmake-utils_src_compile
 * ERROR: media-libs/libsdl-2.0.0_pre7001 failed (compile phase):
 *   emake failed
 * 


Reproducible: Always




System uname: Linux-3.8.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627888 total,   7360984 free
KiB Swap:   24574972 total,  24574972 free
Timestamp of tree: Sun, 17 Mar 2013 13:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8::pentoo
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.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mpd nikai ruby emacs science mgorny scarabeus wirelay poly-c mva luman flameeyes-overlay Techwolf alice pentoo gnome steam-overlay qt gamerlay lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/hosts /etc/make.conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
Comment 1 tman 2013-03-17 13:52:33 UTC
Created attachment 342378 [details]
media-libs:libsdl-2.0.0_pre7001:20130317-144306.log
Comment 2 Michael Weber (RETIRED) gentoo-dev 2013-03-17 16:11:48 UTC
It runs gcc -m32 (32 bit) against non-existing 32bit libaudio.so.
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-03-17 16:13:08 UTC
Created attachment 342400 [details]
build.log

Portage 2.2.0_alpha166 (default/linux/amd64/13.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo-gaf.0 x86_64)
=================================================================
System uname: Linux-3.7.10-gentoo-gaf.0-x86_64-AMD_Phenom-tm-_II_X4_920_Processor-with-gentoo-2.1
KiB Mem:     3791328 total,   2178596 free
KiB Swap:    4200992 total,   4200992 free
Timestamp of tree: Sun, 17 Mar 2013 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo local-overlay xmw sunrise lorem_ipsum emacs gamerlay java-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/trivdm /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /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="-O2 -march=amdfam10 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mabm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --binpkg-respect-use y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://lore.xmw.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/var/tmp/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/etc/portage/local-overlay /var/lib/layman/xmw /var/lib/layman/sunrise /var/lib/layman/lorem_ipsum /var/lib/layman/emacs /var/lib/layman/gamerlay /var/lib/layman/java-overlay"
SYNC="rsync://lore.xmw.de/gentoo-portage/"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdinstall cdr cli colord cracklib crypt cups curl cxx dbus djvu dri dts dvd dvdr emacs emboss encode evo exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gif git glut gmp gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk guile iconv imap ipv6 jack java jbig jpeg jpeg2k kde kerberos lame latex lcms ldap libnotify mad matroska mmx mmxext mng modules mp3 mp4 mpeg mpi mudflap multilib nas nautilus ncurses networking nfsv4 nls nptl nsplugin ogg openal opengl openmp pam pango pcre pdf perl plotutils png postscript ppds python qt3support qt4 rar readline sdl session socialweb spell sse sse2 sse3 ssl startup-notification subversion svg symlink tcpd threads tiff tk truetype udev udisks unicode upower usb v4l v4l2 vim-syntax vorbis wmf wxwidgets x264 xcb xft xml 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" 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="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 proxy_http proxy" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_GB de de_DE" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Julian Ospald 2013-03-17 16:49:38 UTC
disabling "nas" useflag temporarily solves this, but
there are more failures: "Header checksum mismatch, aborting."

This means that headers differ between ABIs which will require a header wrapper similar to what multilib-portage does.

I think this ebuild was not tested at all. If you add multilib support to a package you should test it with more than one ABI enabled.
Comment 5 Azamat H. Hackimov 2013-03-18 16:16:11 UTC
media-libs/nas don't have emul-* ebuild so there no way compile libsdl with USE="nas abi_x86_32". I don't know proper way mask this combination of USE.

In media-libs/libsdl-2.0.0_pre7001-r1 issue with header checksum mismatch should be resolved, please test.
Comment 6 Michael Weber (RETIRED) gentoo-dev 2013-03-21 07:59:21 UTC
(In reply to comment #5)
> media-libs/nas don't have emul-* ebuild so there no way compile libsdl with
> USE="nas abi_x86_32". I don't know proper way mask this combination of USE.

According to [1] and something like EAPI>4 and

REQUIRED_USE="nas? ( !abi_x86_32 )"


[1] REQUIRED_USE in http://devmanual.gentoo.org/ebuild-writing/eapi/index.html
Comment 7 Julian Ospald 2013-03-21 15:52:49 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > media-libs/nas don't have emul-* ebuild so there no way compile libsdl with
> > USE="nas abi_x86_32". I don't know proper way mask this combination of USE.
> 
> According to [1] and something like EAPI>4 and
> 
> REQUIRED_USE="nas? ( !abi_x86_32 )"
> 
> 
> [1] REQUIRED_USE in
> http://devmanual.gentoo.org/ebuild-writing/eapi/index.html

That will block nas useflag for x86 arches and their default abi too.
Comment 8 Maciej Piechotka 2013-03-21 18:22:29 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > media-libs/nas don't have emul-* ebuild so there no way compile libsdl with
> > > USE="nas abi_x86_32". I don't know proper way mask this combination of USE.
> > 
> > According to [1] and something like EAPI>4 and
> > 
> > REQUIRED_USE="nas? ( !abi_x86_32 )"
> > 
> > 
> > [1] REQUIRED_USE in
> > http://devmanual.gentoo.org/ebuild-writing/eapi/index.html
> 
> That will block nas useflag for x86 arches and their default abi too.

REQUIRED_USE="amd64? ( nas? ( !abi_x86_32 ) )"?
Comment 9 Julian Ospald 2013-03-21 21:30:43 UTC
(In reply to comment #8)
> REQUIRED_USE="amd64? ( nas? ( !abi_x86_32 ) )"?

That should work

But I think it should rather be:

REQUIRED_USE="amd64? ( abi_x86_32? ( !nas ) )"?

so that the user is requested to disable "nas", but the portage messages suck anyway