Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
The latest PCRE2 version 10.48 just got into Debian: https://tracker.debian.org/pkg/pcre2
With this version in Debian, the MariaDB builds fail on:
[ 87%] Linking CXX executable gen_lex_token
|
cd /debcraft/source/builddir-native/sql && /usr/bin/cmake -E cmake_link_script CMakeFiles/gen_lex_token.dir/link.txt --verbose=1
|
/usr/lib/ccache/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/debcraft/source=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -Wl,-z,relro,-z,now -Wl,--dependency-file=CMakeFiles/gen_lex_token.dir/link.d CMakeFiles/gen_lex_token.dir/gen_lex_token.cc.o -o gen_lex_token
|
make[5]: Leaving directory '/debcraft/source/builddir-native'
|
[ 87%] Built target gen_lex_token
|
-- Using src='https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.47/pcre2-10.47.zip'
|
-- Retry after 5 seconds (attempt #3) ...
|
-- Using src='https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.47/pcre2-10.47.zip'
|
-- Retry after 15 seconds (attempt #4) ...
|
-- Using src='https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.47/pcre2-10.47.zip'
|
-- Retry after 60 seconds (attempt #5) ...
|
-- Using src='https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.47/pcre2-10.47.zip'
|
CMake Error at pcre2-stamp/download-pcre2.cmake:163 (message):
|
Each download failed!
|
|
|
error: downloading 'https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.47/pcre2-10.47.zip' failed
|
status_code: 6
|
status_string: "Could not resolve hostname"
|
log:
|
--- LOG BEGIN ---
|
Could not resolve host: github.com
|
|
|
Could not resolve host: github.com
|
|
|
Could not resolve: github.com:443
|
|
|
closing connection #0
|
This seems ultimately due to some version/ABI check in MariaDB that tries to download 10.47 (older version) when the system PCRE2 version is too new 10.48.
This code should accept 10.48, and if there are any ABI changes, MariaDB needs to account for them.
This is now in Debian unstable but will likely hit all Linux distros in coming weeks.