Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234647 - x11-libs/qt-phonon 4.4.1: Build Failed
Summary: x11-libs/qt-phonon 4.4.1: Build Failed
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 317505 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-13 17:18 UTC by Matteo Bertozzi
Modified: 2010-05-01 22:27 UTC (History)
4 users (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 Matteo Bertozzi 2008-08-13 17:18:54 UTC
Determining system architecture... (Linux:2.6.26-gentoo:i686)
    32-bit Intel 80x86 (i386)
    'i386' is supported
System architecture: 'i386'
Symbol visibility control enabled.
Symbolic function binding enabled.
You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2 or 3.

You have already accepted the terms of the  license.

...
linking libpng
libpng enabled.
InterBase auto-detection... ()
compiling ibase.cpp
ibase.cpp:1:19: error: ibase.h: No such file or directory
make: *** [ibase.o] Error 1
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
...
linking stdint
Stdint enabled.
Testing size of pointers ... (/var/tmp/portage/x11-libs/qt-phonon-4.4.1/work/qt-x11-opensource-src-4.4.1/mkspecs/linux-g++ yes /var/tmp/portage/x11-libs/qt-phonon-4.4.1/work/qt-x11-opensource-src-4.4.1 /var/tmp/portage/x11-libs/qt-phonon-4.4.1/work/qt-x11-opensource-src-4.4.1)
rm -f ptrsizetest.o
rm -f *~ core *.core
g++ -c -pipe -march=pentium4 -O2 -pipe -fomit-frame-pointer -Wall -W  -I../../../mkspecs/linux-g++ -I. -I. -o ptrsizetest.o ptrsizetest.cpp
ptrsizetest.cpp: In function 'int main(int, char**)':
ptrsizetest.cpp:18: error: 'PointerSize' is not a member of 'QPointerSizeTest<4>'
make: *** [ptrsizetest.o] Error 1
Pointer size: 4

        This target is using the GNU C++ compiler (linux-g++).

        Recent versions of this compiler automatically include code for
        exceptions, which increase both the size of the Qt libraries and
        the amount of memory taken by your applications.

        You may choose to re-run configure with the -no-exceptions
        option to compile Qt without exceptions. This is completely binary
        compatible, and existing applications will continue to work.


Build type:    linux-g++
Architecture:  i386

qmake vars .......... cat: .qmake.vars: No such file or directory
qmake switches ...... 
Build ............... libs tools docs translations
Configuration .......  silent release shared dll largefile stl mmx 3dnow sse sse2  qt3support phonon accessibility minimal-config small-config medium-config large-config full-config reduce_exports reduce_relocations ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-mng system-png png system-tiff system-freetype system-zlib nis cups iconv glib gstreamer dbus openssl x11sm xshape xrandr xrender fontconfig tablet xkb xmlpatterns webkit release
Debug ............... no
Qt 3 compatibility .. yes
QtDBus module ....... yes (run-time)
QtXmlPatterns module  yes
Phonon module ....... yes
SVG module .......... no
WebKit module ....... yes
WebKit in Assistant   no
STL support ......... yes
PCH support ......... no
MMX/3DNOW/SSE/SSE2..  yes/yes/yes/yes
IPv6 support ........ yes
IPv6 ifname support . yes
getaddrinfo support . yes
getifaddrs support .. yes
Accessibility ....... yes
NIS support ......... yes
CUPS support ........ yes
Iconv support ....... yes
Glib support ........ yes
GStreamer support ... yes
Large File support .. yes
GIF support ......... plugin
TIFF support ........ plugin (system)
JPEG support ........ plugin (system)
PNG support ......... yes (system)
MNG support ......... plugin (system)
zlib support ........ system
OpenGL support ...... no
NAS sound support ... no
Session management .. yes
XShape support ...... yes
Xinerama support .... runtime
Xcursor support ..... runtime
Xfixes support ...... runtime
Xrandr support ...... yes
Xrender support ..... yes
FontConfig support .. yes
XKB Support ......... yes
immodule support .... yes
MySQL support ....... plugin
ODBC support ........ plugin
SQLite 2 support .... plugin
SQLite support ...... plugin (qt)
OpenSSL support ..... yes (run-time)

moc ../3rdparty/kdelibs/phonon/abstractaudiooutput.h
compiling ../3rdparty/kdelibs/phonon/abstractaudiooutput.cpp
compiling ../3rdparty/kdelibs/phonon/abstractaudiooutput_p.cpp
moc ../3rdparty/kdelibs/phonon/abstractmediastream.h
compiling ../3rdparty/kdelibs/phonon/abstractmediastream.cpp
compiling ../3rdparty/kdelibs/phonon/abstractvideooutput.cpp
compiling ../3rdparty/kdelibs/phonon/abstractvideooutput_p.cpp
moc ../3rdparty/kdelibs/phonon/audiooutput.h
compiling ../3rdparty/kdelibs/phonon/audiooutput.cpp
../3rdparty/kdelibs/phonon/audiooutput.cpp: In member function 'void Phonon::AudioOutputPrivate::init(Phonon::Category)':
../3rdparty/kdelibs/phonon/audiooutput.cpp:64: warning: 'const QString operator+(const char*, const QString&)' is deprecated (declared at ../../include/QtCore/../../src/corelib/tools/qstring.h:978)
moc ../3rdparty/kdelibs/phonon/backendcapabilities.h
moc ../3rdparty/kdelibs/phonon/backendcapabilities_p.h
compiling ../3rdparty/kdelibs/phonon/backendcapabilities.cpp
moc ../3rdparty/kdelibs/phonon/effect.h
compiling ../3rdparty/kdelibs/phonon/effect.cpp
compiling ../3rdparty/kdelibs/phonon/effectparameter.cpp
moc ../3rdparty/kdelibs/phonon/effectwidget.h
compiling ../3rdparty/kdelibs/phonon/effectwidget.cpp
moc ../3rdparty/kdelibs/phonon/factory_p.h
moc ../3rdparty/kdelibs/phonon/factory.cpp
compiling ../3rdparty/kdelibs/phonon/factory.cpp
../3rdparty/kdelibs/phonon/factory.cpp: In constructor 'Phonon::FactoryPrivate::FactoryPrivate()':
../3rdparty/kdelibs/phonon/factory.cpp:160: warning: 'QString::QString(const char*)' is deprecated (declared at ../../include/QtCore/../../src/corelib/tools/qstring.h:391)
../3rdparty/kdelibs/phonon/factory.cpp:160: warning: 'QString::QString(const char*)' is deprecated (declared at ../../include/QtCore/../../src/corelib/tools/qstring.h:391)
moc ../3rdparty/kdelibs/phonon/globalconfig_p.h
compiling ../3rdparty/kdelibs/phonon/globalconfig.cpp
moc ../3rdparty/kdelibs/phonon/iodevicestream_p.h
compiling ../3rdparty/kdelibs/phonon/iodevicestream.cpp
moc ../3rdparty/kdelibs/phonon/mediacontroller.h
compiling ../3rdparty/kdelibs/phonon/mediacontroller.cpp
compiling ../3rdparty/kdelibs/phonon/medianode.cpp
moc ../3rdparty/kdelibs/phonon/mediaobject.h
compiling ../3rdparty/kdelibs/phonon/mediaobject.cpp
compiling ../3rdparty/kdelibs/phonon/mediasource.cpp
compiling ../3rdparty/kdelibs/phonon/objectdescription.cpp
compiling ../3rdparty/kdelibs/phonon/objectdescriptionmodel.cpp
compiling ../3rdparty/kdelibs/phonon/path.cpp
compiling ../3rdparty/kdelibs/phonon/phononnamespace.cpp
compiling ../3rdparty/kdelibs/phonon/platform.cpp
moc ../3rdparty/kdelibs/phonon/seekslider.h
compiling ../3rdparty/kdelibs/phonon/seekslider.cpp
compiling ../3rdparty/kdelibs/phonon/streaminterface.cpp
moc ../3rdparty/kdelibs/phonon/videoplayer.h
compiling ../3rdparty/kdelibs/phonon/videoplayer.cpp
moc ../3rdparty/kdelibs/phonon/videowidget.h
compiling ../3rdparty/kdelibs/phonon/videowidget.cpp
moc ../3rdparty/kdelibs/phonon/volumefadereffect.h
compiling ../3rdparty/kdelibs/phonon/volumefadereffect.cpp
moc ../3rdparty/kdelibs/phonon/volumeslider.h
compiling ../3rdparty/kdelibs/phonon/volumeslider.cpp
moc ../3rdparty/kdelibs/phonon/audiooutputadaptor_p.h
compiling ../3rdparty/kdelibs/phonon/audiooutputadaptor.cpp
rm -f libphonon.so.4.1.1 libphonon.so libphonon.so.4 libphonon.so.4.1
linking ../../lib/libphonon.so.4.1.1
.obj/release-shared/objectdescriptionmodel.o: In function `Phonon::ObjectDescriptionModelData::mimeData(Phonon::ObjectDescriptionType, QList<QModelIndex> const&) const':
objectdescriptionmodel.cpp:(.text+0xa92): undefined reference to `QDataStream::QDataStream(QByteArray*, int)'
.obj/release-shared/objectdescriptionmodel.o: In function `Phonon::ObjectDescriptionModelData::dropMimeData(Phonon::ObjectDescriptionType, QMimeData const*, Qt::DropAction, int, int, QModelIndex const&)':
objectdescriptionmodel.cpp:(.text+0xdb6): undefined reference to `QDataStream::QDataStream(QByteArray*, int)'
collect2: ld returned 1 exit status
make: *** [../../lib/libphonon.so.4.1.1] Error 1


Reproducible: Always




Portage 2.2_rc8 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686)
=================================================================
System uname: Linux-2.6.26-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-glibc2.0
Timestamp of tree: Wed, 13 Aug 2008 16:34:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     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.4_p6, 1.5, 1.6.3, 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=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
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/overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl additions aiglx alsa apache2 applet ares asf aspnet aspnetedit audacious autoipd avahi banshee berkdb bitmap-fonts bonjour bzip2 c++ cairo caps cdr cgi cjk cli cracklib crypt cscope css ctype cups curl custom-optimization cvs dbus dia disk-partition dmi dri dts dvd dvdr dvdread encode epiphany examples exif expat fat fbcon fbcondecor ffmpeg fftw firefox flac flash fortran ftp fuse gd gdbm gedit geoip gif glade glib glitz gmail gnome gnome-print gnutls graphviz gs gsf gstreamer gtk gtk2 gtkhtml guile gzip hal hash iconv imagemagick imap imlib inherit-graph inotify ipod ipv6 irc isdnlog jabber java javascript jbig jfs jingle jit jpeg jpeg2k kqemu lcms libcaca libnotify libsexy lzo mad midi ming mmx mng mono moonlight motif mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mplayer mpm-prefork msn mudflap musepack mysql nas nautilus ncurses network-cron networking nfs njb nls nntp no-old-linux nptl nptlonly nsplugin nss ntfs numeric nv nvidia objc objc++ objc-gc ogg opengl openmp opera pam pango pcre pdf perl php plugins png pop postfix pppd python qt4 quicktime rar readline real reflection regex reiserfs ruby sdk sdl sdl-image session skins smp sndfile sockets spl sqlite sqlite3 srv sse sse2 ssl startup-notification subtitles subversion svg svga sysfs szip t1lib tcl tcltk tcpd theora threadsafe thumbnail thunar-vfs tiff tk tools totem tracker transcode trayicon truetype truetype-fonts type1-fonts unicode usb utils v4l v4l2 valgrind vboxbfe vcd vcdr vorbis webkit win32codecs wma wmf wxwindows x264 x86 xattr xcb xcomposite xforms xfs xft xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xulrunner xvid zeroconf zip zlib" ALSA_CARDS="emu10k1" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matteo Sasso 2008-09-26 11:09:49 UTC
Same problem here with qt-phonon-4.4.2.
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2008-12-04 01:26:46 UTC
Is this still a problem with 4.4.2 and ccache disabled?
Comment 3 Stefan Kiesler 2008-12-30 15:32:39 UTC
Just ran into this (again) on a fresh Gentoo install with qt3support USE flag disabled.
Seems like QT still thinks we have qt3support enabled:

Build type:    linux-g++
Architecture:  i386

qmake vars .......... cat: .qmake.vars: No such file or directory
qmake switches ...... 
Build ............... libs tools docs translations
Configuration .......  silent release shared dll largefile stl mmx 3dnow sse
sse2  >>> qt3support <<< phonon accessibility minimal-config small-config medium-config
large-config full-config reduce_exports reduce_relocations ipv6 clock-gettime
clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg
system-mng system-png png system-tiff system-freetype system-zlib nis cups
iconv glib gstreamer dbus openssl x11sm xshape xrandr xrender fontconfig tablet
xkb xmlpatterns webkit release
Debug ............... no
Qt 3 compatibility .. >>> yes <<<

emerge --info:
USE="...." (endless list, see initial posting, there's no qt3support in there)

http://doc.trolltech.com/4.4/qdatastream-qt3.html says that QDataStream(QByteArray * array, int mode) is part of the QT3 compatibility layer, and src/3rdparty/kdelibs/phonon/objectdescriptionmodel.cpp is using it.

So it looks like Phonon depends on qt3support. Quite absurd for a fresh new API introduced in QT 4.4 to depend on a QT 3 compatibility layer, but I think it's up to upstream to fix this.

For now, just emerge -C all QT4 stuff, reenable the qt3support USE flag and emerge qt-phonon again.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-02-07 11:48:57 UTC
I am closing this bug since qt-phonon-4.4.1 is not on tree.

Please try the latest qt-phonon ( that is 4.4.2 ) and reopen the bug if it still fails
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2010-05-01 16:28:57 UTC
*** Bug 317505 has been marked as a duplicate of this bug. ***
Comment 6 Alex Buell 2010-05-01 16:38:38 UTC
qt-phonon still exhibits this problem in 4.6.2. You'd have thought those morons at trolltech would have removed the last vestiges of all that qt3 crap from qt-phonon by now... I'm looking at their website right now to find out why.
Comment 7 Ben de Groot (RETIRED) gentoo-dev 2010-05-01 17:35:30 UTC
(In reply to comment #6)

1: it's not a problem, it just means you need one more Qt4 module
2: trolltech doesn't exist anymore, Qt is now owned by Nokia
3: they are not morons
4: Phonon is a third party library, originating from KDE

Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2010-05-01 22:27:38 UTC
Reopening for correct resolution.