pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40405: tell libtool the correct soname on DragonFly
>Number: 40405
>Category: pkg
>Synopsis: tell libtool the correct soname on DragonFly
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 15 13:10:00 +0000 2009
>Originator: Simon Schubert
>Release:
>Organization:
DragonFly
>Environment:
>Description:
libtool on DragonFly embeds the full soname (libfoo.so.1.45.123) instead of a
reasonable libfoo.so.1. This makes upgrading really painful.
>How-To-Repeat:
build any shared object with libtool
>Fix:
(also at
<http://chlamydia.fs.ei.tum.de/~corecode/unsorted/libtool-dragonfly-2.diff>)
Index: distinfo
===================================================================
RCS file: /space/repos/cvs/netbsd/pkgsrc/devel/libtool/distinfo,v
retrieving revision 1.72
diff -u -p -r1.72 distinfo
--- distinfo 19 Nov 2008 01:26:52 -0000 1.72
+++ distinfo 9 Jan 2009 03:08:17 -0000
@@ -4,6 +4,6 @@ SHA1 (libtool-1.5.26.tar.gz) = 4c1738351
RMD160 (libtool-1.5.26.tar.gz) = 4d1d7dd0308b98e8f590723ae5daddb8da49ac11
Size (libtool-1.5.26.tar.gz) = 2961939 bytes
SHA1 (patch-aa) = 4c979de3439dfffa48295e094c1aee40c7e79fa6
-SHA1 (patch-ab) = 4b3befd3cf5629e3b46b4bd100b697d10089d434
+SHA1 (patch-ab) = d8c4ac0e09e314b7b68e8a06932f372604f0e584
SHA1 (patch-ac) = 52f22f3f7a58e22d2240d0c6bb77455783ee5d70
-SHA1 (patch-ad) = d3636017fc09a571df6ecb57b7b988867bbbd4ce
+SHA1 (patch-ad) = 41d22be3d89fe8fa8d725bdb7e5c9b4dfb797169
Index: patches/manual-libtool.m4
===================================================================
RCS file:
/space/repos/cvs/netbsd/pkgsrc/devel/libtool/patches/manual-libtool.m4,v
retrieving revision 1.23
diff -u -p -r1.23 manual-libtool.m4
--- patches/manual-libtool.m4 19 Nov 2008 01:26:52 -0000 1.23
+++ patches/manual-libtool.m4 9 Jan 2009 03:05:36 -0000
@@ -63,7 +63,7 @@ Local pkgsrc changes:
need_version=no
need_lib_prefix=no
;;
-@@ -1569,6 +1573,16 @@
+@@ -1569,6 +1573,17 @@
esac
;;
@@ -72,6 +72,7 @@ Local pkgsrc changes:
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
Index: patches/patch-ab
===================================================================
RCS file: /space/repos/cvs/netbsd/pkgsrc/devel/libtool/patches/patch-ab,v
retrieving revision 1.61
diff -u -p -r1.61 patch-ab
--- patches/patch-ab 19 Nov 2008 01:26:52 -0000 1.61
+++ patches/patch-ab 9 Jan 2009 03:06:33 -0000
@@ -211,7 +211,7 @@ $NetBSD: patch-ab,v 1.61 2008/11/19 01:2
need_version=no
need_lib_prefix=no
;;
-@@ -9792,6 +9845,16 @@ freebsd* | dragonfly*)
+@@ -9792,6 +9845,17 @@ freebsd* | dragonfly*)
esac
;;
@@ -220,6 +220,7 @@ $NetBSD: patch-ab,v 1.61 2008/11/19 01:2
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
@@ -470,7 +471,7 @@ $NetBSD: patch-ab,v 1.61 2008/11/19 01:2
need_version=no
need_lib_prefix=no
;;
-@@ -13759,6 +13887,16 @@ freebsd* | dragonfly*)
+@@ -13759,6 +13887,17 @@ freebsd* | dragonfly*)
esac
;;
@@ -479,6 +480,7 @@ $NetBSD: patch-ab,v 1.61 2008/11/19 01:2
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
@@ -707,7 +709,7 @@ $NetBSD: patch-ab,v 1.61 2008/11/19 01:2
need_version=no
need_lib_prefix=no
;;
-@@ -16380,6 +16582,16 @@ freebsd* | dragonfly*)
+@@ -16380,6 +16582,17 @@ freebsd* | dragonfly*)
esac
;;
@@ -716,6 +718,7 @@ $NetBSD: patch-ab,v 1.61 2008/11/19 01:2
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
@@ -944,7 +947,7 @@ $NetBSD: patch-ab,v 1.61 2008/11/19 01:2
need_version=no
need_lib_prefix=no
;;
-@@ -19005,6 +19281,16 @@ freebsd* | dragonfly*)
+@@ -19005,6 +19281,17 @@ freebsd* | dragonfly*)
esac
;;
@@ -953,6 +956,7 @@ $NetBSD: patch-ab,v 1.61 2008/11/19 01:2
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
Index: patches/patch-ad
===================================================================
RCS file: /space/repos/cvs/netbsd/pkgsrc/devel/libtool/patches/patch-ad,v
retrieving revision 1.33
diff -u -p -r1.33 patch-ad
--- patches/patch-ad 19 Nov 2008 01:26:52 -0000 1.33
+++ patches/patch-ad 9 Jan 2009 03:07:51 -0000
@@ -211,7 +211,7 @@ $NetBSD: patch-ad,v 1.33 2008/11/19 01:2
need_version=no
need_lib_prefix=no
;;
-@@ -9659,6 +9712,16 @@ freebsd* | dragonfly*)
+@@ -9659,6 +9712,17 @@ freebsd* | dragonfly*)
esac
;;
@@ -220,6 +220,7 @@ $NetBSD: patch-ad,v 1.33 2008/11/19 01:2
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
@@ -470,7 +471,7 @@ $NetBSD: patch-ad,v 1.33 2008/11/19 01:2
need_version=no
need_lib_prefix=no
;;
-@@ -13626,6 +13754,16 @@ freebsd* | dragonfly*)
+@@ -13626,6 +13754,17 @@ freebsd* | dragonfly*)
esac
;;
@@ -479,6 +480,7 @@ $NetBSD: patch-ad,v 1.33 2008/11/19 01:2
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
@@ -707,7 +709,7 @@ $NetBSD: patch-ad,v 1.33 2008/11/19 01:2
need_version=no
need_lib_prefix=no
;;
-@@ -16247,6 +16449,16 @@ freebsd* | dragonfly*)
+@@ -16247,6 +16449,17 @@ freebsd* | dragonfly*)
esac
;;
@@ -716,6 +718,7 @@ $NetBSD: patch-ad,v 1.33 2008/11/19 01:2
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
@@ -944,7 +947,7 @@ $NetBSD: patch-ad,v 1.33 2008/11/19 01:2
need_version=no
need_lib_prefix=no
;;
-@@ -18872,6 +19148,16 @@ freebsd* | dragonfly*)
+@@ -18872,6 +19148,17 @@ freebsd* | dragonfly*)
esac
;;
@@ -953,6 +956,7 @@ $NetBSD: patch-ad,v 1.33 2008/11/19 01:2
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix
${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
++ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
Home |
Main Index |
Thread Index |
Old Index