Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429736 - kde-base/marble should depend on x11-libs/qt-core[iconv]
Summary: kde-base/marble should depend on x11-libs/qt-core[iconv]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-08-03 22:23 UTC by Bash Vi
Modified: 2012-08-04 13:35 UTC (History)
0 users

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


Attachments
patch for marble-4.8.4.ebuild (marble-4.8.4.ebuild.diff,323 bytes, patch)
2012-08-03 22:25 UTC, Bash Vi
Details | Diff
patch for marble-4.9.0.ebuild (marble-4.9.0.ebuild.diff,323 bytes, patch)
2012-08-03 22:26 UTC, Bash Vi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bash Vi 2012-08-03 22:23:00 UTC
I got marble running on box 1, but on box 2 it would not start.
The terminal didn't output anything, no error-message and nothing and it would not return to the prompt either, but marble would not start.
On box 1 though it starts just fine. So I started going through the packages marble depends on and checked their useflags.
I found that the iconv use-flag in qt-core was set on box 1 (where marble was working) but it was *not* set on box 2, where marble wasn't working.
So I enabled the use-flag and recompiled qt-core. After that, marble started fine.

To make sure that's the cause, I recompiled qt-core on box 1 with iconv disabled. Afterwards, marble didn't start there. So I'm pretty sure that's the cause of the problem.

I guess marble should enforce the iconv use-flag to be set in qt-core.
Comment 1 Bash Vi 2012-08-03 22:25:57 UTC
Created attachment 320226 [details, diff]
patch for marble-4.8.4.ebuild
Comment 2 Bash Vi 2012-08-03 22:26:46 UTC
Created attachment 320228 [details, diff]
patch for marble-4.9.0.ebuild
Comment 3 Agostino Sarubbo gentoo-dev 2012-08-04 12:40:31 UTC
Works for me:


ago@amd64box ~ $ eix -e qt-core
[I] x11-libs/qt-core
     Available versions:  (4) 4.7.4-r1 4.8.1-r3 4.8.2{tbz2}
        {{aqua c++0x debug +exceptions +glib iconv icu +jit optimized-qmake pch private-headers qpa qt3support ssl}}
     Installed versions:  4.8.2(4){tbz2}(14:33:13 04/08/2012)(exceptions glib qt3support ssl -aqua -c++0x -debug -iconv -icu -optimized-qmake -pch -qpa)
     Homepage:            http://qt-project.org/ http://qt.nokia.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework


ago@amd64box ~ $ marble
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: File o directory non esistente
QFileSystemWatcher: failed to add paths: /home/ago/.local/share/marble/maps/earth/placemarks/
marble(29581)/kdeui (kdelibs): Attempt to use QAction "show_crosshairs" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
marble(29581)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
Finished loading all placemarks  862 
marble(29581)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Comment 4 Bash Vi 2012-08-04 13:18:32 UTC
I tried some combinations of use flags on qt-core... Here are the results:


hopcsm0801 ~ # eix -e qt-core
[I] x11-libs/qt-core
     Available versions:  (4) 4.7.4-r1 4.8.1-r3 4.8.2
        {aqua c++0x debug +exceptions +glib iconv icu +jit optimized-qmake pch private-headers qpa qt3support ssl}
     Installed versions:  4.8.2(4)(11:51:37 PM 08/03/2012)(exceptions glib iconv ssl -aqua -c++0x -debug -icu -optimized-qmake -pch -qpa -qt3support)
     Homepage:            http://qt-project.org/ http://qt.nokia.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework

vimja@hopcsm0801:~$ marble
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/niklaus/.local/share/marble/maps/earth/placemarks/

=================================================================

hopcsm0801 ~ # eix -e qt-core
[I] x11-libs/qt-core
     Available versions:  (4) 4.7.4-r1 4.8.1-r3 4.8.2
        {aqua c++0x debug +exceptions +glib iconv icu +jit optimized-qmake pch private-headers qpa qt3support ssl}
     Installed versions:  4.8.2(4)(02:59:15 PM 08/04/2012)(exceptions glib ssl -aqua -c++0x -debug -iconv -icu -optimized-qmake -pch -qpa -qt3support)
     Homepage:            http://qt-project.org/ http://qt.nokia.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework

vimja@hopcsm0801:~$ marble

=================================================================

hopcsm0801 ~ # USE='qt3support -iconv' emerge -a --oneshot --newuse qt-core

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-libs/qt-core-4.8.2  USE="qt3support*" 
[ebuild   R    ] x11-libs/qt-gui-4.8.2  USE="qt3support*" 
[ebuild   R    ] x11-libs/qt-sql-4.8.2  USE="qt3support*" 
[ebuild  N     ] x11-libs/qt-qt3support-4.8.2  USE="accessibility exceptions (-aqua) (-c++0x) -debug -pch (-qpa)" 

hopcsm0801 ~ # eix -e qt-core
[I] x11-libs/qt-core
     Available versions:  (4) 4.7.4-r1 4.8.1-r3 4.8.2
        {aqua c++0x debug +exceptions +glib iconv icu +jit optimized-qmake pch private-headers qpa qt3support ssl}
     Installed versions:  4.8.2(4)(03:05:13 PM 08/04/2012)(exceptions glib qt3support ssl -aqua -c++0x -debug -iconv -icu -optimized-qmake -pch -qpa)
     Homepage:            http://qt-project.org/ http://qt.nokia.com/
     Description:         The Qt toolkit is a comprehensive C++ application development framework
vimja@hopcsm0801:~$ marble

=================================================================

So I guess it's gotta be more complicated than just the qt-core use-flags. 
Is there some additional information I can provide that would help?
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2012-08-04 13:35:05 UTC
Try to run revdep-rebuild.