Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341705 - dev-util/qt-creator can not load debugging helper library
Summary: dev-util/qt-creator can not load debugging helper library
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 02:13 UTC by Thomas Capricelli
Modified: 2010-10-19 16:14 UTC (History)
1 user (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 Thomas Capricelli 2010-10-19 02:13:42 UTC
when i start a debugging session within qt-creator, it says 
---------------------------------------------------------------------
The debugger could not load the debugging helper library.The debugging helper is used to nicely format the values of some Qt and Standard Library data types. It must be compiled for each used Qt version separately. This can be done in the Qt preferences page by selecting a Qt installation and clicking on 'Rebuild' in the 'Debugging Helper' row.
---------------------------------------------------------------------

I dont know what this is. imho it could be either the 'debug' data for shared libraries, or some other stuff like gdb scripts.

Related to the first point, i have USE=debug and the qt-core debug stuff is there:
---------------------------------------------------------------------
% equery  files qt-core
 * Searching for qtcore ...
 * Contents of x11-libs/qt-core-4.6.3:
/etc
/etc/env.d
/etc/env.d/44qt4
(...)
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/bin
/usr/lib/debug/usr/bin/lconvert.debug
/usr/lib/debug/usr/bin/lrelease.debug
/usr/lib/debug/usr/bin/lupdate.debug
/usr/lib/debug/usr/bin/moc.debug
/usr/lib/debug/usr/bin/qmake.debug
/usr/lib/debug/usr/bin/rcc.debug
/usr/lib/debug/usr/bin/uic.debug
/usr/lib/debug/usr/lib64
/usr/lib/debug/usr/lib64/qt4
/usr/lib/debug/usr/lib64/qt4/libQtCore.so.4.6.3.debug
/usr/lib/debug/usr/lib64/qt4/libQtNetwork.so.4.6.3.debug
/usr/lib/debug/usr/lib64/qt4/libQtXml.so.4.6.3.debug
/usr/lib/debug/usr/lib64/qt4/plugins
/usr/lib/debug/usr/lib64/qt4/plugins/codecs
/usr/lib/debug/usr/lib64/qt4/plugins/codecs/libqcncodecs.so.debug
/usr/lib/debug/usr/lib64/qt4/plugins/codecs/libqjpcodecs.so.debug
/usr/lib/debug/usr/lib64/qt4/plugins/codecs/libqkrcodecs.so.debug
/usr/lib/debug/usr/lib64/qt4/plugins/codecs/libqtwcodecs.so.debug
(...)
---------------------------------------------------------------------

Reproducible: Always
Comment 1 Thomas Capricelli 2010-10-19 02:20:24 UTC
Ah, somewhere else i've found this:
----------------------------------------------------------------
The debugging helper library was not found at /usr/share/qt4/qtc-debugging-helper/libgdbmacros.so, /usr/qtc-debugging-helper/30324244/libgdbmacros.so, /home/orzel/.local/share/data/Nokia/QtCreator/qtc-debugging-helper/30324244/libgdbmacros.so.
----------------------------------------------------------------
So, indeed, it's not looking after debug libraries but some gdb stuff that i can't find in gentoo packages.
i've checked in qt-core: "equery files qt-core | grep gdb -i" gives nothing.
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2010-10-19 11:01:03 UTC
(In reply to comment #0)
> It must be compiled for each used Qt version separately. This can be done in
> the Qt preferences page by selecting a Qt installation and clicking on
> 'Rebuild' in the 'Debugging Helper' row.
> ---------------------------------------------------------------------

Do what it's suggesting. :)
Comment 3 Thomas Capricelli 2010-10-19 11:26:11 UTC
uh?? Are you serious.. ? What they say is to start a script that trigger recompilation of Qt. That is, outside from gentoo/portage scope. Something usual under windows (this is how your get Qt with debug symbols for example). But not under gentoo. For example, the user has no root permissions to do so, portage db would not be updated, and so on.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-10-19 11:41:55 UTC
(In reply to comment #3)
> uh?? Are you serious.. ? What they say is to start a script that trigger
> recompilation of Qt. That is, outside from gentoo/portage scope. Something
> usual under windows (this is how your get Qt with debug symbols for example).
> But not under gentoo. For example, the user has no root permissions to do so,
> portage db would not be updated, and so on.
> 

You don't have to recompile Qt for that. Just try the suggestion
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2010-10-19 11:43:25 UTC
Tools->Options->Qt4-><Select your Qt>->Rebuild->Done!
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2010-10-19 15:30:36 UTC
(In reply to comment #3)
> uh?? Are you serious.. ? What they say is to start a script that trigger
> recompilation of Qt. That is, outside from gentoo/portage scope. Something
> usual under windows (this is how your get Qt with debug symbols for example).
> But not under gentoo. For example, the user has no root permissions to do so,
> portage db would not be updated, and so on.
> 

Yes, I'm serious. You will just build a small library which takes a couple of seconds to compile and which will be placed inside your home dir. This has nothing to do with portage.

Thus I think this is invalid, unless you're suggesting to create a new ebuild for the helper library...
Comment 7 Thomas Capricelli 2010-10-19 16:14:44 UTC
no, you're right, i've done it and indeed it's only a small step inside the home directory. Really weird.

Sorry for the noise :-(