[Samba] Build error due to Waf task dependency cycle in run_after

Johannes Engel jcnengel at gmail.com
Thu Aug 1 06:35:11 UTC 2019


Am Sonntag, 14. Juli 2019, 22:10:10 CEST schrieb Johannes Engel:
> Dear all,
> 
> trying to build some Heimdal-based packages for Samba AD DC under
> openSUSE I am facing some difficulties with the build system:
> During the installation which is triggered by "make install" waf complains
> about some task dependency cycle after leaving folder bin/default.
> Full log including config options can be seen unter
> https://build.opensuse.org/
> public/build/home:j-engel:samba-unstable/openSUSE_Leap_15.1/x86_64/
> samba/_log
> Unfortunately I have not been able to figure out which dependency cycle
> there is, let alone how to fix this.
> Any help would be greatly appreciated.
> 
> Best regards
> Johannes
Hmm, since nobody has replied to my question, I presume there was not enough 
detail in the text. Hence, let me try to be a bit more verbose. ;)
Here is the failing portion of the log:

make install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/samba-4.10.6-
lp151.7.1.x86_64 CONFIGDIR=/etc/samba
PYTHONHASHSEED=1 WAF_MAKE=1  ./buildtools/bin/waf install
Waf: Entering directory `/home/abuild/rpmbuild/BUILD/samba-4.10.6/bin/default'
Checking project rules ...
Project rules pass
Waf: Leaving directory `/home/abuild/rpmbuild/BUILD/samba-4.10.6/bin/default'
Task dependency cycle in "run_after" constraints: 
	{task 139970785159432: 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}
make: *** [Makefile:10: install] Error 1

Hence, it seems to be about some dependency cycle in the xml generation inside 
docs-xml. I checked buildtools/wafsamba/samba_waf18.py, but could not find 
anything related to xml.
Any ideas? Thanks a lot in advance!

Best regards
Johannes





More information about the samba mailing list