Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774930 - dev-db/mariadb-10.5.9 without libpcre2: FAILED: extra/pcre2/src/pcre2-stamp/pcre2-download
Summary: dev-db/mariadb-10.5.9 without libpcre2: FAILED: extra/pcre2/src/pcre2-stamp/p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 23:02 UTC by Garry Filakhtov
Modified: 2021-03-09 18:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log + emerge --info.txt (build.log-emerge-info.txt,33.87 KB, text/plain)
2021-03-09 02:17 UTC, Ionen Wolkens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Garry Filakhtov 2021-03-08 23:02:42 UTC
dev-db/mariadb build fails, because it tries to download the pcre2 dependency if it is not installed in the system. Looks like the dev-libs/libpcre2 is a missing dependency of mariadb.

Relevant build.log entries:

FAILED: extra/pcre2/src/pcre2-stamp/pcre2-download 
cd /var/tmp/portage/dev-db/mariadb-10.5.9/work/mariadb-10.5.9_build/extra/pcre2/src && /usr/bin/cmake -P /var/tmp/portage/dev-db/mariadb-10.5.9/work/mariadb-10.5.9_build/extra/pcre2/src/pcre2-stamp/download-pcre2.cmake && /usr/bin/cmake -P /var/tmp/portage/dev-db/mariadb-10.5.9/work/mariadb-10.5.9_build/extra/pcre2/src/pcre2-stamp/verify-pcre2.cmake && /usr/bin/cmake -P /var/tmp/portage/dev-db/mariadb-10.5.9/work/mariadb-10.5.9_build/extra/pcre2/src/pcre2-stamp/extract-pcre2.cmake && /usr/bin/cmake -E touch /var/tmp/portage/dev-db/mariadb-10.5.9/work/mariadb-10.5.9_build/extra/pcre2/src/pcre2-stamp/pcre2-download
-- Downloading...
   dst='/var/tmp/portage/dev-db/mariadb-10.5.9/work/mariadb-10.5.9_build/extra/pcre2/src/pcre2-10.36.zip'
   timeout='none'
-- Using src='http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip'
-- Retrying...
-- Using src='http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip'
CMake Error at pcre2-stamp/download-pcre2.cmake:159 (message):
  Each download failed!

    error: downloading 'http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip' failed
         status_code: 6
         status_string: "Couldn't resolve host name"
         log:
         --- LOG BEGIN ---
         Could not resolve host: ftp.pcre.org

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip' failed
         status_code: 6
         status_string: "Couldn't resolve host name"
         log:
         --- LOG BEGIN ---
         Could not resolve host: ftp.pcre.org

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip' failed
         status_code: 6
         status_string: "Couldn't resolve host name"
         log:
         --- LOG BEGIN ---
         Could not resolve host: ftp.pcre.org

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip' failed
         status_code: 6
         status_string: "Couldn't resolve host name"
         log:
         --- LOG BEGIN ---
         Could not resolve host: ftp.pcre.org

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip' failed
         status_code: 6
         status_string: "Couldn't resolve host name"
         log:
         --- LOG BEGIN ---
         Could not resolve host: ftp.pcre.org

  Closing connection 0

  

         --- LOG END ---
         error: downloading 'http://ftp.pcre.org/pub/pcre/pcre2-10.36.zip' failed
         status_code: 6
         status_string: "Couldn't resolve host name"
         log:
         --- LOG BEGIN ---
         Could not resolve host: ftp.pcre.org

  Closing connection 0

  

         --- LOG END ---
         
    


ninja: build stopped: subcommand failed.
 * ERROR: dev-db/mariadb-10.5.9::gentoo failed (compile phase):
 *   ninja -v -j8 -l6 failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 4182:  Called cmake_src_compile
 *   environment, line  914:  Called cmake_build
 *   environment, line  883:  Called eninja
 *   environment, line 1496:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-db/mariadb-10.5.9::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-10.5.9::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =mariadb-10.5.9
 * The complete build log is located at '/var/tmp/portage/dev-db/mariadb-10.5.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mariadb-10.5.9/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mariadb-10.5.9/work/mariadb-10.5.9_build'
 * S: '/var/tmp/portage/dev-db/mariadb-10.5.9/work/mysql'
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.
Comment 1 Ionen Wolkens gentoo-dev 2021-03-09 02:17:10 UTC
Created attachment 690117 [details]
build.log + emerge --info.txt

For me it didn't try to download but nonetheless:

-- Looking for pcre2_match_8 in pcre2-8
-- Looking for pcre2_match_8 in pcre2-8 - not found
CMake Error at cmake/pcre.cmake:65 (MESSAGE):
  system pcre2-8 library is not found or unusable
Call Stack (most recent call first):
  CMakeLists.txt:394 (CHECK_PCRE)
Comment 2 Larry the Git Cow gentoo-dev 2021-03-09 18:46:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee8e7f146b59a2116ba6a6858672e477a8eacce2

commit ee8e7f146b59a2116ba6a6858672e477a8eacce2
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-03-09 13:59:21 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-03-09 18:43:33 +0000

    dev-db/mariadb: 10.5.x uses dev-libs/libpcre2
    
    Link: https://mariadb.com/kb/en/pcre/
    Closes: https://bugs.gentoo.org/774930
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mariadb/{mariadb-10.5.9.ebuild => mariadb-10.5.9-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)