Summary: | sys-cluster/ceph-18.2.1-r2 failing configure if dev-vcs/git is not installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | strites <strites> |
Component: | Current packages | Assignee: | Patrick McLean <chutzpah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cluster, strites, zhixu.liu |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
strites
2024-06-25 09:48:47 UTC
Created attachment 896407 [details]
build log
attaching build log and command line
so, it seems culprit is in /var/tmp/portage/sys-cluster/ceph-18.2.1-r2/work/ceph-18.2.1/cmake/modules/CTags.cmake in lines below if(${result_code} EQUAL 0) string(REPLACE "${TAGS_SRC_DIR}/" "" submodules ${submodules}) # cmake list uses ";" as the delimiter, so split the string manually # before iterating in it. string(REPLACE "\n" ";" submodules ${submodules}) it seems ${submodules} is empty so REPLACE gets this error. This variable is set just above in same file: execute_process( COMMAND git config --file .gitmodules --get-regexp path COMMAND awk "/${TAGS_SRC_DIR}/ { print $2 }" WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} RESULT_VARIABLE result_code OUTPUT_VARIABLE submodules OUTPUT_STRIP_TRAILING_WHITESPACE) tried to execute COMMAND manually and... wait a moment, I don't have git on this machine! So I installed git and the thing compiled. Please make git a dependency for ceph. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08fbad08006b48bb93b66d433484caf6eca7af7 commit b08fbad08006b48bb93b66d433484caf6eca7af7 Author: Patrick Lauer <patrick@gentoo.org> AuthorDate: 2024-07-30 12:28:36 +0000 Commit: Patrick Lauer <patrick@gentoo.org> CommitDate: 2024-07-30 12:29:07 +0000 sys-cluster/ceph: Add dev-vcs/git dep Temporary fix as build system trips over lack of git. Bug: https://bugs.gentoo.org/934916 Signed-off-by: Patrick Lauer <patrick@gentoo.org> sys-cluster/ceph/ceph-18.2.4-r1.ebuild | 1 + 1 file changed, 1 insertion(+) |