Closed h289072 closed 3 years ago
This is why I publish the dependency tree at https://github.com/nkadel/samba4repo, to build it with "mock" and all the modules in dependencies. Start from there, check out all the submodules, and use "make getsrc; make" and you should get RPMs for all the different supported operating systems, including CentOS 8.
Of course, RHEL has decided to keep CentOS from competing with RHEL for commercial use by publishing "CentOS Stream" rather than CentOS 8 point releases, and compiling third party software will be unreliable. Then building things like this will become a crapshoot, since libraries in CentOS 8 Stream may never be available in RHEL 8. So I'd move quickly.
Thanks for your quick answer, nkadel. "make getsrc; make" in sambe4repo is exactly what I do -- leading to the mentioned error message.
On the other hand if you suggest to switch to CentOS Stream, I can still do that. I'm completely new to CentOS (coming from Debian), so I've just downloaded the current Release -- thinking this would be the thing to do...
Thinking further... In this case I can also stick to Debian. The only reason to switch to CentOS is the better support for ceph. But there is no special support for CentOS Stream, only CentOS 8.
then I'm confused by the failure. It should be finding libtalloc for x86_64 from samba4repo, I'm not sure why it's seeing libtalloc for i686 from anywhere. Did libtalloc compile soccessfully and there are RPMs for it in samba4repo/* ?
CentOS 8 Strream is not my friend, and I'm concerned that building third party tools like these will be dangerously unstable under CentOS 8 due to unpredictable and unreliable library updates that may never make it to a production grade operating system from anyone.
I did not encouter any error message before the mentioned one. There are these rpms in samba4repo/libtalloc-2.3.x-srpm/samba4repo-8-x86_64: libtalloc-2.3.1-0.1.el8.src.rpm libtalloc-2.3.1-0.1.el8.x86_64.rpm libtalloc-debuginfo-2.3.1-0.1.el8.x86_64.rpm libtalloc-debugsource-2.3.1-0.1.el8.x86_64.rpm libtalloc-devel-2.3.1-0.1.el8.x86_64.rpm python3-talloc-2.3.1-0.1.el8.x86_64.rpm python3-talloc-debuginfo-2.3.1-0.1.el8.x86_64.rpm python3-talloc-devel-2.3.1-0.1.el8.x86_64.rpm
No rpm in samba4repo quires version 2.3.1-2...
[samba4repo]# find . -name "*.rpm" | xargs rpm -qpR | grep 2.3.1 libtalloc = 2.3.1-0.1.fc33 libtalloc-debuginfo(x86-64) = 2.3.1-0.1.fc33 libtalloc = 2.3.1-0.1.fc33 python3-talloc = 2.3.1-0.1.fc33 libtalloc = 2.3.1-0.1.el8 libtalloc = 2.3.1-0.1.el8 python3-talloc = 2.3.1-0.1.el8 libtalloc-debuginfo(x86-64) = 2.3.1-0.1.el8 libtalloc = 2.3.1-0.1.el7 libtalloc = 2.3.1-0.1.el7 python3-talloc = 2.3.1-0.1.el7 libtalloc = 2.3.1-0.1.el7 libtalloc = 2.3.1-0.1.el7 python3-talloc = 2.3.1-0.1.el7 libtalloc = 2.3.1-0.1.el8 libtalloc = 2.3.1-0.1.el8 python3-talloc = 2.3.1-0.1.el8 libtalloc = 2.3.1-0.1.fc33 libtalloc = 2.3.1-0.1.fc33 python3-talloc = 2.3.1-0.1.fc33
Red Hat are, themselves, packaging libtalloc-2.3.1-2 for RHEL 8. I'll update the Makefile in the srpm repos to skip compilation on CentOS 8 as unneeded until Samba publishes the next update. Red Hat also apparently does not publish the python3-talloc-devel package, for no particular reason I can assess and even though Fedora publishes one.
Give me a day to publish an update for that. I'm trying to restrain colorful language about it.
Thanks for your support, nkadel. I've just tried out the most recent version of samba4repo. Unfortunately for me the situation is the same. The error hasn't changed at all. This is what I did:
make distclean
git pull
make getsrc
make cfgs
make repos
make
Dude! I said "give me a day!" The testing cycle on this stuff is nearly six hours on my very modest build setup! You only gave me 18 hours!
Oops, I'm sorry :-) I just indended to provide feedback...
Try it now?
I believe this is resolved with the setting of "priority=" in the samba*.cfg iles.
Hello,
I'm trying to build samba on CentOS 8. Obviously this is not an easy task. This repository seems to be very helpful, because it builds required packages that are not available in the CentOS package source.
Unfortunately I'm encountering this depency issue when executing 'make':
When I grep for the "wrong" version number '2.3.1-2' I only find it in two rpm files:
I hope somebody can help me with the compilation.
Regards, Carsten