On 2012-01-30 05:31, Matt Flax wrote:
> Please find the following debdiff attached.
> 
> $ cat libgtfb.0.1.0-2.debdiff
> diff -u libgtfb-0.1.0/debian/changelog libgtfb-0.1.0/debian/changelog
> --- libgtfb-0.1.0/debian/changelog
> +++ libgtfb-0.1.0/debian/changelog
> @@ -1,3 +1,10 @@
> +libgtfb (0.1.0-2) unstable; urgency=low
> +
> +  * Fixed bug w.r.t. linking errors (Closes: #634288)
> +  * Neils offered to upload for me whilst I find time to get my second
> key signing. (Closes: #657403)
> +
> + -- Matt Flax <flat...@debian.org>  Mon, 30 Jan 2012 15:17:03 +1100
> +
>  libgtfb (0.1.0-1) unstable; urgency=low
> 
>    * Initial release (Closes: #521686)
> only in patch2:
> unchanged:
> --- libgtfb-0.1.0.orig/debian/libgtfb0-dev.links
> +++ libgtfb-0.1.0/debian/libgtfb0-dev.links
> @@ -0,0 +1,5 @@
> +usr/lib/usr/lib/libgtfb.so.0.1.0 usr/lib/usr/lib/libgtfb.so.0.1
> +usr/lib/usr/lib/libgtfb.so.0.1 usr/lib/usr/lib/libgtfb.so.0
> +usr/lib/usr/lib/libgtfb.so.0 usr/lib/usr/lib/libgtfb.so
> +
> +
> [...]

Seems like an extra "usr/lib/" sneaked in all places in the links file.  :)

When I downloaded libgftb I noticed it had some changes in the Makefile
already[1].  Turns out that in part of these changes caused the symlink
issue, so I am proposing this alternative diff to the problem.

~Niels

[1] filterdiff -zi '**/Makefile' ./libgtfb_0.1.0-1.diff.gz
diff -u libgtfb-0.1.0/Makefile libgtfb-0.1.0/Makefile
--- libgtfb-0.1.0/Makefile
+++ libgtfb-0.1.0/Makefile
@@ -36,9 +36,10 @@
        mkdir -p ${DESTDIR}/${DOCDIR}
        mkdir -p ${DESTDIR}/${INCLUDEDIR}
        install -m 0755 *.so*  ${DESTDIR}/${LIBDIR}
-       ln -s ${DESTDIR}/${LIBDIR}/libgtfb.so.0.1.0 
${DESTDIR}/${LIBDIR}/libgtfb.so.0.1
-       ln -s ${DESTDIR}/${LIBDIR}/libgtfb.so.0.1 
${DESTDIR}/${LIBDIR}/libgtfb.so.0
-       ln -s ${DESTDIR}/${LIBDIR}/libgtfb.so.0 ${DESTDIR}/${LIBDIR}/libgtfb.so
+       ln -s libgtfb.so.0.1.0 ${DESTDIR}/${LIBDIR}/libgtfb.so.0.1
+       ln -s libgtfb.so.0.1 ${DESTDIR}/${LIBDIR}/libgtfb.so.0
+       ln -s libgtfb.so.0 ${DESTDIR}/${LIBDIR}/libgtfb.so
+
        install -m 0666 *Test.cc ${DESTDIR}/${DOCDIR}
        install -m 0660 *.H ${DESTDIR}/${INCLUDEDIR}
 
diff -u libgtfb-0.1.0/debian/changelog libgtfb-0.1.0/debian/changelog
--- libgtfb-0.1.0/debian/changelog
+++ libgtfb-0.1.0/debian/changelog
@@ -1,3 +1,9 @@
+libgtfb (0.1.0-2) UNRELEASED; urgency=low
+
+  * Fixed bug w.r.t. symlink errors (Closes: #634288)
+
+ -- Matt Flax <flat...@debian.org>  Mon, 30 Jan 2012 10:53:24 +0100
+
 libgtfb (0.1.0-1) unstable; urgency=low
 
   * Initial release (Closes: #521686)

Reply via email to