RPM Build mumble

Issues related to applications and software problems and general support
Post Reply
aaronm
Posts: 14
Joined: 2016/12/20 19:58:25

RPM Build mumble

Post by aaronm » 2020/10/25 08:12:46

CentOS 8 has no mumble rpm. CentOS 7 yes. I tried to rebuild a Fedora rpm for CentOS 8. Without success. A celticxxx is missing. The base of CentOS 8 is Fedora 28, but is not possible to install the rpm.

I need a little help to build a mumble rpm.

pjwelsh
Posts: 2622
Joined: 2007/01/07 02:18:02
Location: Central IL USA

Re: RPM Build mumble

Post by pjwelsh » 2020/10/28 15:36:28

You said you attempted to "rebuild" but then mention install the actual Fedora 28 rpm. I'm not completely sure if you actually attempted a "real" rebuild. I've had this issue with a bunch for CentOS 8 and "missing" packages based on the long years of running C7...

You could go the "snap way" https://snapcraft.io/install/mumble/rhel for mumble
Or ...
You will want to have the rpm-build package installed (follow some instructions for setup at https://wiki.centos.org/HowTos/SetupRpmBuildEnvironment).
Basically (https://wiki.centos.org/HowTos/RebuildSRPM):
find the *.src.rpm* for the package you want
rpmbuild --rebuild https:/some.site/some.src.rpm
then loop through
a: install missing dependencies (as root/sudo)
b: build more *.src.rpm

I don't usually go with Fedora 28 because the source is hard to find in some cases now. If possible, I would start with the an non-rawhide more recent Fedora source. Please keep in mind that you will want to establish some external baby-sitting script looking for updated packages (to avoid security issues etc).
But in this case with explicitly asking about Fedora 28 and mumble, start with the koji build server and download or use the *.src.rpm. Here is the start of the chain of events after completing the above rpmbuild setup pieces:

As "normal user"

Code: Select all

rpmbuild --rebuild https://kojipkgs.fedoraproject.org//vol/fedora_koji_archive02/packages/mumble/1.2.19/9.fc28/src/mumble-1.2.19-9.fc28.src.rpm
Missing stuff shown from rebuild attemp - install what you can - but no celt071-devel - that is part of the celt071 src rpm build so

Code: Select all

rpmbuild --rebuild https://kojipkgs.fedoraproject.org//vol/fedora_koji_archive02/packages/celt071/0.7.1/15.fc28/src/celt071-0.7.1-15.fc28.src.rpm
At this point, I only need to install the already PowerTools repository available libogg-devel to actually be able to build the celt071-0.7.1-15.fc28.src.rpm
As root

Code: Select all

# dnf install libogg-devel
As "normal user" again

Code: Select all

rpmbuild --rebuild https://kojipkgs.fedoraproject.org//vol/fedora_koji_archive02/packages/celt071/0.7.1/15.fc28/src/celt071-0.7.1-15.fc28.src.rpm
...
Wrote: /home/SOMEUSER/rpmbuild/RPMS/x86_64/celt071-0.7.1-15.el8.x86_64.rpm
Wrote: /home/SOMEUSER/rpmbuild/RPMS/x86_64/celt071-devel-0.7.1-15.el8.x86_64.rpm
Wrote: /home/SOMEUSER/rpmbuild/RPMS/x86_64/celt071-debugsource-0.7.1-15.el8.x86_64.rpm
Wrote: /home/SOMEUSER/rpmbuild/RPMS/x86_64/celt071-debuginfo-0.7.1-15.el8.x86_64.rpm
...
Install the celt071-devel rpm as root, then continue...

Code: Select all

dnf install /home/SOMEUSER/rpmbuild/RPMS/x86_64/celt071-devel-0.7.1-15.el8.x86_64.rpm
Fix missing dependencies and continue the chain from the beginning.

It is nice to have someone else do the work of course, maybe in the future missing-package-X will be a direct CentOS 8 option through a more trusted third party repository, maybe not.

Post Reply

Return to “CentOS 8 - General Support”