[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libunwind in unstable



Matthieu Delahaye writes:
> On Wed, 2004-11-24 at 17:36, Ian Wienand wrote:
> > On Wed, Nov 24, 2004 at 12:46:12AM +0100, Matthias Klose wrote:
> > > ok, Ian, if it's ok with you, I'll prepare a libunwind upload, which
> > > plays well with a libgcc1 package including the libunwind7 shared
> > > libs.
> > 
> > It's actually Matthieu's package so he needs to have the final say so;
> > it's a "rock and a hard place" type problem but FWIW I think having
> > the Mosberger libunwind.so as the default one is an enhancement (and
> > something Debian should have got around to sooner).
> 
> Matthias,
> 
> I'm not really sure which of the alternatives you proposed earlier is
> now the "official" for libunwind.
> 
> File a bug on the BTS against libunwind7 with your patch and explain me
> why. I will upload it either tonight or tomorrow. However, If you think
> it is more urgent than that, please NMU (But please file the bug for
> documentation).

please review the attached patch. you find the corresponding gcc
package at http://people.debian.org/~doko/gcc-ia64/

	Matthias


diff -u libunwind-0.98.3/debian/changelog libunwind-0.98.3/debian/changelog
--- libunwind-0.98.3/debian/changelog
+++ libunwind-0.98.3/debian/changelog
@@ -1,3 +1,10 @@
+libunwind (0.98.3-2) unstable; urgency=low
+
+  * Depend on libgcc1, for the sarge release, libunwind.so.7 is built
+    by the gcc-3.4 source package.
+
+ -- Matthias Klose <doko@debian.org>  Fri, 26 Nov 2004 00:48:43 +0100
+
 libunwind (0.98.3-1) unstable; urgency=low
 
   * New upstream release
diff -u libunwind-0.98.3/debian/rules libunwind-0.98.3/debian/rules
--- libunwind-0.98.3/debian/rules
+++ libunwind-0.98.3/debian/rules
@@ -104,6 +104,7 @@
 #	d_python
 	dh_makeshlibs
 	dh_installdeb
+	ln -sf /lib/libunwind.so.7 debian/libunwind7-dev/usr/lib/libunwind.so
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
diff -u libunwind-0.98.3/debian/control libunwind-0.98.3/debian/control
--- libunwind-0.98.3/debian/control
+++ libunwind-0.98.3/debian/control
@@ -24,7 +24,7 @@
 Package: libunwind7
 Section: libs
 Architecture: ia64
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, libgcc1 (>= 1:3.4.3-2)
 Description: A library to determine the call-chain of a program - runtime
  The primary goal of this project is to define a portable and efficient C
  programming interface (API) to determine the call-chain of a program.
diff -u libunwind-0.98.3/debian/libunwind7.install libunwind-0.98.3/debian/libunwind7.install
--- libunwind-0.98.3/debian/libunwind7.install
+++ libunwind-0.98.3/debian/libunwind7.install
@@ -1,3 +1,2 @@
-debian/tmp/usr/lib/libunwind.so.* usr/lib/
 debian/tmp/usr/lib/libunwind-ia64.so.* usr/lib
 debian/tmp/usr/lib/libunwind-generic.so.* usr/lib
only in patch2:
unchanged:
--- libunwind-0.98.3.orig/debian/libunwind7.install.saved
+++ libunwind-0.98.3/debian/libunwind7.install.saved
@@ -0,0 +1,3 @@
+debian/tmp/usr/lib/libunwind.so.* usr/lib/
+debian/tmp/usr/lib/libunwind-ia64.so.* usr/lib
+debian/tmp/usr/lib/libunwind-generic.so.* usr/lib



Reply to: