8000 Build Failure on Ubuntu 22 · Issue #2731 · pgRouting/pgrouting · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Build Failure on Ubuntu 22 #2731
Closed
Closed
@theory

Description

@theory

Problem

I'm getting a build failure on Ubuntu 22.04. The first error is

CMake Error at CMakeLists.txt:17 (cmake_policy):
  Policy "CMP0148" is not known to this version of CMake.

But it keeps going emitting successful output until dying with

-- Configuring incomplete, errors occurred!
See also "/app/pgrouting/build/CMakeFiles/CMakeOutput.log".

To Reproduce

docker run --rm -it ubuntu:22.04 bash
apt-get update
apt-get install -y build-essential cmake libboost-all-dev python3-sphinx git postgresql-common
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh  -i -v 17
git clone --depth 1 --branch v3.7.2 https://github.com/pgRouting/pgrouting
cmake -S pgrouting  -B pgrouting/build

Output:

CMake Error at CMakeLists.txt:17 (cmake_policy):
  Policy "CMP0148" is not known to this version of CMake.


-- CMAKE_BUILD_TYPE Release
-- DOXYGEN_MINIMUM_VERSION=1.7
-- SPHINX_MINIMUM_VERSION=4.0
-- POSTGRESQL_MINIMUM_VERSION=13.0.0
-- BOOST_MINIMUM_VERSION=1.56.0
-- POSTGIS_MINIMUM_VERSION=3.0.0
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/17/bin/postgres
-- POSTGRESQL_VERSION_STRING in FindPostgreSQL.cmake is PostgreSQL 17.2 (Ubuntu 17.2-1.pgdg22.04+1)
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/17/server
-- POSTGRESQL_LIBRARIES: /usr/lib/aarch64-linux-gnu
-- POSTGRESQL_VERSION_STRING=PostgreSQL 17.2 (Ubuntu 17.2-1.pgdg22.04+1)
-- POSTGRESQL_VERSION=17.2
-- PGSQL_VERSION=17002
-- PGSQL_VERSION=17002
-- LIBRARY_INSTALL_PATH /usr/lib/postgresql/17/lib
-- Performing Test C_COMPILER_SUPPORTS_FPIC
-- Performing Test C_COMPILER_SUPPORTS_FPIC - Success
-- Performing Test CXX_COMPILER_SUPPORTS_FPIC
-- Performing Test CXX_COMPILER_SUPPORTS_FPIC - Success
-- Performing Test C_COMPILER_SUPPORTS_ROUNDING_MATH
-- Performing Test C_COMPILER_SUPPORTS_ROUNDING_MATH - Success
-- Performing Test CXX_COMPILER_SUPPORTS_ROUNDING_MATH
-- Performing Test CXX_COMPILER_SUPPORTS_ROUNDING_MATH - Success
-- Configuring incomplete, errors occurred!
See also "/pgrouting/build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log attached.

CMakeOutput.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0