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

Markus Dellermann saml at use.startmail.com
Tue Sep 3 15:57:02 UTC 2019


Am Donnerstag, 1. August 2019, 08:35:11 CEST schrieb Johannes Engel via samba:
> 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,a
> clcheckpermissions.xml,aclgroupcontrol.xml,aclmapfullcontrol.xml,addgroupscr
> ipt.xml,addmachinescript.xml,addportcommand.xml,addprintercommand.xml,addsha
> recommand.xml,adduserscript.xml,addusertogroupscript.xml,administrative_shar
> e.xml,adminusers.xml,afsshare.xml,afstokenlifetime.xml,afsusernamemap.xml,ai
> omaxthreads.xml,aioreadsize.xml,aiowritebehind.xml,aiowritesize.xml,algorith
> micridbase.xml,allocationroundupsize.xml,allowdcerpcauthlevelconnect.xml,all
> owdnsupdates.xml,allowinsecurewidelinks.xml,allownt4crypto.xml,allowtrustedd
> omains.xml,allowunsafeclusterupgrade.xml,applygrouppolicies.xml,asyncsmbecho
> handler.xml,autheventnotification.xml,auto_services.xml,available.xml,binddn
> sdir.xml,bindinterfacesonly.xml,blockinglocks.xml,blocksize.xml,browseable.x
> ml,browselist.xml,cachedirectory.xml,casesensitive.xml,changenotify.xml,chan
> gesharecommand.xml,checkparentdirectorydeleteonclose.xml,checkpasswordscript
> .xml,cldap
> port.xml,clientipcmaxprotocol.xml,clientipcminprotocol.xml,clientipcsigning
> .xml,clientlanmanauth.xml,clientldapsaslwrapping.xml,clientmaxprotocol.xml,c
> lientminprotocol.xml,clientntlmv2auth.xml,clientplaintextauth.xml,clientscha
> nnel.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.xm
> l,ctdblocktimewarnthreshold.xml,ctdbtimeout.xml,cupsconnectiontimeout.xml,cu
> psencrypt.xml,cupsoptions.xml,cupsserver.xml,dcerpcendpointservers.xml,deadt
> ime.xml,debugclass.xml,debughirestimestamp.xml,debugpid.xml,debugprefixtimes
> tamp.xml,debuguid.xml,dedicatedkeytabfile.xml,defaultcase.xml,defaultdevmode
> .xml,defaultservice.xml,defersharingviolations.xml,deletegroupscript.xml,del
> eteprintercommand.xml,deletereadonly.xml,deletesharecommand.xml,deleteuserfr
> omgroupscript.xml,deleteuserscript.xml,deletevetofiles.xml,dfreecachetime.xm
> l,dfreecom
> mand.xml,dgramport.xml,directorymask.xml,directorynamecachesize.xml,directo
> rysecuritymask.xml,disablenetbios.xml,disablespoolss.xml,dmapisupport.xml,dn
> sforwarder.xml,dnsproxy.xml,dnsupdatecommand.xml,dnszonescavenging.xml,domai
> nlogons.xml,domainmaster.xml,dontdescend.xml,doscharset.xml,dosfilemode.xml,
> dosfiletimeresolution.xml,dosfiletimes.xml,dsdbeventnotification.xml,dsdbgro
> upchangenotification.xml,dsdbpasswordeventnotification.xml,durablehandles.xm
> l,easupport.xml,enableasusupport.xml,enablecorefiles.xml,enableprivileges.xm
> l,enablespoolss.xml,encryptpasswords.xml,enhancedbrowsing.xml,enumportscomma
> nd.xml,eventloglist.xml,fakedirectorycreatetimes.xml,fakeoplocks.xml,follows
> ymlinks.xml,forcecreatemode.xml,forcedirectorymode.xml,forcedirectorysecurit
> ymode.xml,forcegroup.xml,forceprintername.xml,forcesecuritymode.xml,forceunk
> nownacluser.xml,forceuser.xml,fssprunestale.xml,fsssequencetimeout.xml,fstyp
> e.xml,getquotacommand.xml,getwdcache.xml,gpoupdatecommand.xml,guestaccount.x
> ml,guestok
> .xml,guestonly.xml,hidedotfiles.xml,hidefiles.xml,hidenewfilestimeout.xml,h
> idespecialfiles.xml,hideunreadable.xml,hideunwriteablefiles.xml,homedirmap.x
> ml,hostmsdfs.xml,hostnamelookups.xml,hostsallow.xml,hostsdeny.xml,idmapbacke
> nd.xml,idmapcachetime.xml,idmapconfig.xml,idmapgid.xml,idmapnegativecachetim
> e.xml,idmapuid.xml,include.xml,includesystemkrb5conf.xml,inheritacls.xml,inh
> eritowner.xml,inheritpermissions.xml,initlogondelay.xml,initlogondelayedhost
> s.xml,interfaces.xml,invalidusers.xml,iprintserver.xml,keepalive.xml,kerbero
> sencryptiontypes.xml,kerberosmethod.xml,kernelchangenotify.xml,kerneloplocks
> .xml,kernelsharemodes.xml,kpasswdport.xml,krb5port.xml,lanmanauth.xml,larger
> eadwrite.xml,ldapadmindn.xml,ldapconnectiontimeout.xml,ldapdebuglevel.xml,ld
> apdebugthreshold.xml,ldapdeletedn.xml,ldapderef.xml,ldapfollowreferral.xml,l
> dapgroupsuffix.xml,ldapidmapsuffix.xml,ldapmachinesuffix.xml,ldappagesize.xm
> l,ldappasswdsync.xml,ldapreplicationsleep.xml,ldapsameditposix.xml,ldapsamtr
> usted.xml,
> ldapserverrequirestrongauth.xml,ldapssl.xml,ldapsslads.xml,ldapsuffix.xml,l
> daptimeout.xml,ldapusersuffix.xml,level2oplocks.xml,lmannounce.xml,lminterva
> l.xml,loadprinters.xml,localmaster.xml,lockdirectory.xml,locking.xml,lockspi
> ntime.xml,logfile.xml,logging.xml,loglevel.xml,lognttokencommand.xml,logondr
> ive.xml,logonhome.xml,logonpath.xml,logonscript.xml,logwriteablefilesonexit.
> xml,lppausecommand.xml,lpqcachetime.xml,lpqcommand.xml,lpresumecommand.xml,l
> prmcommand.xml,lsaovernetlogon.xml,machinepasswordtimeout.xml,magicoutput.xm
> l,magicscript.xml,manglednames.xml,mangleprefix.xml,manglingchar.xml,manglin
> gmethod.xml,mapaclinherit.xml,maparchive.xml,maphidden.xml,mapreadonly.xml,m
> apsystem.xml,maptoguest.xml,maxconnections.xml,maxdisksize.xml,maxlogsize.xm
> l,maxmux.xml,maxopenfiles.xml,maxprintjobs.xml,maxreportedprintjobs.xml,maxs
> mbdprocesses.xml,maxstatcachesize.xml,maxttl.xml,maxwinsttl.xml,maxxmit.xml,
> mdnsname.xml,messagecommand.xml,minprintspace.xml,minreceivefilesize.xml,min
> winsttl.xm
> l,mitkdccommand.xml,msdfsproxy.xml,msdfsroot.xml,msdfsshufflereferrals.xml,
> multicastdnsregister.xml,namecachetimeout.xml,nameresolveorder.xml,nbtclient
> socketaddress.xml,nbtd-wins_prepend1bto1cqueries.xml,nbtd-wins_randomize1cli
> st.xml,nbtd-wins_randomize1clist_mask.xml,nbtport.xml,ncalrpcdir.xml,netbios
> aliases.xml,netbiosname.xml,netbiosscope.xml,netutralizent4emulation.xml,nis
> homedir.xml,nmbdbindexplicitbroadcast.xml,nsupdatecommand.xml,ntaclsupport.x
> ml,ntlmauth.xml,ntpipesupport.xml,ntpsigndsocketdirectory.xml,ntstatussuppor
> t.xml,ntvfshandler.xml,nullpasswords.xml,obeypamrestrictions.xml,oldpassword
> allowedperiod.xml,oplockbreakwaittime.xml,oplocks.xml,os2drivermap.xml,oslev
> el.xml,pampasswordchange.xml,panicaction.xml,parameters.all.xml,passdbbacken
> d.xml,passdbexpandexplicit.xml,passwdchat.xml,passwdchatdebug.xml,passwdchat
> timeout.xml,passwdprogram.xml,passwordhashgpgkeyids.xml,passwordhashuserpass
> wordschemes.xml,passwordserver.xml,path.xml,perfcountmodule.xml,piddirectory
> .xml,posix
> locking.xml,postexec.xml,preexec.xml,preexecclose.xml,preferredmaster.xml,p
> reforkbackoffincrement.xml,preforkchildren.xml,preforkmaximumbackoff.xml,pre
> loadmodules.xml,preservecase.xml,printable.xml,printcapcachetime.xml,printca
> pname.xml,printcommand.xml,printername.xml,printing.xml,printjobusername.xml
> ,printnotifybackchannel.xml,privatedir.xml,queuepausecommand.xml,queueresume
> command.xml,rawntlmv2auth.xml,readlist.xml,readonly.xml,readraw.xml,realm.xm
> l,registryshares.xml,rejectmd5clients.xml,rejectmd5servers.xml,remoteannounc
> e.xml,remotebrowsesync.xml,renameuserscript.xml,requirestrongkey.xml,reseton
> zerovc.xml,restrictanonymous.xml,rndccommand.xml,rootdirectory.xml,rootposte
> xec.xml,rootpreexec.xml,rootpreexecclose.xml,rpcbigendian.xml,rpcdaemon.xml,
> rpcserver.xml,rpcserverdynamicportrange.xml,rpcserverport.xml,sambakcccomman
> d.xml,security.xml,securitymask.xml,servermaxprotocol.xml,serverminprotocol.
> xml,servermultichannelsupport.xml,serverrole.xml,serverschannel.xml,serverse
> rvices.xml
> ,serversigning.xml,serverstring.xml,setprimarygroupscript.xml,setquotacomma
> nd.xml,sharebackend.xml,sharefakefscaps.xml,shortpreservecase.xml,showaddpri
> nterwizard.xml,shutdownscript.xml,smb2leases.xml,smb2maxcredits.xml,smb2maxr
> ead.xml,smb2maxtrans.xml,smb2maxwrite.xml,smbdasyncdosmode.xml,smbdgetinfoas
> ksharemode.xml,smbdmaxasyncdosmode.xml,smbdprofilinglevel.xml,smbdsearchasks
> haremode.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,syncalw
> ays.xml,syslog.xml,syslogonly.xml,templatehomedir.xml,templateshell.xml,time
> server.xml,timestamplogs.xml,tlscafile.xml,tlscertfile.xml,tlscrlfile.xml,tl
> sdhparamsfile.xml,tlsenabled.xml,tlskeyfile.xml,tlspriority.xml,tlsverifypee
> r.xml,unicode.xml,unixcharset.xml,unixextensions.xml,unixpasswordsync.xml,us
> eclientdri
> ver.xml,usemmap.xml,usernamelevel.xml,usernamemap.xml,usernamemapcachetime.
> xml,usernamemapscript.xml,usershareallowguests.xml,usersharemaxshares.xml,us
> ershareowneronly.xml,usersharepath.xml,usershareprefixallowlist.xml,usershar
> eprefixdenylist.xml,usersharetemplateshare.xml,usesendfile.xml,utmp.xml,utmp
> directory.xml,valid.xml,validusers.xml,vetofiles.xml,vetooplockfiles.xml,vfs
> objects.xml,volume.xml,webport.xml,widelinks.xml,winbindcachetime.xml,winbin
> ddsocketdirectory.xml,winbindenumgroups.xml,winbindenumusers.xml,winbindexpa
> ndgroups.xml,winbindignoredomains.xml,winbindmaxclients.xml,winbindmaxdomain
> connections.xml,winbindnestedgroups.xml,winbindnormalizenames.xml,winbindnss
> info.xml,winbindofflinelogon.xml,winbindreconnectdelay.xml,winbindrefreshtic
> kets.xml,winbindrequesttimeout.xml,winbindrpconly.xml,winbindscantrusteddoma
> ins.xml,winbindsealedpipes.xml,winbindseparator.xml,winbindusedefaultdomain.
> xml,winsdb-localowner.xml,winsdb-nosync.xml,winshook.xml,winsproxy.xml,winss
> erver.xml,
> winssupport.xml,workgroup.xml,wreplsrv-periodic_interval.xml,wreplsrv-propa
> gate_name_releases.xml,wreplsrv-scavenging_interval.xml,wreplsrv-tombstone_e
> xtra_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
Hi,
it seems, you make it work!
Great!

Best regards
Markus






More information about the samba mailing list