Bug#733282: liblas: FTBFS on multiple architectures

Aurelien Jarno aurel32 at debian.org
Sat Dec 28 00:51:21 UTC 2013


Package: liblas
Version: 1.7.0+dfsg-1
Severity: serious
Tags: upstream patch
Justification: fails to build from source (but built successfully in the past)

liblas fails to build from source on ia64, mips, mipsel and s390x as it
tries to get symbols from the system library, while not linking with it.

The patch below fixes the problem:

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -181,7 +181,7 @@ if(WIN32)
 endif(WIN32)
 
 # NOTE: Add iostreams to COMPONENTS list to enable bigfile_boost_iostreams_test
-find_package(Boost 1.38 COMPONENTS program_options thread REQUIRED)
+find_package(Boost 1.38 COMPONENTS program_options thread system REQUIRED)
 
 if(Boost_FOUND AND Boost_PROGRAM_OPTIONS_FOUND)
   include_directories(${Boost_INCLUDE_DIRS})

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: s390x

Kernel: Linux 3.2.0-4-s390x (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-grass-devel mailing list