Hi Patrick

you do not have to build this on the servers directly.

Actually I ran this mock command on my Fedora 42 Laptop since mock builds a proper buildroot (in a sort of chroot or systemd-nspawn thingy) environment in with the specified OS (you can find which options are availabled by looking into /etc/mock/).

I think it should also build against rocky+epel9 so I will run this:

# mock -r rocky+epel-9-x86_64 rebuild ceph-19.2.3-0.el9.src.rpm --resultdir /root/rpmbuild/RPMS --enable-network

and let the people know if it builds without problems (But the build takes several hours).

Best
Mo

Am 31.07.2025 um 15:53 schrieb Patrick Begou:
Hi Moritz,

I try it but it allocates a large amount of memory (30GB) in /var and it fails because no more space was available. I will have to study the man page of mock to possibly use another storage area, I was still using rpmbuild. I will have to force access to my local private repositories too, as servers do not have internet access.

Patrick

Le 31/07/2025 à 11:46, Moritz Baumann a écrit :

sorry pasted from a wrong try:

This actually works:

mock -r alma+epel-9-x86_64 rebuild ceph-19.2.3-0.el9.src.rpm \
--resultdir /root/rpmbuild/SRPMS \
--enable-network
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to