Ceph is trying to access the network at buildtime [ 16%] Performing download step (git clone) for 'pmdk_ext' cd /var/tmp/portage/sys-cluster/ceph-15.2.5-r1/work/ceph-15.2.5_build/src && /usr/bin/cmake -P /va r/tmp/portage/sys-cluster/ceph-15.2.5-r1/work/ceph-15.2.5_build/src/pmdk_ext-prefix/tmp/pmdk_ext-g itclone.cmake Cloning into 'pmdk'... not contact DNS servers) Cloning into 'pmdk'... fatal: unable to access 'https://github.com/ceph/pmdk.git/': Could not resolve: github.com (Could not contact DNS servers) Cloning into 'pmdk'... fatal: unable to access 'https://github.com/ceph/pmdk.git/': Could not resolve: github.com (Could not contact DNS servers) -- Had to git clone more than once: 3 times. CMake Error at pmdk_ext-prefix/tmp/pmdk_ext-gitclone.cmake:31 (message): Failed to clone repository: 'https://github.com/ceph/pmdk.git' make[2]: *** [src/CMakeFiles/pmdk_ext.dir/build.make:110: src/pmdk_ext-prefix/src/pmdk_ext-stamp/p mdk_ext-download] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-cluster/ceph-15.2.5-r1/work/ceph-15.2.5_build' make[1]: *** [CMakeFiles/Makefile2:2160: src/CMakeFiles/pmdk_ext.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-cluster/ceph-15.2.5-r1/work/ceph-15.2.5_build' make: *** [Makefile:160: all] Error 2
Created attachment 669650 [details] info emerge --info
Created attachment 669656 [details] ceph-15.2.5-r1:20201101-045106.log buildlog
The reasons are pmdk and rbd-rwl USE-flags. Well, actual reason is `cmake/Buildpmem.cmake`, which contains git-fetching instructions, and is called if cmake can't find system-wide 'pmem' (for USE=pmdk) or 'pmemobj' (for USE=rbd-rwl) libs through pkgconfig. I think, unbundling pmem to separate package would help.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113ee30b5fbc92ced3160824d5d7c0dd2881e40a commit 113ee30b5fbc92ced3160824d5d7c0dd2881e40a Author: Patrick McLean <patrick.mclean@sony.com> AuthorDate: 2021-02-26 00:35:22 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2021-02-26 00:44:08 +0000 sys-cluster/ceph-15.2.9: Version bump - Add patch to avoid SSE 4.1 functions when SSE 4.1 is disabled (bug #701618) - Don't call objdump directly (bug #733814) - Drop libressl support (closes bug #724522) - Add a dep on the new pmdk package (bug #52177) Closes: https://bugs.gentoo.org/701618 Bug: https://bugs.gentoo.org/733814 Closes: https://bugs.gentoo.org/724522 Closes: https://bugs.gentoo.org/752177 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> sys-cluster/ceph/Manifest | 1 + sys-cluster/ceph/ceph-15.2.9.ebuild | 405 +++++++++++++++++++++ ...ompile-isal_compress-if-don-t-have-SSE4_1.patch | 22 ++ sys-cluster/ceph/files/rbdmap.initd-r1 | 122 +++++++ 4 files changed, 550 insertions(+)