Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 234861

Summary: media-sound/amarok-1.4.10-r1 fails to compile with USE="real"
Product: Gentoo Linux Reporter: Matthias Liebig <pqGungnir>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: minor CC: andriy155, KeithBHarrison, m.debruijne, mail, mark_alec
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Matthias Liebig 2008-08-15 22:30:36 UTC
When upgrading from 1.4.9.1-r1 to 1.4.10-r1, amarok's compilation failed at hxplayercontrol.cpp which seems to be part of the real/helix player support. It compiles fine with USE="-real".

Here are my use flags for amarok: amazon arts kde linguas_de mp4 mysql opengl python real xinerama

Reproducible: Always

Steps to Reproduce:
1. emerge media-sound/amarok with USE="real" on x86

Actual Results:  
hxplayercontrol.cpp: In member function 'void PlayerControl::init(const char*, const char*, const char*, int)':
hxplayercontrol.cpp:255: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:266: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:273: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:280: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:293: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:305: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:317: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:325: error: 'free' was not declared in this scope
hxplayercontrol.cpp:330: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:345: warning: suggest explicit braces to avoid ambiguous 'else'
hxplayercontrol.cpp:410: error: 'exit' was not declared in this scope
make[6]: *** [hxplayercontrol.lo] Fehler 1
make[6]: *** Warte auf noch nicht beendete Prozesse...
make[6]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.10-r1/work/amarok-1.4.10/amarok/src/engine/helix'
make[5]: *** [all-recursive] Fehler 1



My emerge --info:

Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r5-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-glibc2.0
Timestamp of tree: Fri, 15 Aug 2008 21:16:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.3.6-r6, 2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/voip /usr/local/portage/layman/iptego /usr/local/portage/layman/sunrise"
SYNC="rsync://pirate/gentoo-portage"
USE="X a52 aac acl acpi aim alsa apm arts bash-completion berkdb bluetooth bzip2 cairo cdr cli cluster cracklib crypt cups curl dbus divx dri dvd dvdr dvdread encode ethereal expat ffmpeg flac foomaticdb fortran gcrypt gdbm gif gnutls gpm gtk hal iconv icq imagemagick imap imlib ipv6 isdnlog java java5 jpeg jpeg2k kde libwww mad matroska mdnsresponder-compat midi mikmod mime mmx motif mp2 mp3 mp4 mpeg msn mudflap musepack mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcmcia pcntl pcre pdf perl png posix pppd python qt3 quicktime readline real realmedia reflection sdl session soap spell spl sse sse2 ssl svga sysfs tcpd tetex theora truetype unicode usb vcd vorbis wifi win32codecs wma wmf wmp wxwindows x86 xine xinerama xml xmlrpc xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matthias Liebig 2008-08-15 22:41:39 UTC
Created attachment 163005 [details]
build.log
Comment 2 Keith Harrison 2008-08-22 03:46:00 UTC
This looks like a duplicate of bug #234784

http://bugs.gentoo.org/show_bug.cgi?id=234784
Comment 3 Matthias Liebig 2008-08-22 05:01:08 UTC
Strange, I didn't found the other bug when I filed this one.

The patch in bug #234784 works for me (x86), thanks!

*** This bug has been marked as a duplicate of bug 234784 ***