[Samba] Building samba 4.17.4 on CentOS7

Greg Dickie greg at justaguy.ca
Wed Jan 18 15:16:36 UTC 2023


Hey Rowland,

  Thanks for the reply. I was not aware of that page but that's super
helpful. Unfortunately it does not fix my problem. I think I'm missing
something basic. At this point I'm just trying to rebuild the centos7 srpm.
See the attached error message (configure  fails).

Thanks,
Greg


On Wed, Jan 18, 2023 at 9:30 AM Rowland Penny via samba <
samba at lists.samba.org> wrote:

>
>
> On 18/01/2023 14:20, Greg Dickie via samba wrote:
> > Hi,
> >
> > I used to build samba regularly but it's been a couple of years. I'm
> trying
> > to fix an issue with samba stock 4.10.16 on Cent7 by building latest and
> > seeing if it behaves the same but it looks like waf is not doing what's
> > expected. Simple question: should this work or is cent7 now too old and
> > missing stuff?
> >
> > Thanks,
> > Greg
> >
>
> It should build, more likely you are missing something, have you
> installed everything shown here:
>
>
> https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Packages_Required_to_Build_Samba
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


-- 


Greg Dickie
just a guy
514-983-5400
-------------- next part --------------
++ find . -name config.guess -o -name config.sub
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-fhs --with-piddir=/run --with-sockets-dir=/run/samba --with-modulesdir=/usr/lib64/samba --with-pammodulesdir=/usr/lib64/security --with-lockdir=/var/lib/samba/lock --with-statedir=/var/lib/samba --with-cachedir=/var/lib/samba --disable-rpath-install --with-shared-modules=idmap_ad,idmap_rid,idmap_ldap,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_wbc,auth_unix,auth_server,auth_script,auth_samba4,vfs_dfs_samba4 '--bundled-libraries=!zlib,!popt,!talloc,!pytalloc,!pytalloc-util,!tevent,!pytevent,!tdb,!pytdb,!ldb,!pyldb,!pyldb-util' --with-pam --with-pie --with-relro --without-fam --with-system-mitkrb5 --without-ad-dc --with-cluster-support --with-profiling-data --accel-aes=intelaesni --with-systemd --systemd-install-services --with-systemddir=/usr/lib/systemd/system --systemd-smb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-nmb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-winbind-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-samba-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Setting top to                           : /root/rpmbuild/BUILD/samba-4.10.16
Setting out to                           : /root/rpmbuild/BUILD/samba-4.10.16/bin
Checking for 'gcc' (C compiler)          : Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/samba-4.10.16/third_party/waf/waflib/Scripting.py", line 159, in waf_entry_point
    run_commands()
  File "/root/rpmbuild/BUILD/samba-4.10.16/third_party/waf/waflib/Scripting.py", line 255, in run_commands
    ctx = run_command(cmd_name)
  File "/root/rpmbuild/BUILD/samba-4.10.16/third_party/waf/waflib/Scripting.py", line 239, in run_command
    ctx.execute()
  File "/root/rpmbuild/BUILD/samba-4.10.16/third_party/waf/waflib/Configure.py", line 159, in execute
    super(ConfigurationContext, self).execute()
  File "/root/rpmbuild/BUILD/samba-4.10.16/third_party/waf/waflib/Context.py", line 204, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/root/rpmbuild/BUILD/samba-4.10.16/third_party/waf/waflib/Context.py", line 288, in recurse
    self.post_recurse(node)
  File "/root/rpmbuild/BUILD/samba-4.10.16/third_party/waf/waflib/Configure.py", line 285, in post_recurse
    self.hash = Utils.h_list((self.hash, node.read('rb')))
  File "/root/rpmbuild/BUILD/samba-4.10.16/third_party/waf/waflib/Utils.py", line 609, in h_list_python2
    return md5(repr(lst)).digest()
TypeError: __init__() takes exactly 1 argument (2 given)
error: Bad exit status from /var/tmp/rpm-tmp.5GdaQO (%build)



More information about the samba mailing list