[CentOS-devel] re/building Samba from git sources

Sat Apr 25 19:59:08 UTC 2020
Nico Kadel-Garcia <nkadel at gmail.com>

On Sat, Apr 25, 2020 at 7:27 AM lejeczek via CentOS-devel
<centos-devel at centos.org> wrote:
>
>
>
> On 24/04/2020 20:15, Patrick Riehecky wrote:
> > On Fri, 2020-04-24 at 20:09 +0100, lejeczek via CentOS-devel wrote:
> >> On 24/04/2020 19:25, Patrick Riehecky wrote:
> >>> So long as you checkout the correct branch I've been able to build
> >>> c7,
> >>> c8, c8s on CentOS 8, CentOS 8 Stream, and Fedora 32 hosts with the
> >>> commands in that script.
> >>>
> >>> Pat
> >>>
> >>> On Fri, 2020-04-24 at 19:21 +0100, lejeczek via CentOS-devel wrote:
> >>>> On 24/04/2020 17:52, Patrick Riehecky wrote:
> >>>>> I've attached a shell script that works on my system to
> >>>>> download
> >>>>> and
> >>>>> rebuild the CentOS8 sources for samba.
> >>>> Have you tried it on C8 Steam by any chance?
> >>>>
> >>>> _______________________________________________
> >>>> CentOS-devel mailing list
> >>>> CentOS-devel at centos.org
> >>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.centos.org_mailman_listinfo_centos-2Ddevel&d=DwICAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=OAMtP0DWou0nlXG7Kmxo2enjXJfwb1DXS9fwcaESuTE&m=j1TmAg8GApoUWx5UPjZgyHd91eNQ4WN-MUpavp6ihwk&s=9i83jkaA563CTYt-7dwwT6QLZCxTbXCu9TX6zmqcp1M&e=
> >> My build host is a c8Stream and I tried Samba from both c8 &
> >> c8s repos.
> >> Without --nodeps build won't even start, chokes on:
> >>
> >> $ rpmbuild --define "%_topdir `pwd`" -bb SPECS/samba.spec
> >> error: Failed build dependencies:
> >>     e2fsprogs-devel is needed by samba-0:4.10.4-101.el8.x86_64
> >>     libaio-devel is needed by samba-0:4.10.4-101.el8.x86_64
> >>     python3-ldb-devel >= 1.5.4 is needed by
> >> samba-0:4.10.4-101.el8.x86_64
> >>     python3-talloc-devel >= 2.1.16 is needed by
> >> samba-0:4.10.4-101.el8.x86_64
> >>     quota-devel is needed by samba-0:4.10.4-101.el8.x86_64
> >>
> > I'd recommend :
> >
> > sudo yum install e2fsprogs-devel libaio-devel python3-ldb-devel
> > python3-talloc-devel quota-devel
> >
> > Pat
> And have you tried yourself what you recommend?

Ahhh!!! You're on CentOS 8! You need to activate the new "Devel" repo
in /etc/yum.repos.d, Red Hat, upstream, elected not to publish the
"quota-devel" binariy RPM, which you can rebuild it yourself from the
quota SRPM and which CentOS is sanely putting in a new channel to
provide it somewhat separately from Red Hat's deliberately emasculated
channel. This move is costing RHEL subscriptions which are migrating
to CentOS to avoid dealing with this.

I'm unhappy with this decision, and expressed it to Red Hat with my
RHEL subscriptions, combined with the "modularity" interweaving of
packages like the pretend version of python3-devel being renamed and
mishandled as a modular "platform" package,  It's combining with the
excessive and misaligned "multiple repos" to make RHEL 8 and CentOS 8
much more difficult upgrades with features that were *not* tested in
Fedora.