Bug#751130: vtk: FTBFS: undefined reference to `vtkPostgreSQLDatabase::New()'

2014-06-26 Thread Vincent Cheng
Dear maintainer,

I've prepared an NMU for vtk (versioned as 5.8.0-17.3) and uploaded it
to DELAYED/2. Please feel free to tell me if I should delay it longer.

Regards,
Vincent

Debdiff is as follows:

diff -Nru vtk-5.8.0/debian/changelog vtk-5.8.0/debian/changelog
--- vtk-5.8.0/debian/changelog 2014-05-17 07:48:41.0 -0700
+++ vtk-5.8.0/debian/changelog 2014-06-25 04:00:48.0 -0700
@@ -1,3 +1,12 @@
+vtk (5.8.0-17.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Colin Watson]
+  * Look for PostgreSQL libraries in multiarch locations (closes: #751130).
+
+ -- Gianfranco Costamagna costamagnagianfra...@yahoo.it  Wed, 25
Jun 2014 13:00:11 +0200
+
 vtk (5.8.0-17.2) unstable; urgency=medium

   * Non-maintainer upload.
diff -Nru vtk-5.8.0/debian/patches/multiarch-libpq.patch
vtk-5.8.0/debian/patches/multiarch-libpq.patch
--- vtk-5.8.0/debian/patches/multiarch-libpq.patch 1969-12-31
16:00:00.0 -0800
+++ vtk-5.8.0/debian/patches/multiarch-libpq.patch 2014-06-25
01:38:31.0 -0700
@@ -0,0 +1,38 @@
+Description: Look for PostgreSQL libraries in multiarch locations
+Author: Colin Watson cjwat...@ubuntu.com
+Bug-Debian: https://bugs.debian.org/751130
+Forwarded: no
+Last-Update: 2014-06-23
+
+Index: b/CMake/FindPOSTGRES.cmake
+===
+--- a/CMake/FindPOSTGRES.cmake
 b/CMake/FindPOSTGRES.cmake
+@@ -14,6 +14,11 @@
+   find_library( POSTGRES_LIBRARIES
+ NAMES pq libpq
+ PATHS
++  ${_POSTGRES_DIR}/lib/${CMAKE_LIBRARY_ARCHITECTURE}
++  ${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_LIBRARY_ARCHITECTURE}
++  /usr/local/pgsql/lib/${CMAKE_LIBRARY_ARCHITECTURE}
++  /usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE}
++  /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}
+   ${_POSTGRES_DIR}/lib64
+   ${CMAKE_INSTALL_PREFIX}/lib64
+   /usr/local/pgsql/lib64
+Index: b/CMake/FindPQXX.cmake
+===
+--- a/CMake/FindPQXX.cmake
 b/CMake/FindPQXX.cmake
+@@ -13,6 +13,11 @@
+ find_library( PQXX_LIBRARY
+   NAMES libpqxx pqxx
+   PATHS
++${_PQXX_DIR}/lib/${CMAKE_LIBRARY_ARCHITECTURE}
++${CMAKE_INSTALL_PREFIX}/lib/${CMAKE_LIBRARY_ARCHITECTURE}
++/usr/local/pgsql/lib/${CMAKE_LIBRARY_ARCHITECTURE}
++/usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE}
++/usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}
+ ${_PQXX_DIR}/lib
+ ${_PQXX_DIR}
+ ${CMAKE_INSTALL_PREFIX}/lib
diff -Nru vtk-5.8.0/debian/patches/series vtk-5.8.0/debian/patches/series
--- vtk-5.8.0/debian/patches/series 2014-05-16 05:32:22.0 -0700
+++ vtk-5.8.0/debian/patches/series 2014-06-25 01:38:31.0 -0700
@@ -4,3 +4,4 @@
 tcl-links.patch
 libav10.patch
 java15.patch
+multiarch-libpq.patch

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Bug#751130: vtk: FTBFS: undefined reference to `vtkPostgreSQLDatabase::New()'

2014-06-24 Thread Andreas Cadhalpun

Hi Colin,

On 24.06.2014 00:41, Colin Watson wrote:

Here's a patch:

   * Look for PostgreSQL libraries in multiarch locations (closes: #751130).

diff -Nru vtk-5.8.0/debian/patches/multiarch-libpq.patch 
vtk-5.8.0/debian/patches/multiarch-libpq.patch
--- vtk-5.8.0/debian/patches/multiarch-libpq.patch  1970-01-01 
01:00:00.0 +0100
+++ vtk-5.8.0/debian/patches/multiarch-libpq.patch  2014-06-23 
11:03:15.0 +0100
[...]


Thanks for the patch. I can confirm that it fixes this FTBFS.

Best regards,
Andreas

--
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers


Processed: Re: Bug#751130: vtk: FTBFS: undefined reference to `vtkPostgreSQLDatabase::New()'

2014-06-23 Thread Debian Bug Tracking System
Processing control commands:

 tag -1 patch
Bug #751130 [vtk] vtk: FTBFS: undefined reference to 
`vtkPostgreSQLDatabase::New()'
Added tag(s) patch.

-- 
751130: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751130
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers