[Debian-med-packaging] Bug#839309: orthanc-postgresql: FTBFS: -- Could NOT find PostgreSQL (missing: PostgreSQL_TYPE_INCLUDE_DIR) (found version "9.6.0")

Lucas Nussbaum lucas at debian.org
Sat Oct 1 09:05:03 UTC 2016


Source: orthanc-postgresql
Version: 2.0-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160930 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_configure -- -DCMAKE_SKIP_RPATH:BOOL=ON -DSTATIC_BUILD:BOOL=OFF -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE:BOOL=ON -DCMAKE_BUILD_TYPE=""   
> 	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_SKIP_RPATH:BOOL=ON -DSTATIC_BUILD:BOOL=OFF -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE:BOOL=ON -DCMAKE_BUILD_TYPE=
> -- The C compiler identification is GNU 6.2.0
> -- The CXX compiler identification is GNU 6.2.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Found PythonInterp: /usr/bin/python (found version "2.7.12") 
> -- Looking for include file uuid/uuid.h
> -- Looking for include file uuid/uuid.h - found
> -- Boost version: 1.61.0
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - not found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE  
> -- Boost version: 1.61.0
> -- Found the following Boost libraries:
> --   filesystem
> --   thread
> --   system
> --   date_time
> --   regex
> --   locale
> --   chrono
> --   atomic
> JsonCpp include dir: /usr/include/jsoncpp
> -- Looking for C++ include /usr/include/jsoncpp/json/reader.h
> -- Looking for C++ include /usr/include/jsoncpp/json/reader.h - found
> -- Could NOT find PostgreSQL (missing:  PostgreSQL_TYPE_INCLUDE_DIR) (found version "9.6.0")
> -- Looking for C++ include orthanc/OrthancCppDatabasePlugin.h
> -- Looking for C++ include orthanc/OrthancCppDatabasePlugin.h - found
> Setting the version of the libraries to 2.0
> CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> Please set them or make sure they are set and tested correctly in the CMake files:
> PostgreSQL_TYPE_INCLUDE_DIR (ADVANCED)
>    used as include directory in directory /<<PKGBUILDDIR>>
>    used as include directory in directory /<<PKGBUILDDIR>>
>    used as include directory in directory /<<PKGBUILDDIR>>
>    used as include directory in directory /<<PKGBUILDDIR>>
>    used as include directory in directory /<<PKGBUILDDIR>>
>    used as include directory in directory /<<PKGBUILDDIR>>
>    used as include directory in directory /<<PKGBUILDDIR>>
>    used as include directory in directory /<<PKGBUILDDIR>>
>    used as include directory in directory /<<PKGBUILDDIR>>
> 
> -- Configuring incomplete, errors occurred!
> See also "/<<PKGBUILDDIR>>/Build/CMakeFiles/CMakeOutput.log".
> See also "/<<PKGBUILDDIR>>/Build/CMakeFiles/CMakeError.log".
> 	"tail -v -n +0 CMakeCache.txt"
> ==> CMakeCache.txt <==
> # This is the CMakeCache file.
> # For build in directory: /<<PKGBUILDDIR>>/Build
> # It was generated by CMake: /usr/bin/cmake
> # You can edit this file to change values found and used by cmake.
> # If you do not want to change any of the values, simply exit the editor.
> # If you do want to change a value, simply edit, save, and exit the editor.
> # The syntax for the file is as follows:
> # KEY:TYPE=VALUE
> # KEY is the name of a variable in the cache.
> # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
> # VALUE is the current value for the KEY.
> 
> ########################
> # EXTERNAL cache entries
> ########################
> 
> //Allow CMake to download packages
> ALLOW_DOWNLOADS:BOOL=OFF
> 
> //The threading library used by boost-thread
> BOOST_THREAD_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpthread.so
> 
> //Build UnitTests
> BUILD_UNIT_TESTS:BOOL=ON
> 
> //Boost atomic library (debug)
> Boost_ATOMIC_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_atomic.so
> 
> //Boost atomic library (release)
> Boost_ATOMIC_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_atomic.so
> 
> //Boost chrono library (debug)
> Boost_CHRONO_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_chrono.so
> 
> //Boost chrono library (release)
> Boost_CHRONO_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_chrono.so
> 
> //Boost date_time library (debug)
> Boost_DATE_TIME_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_date_time.so
> 
> //Boost date_time library (release)
> Boost_DATE_TIME_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_date_time.so
> 
> //The directory containing a CMake configuration file for Boost.
> Boost_DIR:PATH=Boost_DIR-NOTFOUND
> 
> //Boost filesystem library (debug)
> Boost_FILESYSTEM_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_filesystem.so
> 
> //Boost filesystem library (release)
> Boost_FILESYSTEM_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_filesystem.so
> 
> //Path to a file.
> Boost_INCLUDE_DIR:PATH=/usr/include
> 
> //Boost library directory DEBUG
> Boost_LIBRARY_DIR_DEBUG:PATH=/usr/lib/x86_64-linux-gnu
> 
> //Boost library directory RELEASE
> Boost_LIBRARY_DIR_RELEASE:PATH=/usr/lib/x86_64-linux-gnu
> 
> //Boost locale library (debug)
> Boost_LOCALE_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_locale.so
> 
> //Boost locale library (release)
> Boost_LOCALE_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_locale.so
> 
> //Boost regex library (debug)
> Boost_REGEX_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_regex.so
> 
> //Boost regex library (release)
> Boost_REGEX_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_regex.so
> 
> //Boost system library (debug)
> Boost_SYSTEM_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_system.so
> 
> //Boost system library (release)
> Boost_SYSTEM_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_system.so
> 
> //Boost thread library (debug)
> Boost_THREAD_LIBRARY_DEBUG:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_thread.so
> 
> //Boost thread library (release)
> Boost_THREAD_LIBRARY_RELEASE:FILEPATH=/usr/lib/x86_64-linux-gnu/libboost_thread.so
> 
> //Path to a program.
> CMAKE_AR:FILEPATH=/usr/bin/ar
> 
> //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
> // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
> CMAKE_BUILD_TYPE:STRING=
> 
> //Enable/Disable color output during build.
> CMAKE_COLOR_MAKEFILE:BOOL=ON
> 
> //CXX compiler
> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
> 
> //Flags used by the compiler during all build types.
> CMAKE_CXX_FLAGS:STRING='-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '
> 
> //Flags used by the compiler during debug builds.
> CMAKE_CXX_FLAGS_DEBUG:STRING=-g
> 
> //Flags used by the compiler during release builds for minimum
> // size.
> CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
> 
> //Flags used by the compiler during release builds.
> CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
> 
> //Flags used by the compiler during release builds with debug info.
> CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
> 
> //C compiler
> CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
> 
> //Flags used by the compiler during all build types.
> CMAKE_C_FLAGS:STRING='-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '
> 
> //Flags used by the compiler during debug builds.
> CMAKE_C_FLAGS_DEBUG:STRING=-g
> 
> //Flags used by the compiler during release builds for minimum
> // size.
> CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
> 
> //Flags used by the compiler during release builds.
> CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
> 
> //Flags used by the compiler during release builds with debug info.
> CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
> 
> //Flags used by the linker.
> CMAKE_EXE_LINKER_FLAGS:STRING= -fPIE -pie -Wl,-z,relro -Wl,-z,now
> 
> //Flags used by the linker during debug builds.
> CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
> 
> //Flags used by the linker during release minsize builds.
> CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
> 
> //Flags used by the linker during release builds.
> CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
> 
> //Flags used by the linker during Release with Debug Info builds.
> CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
> 
> //Enable/Disable output of compile commands during generation.
> CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
> 
> //No help, variable specified on the command line.
> CMAKE_INSTALL_LOCALSTATEDIR:UNINITIALIZED=/var
> 
> //Install path prefix, prepended onto install directories.
> CMAKE_INSTALL_PREFIX:PATH=/usr
> 
> //No help, variable specified on the command line.
> CMAKE_INSTALL_SYSCONFDIR:UNINITIALIZED=/etc
> 
> //Path to a program.
> CMAKE_LINKER:FILEPATH=/usr/bin/ld
> 
> //Path to a program.
> CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
> 
> //Flags used by the linker during the creation of modules.
> CMAKE_MODULE_LINKER_FLAGS:STRING= -fPIE -pie -Wl,-z,relro -Wl,-z,now
> 
> //Flags used by the linker during debug builds.
> CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
> 
> //Flags used by the linker during release minsize builds.
> CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
> 
> //Flags used by the linker during release builds.
> CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
> 
> //Flags used by the linker during Release with Debug Info builds.
> CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
> 
> //Path to a program.
> CMAKE_NM:FILEPATH=/usr/bin/nm
> 
> //Path to a program.
> CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
> 
> //Path to a program.
> CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
> 
> //Value Computed by CMake
> CMAKE_PROJECT_NAME:STATIC=OrthancPostgreSQL
> 
> //Path to a program.
> CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
> 
> //Flags used by the linker during the creation of dll's.
> CMAKE_SHARED_LINKER_FLAGS:STRING= -fPIE -pie -Wl,-z,relro -Wl,-z,now
> 
> //Flags used by the linker during debug builds.
> CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
> 
> //Flags used by the linker during release minsize builds.
> CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
> 
> //Flags used by the linker during release builds.
> CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
> 
> //Flags used by the linker during Release with Debug Info builds.
> CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
> 
> //If set, runtime paths are not added when installing shared libraries,
> // but are added when building.
> CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
> 
> //No help, variable specified on the command line.
> CMAKE_SKIP_RPATH:BOOL=ON
> 
> //Flags used by the linker during the creation of static libraries.
> CMAKE_STATIC_LINKER_FLAGS:STRING=
> 
> //Flags used by the linker during debug builds.
> CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
> 
> //Flags used by the linker during release minsize builds.
> CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
> 
> //Flags used by the linker during release builds.
> CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
> 
> //Flags used by the linker during Release with Debug Info builds.
> CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
> 
> //Path to a program.
> CMAKE_STRIP:FILEPATH=/usr/bin/strip
> 
> //If this value is on, makefiles will be generated without the
> // .SILENT directive, and all commands will be echoed to the console
> // during the make.  This is useful for debugging only. With Visual
> // Studio IDE projects all commands are done without /nologo.
> CMAKE_VERBOSE_MAKEFILE:BOOL=ON
> 
> //Path to a file.
> JSONCPP_INCLUDE_DIR:PATH=/usr/include/jsoncpp
> 
> //Dependencies for the target
> OrthancPostgreSQLIndex_LIB_DEPENDS:STATIC=general;uuid;general;pthread;general;rt;general;dl;general;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;general;/usr/lib/x86_64-linux-gnu/libboost_thread.so;general;/usr/lib/x86_64-linux-gnu/libboost_system.so;general;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;general;/usr/lib/x86_64-linux-gnu/libboost_regex.so;general;/usr/lib/x86_64-linux-gnu/libboost_locale.so;general;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;general;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;general;/usr/lib/x86_64-linux-gnu/libpthread.so;general;jsoncpp;general;/usr/lib/x86_64-linux-gnu/libpq.so;
> 
> //Dependencies for the target
> OrthancPostgreSQLStorage_LIB_DEPENDS:STATIC=general;uuid;general;pthread;general;rt;general;dl;general;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;general;/usr/lib/x86_64-linux-gnu/libboost_thread.so;general;/usr/lib/x86_64-linux-gnu/libboost_system.so;general;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;general;/usr/lib/x86_64-linux-gnu/libboost_regex.so;general;/usr/lib/x86_64-linux-gnu/libboost_locale.so;general;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;general;/usr/lib/x86_64-linux-gnu/libboost_atomic.so;general;/usr/lib/x86_64-linux-gnu/libpthread.so;general;jsoncpp;general;/usr/lib/x86_64-linux-gnu/libpq.so;
> 
> //Value Computed by CMake
> OrthancPostgreSQL_BINARY_DIR:STATIC=/<<PKGBUILDDIR>>/Build
> 
> //Value Computed by CMake
> OrthancPostgreSQL_SOURCE_DIR:STATIC=/<<PKGBUILDDIR>>
> 
> //Path to a program.
> PATCH_EXECUTABLE:FILEPATH=/usr/bin/patch
> 
> //Path to a program.
> PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python
> 
> //The Set the PostgreSQL_INCLUDE_DIR cmake cache entry to the top-level
> // directory containing the PostgreSQL include directories. E.g
> // /usr/local/include/PostgreSQL/8.4 or C:/Program Files/PostgreSQL/8.4/include
> PostgreSQL_INCLUDE_DIR:PATH=/usr/include/postgresql
> 
> //Path to a library.
> PostgreSQL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpq.so
> 
> //The Set the PostgreSQL_INCLUDE_DIR cmake cache entry to the top-level
> // directory containing the PostgreSQL include directories. E.g
> // /usr/local/include/PostgreSQL/8.4 or C:/Program Files/PostgreSQL/8.4/include
> PostgreSQL_TYPE_INCLUDE_DIR:PATH=PostgreSQL_TYPE_INCLUDE_DIR-NOTFOUND
> 
> //No help, variable specified on the command line.
> STATIC_BUILD:BOOL=OFF
> 
> //Path to a program.
> TAR_EXECUTABLE:FILEPATH=/bin/tar
> 
> //Path to a program.
> UNZIP_EXECUTABLE:FILEPATH=/usr/bin/unzip
> 
> //No help, variable specified on the command line.
> USE_GTEST_DEBIAN_SOURCE_PACKAGE:BOOL=ON
> 
> //Use the system version of Boost
> USE_SYSTEM_BOOST:BOOL=ON
> 
> //Use the system version of Google Test
> USE_SYSTEM_GOOGLE_TEST:BOOL=ON
> 
> //Use the system version of JsonCpp
> USE_SYSTEM_JSONCPP:BOOL=ON
> 
> //Use the system version of the PostgreSQL client library
> USE_SYSTEM_LIBPQ:BOOL=ON
> 
> //Use the system version of the Orthanc plugin SDK
> USE_SYSTEM_ORTHANC_SDK:BOOL=ON
> 
> 
> ########################
> # INTERNAL cache entries
> ########################
> 
> //ADVANCED property for variable: Boost_ATOMIC_LIBRARY_DEBUG
> Boost_ATOMIC_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_ATOMIC_LIBRARY_RELEASE
> Boost_ATOMIC_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_CHRONO_LIBRARY_DEBUG
> Boost_CHRONO_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_CHRONO_LIBRARY_RELEASE
> Boost_CHRONO_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_DATE_TIME_LIBRARY_DEBUG
> Boost_DATE_TIME_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_DATE_TIME_LIBRARY_RELEASE
> Boost_DATE_TIME_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_DIR
> Boost_DIR-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_FILESYSTEM_LIBRARY_DEBUG
> Boost_FILESYSTEM_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_FILESYSTEM_LIBRARY_RELEASE
> Boost_FILESYSTEM_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_INCLUDE_DIR
> Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_LIBRARY_DIR_DEBUG
> Boost_LIBRARY_DIR_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_LIBRARY_DIR_RELEASE
> Boost_LIBRARY_DIR_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_LOCALE_LIBRARY_DEBUG
> Boost_LOCALE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_LOCALE_LIBRARY_RELEASE
> Boost_LOCALE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_REGEX_LIBRARY_DEBUG
> Boost_REGEX_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_REGEX_LIBRARY_RELEASE
> Boost_REGEX_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_SYSTEM_LIBRARY_DEBUG
> Boost_SYSTEM_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_SYSTEM_LIBRARY_RELEASE
> Boost_SYSTEM_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_THREAD_LIBRARY_DEBUG
> Boost_THREAD_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: Boost_THREAD_LIBRARY_RELEASE
> Boost_THREAD_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_AR
> CMAKE_AR-ADVANCED:INTERNAL=1
> //This is the directory where this CMakeCache.txt was created
> CMAKE_CACHEFILE_DIR:INTERNAL=/<<PKGBUILDDIR>>/Build
> //Major version of cmake used to create the current loaded cache
> CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
> //Minor version of cmake used to create the current loaded cache
> CMAKE_CACHE_MINOR_VERSION:INTERNAL=6
> //Patch version of cmake used to create the current loaded cache
> CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
> //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
> CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
> //Path to CMake executable.
> CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
> //Path to cpack program executable.
> CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
> //Path to ctest program executable.
> CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
> //ADVANCED property for variable: CMAKE_CXX_COMPILER
> CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_CXX_FLAGS
> CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
> CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
> CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
> CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
> CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_C_COMPILER
> CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_C_FLAGS
> CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
> CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
> CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
> CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
> CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
> //Executable file format
> CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
> CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
> CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
> CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
> CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
> CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
> CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
> //Name of external makefile project generator.
> CMAKE_EXTRA_GENERATOR:INTERNAL=
> //Name of generator.
> CMAKE_GENERATOR:INTERNAL=Unix Makefiles
> //Name of generator platform.
> CMAKE_GENERATOR_PLATFORM:INTERNAL=
> //Name of generator toolset.
> CMAKE_GENERATOR_TOOLSET:INTERNAL=
> //Have symbol pthread_create
> CMAKE_HAVE_LIBC_CREATE:INTERNAL=
> //Have library pthreads
> CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
> //Have library pthread
> CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
> //Have include pthread.h
> CMAKE_HAVE_PTHREAD_H:INTERNAL=1
> //Source directory with the top level CMakeLists.txt file for this
> // project
> CMAKE_HOME_DIRECTORY:INTERNAL=/<<PKGBUILDDIR>>
> //Install .so files without execute permission.
> CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
> //ADVANCED property for variable: CMAKE_LINKER
> CMAKE_LINKER-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_MAKE_PROGRAM
> CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
> CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
> CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
> CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
> CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
> CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_NM
> CMAKE_NM-ADVANCED:INTERNAL=1
> //number of local generators
> CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
> //ADVANCED property for variable: CMAKE_OBJCOPY
> CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_OBJDUMP
> CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_RANLIB
> CMAKE_RANLIB-ADVANCED:INTERNAL=1
> //Path to CMake installation.
> CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.6
> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
> CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
> CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
> CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
> CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
> CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
> CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_SKIP_RPATH
> CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
> CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
> CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
> CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
> CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
> CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: CMAKE_STRIP
> CMAKE_STRIP-ADVANCED:INTERNAL=1
> //uname command
> CMAKE_UNAME:INTERNAL=/bin/uname
> //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
> CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
> //Details about finding PythonInterp
> FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[/usr/bin/python][v2.7.12()]
> //Details about finding Threads
> FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
> //Have include /usr/include/jsoncpp/json/reader.h
> HAVE_JSONCPP_H:INTERNAL=1
> //Have include orthanc/OrthancCppDatabasePlugin.h
> HAVE_ORTHANC_H:INTERNAL=1
> //Have include uuid/uuid.h
> HAVE_UUID_H:INTERNAL=1
> //ADVANCED property for variable: PYTHON_EXECUTABLE
> PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: PostgreSQL_INCLUDE_DIR
> PostgreSQL_INCLUDE_DIR-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: PostgreSQL_LIBRARY
> PostgreSQL_LIBRARY-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: PostgreSQL_TYPE_INCLUDE_DIR
> PostgreSQL_TYPE_INCLUDE_DIR-ADVANCED:INTERNAL=1
> //ADVANCED property for variable: USE_GTEST_DEBIAN_SOURCE_PACKAGE
> USE_GTEST_DEBIAN_SOURCE_PACKAGE-ADVANCED:INTERNAL=1
> //Components requested for this build tree.
> _Boost_COMPONENTS_SEARCHED:INTERNAL=atomic;chrono;date_time;filesystem;locale;regex;system;thread
> //Last used Boost_INCLUDE_DIR value.
> _Boost_INCLUDE_DIR_LAST:INTERNAL=/usr/include
> //Last used Boost_LIBRARY_DIR_DEBUG value.
> _Boost_LIBRARY_DIR_DEBUG_LAST:INTERNAL=/usr/lib/x86_64-linux-gnu
> //Last used Boost_LIBRARY_DIR_RELEASE value.
> _Boost_LIBRARY_DIR_RELEASE_LAST:INTERNAL=/usr/lib/x86_64-linux-gnu
> //Last used Boost_NAMESPACE value.
> _Boost_NAMESPACE_LAST:INTERNAL=boost
> //Last used Boost_USE_MULTITHREADED value.
> _Boost_USE_MULTITHREADED_LAST:INTERNAL=TRUE
> 
> dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_SKIP_RPATH:BOOL=ON -DSTATIC_BUILD:BOOL=OFF -DUSE_GTEST_DEBIAN_SOURCE_PACKAGE:BOOL=ON -DCMAKE_BUILD_TYPE= returned exit code 1
> debian/rules:21: recipe for target 'override_dh_auto_configure' failed
> make[1]: *** [override_dh_auto_configure] Error 2

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

The full build log is available from:
   http://aws-logs.debian.net/2016/09/30/orthanc-postgresql_2.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Debian-med-packaging mailing list