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

Bug 240572

Summary: [kde-testing] media-sound/amarok-1.92.2 - qtscript_QAbstractSocket.cpp:(.text+0x5): undefined reference to `QScriptValue::toQObject() const'
Product: Gentoo Linux Reporter: Marcus <marcrios84>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jmbsvicetto, thomas.bettler
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the enviornment

Description Marcus 2008-10-08 19:34:22 UTC
emerge --info:
Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)                                                       
=================================================================               
System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8100_@_2.10GHz-with-glibc2.2.5                                                          
Timestamp of tree: Wed, 08 Oct 2008 18:00:01 +0000                              
app-shells/bash:     3.2_p33                                                    
dev-java/java-config: 1.3.7, 2.1.6                                              
dev-lang/python:     2.4.4-r13, 2.5.2-r7                                        
sys-apps/baselayout: 1.12.11.1                                                  
sys-apps/sandbox:    1.2.18.1-r2                                                
sys-devel/autoconf:  2.13, 2.61-r2                                              
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:   1.5.26                                                     
virtual/os-headers:  2.6.23-r3                                                  
ACCEPT_KEYWORDS="amd64"                                                         
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-O2 -pipe"                                                              
CHOST="x86_64-pc-linux-gnu"                                                     
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"                                                       
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"                                                            
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                
GENTOO_MIRRORS="http://gentoo.inode.at"                                         
LDFLAGS="-Wl,-O1"                                                               
LINGUAS="es ca"                                                                 
MAKEOPTS="-j4"                                                                  
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="/home/tmp_portage/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipod ipv6 isdnlog java jpeg kdekdeprefix kerberos ldap libnotify mad midi mikmod mmx mozilla mp3 mp3tunes mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb visualitzation vorbis wxwindows xcomposite xml xorg xulrunner xv zlib" ALSA_CARDS="hda-intel" 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_fileauthz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptic" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es ca" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
1.emerge -va =media-sound/amarok-1.92.2
2.
3.

Actual Results:  
I will attach the log and the enviorment
Comment 1 Marcus 2008-10-08 19:37:57 UTC
Build log:

The last 50lines:

CMakeFiles/qtscript_gui.dir/generated_cpp/com_trolltech_qt_gui/main.o:(.data.rel.ro._ZTI33com_trolltech_qt_gui_ScriptPlugin[typeinfo for com_trolltech_qt_gui_ScriptPlugin]+0x10): undefined reference to `typeinfo for QScriptExtensionPlugin'                                                                                     
collect2: ld returned 1 exit status                                                                                                                               
make[2]: *** [lib/libqtscript_gui.so] Error 1                                                                                                                     
make[1]: *** [src/scriptengine/generator/generator/CMakeFiles/qtscript_gui.dir/all] Error 2                                                                       
make: *** [all] Error 2                                                                                                                                           
 *                                                                                                                                                                
 * ERROR: media-sound/amarok-1.92.2 failed.                                                                                                                       
 * Call stack:                                                                                                                                                    
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2749:  Called kde4-base_src_compile
 * environment, line 2067:  Called kde4-base_src_make
 * environment, line 2120:  Called cmake-utils_src_make
 * environment, line  681:  Called die
 * The specific snippet of code:
 * emake "$@" || die "Make failed!";
 * The die message:
 * Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/tmp_portage/portage/media-sound/amarok-1.92.2/temp/build.log'.
 * The ebuild environment file is located at '/home/tmp_portage/portage/media-sound/amarok-1.92.2/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 * /usr/portage/local/layman/kde-testing/eclass/kde4-base.eclass
 * /usr/portage/local/layman/kde-testing/eclass/kde4-functions.eclass
 *



The first error:
 31%] Building CXX object src/scriptengine/generator/generator/CMakeFiles/qtscript_core.dir/generated_cpp/com_trolltech_qt_core/qtscript_QThreadPool.o           
In file included from /usr/include/qt4/QtCore/qconfig.h:3,                                                                                                        
                 from /usr/include/qt4/QtCore/qglobal.h:64,                                                                                                       
                 from /usr/include/qt4/QtCore/qmetatype.h:47,                                                                                                     
                 from /usr/include/qt4/QtScript/qscriptengine.h:47,                                                                                               
                 from /usr/include/qt4/QtScript/QScriptEngine:1,                                                                                                  
                 from /home/tmp_portage/portage/media-sound/amarok-1.92.2/work/amarok_build/src/scriptengine/generator/generator/generated_cpp/com_trolltech_qt_core/qtscript_QThreadPool.cpp:1:                                                                                                                                    
/usr/include/qt4/Gentoo/gentoo-qconfig.h:17:1: warning: "QT_WEBKIT" redefined                                                                                     
<command line>:1:1: warning: this is the location of the previous definition                                                                                      
CMakeFiles/qtscript_network.dir/generated_cpp/com_trolltech_qt_network/qtscript_QAbstractSocket.o: In function `qtscript_QAbstractSocket_fromScriptValue(QScriptValue const&, QAbstractSocket*&)':                                                                                                                                  
qtscript_QAbstractSocket.cpp:(.text+0x5): undefined reference to `QScriptValue::toQObject() const'                                                                
CMakeFiles/qtscript_network.dir/generated_cpp/com_trolltech_qt_network/qtscript_QAbstractSocket.o: In function `qtscript_QAbstractSocket_toScriptValue(QScriptEngine*, QAbstractSocket* const&)':                                                                                                                                   
qtscript_QAbstractSocket.cpp:(.text+0x38): undefined reference to `QScriptEngine::newQObject(QObject*, QScriptEngine::ValueOwnership, QFlags<QScriptEngine::QObjectWrapOption> const&)'                                                                                                                                             
CMakeFiles/qtscript_network.dir/generated_cpp/com_trolltech_qt_network/qtscript_QAbstractSocket.o: In function `qtscript_QAbstractSocket_SocketState_fromScriptValue(QScriptValue const&, QAbstractSocket::SocketState&)':                                                                                                          
qtscript_QAbstractSocket.cpp:(.text+0x198): undefined reference to `QScriptValue::toVariant() const'                                                              
CMakeFiles/qtscript_network.dir/generated_cpp/com_trolltech_qt_network/qtscript_QAbstractSocket.o: In function `qtscript_QAbstractSocket_NetworkLayerProtocol_fromScriptValue(QScriptValue const&, QAbstractSocket::NetworkLayerProtocol&)':                                                                                        
qtscript_QAbstractSocket.cpp:(.text+0x1d8): undefined reference to `QScriptValue::toVariant() const'  


I am sorry but the build_log is 21Mb....
Comment 2 Marcus 2008-10-08 19:38:58 UTC
Created attachment 167656 [details]
the enviornment
Comment 3 Marcus 2008-10-09 06:03:45 UTC
*** Bug 240570 has been marked as a duplicate of this bug. ***
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2008-10-17 10:31:53 UTC
Reassasing to gentoofan since he is maintainer of amarok.

Note for him: maybe we should not bother at all now until that mysql bugie is fixed.
Comment 5 Ziga Boehm 2009-03-08 23:33:46 UTC
This bug is problably same as bug 258861. Please close this one as duplicate - bug 258861 proposes a working patch solution.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-08 23:37:42 UTC
indeed it is.

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