Build fails when using libphonenumber 8.13.19
Hello,
after trying to upgrade libphonenumber
to 8.13.19
(in context of an Alpine Linux MR), the evolution-data-server
does not go beyond the CMake check stage:
Build log
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.0.2")
-- Checking for module 'gobject-introspection-1.0>=1.59.1'
-- Found gobject-introspection-1.0, version 1.76.1
-- Found Gettext: /usr/bin/msgmerge (found version "0.22")
-- Checking for modules 'krb5;krb5-gssapi'
-- Found krb5, version 1.21.2
-- Found krb5-gssapi, version 1.21.2
-- Using MIT Kerberos 5 (found by pkg-config)
-- Performing Test openldap_2_x
-- Performing Test openldap_2_x - Success
-- Looking for res_query in resolv
-- Looking for res_query in resolv - found
-- Looking for __res_query in resolv
-- Looking for __res_query in resolv - not found
-- Looking for bind in socket
-- Looking for bind in socket - not found
-- Looking for ber_get_tag in lber
-- Looking for ber_get_tag in lber - found
-- Looking for ldap_open in ldapMR
-- Looking for ldap_open in ldap - found
-- Performing Test phone_number_with_boost_thread-mt
-- Performing Test phone_number_with_boost_thread-mt - Failed
-- Performing Test phone_number_with_boost_thread
-- Performing Test phone_number_with_boost_thread - Failed
CMake Error at cmake/modules/FindPhonenumber.cmake:72 (message):
libphonenumber cannot be used. Use -DWITH_PHONENUMBER=PATH to specify the
library prefix, or -DWITH_PHONENUMBER=OFF to disable it.
Call Stack (most recent call first):
CMakeLists.txt:292 (include)
It was compiled using the following command:
CFLAGS="$CFLAGS -I/usr/include/gnu-libiconv" \
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONF_INSTALL_DIR=/etc \
-DCMAKE_BUILD_TYPE=None \
-DENABLE_GOA=ON \
-DENABLE_INTROSPECTION=ON \
-DENABLE_VALA_BINDINGS=ON \
-DWITH_PHONENUMBER=ON \
-DWITH_LIBDB=OFF \
-DENABLE_SCHEMAS_COMPILE:BOOL=OFF \
-DENABLE_OAUTH2_WEBKITGTK4=ON
cmake --build build
Thank you for your help