[Samba] build problem with 4.10.0

Peter Varkoly peter at varkoly.de
Wed Mar 20 14:39:25 UTC 2019


Hi

I want to build samba-4.10.0 for SUSE openLeap 15.1. Config and make 
works fine but make install sucks:

./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc 
--libdir=/usr/lib64 --libexecdir=/usr/lib64 
--with-cachedir=/var/lib/samba --with-lockdir=/var/lib/samba/lock 
--with-logfilebase=/var/log/samba --with-modulesdir=/usr/lib64/samba 
--disable-rpath --disable-rpath-install --enable-debug --enable-pmda 
--enable-fhs --with-cluster-support 
--with-socketpath=/var/lib/ctdb/ctdb.socket --with-pam 
--with-pammodulesdir=lib64/security --with-piddir=/run/samba 
--with-relro --enable-avahi --with-systemd 
--with-shared-modules=auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4,vfs_cacheprime,vfs_readahead,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_rfc2307,idmap_rid,idmap_tdb2 
--without-gpgme '--bundled-libraries=!tdb,!talloc,!tevent,ALL'

...

make install 
DESTDIR=/home/abuild/rpmbuild/BUILDROOT/samba-4.10.0-100.x86_64 
CONFIGDIR=/etc/samba
[  759s] PYTHONHASHSEED=1 WAF_MAKE=1  ./buildtools/bin/waf install
[  760s] Waf: Entering directory 
`/home/abuild/rpmbuild/BUILD/samba-4.10.0/bin/default'
[  760s] * create 
/home/abuild/rpmbuild/BUILDROOT/samba-4.10.0-100.x86_64/var/lib/samba/bind-dns
[  760s] * create 
/home/abuild/rpmbuild/BUILDROOT/samba-4.10.0-100.x86_64/var/run/samba
[  761s]        Selected embedded Heimdal build
[  761s] * create 
/home/abuild/rpmbuild/BUILDROOT/samba-4.10.0-100.x86_64/etc/ctdb/events/legacy
[  761s] * create 
/home/abuild/rpmbuild/BUILDROOT/samba-4.10.0-100.x86_64/var/run/ctdb
[  761s] * create 
/home/abuild/rpmbuild/BUILDROOT/samba-4.10.0-100.x86_64/var/lib/ctdb/volatile
[  761s] * create 
/home/abuild/rpmbuild/BUILDROOT/samba-4.10.0-100.x86_64/var/lib/ctdb/state
[  761s] Checking project rules ...
[  776s] Project rules pass
[  776s] [147/148] Linking bin/default/lib/replace/libreplace-samba4.so
[  776s] + install 
/home/abuild/rpmbuild/BUILDROOT/samba-4.10.0-100.x86_64/usr/lib64/samba/libreplace-samba4.so 
(from bin/default/lib/replace/libreplace-samba4.so)
[  776s] Waf: Leaving directory 
`/home/abuild/rpmbuild/BUILD/samba-4.10.0/bin/default'
[  776s] Task dependency cycle in "run_after" constraints:
[  776s]        {task 140636697103496: smbdotconf/parameters.all.xml 
abortshutdownscript.xml,accessbasedshareenum.xml,aclallowexecutealways.xml,aclcheckpermissions.xml,aclgroupcontrol.xml,aclmapfullcontrol.xml,addgroupscript.xml,addmachinescript.xml,addportcommand.xml,addprintercommand.xml,addsharecommand.xml,adduserscript.xml,addusertogroupscript.xml,administrative_share.xml,adminusers.xml,afsshare.xml,afstokenlifetime.xml,afsusernamemap.xml,aiomaxthreads.xml,aioreadsize.xml,aiowritebehind.xml,aiowritesize.xml,algorithmicridbase.xml,allocationroundupsize.xml,allowdcerpcauthlevelconnect.xml,allowdnsupdates.xml,allowinsecurewidelinks.xml,allownt4crypto.xml,allowtrusteddomains.xml,allowunsafeclusterupgrade.xml,applygrouppolicies.xml,asyncsmbechohandler.xml,autheventnotification.xml,auto_services.xml,available.xml,binddnsdir.xml,bindinterfacesonly.xml,blockinglocks.xml,blocksize.xml,browseable.xml,browselist.xml,cachedirectory.xml,casesensitive.xml,changenotify.xml,changesharecommand.xml,checkparentdirectorydeleteonclose.xml,checkpasswordscript.xml,cldapport.xml,clientipcmaxprotocol.xml,clientipcminprotocol.xml,clientipcsigning.xml,clientlanmanauth.xml,clientldapsaslwrapping.xml,clientmaxprotocol.xml,clientminprotocol.xml,clientntlmv2auth.xml,clientplaintextauth.xml,clientschannel.xml,clientsigning.xml,clientusepsnegoprincipal.xml,clientusespnego.xml,clusteraddresses.xml,clustering.xml,comment.xml,configbackend.xml,configfile.xml,copy.xml,createkrb5conf.xml,createmask.xml,cscpolicy.xml,ctdbdsocket.xml,ctdblocktimewarnthreshold.xml,ctdbtimeout.xml,cupsconnectiontimeout.xml,cupsencrypt.xml,cupsoptions.xml,cupsserver.xml,dcerpcendpointservers.xml,deadtime.xml,debugclass.xml,debughirestimestamp.xml,debugpid.xml,debugprefixtimestamp.xml,debuguid.xml,dedicatedkeytabfile.xml,defaultcase.xml,defaultdevmode.xml,defaultservice.xml,defersharingviolations.xml,deletegroupscript.xml,deleteprintercommand.xml,deletereadonly.xml,deletesharecommand.xml,deleteuserfromgroupscript.xml,deleteuserscript.xml,deletevetofiles.xml,dfreecachetime.xml,dfreecommand.xml,dgramport.xml,directorymask.xml,directorynamecachesize.xml,directorysecuritymask.xml,disablenetbios.xml,disablespoolss.xml,dmapisupport.xml,dnsforwarder.xml,dnsproxy.xml,dnsupdatecommand.xml,dnszonescavenging.xml,domainlogons.xml,domainmaster.xml,dontdescend.xml,doscharset.xml,dosfilemode.xml,dosfiletimeresolution.xml,dosfiletimes.xml,dsdbeventnotification.xml,dsdbgroupchangenotification.xml,dsdbpasswordeventnotification.xml,durablehandles.xml,easupport.xml,enableasusupport.xml,enablecorefiles.xml,enableprivileges.xml,enablespoolss.xml,encryptpasswords.xml,enhancedbrowsing.xml,enumportscommand.xml,eventloglist.xml,fakedirectorycreatetimes.xml,fakeoplocks.xml,followsymlinks.xml,forcecreatemode.xml,forcedirectorymode.xml,forcedirectorysecuritymode.xml,forcegroup.xml,forceprintername.xml,forcesecuritymode.xml,forceunknownacluser.xml,forceuser.xml,fssprunestale.xml,fsssequencetimeout.xml,fstype.xml,getquotacommand.xml,getwdcache.xml,gpoupdatecommand.xml,guestaccount.xml,guestok.xml,guestonly.xml,hidedotfiles.xml,hidefiles.xml,hidenewfilestimeout.xml,hidespecialfiles.xml,hideunreadable.xml,hideunwriteablefiles.xml,homedirmap.xml,hostmsdfs.xml,hostnamelookups.xml,hostsallow.xml,hostsdeny.xml,idmapbackend.xml,idmapcachetime.xml,idmapconfig.xml,idmapgid.xml,idmapnegativecachetime.xml,idmapuid.xml,include.xml,includesystemkrb5conf.xml,inheritacls.xml,inheritowner.xml,inheritpermissions.xml,initlogondelay.xml,initlogondelayedhosts.xml,interfaces.xml,invalidusers.xml,iprintserver.xml,keepalive.xml,kerberosencryptiontypes.xml,kerberosmethod.xml,kernelchangenotify.xml,kerneloplocks.xml,kernelsharemodes.xml,kpasswdport.xml,krb5port.xml,lanmanauth.xml,largereadwrite.xml,ldapadmindn.xml,ldapconnectiontimeout.xml,ldapdebuglevel.xml,ldapdebugthreshold.xml,ldapdeletedn.xml,ldapderef.xml,ldapfollowreferral.xml,ldapgroupsuffix.xml,ldapidmapsuffix.xml,ldapmachinesuffix.xml,ldappagesize.xml,ldappasswdsync.xml,ldapreplicationsleep.xml,ldapsameditposix.xml,ldapsamtrusted.xml,ldapserverrequirestrongauth.xml,ldapssl.xml,ldapsslads.xml,ldapsuffix.xml,ldaptimeout.xml,ldapusersuffix.xml,level2oplocks.xml,lmannounce.xml,lminterval.xml,loadprinters.xml,localmaster.xml,lockdirectory.xml,locking.xml,lockspintime.xml,logfile.xml,logging.xml,loglevel.xml,lognttokencommand.xml,logondrive.xml,logonhome.xml,logonpath.xml,logonscript.xml,logwriteablefilesonexit.xml,lppausecommand.xml,lpqcachetime.xml,lpqcommand.xml,lpresumecommand.xml,lprmcommand.xml,lsaovernetlogon.xml,machinepasswordtimeout.xml,magicoutput.xml,magicscript.xml,manglednames.xml,mangleprefix.xml,manglingchar.xml,manglingmethod.xml,mapaclinherit.xml,maparchive.xml,maphidden.xml,mapreadonly.xml,mapsystem.xml,maptoguest.xml,maxconnections.xml,maxdisksize.xml,maxlogsize.xml,maxmux.xml,maxopenfiles.xml,maxprintjobs.xml,maxreportedprintjobs.xml,maxsmbdprocesses.xml,maxstatcachesize.xml,maxttl.xml,maxwinsttl.xml,maxxmit.xml,mdnsname.xml,messagecommand.xml,minprintspace.xml,minreceivefilesize.xml,minwinsttl.xml,mitkdccommand.xml,msdfsproxy.xml,msdfsroot.xml,msdfsshufflereferrals.xml,multicastdnsregister.xml,namecachetimeout.xml,nameresolveorder.xml,nbtclientsocketaddress.xml,nbtd-wins_prepend1bto1cqueries.xml,nbtd-wins_randomize1clist.xml,nbtd-wins_randomize1clist_mask.xml,nbtport.xml,ncalrpcdir.xml,netbiosaliases.xml,netbiosname.xml,netbiosscope.xml,netutralizent4emulation.xml,nishomedir.xml,nmbdbindexplicitbroadcast.xml,nsupdatecommand.xml,ntaclsupport.xml,ntlmauth.xml,ntpipesupport.xml,ntpsigndsocketdirectory.xml,ntstatussupport.xml,ntvfshandler.xml,nullpasswords.xml,obeypamrestrictions.xml,oldpasswordallowedperiod.xml,oplockbreakwaittime.xml,oplocks.xml,os2drivermap.xml,oslevel.xml,pampasswordchange.xml,panicaction.xml,parameters.all.xml,passdbbackend.xml,passdbexpandexplicit.xml,passwdchat.xml,passwdchatdebug.xml,passwdchattimeout.xml,passwdprogram.xml,passwordhashgpgkeyids.xml,passwordhashuserpasswordschemes.xml,passwordserver.xml,path.xml,perfcountmodule.xml,piddirectory.xml,posixlocking.xml,postexec.xml,preexec.xml,preexecclose.xml,preferredmaster.xml,preforkbackoffincrement.xml,preforkchildren.xml,preforkmaximumbackoff.xml,preloadmodules.xml,preservecase.xml,printable.xml,printcapcachetime.xml,printcapname.xml,printcommand.xml,printername.xml,printing.xml,printjobusername.xml,printnotifybackchannel.xml,privatedir.xml,queuepausecommand.xml,queueresumecommand.xml,rawntlmv2auth.xml,readlist.xml,readonly.xml,readraw.xml,realm.xml,registryshares.xml,rejectmd5clients.xml,rejectmd5servers.xml,remoteannounce.xml,remotebrowsesync.xml,renameuserscript.xml,requirestrongkey.xml,resetonzerovc.xml,restrictanonymous.xml,rndccommand.xml,rootdirectory.xml,rootpostexec.xml,rootpreexec.xml,rootpreexecclose.xml,rpcbigendian.xml,rpcdaemon.xml,rpcserver.xml,rpcserverdynamicportrange.xml,rpcserverport.xml,sambakcccommand.xml,security.xml,securitymask.xml,servermaxprotocol.xml,serverminprotocol.xml,servermultichannelsupport.xml,serverrole.xml,serverschannel.xml,serverservices.xml,serversigning.xml,serverstring.xml,setprimarygroupscript.xml,setquotacommand.xml,sharebackend.xml,sharefakefscaps.xml,shortpreservecase.xml,showaddprinterwizard.xml,shutdownscript.xml,smb2leases.xml,smb2maxcredits.xml,smb2maxread.xml,smb2maxtrans.xml,smb2maxwrite.xml,smbdasyncdosmode.xml,smbdgetinfoasksharemode.xml,smbdmaxasyncdosmode.xml,smbdprofilinglevel.xml,smbdsearchasksharemode.xml,smbencrypt.xml,smbpasswdfile.xml,smbports.xml,socketoptions.xml,spnupdatecommand.xml,spoolssarchitecture.xml,spoolssosversion.xml,spotlight.xml,statcache.xml,statedirectory.xml,storedosattributes.xml,strictallocate.xml,strictlocking.xml,strictrename.xml,strictsync.xml,svcctllist.xml,syncalways.xml,syslog.xml,syslogonly.xml,templatehomedir.xml,templateshell.xml,timeserver.xml,timestamplogs.xml,tlscafile.xml,tlscertfile.xml,tlscrlfile.xml,tlsdhparamsfile.xml,tlsenabled.xml,tlskeyfile.xml,tlspriority.xml,tlsverifypeer.xml,unicode.xml,unixcharset.xml,unixextensions.xml,unixpasswordsync.xml,useclientdriver.xml,usemmap.xml,usernamelevel.xml,usernamemap.xml,usernamemapcachetime.xml,usernamemapscript.xml,usershareallowguests.xml,usersharemaxshares.xml,usershareowneronly.xml,usersharepath.xml,usershareprefixallowlist.xml,usershareprefixdenylist.xml,usersharetemplateshare.xml,usesendfile.xml,utmp.xml,utmpdirectory.xml,valid.xml,validusers.xml,vetofiles.xml,vetooplockfiles.xml,vfsobjects.xml,volume.xml,webport.xml,widelinks.xml,winbindcachetime.xml,winbinddsocketdirectory.xml,winbindenumgroups.xml,winbindenumusers.xml,winbindexpandgroups.xml,winbindignoredomains.xml,winbindmaxclients.xml,winbindmaxdomainconnections.xml,winbindnestedgroups.xml,winbindnormalizenames.xml,winbindnssinfo.xml,winbindofflinelogon.xml,winbindreconnectdelay.xml,winbindrefreshtickets.xml,winbindrequesttimeout.xml,winbindrpconly.xml,winbindscantrusteddomains.xml,winbindsealedpipes.xml,winbindseparator.xml,winbindusedefaultdomain.xml,winsdb-localowner.xml,winsdb-nosync.xml,winshook.xml,winsproxy.xml,winsserver.xml,winssupport.xml,workgroup.xml,wreplsrv-periodic_interval.xml,wreplsrv-propagate_name_releases.xml,wreplsrv-scavenging_interval.xml,wreplsrv-tombstone_extra_timeout.xml,wreplsrv-tombstone_interval.xml,wreplsrv-tombstone_timeout.xml,wreplsrv-verify_interval.xml,writeable.xml,writecachesize.xml,writelist.xml,writeraw.xml,wtmpdirectory.xml 
-> parameters.all.xml}

What am I doing wrong?

Thanks

Peter






More information about the samba mailing list