unstable/sid: libgtk-3-0 and libgtk-3-0-dbg

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

unstable/sid: libgtk-3-0 and libgtk-3-0-dbg

Kevin Connor Arpe
Hello,

I am an unstable/sid user on a vanilla x86-64 PC.

I am trying to debug some app code that uses libgtk+ 3.   I would be
very helpful to also have debug symbols for this library.

My libgtk-3-0 is currently 3.22.7-2.  Using aptitude, I tried to add
libgtk-3-0-dbg (3.4.2.7+deb7u1).  However, I get a conflict error
message requesting me to downgrade my libgtk-3-0... which is nearly
nuclear.  =]

Is it difficult to get libgtk-3-0-dbg up to 3.22.7-2?

If I can help, please let me know.

Thanks,
Arpe
Hongkong

Reply | Threaded
Open this post in threaded view
|

Re: unstable/sid: libgtk-3-0 and libgtk-3-0-dbg

Emilio Pozuelo Monfort-4
On 30/01/17 13:18, Kevin Connor Arpe wrote:

> Hello,
>
> I am an unstable/sid user on a vanilla x86-64 PC.
>
> I am trying to debug some app code that uses libgtk+ 3.   I would be
> very helpful to also have debug symbols for this library.
>
> My libgtk-3-0 is currently 3.22.7-2.  Using aptitude, I tried to add
> libgtk-3-0-dbg (3.4.2.7+deb7u1).  However, I get a conflict error
> message requesting me to downgrade my libgtk-3-0... which is nearly
> nuclear.  =]
>
> Is it difficult to get libgtk-3-0-dbg up to 3.22.7-2?

You want libgtk-3-0-dbgsym from the debug archive.
See https://wiki.debian.org/AutomaticDebugPackages for how to enable it.

Cheers,
Emilio

Reply | Threaded
Open this post in threaded view
|

Re: unstable/sid: libgtk-3-0 and libgtk-3-0-dbg

Kevin Connor Arpe
Emilio,

Thanks for the quick reply.

I tried to follow instructions from this page:
https://wiki.debian.org/HowToGetABacktrace
... to rebuild package libgtk-3-0, but failed with error.

root> DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source libgtk-3-0

...
make[5]: Leaving directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite/reftests'
make[4]: Leaving directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite/reftests'
make[3]: Leaving directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite/reftests'
Making check in tools
make[3]: Entering directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite/tools'
/usr/bin/make  check-local
make[4]: Entering directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite/tools'
cp /etc/gtk+3.0-3.22.7/./testsuite/tools/test-simplify.in test-simplify
cp /etc/gtk+3.0-3.22.7/./testsuite/tools/test-settings.in test-settings
TEST: test-simplify... (pid=18031)
1..0
PASS: test-simplify
TEST: test-settings... (pid=18033)
1..1
not ok 1 gtk-query-settings
PASS: test-settings
make[4]: Leaving directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite/tools'
make[3]: Leaving directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite/tools'
make[3]: Entering directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite'
/usr/bin/make  check-local
make[4]: Entering directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite'
make[4]: Leaving directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite'
make[3]: Leaving directory
'/etc/gtk+3.0-3.22.7/debian/build/shared_udeb/testsuite'
Makefile:546: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Target 'check' not remade because of errors.
...
make[1]: *** [check-recursive] Error 1
make[1]: Target 'check' not remade because of errors.
make[1]: Leaving directory '/etc/gtk+3.0-3.22.7/debian/build/shared_udeb'
/usr/share/cdbs/1/class/makefile.mk:113: recipe for target
'debian/stamp-makefile-check/shared_udeb' failed
make: *** [debian/stamp-makefile-check/shared_udeb] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Build command 'cd gtk+3.0-3.22.7 && dpkg-buildpackage -b -uc' failed.

On Mon, Jan 30, 2017 at 8:21 PM, Emilio Pozuelo Monfort
<[hidden email]> wrote:

> On 30/01/17 13:18, Kevin Connor Arpe wrote:
>> Hello,
>>
>> I am an unstable/sid user on a vanilla x86-64 PC.
>>
>> I am trying to debug some app code that uses libgtk+ 3.   I would be
>> very helpful to also have debug symbols for this library.
>>
>> My libgtk-3-0 is currently 3.22.7-2.  Using aptitude, I tried to add
>> libgtk-3-0-dbg (3.4.2.7+deb7u1).  However, I get a conflict error
>> message requesting me to downgrade my libgtk-3-0... which is nearly
>> nuclear.  =]
>>
>> Is it difficult to get libgtk-3-0-dbg up to 3.22.7-2?
>
> You want libgtk-3-0-dbgsym from the debug archive.
> See https://wiki.debian.org/AutomaticDebugPackages for how to enable it.
>
> Cheers,
> Emilio

Reply | Threaded
Open this post in threaded view
|

Re: unstable/sid: libgtk-3-0 and libgtk-3-0-dbg

Emilio Pozuelo Monfort-4
On 30/01/17 16:19, Kevin Connor Arpe wrote:
> Emilio,
>
> Thanks for the quick reply.
>
> I tried to follow instructions from this page:
> https://wiki.debian.org/HowToGetABacktrace
> ... to rebuild package libgtk-3-0, but failed with error.
>
> root> DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source libgtk-3-0

You shouldn't do the build as root.

Cheers,
Emilio

Reply | Threaded
Open this post in threaded view
|

Re: unstable/sid: libgtk-3-0 and libgtk-3-0-dbg

Kevin Connor Arpe
You are right.  That is my mistake.  (When I get a wiki account setup,
I'll make a note for futures readers... *not* root!)

I decided to backup one step and try to build a debug version of
libglib2.0-0.  Following the same steps from that page... but it fails
during the test phase:
(You can spot the "^C" below.  The build just hung at this point.  I
tried twice.  Let it hang for 10+mins, then Ctrl+C to give up.)

Any ideas?

To be clear, I have a vanilla x86-64 PC with unstable/sid installed.
Also, my network config is vanilla (no firewall).

Thanks,
Arpe

$ DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source libglib2.0-0
...
PASS: gmenumodel 1 /gmenu/equality
PASS: gmenumodel 2 /gmenu/random
PASS: gmenumodel 3 /gmenu/attributes
PASS: gmenumodel 4 /gmenu/links
PASS: gmenumodel 5 /gmenu/mutable
PASS: gmenumodel 6 /gmenu/convenience
PASS: gmenumodel 7 /gmenu/menuitem
ERROR: gmenumodel - too few tests run (expected 11, got 7)
ERROR: gmenumodel - exited with status 133 (terminated by signal 5?)
^Cmake[9]: *** Deleting file 'gnotification.log'
tap-driver.sh: fatal: I/O or internal error
Makefile:4318: recipe for target 'gnotification.log' failed
make[9]: *** [gnotification.log] Error 1
Makefile:3737: recipe for target 'check-TESTS' failed
make[8]: *** [check-TESTS] Interrupt
Makefile:4451: recipe for target 'check-am' failed
make[7]: *** [check-am] Interrupt
Makefile:3524: recipe for target 'check-recursive' failed
make[6]: *** [check-recursive] Interrupt
Makefile:4455: recipe for target 'check' failed
make[5]: *** [check] Interrupt
Makefile:4372: recipe for target 'check-recursive' failed
make[4]: *** [check-recursive] Interrupt
Makefile:4683: recipe for target 'check' failed
make[3]: *** [check] Interrupt
Makefile:1214: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Interrupt
Makefile:1671: recipe for target 'check' failed
make[1]: *** [check] Interrupt
/usr/share/cdbs/1/class/makefile.mk:113: recipe for target
'debian/stamp-makefile-check/deb' failed
make: *** [debian/stamp-makefile-check/deb] Interrupt
dpkg-buildpackage: error: debian/rules build died from signal 2
E: Build command 'cd glib2.0-2.50.2 && dpkg-buildpackage -b -uc' failed.

On Tue, Jan 31, 2017 at 1:32 AM, Emilio Pozuelo Monfort
<[hidden email]> wrote:

> On 30/01/17 16:19, Kevin Connor Arpe wrote:
>> Emilio,
>>
>> Thanks for the quick reply.
>>
>> I tried to follow instructions from this page:
>> https://wiki.debian.org/HowToGetABacktrace
>> ... to rebuild package libgtk-3-0, but failed with error.
>>
>> root> DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source libgtk-3-0
>
> You shouldn't do the build as root.
>
> Cheers,
> Emilio

Reply | Threaded
Open this post in threaded view
|

Re: unstable/sid: libgtk-3-0 and libgtk-3-0-dbg

Jordi Mallach
El dj 02 de 02 de 2017 a les 00:02 +0800, en/na Kevin Connor Arpe va
escriure:

> You are right.  That is my mistake.  (When I get a wiki account
> setup,
> I'll make a note for futures readers... *not* root!)
>
> I decided to backup one step and try to build a debug version of
> libglib2.0-0.  Following the same steps from that page... but it
> fails
> during the test phase:
> (You can spot the "^C" below.  The build just hung at this point.  I
> tried twice.  Let it hang for 10+mins, then Ctrl+C to give up.)
>
> Any ideas?

You were already pointed to the debug archive, so you can use the
-dbgsym packages. Is there a problem with that?

--
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[hidden email]     [hidden email]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/

Reply | Threaded
Open this post in threaded view
|

Re: unstable/sid: libgtk-3-0 and libgtk-3-0-dbg

Kevin Connor Arpe
Double facepalm!  I missed this sentence on the wiki: :"If an
appropriate package was found you should just be able to install the
appropriate debug package... and skip the rebuilding process in the
following instructions and go straight to running gdb."

Thanks,
Arpe

On Thu, Feb 2, 2017 at 7:11 PM, Jordi Mallach <[hidden email]> wrote:

> El dj 02 de 02 de 2017 a les 00:02 +0800, en/na Kevin Connor Arpe va
> escriure:
>> You are right.  That is my mistake.  (When I get a wiki account
>> setup,
>> I'll make a note for futures readers... *not* root!)
>>
>> I decided to backup one step and try to build a debug version of
>> libglib2.0-0.  Following the same steps from that page... but it
>> fails
>> during the test phase:
>> (You can spot the "^C" below.  The build just hung at this point.  I
>> tried twice.  Let it hang for 10+mins, then Ctrl+C to give up.)
>>
>> Any ideas?
>
> You were already pointed to the debug archive, so you can use the
> -dbgsym packages. Is there a problem with that?
>
> --
> Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
> [hidden email]     [hidden email]     http://www.sindominio.net/
> GnuPG public key information available at http://oskuro.net/