I was able to fix this dependency problem by deleting the 'BuildRequires: python%{_python_buildid}-scipy' line from the ceph.spec.in file: ######################## docker pull centos:7.7.1908 docker run -ti centos:7.7.1908 /bin/bash cd root yum install -y epel-release yum install -y git wget sudo which jq yum install -y rpm-build rpmdevtools rpm-build createrepo cmake3 yum install -y python-pip python-virtualenv yum install -y centos-release-scl yum -y install devtoolset-8 scl enable devtoolset-8 bash git clone https://github.com/ceph/ceph cd ceph git checkout v14.2.13 sed -i -e '/BuildRequires: python%{_python_buildid}-scipy/d' ceph.spec.in ./make-srpm.sh ./install-deps.sh CEPH=$(ls ceph-14.2*.src.rpm) rpmbuild --rebuild $CEPH ########################### ________________________________________ From: Engelmann Florian <florian.engelmann@xxxxxxxxxxxx> Sent: Friday, November 13, 2020 3:51:10 PM To: ceph-users Subject: build nautilus 14.2.13 packages and container Hi, I was not able to find any complete guide on how to build ceph (14.2.x) from source, create packages and build containers based on those packages. Ubuntu or centos, does not matter. I tried so far: ############### docker pull centos:7 docker run -ti centos:7 /bin/bash yum install -y git rpm-build rpmdevtools wget epel-release yum install -y python-virtualenv python-pip jq cmake3 make gcc-c++ rpm-build which sudo createrepo git clone https://github.com/ceph/ceph cd ceph git checkout v14.2.13 ./make-srpm.sh ./install-deps.sh ################# but install-deps.sh fails with: Error: No Package found for python-scipy The following error message appeared before: ---------------- http://vault.centos.org/centos/7/sclo/Source/rh/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. To address this issue please refer to the below wiki article https://wiki.centos.org/yum-errors If above article doesn't help to resolve this issue please use https://bugs.centos.org/. http://vault.centos.org/centos/7/sclo/Source/sclo/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found -------------------- centos:8 fails as well. dependency error: Error: Problem: package python36-rpm-macros-3.6.8-2.module_el8.1.0+245+c39af44f.noarch conflicts with python-modular-rpm-macros > 3.6 provided by python38-rpm-macros-3.8.0-6.module_el8.2.0+317+61fa6e7d.noarch - conflicting requests Any helpful links? All the best, Florian EveryWare AG Florian Engelmann Cloud Platform Architect Zurlindenstrasse 52a CH-8003 Zürich T +41 44 466 60 00 F +41 44 466 60 10 florian.engelmann@xxxxxxxxxxxx www.everyware.ch
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx