peter green wrote:
Ok I did some further tests. I built the two reverse build dependencies of liblas-dev with my new version, checked that the resulting packages installed successfully and checked that I could successfully import the python modules.

As a result of these tests I have uploaded the NMU, final debdiff is attatched.
Ok, I uploaded the NMU and it was promptly rejected by dak for having a rpath (unfortunately using libtiff5-alt-dev often seems to cause that as a side effect). I've updated debian/rules to remove the rpath and reuploaded. New debdiff attatched.

diff -u liblas-1.2.1/debian/control liblas-1.2.1/debian/control
--- liblas-1.2.1/debian/control
+++ liblas-1.2.1/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Debian GIS Project <>
 Uploaders: Francesco Paolo Lovergine <>
 Build-Depends: cdbs (>= 0.4.49), debhelper (>= 7), autotools-dev, 
- libgeotiff-dev, libgdal1-dev, quilt, libtiff5-dev
+ libgeotiff-dev, libgdal1-dev, quilt, libtiff5-alt-dev, chrpath
 Standards-Version: 3.8.3
@@ -30,7 +30,7 @@
 Package: liblas-dev
 Architecture: any
 Section: libdevel
-Depends: liblas1 (= ${binary:Version}), libtiff5-dev, libgeotiff-dev, 
libgdal1-dev, ${shlibs:Depends}, ${misc:Depends}
+Depends: liblas1 (= ${binary:Version}), libtiff5-alt-dev, libgeotiff-dev, 
libgdal1-dev, ${shlibs:Depends}, ${misc:Depends}
 Description: ASPRS LiDAR data translation library - development 
  libLAS is a C/C++ library for reading and writing ASPRS LAS versions
  1.0, 1.1 and 1.2 data. The LAS format is a sequential binary format
diff -u liblas-1.2.1/debian/rules liblas-1.2.1/debian/rules
--- liblas-1.2.1/debian/rules
+++ liblas-1.2.1/debian/rules
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
+export CFLAGS += $(shell pkg-config --cflags libtiff-4)
+export CXXFLAGS += $(shell pkg-config --cflags libtiff-4)
+export LDFLAGS += $(shell pkg-config --libs-only-L libtiff-4)
 include /usr/share/cdbs/1/rules/
 include /usr/share/cdbs/1/class/
 include /usr/share/cdbs/1/rules/
@@ -9,0 +14,2 @@
+       chrpath -d debian/tmp/usr/lib/
\ No newline at end of file
diff -u liblas-1.2.1/debian/changelog liblas-1.2.1/debian/changelog
--- liblas-1.2.1/debian/changelog
+++ liblas-1.2.1/debian/changelog
@@ -1,3 +1,15 @@
+liblas (1.2.1-5.1) unstable; urgency=medium
+  * Non-maintainer upload.
+  * Switch from libtiff5-dev to libtiff5-alt-dev to avoid build dependency 
+    and depdency conflicts with current geotiff. (Closes: 716872)
+  * Get information on where to find libtiff headers and libraries from
+    pkg-config so we can build successfully with libtiff5-alt-dev
+  * Use chrpath to remove bogus rpath introduced by the use of libtiff5-alt-dev
+  * Add a build dependency on chrpath
+ -- Peter Michael Green <>  Sat, 13 Jul 2013 18:20:50 +0000
 liblas (1.2.1-5) unstable; urgency=low
   * Now using TIFF 4.0 instead of TIFF 3.0 API. This is required to build
Pkg-grass-devel mailing list

Reply via email to