[packages/rpm] - revert change which causes debuginfo to fail like this: Failed to produce debuginfo: debug format

baggins baggins at pld-linux.org
Mon Sep 23 18:22:29 CEST 2013


commit d6029d7ba292bfa2ab9d0f2e80b2ed150861a73d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Sep 23 18:20:14 2013 +0200

    - revert change which causes debuginfo to fail like this:
    	Failed to produce debuginfo: debug format not supported: .init

 rpm-revert-debugedit-breakage.patch | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
---
diff --git a/rpm-revert-debugedit-breakage.patch b/rpm-revert-debugedit-breakage.patch
new file mode 100644
index 0000000..752366b
--- /dev/null
+++ b/rpm-revert-debugedit-breakage.patch
@@ -0,0 +1,22 @@
+--- tools/debugedit.c	2013/08/08 15:53:36	2.23.2.10
++++ tools/debugedit.c	2013/08/08 16:39:05	2.23.2.11
+@@ -1632,17 +1632,11 @@
+ 	  /* TODO: Handle stabs */
+ 	  if (strcmp (name, ".stab") == 0)
+ 	    {
++	      fprintf (stderr, "Stabs debuginfo not supported: %s\n", file);
++	      exit (1);
+-	      fprintf (stderr, "Warning: Stabs debuginfo currently not supported: %s\n", file);
+-	      break;
+ 	    }
+-		/* The core DWARF data  containing DIEs */
+ 	  if (strcmp (name, ".debug_info") == 0)
+ 	    edit_dwarf2 (dso);
+-		else 
+-			 {
+-	      fprintf (stderr, "Failed to produce debuginfo: debug format not supported: %s\n", name);
+-				exit(1);
+-			 }
+ 
+ 	  break;
+ 	case SHT_NOTE:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/a32fd84f797b1fea15ac0c63485303e33a4e63c8



More information about the pld-cvs-commit mailing list