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

Thu Apr 23 16:39:35 UTC 2020
lejeczek <peljasz at yahoo.co.uk>


On 23/04/2020 14:19, lejeczek via CentOS-devel wrote:
> Hi devel,
>
> I'm looking for some help with this below which should be
> rather simple.
>
> $ git clone https://git.centos.org/rpms/samba.git
> $ git checkout c8
>
> $ sudo dnf builddep SPECS/samba.spec
> Last metadata expiration check: 0:03:40 ago on Thu 23 Apr
> 2020 14:13:34 BST.
> Package gawk-4.2.1-1.el8.x86_64 is already installed.
> Package gcc-8.3.1-4.5.el8.x86_64 is already installed.
> Package gnupg2-2.2.9-1.el8.x86_64 is already installed.
> Package gnutls-devel-3.6.8-8.el8.x86_64 is already installed.
> Package krb5-devel-1.17-9.el8.x86_64 is already installed.
> Package libldb-devel-1.5.4-2.el8.x86_64 is already installed.
> Package libtalloc-devel-2.1.16-3.el8.x86_64 is already
> installed.
> Package libtasn1-devel-4.13-3.el8.x86_64 is already installed.
> Package libtdb-devel-1.3.18-2.el8.x86_64 is already installed.
> Package libtevent-devel-0.9.39-2.el8.x86_64 is already
> installed.
> Package libuuid-devel-2.32.1-17.el8.x86_64 is already installed.
> Package libxslt-1.1.32-3.el8.x86_64 is already installed.
> Package ncurses-devel-6.1-7.20180224.el8.x86_64 is already
> installed.
> Package perl-Archive-Tar-2.30-1.el8.noarch is already installed.
> Package perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch is
> already installed.
> Package perl-Test-Simple-1:1.302135-1.el8.noarch is already
> installed.
> Package perl-interpreter-4:5.26.3-416.el8.x86_64 is already
> installed.
> Package
> python36-devel-3.6.8-2.module_el8.1.0+245+c39af44f.x86_64 is
> already installed.
> No matching package to install: 'python3-ldb-devel >= 1.5.4'
> No matching package to install: 'python3-talloc-devel >= 2.1.16'
> Package python3-tdb-1.3.18-2.el8.x86_64 is already installed.
> Package python3-tevent-0.9.39-2.el8.x86_64 is already installed.
> No matching package to install: 'quota-devel'
> Package readline-devel-7.0-10.el8.x86_64 is already installed.
> Package sed-4.5-1.el8.x86_64 is already installed.
> Package xz-5.2.4-3.el8.x86_64 is already installed.
> Package zlib-devel-1.2.11-10.el8.x86_64 is already installed.
> Not all dependencies satisfied
> Error: Some packages could not be found.
>
>
> Missing packages are really missing or something wrong with
> Git's Samba?
>
> many thanks, L.
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
Has anybody tried rpmbuild?
I come across below and build fails:

Checking for stylesheet
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
: not found
A local copy of the docbook.xsl wasn't found on your system
consider installing package like docbook-xsl
Checking for python version >=
3.4.0                                                           
: 3.6.8
python
headers                                                                                 
: using cache
Checking linker accepts
-Wl,-no-undefined                                                      
: yes
Checking linker accepts ['-undefined',
'dynamic_lookup']                                        : no
Checking for stylesheet
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
: not found
A local copy of the docbook.xsl wasn't found on your system
consider installing package like docbook-xsl
Checking for header
sys/auxv.h                                                                 
: yes
Checking for
getauxval                                                                         
: ok
Checking linker accepts
-Wl,-no-undefined                                                      
: yes
Checking linker accepts ['-undefined',
'dynamic_lookup']                                        : no
Checking for python version >=
3.4.0                                                           
: 3.6.8
python
headers                                                                                 
: using cache
Checking for system talloc
(>=2.2.0)                                                           
: yes
Checking for system
pytalloc-util.cpython-36m-x86_64-linux-gnu
(>=2.2.0)                        : not found
Checking for system tevent
(>=0.10.0)                                                          
: yes
Checking for
epoll_create                                                                      
: ok
Checking value of
NSIG                                                                         
: 65
Checking value of
_NSIG                                                                        
: 65
Checking value of
SIGRTMAX                                                                     
: 64
Checking value of
SIGRTMIN                                                                     
: 34
Checking for python version >=
3.4.0                                                           
: 3.6.8
python
headers                                                                                 
: using cache
Checking linker accepts
-Wl,-no-undefined                                                      
: yes
Checking linker accepts ['-undefined',
'dynamic_lookup']                                        : no
Checking for program
'xsltproc'                                                                
: /usr/bin/xsltproc
Checking for python version >=
3.4.0                                                           
: 3.6.8
python
headers                                                                                 
: using cache
Checking for system pyldb-util.cpython-36m-x86_64-linux-gnu
(>=2.0.7 <=2.0.999)                 : not found
ERROR: Use of system library ldb depends on missing system
library/libraries ['pyldb-util.cpython-36m-x86_64-linux-gnu']