Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356457 - kde-base/marble[-kde] segfaults on exit
Summary: kde-base/marble[-kde] segfaults on exit
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 18:08 UTC by Vladimir
Modified: 2011-08-27 16:42 UTC (History)
0 users

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 Vladimir 2011-02-25 18:08:17 UTC
Hello!
  I can see that Marble package in Gentoo Portage doesn't use the "kde" USE flag to allow users choosing between the KDE- and Qt-only variants of Marble.
As far as I know Marble can be used as a Qt widget itself, so it may easily be built and used without KDElibs. It seems to me that the "kde" USE flag suits perfectly for such a purpose.

  Here is what Marble developers say on the website:

      "Marble-Qt requires only Qt as a dependency. The only drawback is that Marble-Qt doesn't    provide the whole functionality of Marble (e.g. the settings dialog or automatic map download via "GHNS")
If you're sitting on a plattform where KDE 4 is not installed already this might be the right choice (e.g. for KDE 3.5 users, Gnome users, Windows and Mac OS X)."

  Personally I do not use anything KDE-related, so I don't have any KDE libraries on my system. But to compile Marble in Qt-only mode one must have SVN tools on his system and download the new versions of Marble by hand, which is not very comfortable. And probably not all users are familiar with SVN commands, compile/install commands and such. That is why I'm suggesing to add the "kde" USE flag to Marble's ebuild to allow users (including me) to easily build and update Qt-only Marble package.

Regards,
Vladimir

Reproducible: Always
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-02-25 18:24:21 UTC
@kde / @qt:

Can / Do we want to allow this use case?
Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-02-28 00:04:27 UTC
yes
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-07-31 18:28:32 UTC
This should work in kde-base/marble-4.7.0-r1, please test.
Comment 4 Vladimir 2011-07-31 21:42:44 UTC
(In reply to comment #3)
> This should work in kde-base/marble-4.7.0-r1, please test.
Yes, it works. Thanks.
Now Marble builds and runs fine without a need to build the KDElibs as well, except two minor issues:
1. Marble segfaults on exit and gives this message:

    Time elapsed: 72 ms
    Model: Time elapsed: 0 ms
    ReadSettings: mapThemeId:  "earth/srtm/srtm.dgml" 
    TextureColorizer::setSeaFileLandFile: Time elapsed: 12 ms
    Updating Settings ... 
    Finished loading all placemarks  2660 
    Updating Settings ... 
    Application asked to unregister timer 0x500000d which is not registered in this thread. Fix application.

    [1]+  Segmentation fault      marble

2. 'equery uses marble' gives this:

     * Found these USE flags for kde-base/marble-4.7.0-r1: U I
      . . .
     - - kde             : Adds support for kde-base/kde (K Desktop Enviroment)
     - - kde             : Adds support for kde-base/kde (K Desktop Enviroment)
      . . .

I mean the "kde" USE flag now appears twice (probably, this bug has been twice fixed :) ).

  Thanks again for fixing!
  Regards,
    Vladimir
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-07-31 22:31:12 UTC
Can't do anything without a backtrace, sorry.