diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-September/018675.html')
| -rw-r--r-- | zarb-ml/mageia-dev/2012-September/018675.html | 196 | 
1 files changed, 196 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-September/018675.html b/zarb-ml/mageia-dev/2012-September/018675.html new file mode 100644 index 000000000..144d8f6e7 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-September/018675.html @@ -0,0 +1,196 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> +   <TITLE> [Mageia-dev] How to install a debug package with its	dependencies? +   </TITLE> +   <LINK REL="Index" HREF="index.html" > +   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20How%20to%20install%20a%20debug%20package%20with%20its%0A%09dependencies%3F&In-Reply-To=%3CCAC_Q1P3yVOdWaKiVtvdLAKU5q4tGLmEVBkdb7VH4aFLnP0W_fQ%40mail.gmail.com%3E"> +   <META NAME="robots" CONTENT="index,nofollow"> +   <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> +   <LINK REL="Previous"  HREF="018658.html"> +   <LINK REL="Next"  HREF="018655.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> +   <H1>[Mageia-dev] How to install a debug package with its	dependencies?</H1> +    <B>Phoenix Guo</B>  +    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20How%20to%20install%20a%20debug%20package%20with%20its%0A%09dependencies%3F&In-Reply-To=%3CCAC_Q1P3yVOdWaKiVtvdLAKU5q4tGLmEVBkdb7VH4aFLnP0W_fQ%40mail.gmail.com%3E" +       TITLE="[Mageia-dev] How to install a debug package with its	dependencies?">phoenix.guo at gmail.com +       </A><BR> +    <I>Fri Sep 14 16:07:42 CEST 2012</I> +    <P><UL> +        <LI>Previous message: <A HREF="018658.html">[Mageia-dev] How to install a debug package with its dependencies? +</A></li> +        <LI>Next message: <A HREF="018655.html">[Mageia-dev] [Bug 7049] Update candidate for phonon-gstreamer +</A></li> +         <LI> <B>Messages sorted by:</B>  +              <a href="date.html#18675">[ date ]</a> +              <a href="thread.html#18675">[ thread ]</a> +              <a href="subject.html#18675">[ subject ]</a> +              <a href="author.html#18675">[ author ]</a> +         </LI> +       </UL> +    <HR>   +<!--beginarticle--> +<PRE>2012/9/14 Guillaume Rousse <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>>: +><i> Le 13/09/2012 18:06, Phoenix Guo a écrit : +</I>><i> +</I>>><i> Hi All, +</I>>><i> +</I>>><i> Could someone kindly tell me that how to install a debug package with +</I>>><i> its dependencies? +</I>><i> +</I>><i> There is not dependencies between debug packages, in the sense of 'debug +</I>><i> package X need debug package Y to be used'. +</I>><i> +</I>><i> +</I> +Thanks for your explaination. + + +>><i> For example, I install the firefox-debug-10.0.7-1.mga2.x86_64 package +</I>>><i> for debugging the firefox. While gdb load the firefox core dump file, +</I>>><i> gdb cannot read debugging symbols from other debug packages as they +</I>>><i> are not installed at the same time. Although they are needed for +</I>>><i> debugging. +</I>><i> +</I>><i> I don't know if there an easy way to do it. Usually, tough, the name of the +</I>><i> function where the crash does occurs is enough to tell wich debug package is +</I>><i> needed exactly. +</I>><i> +</I>><i> That could be an interesting urpmi feature, tough, to be able to +</I>><i> automatically install all those packages at once. +</I>><i> -- +</I>><i> BOFH excuse #350: +</I>><i> +</I>><i> paradigm shift...without a clutch +</I> +Yes. Because while debugging a program in RHEL or Fedora, a command +named 'debuginfo-install' which is provided by yum-utils can be used +to automatically install all needed debug information packages. For +example, to install the debuginfo package of bash: + +#debuginfo-install bash +Loaded plugins: fastestmirror, refresh-packagekit, remove-with-leaves +enabling epel-debuginfo +Loading mirror speeds from cached hostfile + * base: mirrors.btte.net + * epel: ftp.riken.jp + * epel-debuginfo: ftp.riken.jp + * extras: mirrors.btte.net + * nux-dextop: mirror.li.nux.ro + * updates: mirrors.163.com +Checking for new repos for mirrors +Could not find debuginfo pkg for dependency package +ncurses-libs-5.7-3.20090208.el6.x86_64 +--> Running transaction check +---> Package bash-debuginfo.x86_64 0:4.1.2-9.el6_2 will be installed +---> Package glibc-debuginfo.x86_64 0:2.12-1.80.el6_3.5 will be installed +--> Processing Dependency: glibc-debuginfo-common = 2.12-1.80.el6_3.5 +for package: glibc-debuginfo-2.12-1.80.el6_3.5.x86_64 +---> Package yum-plugin-auto-update-debug-info.noarch 0:1.1.30-14.el6 +will be installed +--> Running transaction check +---> Package glibc-debuginfo-common.x86_64 0:2.12-1.80.el6_3.5 will be installed +--> Finished Dependency Resolution + +Dependencies Resolved + +====================================================================================================================================================== + Package                                              Arch +         Version                                Repository +   Size +====================================================================================================================================================== +Installing: + bash-debuginfo                                       x86_64 +         4.1.2-9.el6_2                          debug +  1.3 M + glibc-debuginfo                                      x86_64 +         2.12-1.80.el6_3.5                      debug +  8.7 M + yum-plugin-auto-update-debug-info                    noarch +         1.1.30-14.el6                          base +   22 k +Installing for dependencies: + glibc-debuginfo-common                               x86_64 +         2.12-1.80.el6_3.5                      debug +  8.2 M + +Transaction Summary +====================================================================================================================================================== +Install       4 Package(s) + +Total download size: 18 M +Installed size: 105 M +Is this ok [y/N]: + + +For developer and Testing Engineer, the easier to obtain full debug +information about a package, the easier to find out defects or bugs. + +Besides the debuginfo package, I think the kexec package is important +to generate a vmcore if the kernel panic occurs. I repackage the +kexec-tools of Mandriva for Mageia and currently testing on my laptop. + +BTW, the gdb in the mageia2 still cannot tell which debug packages +should be installed while debugging. And it seems that the work-around +~~~ +<A HREF="https://bugs.mageia.org/show_bug.cgi?id=3417#c19">https://bugs.mageia.org/show_bug.cgi?id=3417#c19</A> +~~~ +does not works... + +Should I recompile the latest gdb package on Mageia to make it work? + +Many thanks!! + +Best Regards, +-- +chgurusky +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> +    <HR> +    <P><UL> +        <!--threads--> +	<LI>Previous message: <A HREF="018658.html">[Mageia-dev] How to install a debug package with its dependencies? +</A></li> +	<LI>Next message: <A HREF="018655.html">[Mageia-dev] [Bug 7049] Update candidate for phonon-gstreamer +</A></li> +         <LI> <B>Messages sorted by:</B>  +              <a href="date.html#18675">[ date ]</a> +              <a href="thread.html#18675">[ thread ]</a> +              <a href="subject.html#18675">[ subject ]</a> +              <a href="author.html#18675">[ author ]</a> +         </LI> +       </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html>  | 
