Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752177 - sys-cluster/ceph-15.2.5-r1 Failed to clone repository: 'https://github.com/ceph/pmdk.git'
Summary: sys-cluster/ceph-15.2.5-r1 Failed to clone repository: 'https://github.com/ce...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-02 01:31 UTC by Alessandro Barbieri
Modified: 2021-02-26 00:44 UTC (History)
4 users (show)

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


Attachments
info (info,12.29 KB, text/plain)
2020-11-02 01:32 UTC, Alessandro Barbieri
Details
ceph-15.2.5-r1:20201101-045106.log (ceph-15.2.5-r1:20201101-045106.log,661.49 KB, text/plain)
2020-11-02 01:34 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-11-02 01:31:31 UTC
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
Comment 1 Alessandro Barbieri 2020-11-02 01:32:10 UTC
Created attachment 669650 [details]
info

emerge --info
Comment 2 Alessandro Barbieri 2020-11-02 01:34:19 UTC
Created attachment 669656 [details]
ceph-15.2.5-r1:20201101-045106.log

buildlog
Comment 3 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2020-12-07 22:26:10 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2021-02-26 00:44:18 UTC
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(+)