media-sound/amarok-2.0.96-r1 not compile from kde-testing overlay. After "-- Performing Test BINDINGS_RUN_RESULT" it buzzed. -- includes /usr/include/qt4/QtCore;/usr/include/qt4/QtScript;/usr/kde/4.2/include;/usr/kde/4.2/include/KDE;/usr/include/KDE;/usr/include;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtHelp;/usr/include/qt4/QtAssistant;/usr/include/qt4/QtDBus;/usr/include/qt4/QtTest;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtSvg;/usr/include/qt4/QtXml;/usr/include/qt4/QtSql;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtAssistant;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries /usr/lib64/qt4/libQtScript.so;/usr/lib64/qt4/libQtCore.so;-lpthread;/usr/lib64/qt4/libQtGui.so;-L/usr/kde/4.2/lib64;-lkdecore;-lkdeui -- Performing Test BINDINGS_RUN_RESULT
emerge --info and the complete build.log please.
Created attachment 192182 [details] emerge --info
Build log: >>> Unpacking source... >>> Unpacking amarok-2.0.96.tar.bz2 to /var/tmp/portage/media-sound/amarok-2.0.96-r1/work >>> Source unpacked in /var/tmp/portage/media-sound/amarok-2.0.96-r1/work >>> Preparing source in /var/tmp/portage/media-sound/amarok-2.0.96-r1/work/amarok-2.0.96 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/amarok-2.0.96-r1/work/amarok-2.0.96 ... >>> Working in BUILD_DIR: "/var/tmp/portage/media-sound/amarok-2.0.96-r1/work/amarok-2.0.96_build" loading initial cache file /var/tmp/portage/media-sound/amarok-2.0.96-r1/temp/gentoo_common_config.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Taglib found: -L/usr/lib64 -ltag -- checking for module 'taglib-extras>=0.1' -- found taglib-extras, version 0.1.0 -- Found Taglib-Extras: /usr/include/taglib-extras -- Performing Test COMPLEX_TAGLIB_FILENAME -- Performing Test COMPLEX_TAGLIB_FILENAME - Failed -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.5.1 (using /usr/bin/qmake) -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib64/libX11.so -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success -- Phonon Version: 4.3.0 -- Found Phonon: /usr/lib64/libphonon.so -- Found Phonon Includes: /usr/include/KDE;/usr/include -- Found KDE 4.2 include dir: /usr/kde/4.2/include -- Found KDE 4.2 library dir: /usr/kde/4.2/lib64 -- Found the KDE4 kconfig_compiler preprocessor: /usr/kde/4.2/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Checking if the QtScript Qt Bindings are installed. -- includes /usr/include/qt4/QtCore;/usr/include/qt4/QtScript;/usr/kde/4.2/include;/usr/kde/4.2/include/KDE;/usr/include/KDE;/usr/include;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtHelp;/usr/include/qt4/QtAssistant;/usr/include/qt4/QtDBus;/usr/include/qt4/QtTest;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtSvg;/usr/include/qt4/QtXml;/usr/include/qt4/QtSql;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtAssistant;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries /usr/lib64/qt4/libQtScript.so;/usr/lib64/qt4/libQtCore.so;-lpthread;/usr/lib64/qt4/libQtGui.so;-L/usr/kde/4.2/lib64;-lkdecore;-lkdeui -- Performing Test BINDINGS_RUN_RESULT
Sorry to ask you even more information, but you said that "it buzzed". There's no record of what happens after the BINDINGS_RUN_RESULT, so could you describe what happens next? Does it sit there doing nothing? Do the speaker buzz? Do you have to Ctrl+C to kill it? Does it require a kill -9? Does the compilation just stop abruptly? Do you get any portage error messages? Are you dumped back to the command line? Any further information you think might be useful would help...
Yes. Of course. Sorry for my little post. I explain it here. Yes, it sit there doing nothing. Processor not load with emerge. I have Ctrl+C and emerge was terminated. Agetr this i returned to my Konsole. (I emerge from KDE in Konsole) It's not necessary to kill -9. It's stop after writing that words. No i didn't get get any portage error messages? At this point i have the following processes: Konsole -bash -su -bash -emerge -sandbox -ebuild.sh -ebuild.sh
This seems a bit weird. This ebuild has been added to the overlay for a few days and this is the first bug report I get. If you have portage-utils, what's the output of "qlist -Iv qt-". If not, please post the output of "ls /var/db/pkg/x11-libs/ | grep qt".
qlist -Iv qt- dev-db/qt-unixODBC-3.3.8b x11-libs/qt-3.3.8b-r1 x11-libs/qt-4.5.0_rc1 x11-libs/qt-assistant-4.5.0-r1 x11-libs/qt-core-4.5.1 x11-libs/qt-dbus-4.5.1 x11-libs/qt-gui-4.5.1-r2 x11-libs/qt-opengl-4.5.1 x11-libs/qt-qt3support-4.5.1 x11-libs/qt-script-4.5.1 x11-libs/qt-sql-4.5.1 x11-libs/qt-svg-4.5.1-r1 x11-libs/qt-test-4.5.1 x11-libs/qt-webkit-4.5.1 x11-libs/qt-xmlpatterns-4.5.1
(In reply to comment #7) > qlist -Iv qt- > x11-libs/qt-4.5.0_rc1 > x11-libs/qt-assistant-4.5.0-r1 Update these packages to the latest versions. It should fix the compilation issue.
Now it is: qlist -Iv qt- dev-db/qt-unixODBC-3.3.8b x11-libs/qt-3.3.8b-r1 x11-libs/qt-4.5.1 x11-libs/qt-assistant-4.5.1 x11-libs/qt-core-4.5.1 x11-libs/qt-dbus-4.5.1 x11-libs/qt-gui-4.5.1-r2 x11-libs/qt-opengl-4.5.1 x11-libs/qt-qt3support-4.5.1 x11-libs/qt-script-4.5.1 x11-libs/qt-sql-4.5.1 x11-libs/qt-svg-4.5.1-r1 x11-libs/qt-test-4.5.1 x11-libs/qt-webkit-4.5.1 x11-libs/qt-xmlpatterns-4.5.1 But emerge freezed on the same point, but now processes looks like this: Konsole -bash -su -bash -emerge -sandbox -ebuild.sh -ebuild.sh -cmake -cmTryCompileExe
What cmake version are you using - "qlist -Iv cmake"?
dev-util/cmake-2.6.4
(In reply to comment #11) > dev-util/cmake-2.6.4 I have the same version and was able to build it again without any issues. I'm tempted to call this as a local issue. Let's see if anyone else can duplicate this.
i have this problem too.
Created attachment 192757 [details] emerge --info same thing here, amd64 machine
Created attachment 192758 [details] emerge output and that's the emerge output it's been like that for about 10min now..
I uncommented that qtscriptbindings test because it works fine for me (and most users), hoping that those not fortunate to have it working will provide some info to track that certainly strange (upstream) issue.
I'm having the same issue here. I have nothing to add for build.log. emerge --info: Portage 2.2_rc33 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3-asneeded, glibc-2.10.1-r0, 2.6.29-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1 Timestamp of tree: Fri, 29 May 2009 02:15:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8-sse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8-sse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.netnitco.net http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ http://gentoo.krasko.sk/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,-z,combreloc" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/kde-testing /usr/local/portage/layman/vmware /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac acpi akode alsa amd64 ao branding bzip2 cairo caps cddb cdparanoia cli consolekit cracklib crypt css cups curl dbus dga dri dv dvd dvdr dvdread encode exif expat faac faad fam fbcon ffmpeg flac fontconfig fortran geoip ggi gif glib gmp gnutls gphoto2 gpm gs gtk hal hyperestraier iconv icu id3tag idn ieee1394 imagemagick imlib ipv6 isdnlog ithreads java joystick jpeg jpeg2k kde kdehiddenvisibility kontact lame lcms libsamplerate lm_sensors lzo mad matroska mbox midi mjpeg mmap mmx mmxext mng modplug motif mp3 mpeg msn mudflap musepack musicbrainz ncurses network network-cron nls nptl nptlonly nsplugin offensive ogg openal opengl openmp openssl oscar oss pam pcre pdf perl plasma plotutils png policykit pppd qt4 quicktime rar readline reflection rle ruby samba schroedinger sdl semantic-desktop session smp sndfile speex spell spl sse sse2 sse3 ssl startup-notification stats subversion suid svg sysfs syslog tcpd theora threads tiff truetype unicode usb utempter vcd vim-syntax vnc vorbis wavpack wmf wxwidgets x264 xcomposite xft xine xml xorg xpm xscreensaver xslt xv xvid xvmc zlib" ALSA_CARDS="emu10k1 usb-audio" 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_file authz_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="joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I have: qt-core-4.5.1 qt-dbus-4.5.1 qt-gui-4.5.1-r2 qt-opengl-4.5.1 qt-qt3support-4.5.1 qt-script-4.5.1 qtscriptgenerator-0.1.0 qt-sql-4.5.1 qt-svg-4.5.1-r1 qt-test-4.5.1 qt-webkit-4.5.1 qt-xmlpatterns-4.5.1 dev-util/cmake-2.6.4
same here, amd64, try now some suggestion above
i got this problem - if i remember correct - since i have to rebuild amarok because of (-gtk%*) in the use flags... amarok in that version is currently installed, only the rebuild is not working now...
Hi folks; i was just updating qt 4.4 to 4.5 at work; when i remembered that i've recently seen a report about a freezing issue on quassel-irc.org. Its caused by a "almost"-BIC change from Qt 4.4 to 4.5 and relates to QRegex/QString; it vanished after recompiling against Qt 4.5. Since the Test-Program that is failing here relies upon Kdelibs' KApplication and such and there might be RegEx-Matching inside. Maybe this happens because of that problem, too. i.e.: Kdelibs was compiled against Qt4.4.x; then Qt was updated to 4.5; then tried to emerge amarok. If this turns out to be true, then reemerging kdelibs ought to fix the freeze in amarok ebuild. SaCu
Damn, I feel embarrassed I forgot about that freezing issue - Sacu may be right. If you upgraded from 4.4 -> 4.5 - please try reemerging kdelibs.
I don't think this 4.4 -> 4.5 issue applies in my case. I've been on QT 4.5 since it showed up in the KDE testing overlay a couple months ago. Specifically, I emerged 4.5.1 on April 27. I did an "emerge -e world" over the weekend of May 2 - May 3. I last emerged kdelibs 4.2.3 on May 9, and it appears only qt-gui-4.5.1 revision bumps have been applied since that time. However, I'll re-emerge kdelibs anyway and try amarok again.
Re-emerging kdelibs did not change anything... the amarok build hangs at the same place.
same for me...... rebuild kdelibs try to rebuild amarok -- Performing Test BINDINGS_RUN_RESULT <--goodbye
I've written a short description on how to run that freezing test program through gdb and make a backtrace of it. It's located here: http://www.sacu.eu/amarok-freeze.txt Maybe that way we can get any clue on what it is actually doing on some machines...
Okay, here's the output: # gdb test GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (gdb) run Starting program: /usr/src/test/amarok-2.0.96/cmake/modules/test [Thread debugging using libthread_db enabled] [New Thread 0x7ff1b50f2750 (LWP 29892)] ^C Program received signal SIGINT, Interrupt. [Switching to Thread 0x7ff1b50f2750 (LWP 29892)] 0x0000003f5820b969 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 (gdb) bt #0 0x0000003f5820b969 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x0000003f5ea566f3 in ?? () from /usr/lib/qt4/libQtCore.so.4 #2 0x0000003f5ea52925 in QMutex::lock () from /usr/lib/qt4/libQtCore.so.4 #3 0x0000003f5f436d69 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #4 0x0000003f5e60ae31 in ?? () from /usr/lib/libdbus-1.so.3 #5 0x0000003f5e60ee40 in ?? () from /usr/lib/libdbus-1.so.3 #6 0x0000003f5e610cb0 in ?? () from /usr/lib/libdbus-1.so.3 #7 0x0000003f5e60fe1c in dbus_connection_send_with_reply_and_block () from /usr/lib/libdbus-1.so.3 #8 0x0000003f5e60b1fa in dbus_bus_register () from /usr/lib/libdbus-1.so.3 #9 0x0000003f5e60b63f in ?? () from /usr/lib/libdbus-1.so.3 #10 0x0000003f5f412a6c in QDBusConnection::connectToBus () from /usr/lib64/qt4/libQtDBus.so.4 #11 0x0000003f5f412b7c in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #12 0x0000003f5f412c79 in QDBusConnection::sessionBus () from /usr/lib64/qt4/libQtDBus.so.4 #13 0x00007ff1b530f06b in ?? () from /usr/lib/libkdeui.so.5 #14 0x00007ff1b53107bf in KApplication::KApplication () from /usr/lib/libkdeui.so.5 #15 0x0000000000401b3f in main (argc=1, argv=0x7fffbdb7d918) at QtScriptBindingsTest.cpp:32 (gdb)
actually, that is the same result i just got from another user in chat. it means that libdbus causes a deadlock.
it's similar, but first error is "No such file or directory"... [Thread debugging using libthread_db enabled] [New Thread 0x7feb7c15b750 (LWP 9193)] ^C Program received signal SIGINT, Interrupt. [Switching to Thread 0x7feb7c15b750 (LWP 9193)] pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 261 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S Current language: auto; currently asm (gdb) bt full #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261 No locals. #1 0x00007feb7b169db3 in QMutexPrivate::wait (this=0x1ac7310, timeout=-1) at thread/qmutex_unix.cpp:80 errorCode = 0 #2 0x00007feb7b165fe5 in QMutex::lock (this=0x1ac72f0) at thread/qmutex.cpp:207 spinCount = <value optimized out> lastSpinCount = <value optimized out> maximumSpinCount = <value optimized out> self = <value optimized out> #3 0x00007feb79e48949 in mutex_lock (mutex=0x1ac735c) at qdbusthread.cpp:69 No locals. #4 0x00007feb76115c81 in _dbus_bus_notify_shared_connection_disconnected_unlocked (connection=0x1aca580) at dbus-bus.c:355 No locals. #5 0x00007feb76119c90 in _dbus_connection_get_dispatch_status_unlocked (connection=0x1aca580) at dbus-connection.c:3927 status = DBUS_DISPATCH_COMPLETE is_connected = 4294966784 #6 0x00007feb7611bb00 in _dbus_connection_block_pending_call (pending=0x1ac32f0) at dbus-connection.c:2322 start_tv_sec = 1243664493 start_tv_usec = 543998 end_tv_sec = 1243664518 end_tv_usec = 543998 tv_sec = 140649373992117 tv_usec = 140735409677024 status = 25000 connection = <value optimized out> client_serial = 1 timeout_milliseconds = 25000 #7 0x00007feb7611ac6c in dbus_connection_send_with_reply_and_block (connection=0x1aca580, message=0x1acaac0, timeout_milliseconds=-1, error=0x7fff8419e2e0) at dbus-connection.c:3316 ---Type <return> to continue, or q <return> to quit--- reply = <value optimized out> pending = (DBusPendingCall *) 0x1ac32f0 __FUNCTION__ = "dbus_connection_send_with_reply_and_block" #8 0x00007feb7611604a in dbus_bus_register (connection=<value optimized out>, error=0x7fff8419e2e0) at dbus-bus.c:648 message = <value optimized out> reply = <value optimized out> name = <value optimized out> bd = (BusData *) 0x1ac3000 retval = 0 __FUNCTION__ = "dbus_bus_register" #9 0x00007feb7611648f in internal_bus_get (type=<value optimized out>, private=1, error=0x7fff8419e2e0) at dbus-bus.c:441 address = <value optimized out> connection = (DBusConnection *) 0x1aca580 bd = <value optimized out> __FUNCTION__ = "internal_bus_get" #10 0x00007feb79e2464c in QDBusConnection::connectToBus (type=QDBusConnection::SessionBus, name=@0x7fff8419e370) at ./qdbus_symbols_p.h:99 locker = {{mtx = 0x1ac4ef1, val = 28069617}} d = <value optimized out> c = <value optimized out> error = {error = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 0, dummy4 = 0, dummy5 = 0, padding1 = 0x7feb7a901dea}} retval = {static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7feb79e60380 "QDBusConnection", data = 0x7feb79e60560, extradata = 0x0}}, d = 0x1ac3c20} #11 0x00007feb79e2475c in _q_sessionBus () at qdbusconnection.cpp:953 x = (QDBusDefaultConnection *) 0x1ac3c20 cleanup = {globalStatic = @0x0} #12 0x00007feb79e24859 in QDBusConnection::sessionBus () at qdbusconnection.cpp:967 No locals. ---Type <return> to continue, or q <return> to quit--- #13 0x00007feb7b72ca3b in KApplicationPrivate::init (this=0x1aa05f0, GUIenabled=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/kernel/kapplication.cpp:521 bus = <value optimized out> readOnly = {static shared_null = {ref = {_q_value = 416}, alloc = 0, size = 0, data = 0x604158 "", array = ""}, static shared_empty = {ref = {_q_value = 2}, alloc = 0, size = 0, data = 0x7feb7b5116d8 "", array = ""}, d = 0x7feb7a8bb6d0} rtl = <value optimized out> #14 0x00007feb7b72e18f in KApplication (this=0x7fff8419e900, GUIenabled=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/kernel/kapplication.cpp:348 No locals. #15 0x0000000000401b3f in main (argc=1, argv=0x7fff8419eb58) at QtScriptBindingsTest.cpp:32 about = {d = 0x1a85240} app = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x7feb7bafadd0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7feb7b2ca340 "QObject", data = 0x7feb7b2ca3e0, extradata = 0x7feb7b509300}}, d_ptr = 0x1a99d00, static staticQtMetaObject = { d = {superdata = 0x0, stringdata = 0x7feb7b2d3be0 "Qt", data = 0x7feb7b2d6ac0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7feb7b5092e0, stringdata = 0x7feb7b2db980 "QCoreApplication", data = 0x7feb7b2dba20, extradata = 0x0}}, static self = 0x7fff8419e900}, static staticMetaObject = {d = { superdata = 0x7feb7b510060, stringdata = 0x7feb77bb46e0 "QApplication", data = 0x7feb77bb48e0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7feb77f20b00, stringdata = 0x7feb7b881860 "KApplication", data = 0x7feb7b881a00, extradata = 0x0}}, static loadedByKdeinit = false, static KApp = 0x7fff8419e900, d = 0x1aa05f0} allowedBindings = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 182}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x3d8f538}, d = 0x3d8f538}}, <No data fields>} engine = {<QObject> = {_vptr.QObject = 0x7feb7a88ca18, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7feb7b2ca340 "QObject", data = 0x7feb7b2ca3e0, extradata = 0x7feb7b509300}}, d_ptr = 0x2e, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7feb7b2d3be0 "Qt", data = 0x7feb7b2d6ac0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7feb7b5092e0, stringdata = 0x7feb7aee9040 "QScriptEngine", data = 0x7feb7aee90a0, extradata = 0x0}}}
GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (gdb) (gdb) run Starting program: /root/testingamarok/amarok-2.0.96/cmake/modules/test [Thread debugging using libthread_db enabled] [New Thread 0x7f5e2152d750 (LWP 25771)] ^C Program received signal SIGINT, Interrupt. [Switching to Thread 0x7f5e2152d750 (LWP 25771)] 0x00007f5e1f79bd89 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 (gdb) bt #0 0x00007f5e1f79bd89 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f5e2057e38f in ?? () from /usr/lib/qt4/libQtCore.so.4 #2 0x00007f5e2057acb6 in QMutex::lock () from /usr/lib/qt4/libQtCore.so.4 #3 0x00007f5e1f283008 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #4 0x00007f5e1b5c83ea in ?? () from /usr/lib/libdbus-1.so.3 #5 0x00007f5e1b5cbc1c in ?? () from /usr/lib/libdbus-1.so.3 #6 0x00007f5e1b5cd76a in ?? () from /usr/lib/libdbus-1.so.3 #7 0x00007f5e1b5ccad7 in dbus_connection_send_with_reply_and_block () from /usr/lib/libdbus-1.so.3 #8 0x00007f5e1b5c870f in dbus_bus_register () from /usr/lib/libdbus-1.so.3 #9 0x00007f5e1b5c8acc in ?? () from /usr/lib/libdbus-1.so.3 #10 0x00007f5e1f261181 in QDBusConnection::connectToBus () from /usr/lib64/qt4/libQtDBus.so.4 #11 0x00007f5e1f261202 in ?? () from /usr/lib64/qt4/libQtDBus.so.4 #12 0x00007f5e1f2612e5 in QDBusConnection::sessionBus () from /usr/lib64/qt4/libQtDBus.so.4 #13 0x00007f5e20b1fc9d in ?? () from /usr/lib/libkdeui.so.5 #14 0x00007f5e20b212ed in KApplication::KApplication () from /usr/lib/libkdeui.so.5 #15 0x0000000000401b1b in main (argc=1, argv=0x7fff295688d8) at QtScriptBindingsTest.cpp:32
After experimenting with some things, and things not related to this bug, I solved it by reemerging all dbus related stuff on my system [I] dev-libs/dbus-glib (0.80@05/30/09): D-Bus bindings for glib [I] dev-python/dbus-python (0.83.0-r1@05/30/09): Python bindings for the D-Bus messagebus. [I] sys-apps/dbus (1.2.12@05/30/09): A message bus system, a simple way for applications to talk to each other [I] x11-libs/qt-dbus (4.5.1(4)@05/30/09): The DBus module for the Qt toolkit and x11-libs/qt-webkit, x11-libs/qtscriptgenerator 1243732707: Started emerge on: May 31, 2009 04:18:27 1243732707: *** emerge --tree --ask --update --verbose --newuse --deep @world 1243732723: >>> emerge (1 of 3) x11-libs/qt-webkit-4.5.1 to / 1243732728: === (1 of 3) Cleaning (x11-libs/qt-webkit-4.5.1::/usr/portage/x11-libs/qt-webkit/qt-webkit-4.5.1.ebuild) 1243732728: === (1 of 3) Compiling/Merging (x11-libs/qt-webkit-4.5.1::/usr/portage/x11-libs/qt-webkit/qt-webkit-4.5.1.ebuild) 1243733640: === (1 of 3) Merging (x11-libs/qt-webkit-4.5.1::/usr/portage/x11-libs/qt-webkit/qt-webkit-4.5.1.ebuild) 1243733641: >>> AUTOCLEAN: x11-libs/qt-webkit:4 1243733643: === (1 of 3) Post-Build Cleaning (x11-libs/qt-webkit-4.5.1::/usr/portage/x11-libs/qt-webkit/qt-webkit-4.5.1.ebuild) 1243733643: ::: completed emerge (1 of 3) x11-libs/qt-webkit-4.5.1 to / 1243733643: >>> emerge (2 of 3) x11-libs/qtscriptgenerator-0.1.0 to / 1243733644: === (2 of 3) Cleaning (x11-libs/qtscriptgenerator-0.1.0::/usr/local/portage/layman/kde-testing/x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild) 1243733644: === (2 of 3) Compiling/Merging (x11-libs/qtscriptgenerator-0.1.0::/usr/local/portage/layman/kde-testing/x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild) 1243734154: === (2 of 3) Merging (x11-libs/qtscriptgenerator-0.1.0::/usr/local/portage/layman/kde-testing/x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild) 1243734155: >>> AUTOCLEAN: x11-libs/qtscriptgenerator:0 1243734156: === (2 of 3) Post-Build Cleaning (x11-libs/qtscriptgenerator-0.1.0::/usr/local/portage/layman/kde-testing/x11-libs/qtscriptgenerator/qtscriptgenerator-0.1.0.ebuild) 1243734156: ::: completed emerge (2 of 3) x11-libs/qtscriptgenerator-0.1.0 to / 1243734156: >>> emerge (3 of 3) media-sound/amarok-2.0.96-r1 to / 1243734157: === (3 of 3) Cleaning (media-sound/amarok-2.0.96-r1::/usr/local/portage/layman/kde-testing/media-sound/amarok/amarok-2.0.96-r1.ebuild) 1243734157: === (3 of 3) Compiling/Merging (media-sound/amarok-2.0.96-r1::/usr/local/portage/layman/kde-testing/media-sound/amarok/amarok-2.0.96-r1.ebuild) 1243734502: === (3 of 3) Merging (media-sound/amarok-2.0.96-r1::/usr/local/portage/layman/kde-testing/media-sound/amarok/amarok-2.0.96-r1.ebuild) 1243734504: >>> AUTOCLEAN: media-sound/amarok:2 1243734504: === Unmerging... (media-sound/amarok-2.0.96-r1) 1243734509: >>> unmerge success: media-sound/amarok-2.0.96-r1 1243734511: === (3 of 3) Post-Build Cleaning (media-sound/amarok-2.0.96-r1::/usr/local/portage/layman/kde-testing/media-sound/amarok/amarok-2.0.96-r1.ebuild) 1243734511: ::: completed emerge (3 of 3) media-sound/amarok-2.0.96-r1 to / 1243734511: *** Finished. Cleaning up... 1243734511: *** exiting successfully. 1243734511: *** terminating. (eix, and /var/log/emerge.log outputs above) And amarok (3/3) compiled fine. I surely unmerged and emerged more things but I think the problems is somewhere above.
i reemerged packets listed above but emerge amarok also freezed. but i didn't reemerge kdelibs after it but i think it's not problem for this way because i recompiled after comments #22. backtrace is equal for previous.
Created attachment 193068 [details] part of /var/log/emerge.log Ok, here's part of my emerge.log There are a lot of unrelated stuff in there (such as some sci-electronics packages being emerge and unmerged, and gtk/qtcurve themes and engines..) I hope this helps a tiny bit.
https://bugs.kde.org/show_bug.cgi?id=189367#c7 solves this Cmake or QtBindings issue?
(In reply to comment #34) > https://bugs.kde.org/show_bug.cgi?id=189367#c7 solves this > Cmake or QtBindings issue? > Anthony, the KDE Issue simply suggests to assume "QtScriptBindings" is always there. Well, for gentoo this might be really a solution.
so. Shall we create a patch for this ebuild and put it into Overlay? Or what are we going to do?
Same issue on my system: [I--] [ ] media-sound/amarok-9999 (2) [I--] [ ~] dev-util/cmake-2.6.4 (0) [I--] [ ~] kde-base/kdelibs-4.2.88 (4.3) [I--] [ ] x11-libs/qt-core-4.5.9999 (4) [I--] [ ] x11-libs/qt-dbus-4.5.9999 (4) [I--] [ ] x11-libs/qt-gui-4.5.9999 (4) [I--] [ ] x11-libs/qt-opengl-4.5.9999 (4) [I--] [ ] x11-libs/qt-qt3support-4.5.9999 (4) [I--] [ ] x11-libs/qt-script-4.5.9999 (4) [I--] [ ] x11-libs/qt-sql-4.5.9999 (4) [I--] [ ] x11-libs/qt-svg-4.5.9999 (4) [I--] [ ] x11-libs/qt-test-4.5.9999 (4) [I--] [ ] x11-libs/qt-webkit-4.5.9999 (4) [I--] [ ] x11-libs/qt-xmlpatterns-4.5.9999 (4) [I--] [ ~] x11-libs/qtscriptgenerator-0.1.0 (0) I'll try to recompile dbus related stuff as suggested above.
If you look into my emerge.log you can easily see that reemerging dbus stuff didn't solve it, the solution came after recompiling x11-libs/qt-webkit, x11-libs/qtscriptgenerator
I did that already without (In reply to comment #38) > If you look into my emerge.log you can easily see that reemerging dbus stuff > didn't solve it, the solution came after recompiling > x11-libs/qt-webkit, > x11-libs/qtscriptgenerator > I did that already without success.
(In reply to comment #39) > I did that already without (In reply to comment #38) > > If you look into my emerge.log you can easily see that reemerging dbus stuff > > didn't solve it, the solution came after recompiling > > x11-libs/qt-webkit, > > x11-libs/qtscriptgenerator > > > > I did that already without success. > Can confirm this. Neither rebuilding this nor all dbus-related packages helped for me. :(
I've added set( BINDINGS_RUN_RESULT 1 ) in /usr/portage/distfiles/svn-src/amarok/amarok/cmake/modules/FindQtScriptQtBindings.cmake at line 29 before the line CHECK_CXX_SOURCE_RUNS( "${source}" BINDINGS_RUN_RESULT) Amarok compiles and works as usual so far but I cannot tell what this line I've added actually does.
Seeing as dbus is involved, what version of dbus are the folks affected by this issue running? Also, are you sure you have the dbus and hald init scripts running? I currently have the following: $ qlist -Iv dbus dev-libs/dbus-glib-0.80 dev-libs/dbus-qt3-old-0.70 dev-python/dbus-python-0.83.0-r1 sys-apps/dbus-1.2.12 x11-libs/qt-dbus-4.5.1
$ qlist -Iv dbus dev-libs/dbus-glib-0.80 dev-python/dbus-python-0.83.0-r1 sys-apps/dbus-1.2.12 x11-libs/qt-dbus-4.5.1 $ qlist -Iv amarok media-sound/amarok-2.0.96-r1 media-sound/amarok-utils-2.0.96 $ qlist -Iv qt virtual/poppler-qt4-0.10.5 x11-libs/qt-core-4.5.1 x11-libs/qt-dbus-4.5.1 x11-libs/qt-gui-4.5.1-r2 x11-libs/qt-opengl-4.5.1 x11-libs/qt-qt3support-4.5.1 x11-libs/qt-script-4.5.1 x11-libs/qt-sql-4.5.1 x11-libs/qt-svg-4.5.1-r1 x11-libs/qt-test-4.5.1 x11-libs/qt-webkit-4.5.1 x11-libs/qt-xmlpatterns-4.5.1 x11-libs/qtscriptgenerator-0.1.0 x11-themes/gtk-engines-qtcurve-0.62.8
i'm surprised nut i have compiled new Amarok! Recently i do `emerge -e @world`. But after this Amarok cannot compiled again. So yesterday i've updated Portage and sync kde-testing overlay. qlist -Iv dbus dev-libs/dbus-glib-0.80 dev-libs/dbus-qt3-old-0.70 dev-python/dbus-python-0.83.0-r1 sys-apps/dbus-1.2.12 x11-libs/qt-dbus-4.5.1 qlist -Iv amarok media-sound/amarok-2.0.96-r1 media-sound/amarok-utils-2.0.96 qlist -Iv qt app-emulation/emul-linux-x86-qtlibs-20080316 dev-db/qt-unixODBC-3.3.8b dev-libs/dbus-qt3-old-0.70 sys-apps/qtparted-0.4.5 x11-libs/qt-3.3.8b-r1 x11-libs/qt-4.5.1 x11-libs/qt-assistant-4.5.1 x11-libs/qt-core-4.5.1 x11-libs/qt-dbus-4.5.1 x11-libs/qt-gui-4.5.1-r2 x11-libs/qt-opengl-4.5.1 x11-libs/qt-qt3support-4.5.1 x11-libs/qt-script-4.5.1 x11-libs/qt-sql-4.5.1 x11-libs/qt-svg-4.5.1-r1 x11-libs/qt-test-4.5.1 x11-libs/qt-webkit-4.5.1 x11-libs/qt-xmlpatterns-4.5.1 x11-libs/qtscriptgenerator-0.1.0
(In reply to comment #43) (In reply to comment #44) You both have amarok-2.0.96-r1 installed, so did it stop building for you? Before anyone asks, I've already bumped amarok to 2.1 locally and plan to add it later today to the tree.
i've already installed Amarok 2.1
(In reply to comment #45) > (In reply to comment #43) > (In reply to comment #44) > > You both have amarok-2.0.96-r1 installed, so did it stop building for you? > Yes, look at my comments above. After some re-emerges it compiled fine for me.
(In reply to comment #47) > (In reply to comment #45) > > (In reply to comment #43) > > (In reply to comment #44) > > > > You both have amarok-2.0.96-r1 installed, so did it stop building for you? > > > > Yes, look at my comments above. > After some re-emerges it compiled fine for me. > Oh, I mean no, it didn't stop building. It did at first, but then compiled fine. ;-)
You can no longer rely on this behaviour in >=amarok-2.1 ebuild in tree/overlay qtscriptbindings tests are DISABLED. Hence...I don't want to kill you enthusiasm but... (should I reopen?)
Of course, this isn't fixed, i'll try to investigate more on this. For now the test will remain disabled
i also had this problem months ago and just encountered it again because i forgot about it.. i just wanted to throw in that if i compile amarok manually as a user, cmake runs fine. but if i run cmake as root it also freezes on -- Performing Test BINDINGS_RUN_RESULT.
We have news here: -- Checking if the QtScript Qt Bindings are installed. -- includes /usr/include/qt4/QtCore;/usr/include/qt4/QtScript;/usr/include;/usr/include/KDE;/usr/include/KDE;/usr/include;/usr/include/qt4/QtScriptTools;/usr/include/qt4/QtXmlPatterns;/usr/include/qt4/QtWebKit;/usr/include/qt4/QtHelp;/usr/include/qt4/QtAssistant;/usr/include/qt4/QtDBus;/usr/include/qt4/QtTest;/usr/include/qt4/QtUiTools;/usr/include/qt4/QtScript;/usr/include/qt4/QtSvg;/usr/include/qt4/QtXml;/usr/include/qt4/QtSql;/usr/include/qt4/QtOpenGL;/usr/include/qt4/QtNetwork;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtDesigner;/usr/include/qt4/QtAssistant;/usr/include/qt4/Qt3Support;/usr/include/qt4/QtGui;/usr/include/qt4/QtCore;/usr/include/qt4/Qt;/usr/share/qt4/mkspecs/default;/usr/include/qt4;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include libraries /usr/lib64/qt4/libQtScript.so;/usr/lib64/qt4/libQtCore.so;-lpthread;/usr/lib64/qt4/libQtGui.so;-L/usr/lib64;-lkdecore;-lkdeui -- Performing Test BINDINGS_RUN_RESULT -- Performing Test BINDINGS_RUN_RESULT - Failed -- QtBindings not found. run `cd cmake/modules/bindingstest; mkdir build; cd build; cmake ..; make; ./bindingstest; echo $?` If it prints '0' then you're actually fine. I'll investigate it more
Sput helped a lot to find another way to solve this issue. More info and patch on upstream bug. I'll apply the patch to the gentoo ebuilds now. Thank you https://bugs.kde.org/show_bug.cgi?id=189367#c9