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

Sat Apr 25 11:27:45 UTC 2020
lejeczek <peljasz at yahoo.co.uk>


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?