Re: Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build! #yocto #python


Georgi Georgiev
 

OK,
I read some code and I added the next line:

--- a/bitbake/lib/bb/fetch2/svn.py
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -145,6 +145,7 @@ class Svn(FetchMethod):

if not ("externals" in ud.parm and ud.parm["externals"] == "nowarn"):
# Warn the user if this had externals (won't catch them all)
+ svnfetchcmd = self._buildsvncommand(ud, d, "fetch")
output = runfetchcmd("svn propget svn:externals || true", d, workdir=ud.moddir)
if output:
if "--ignore-externals" in svnfetchcmd.split():

This works for me perfectly. I may look little redundant but...
Any comments?
@Mikko,
We have only one svn repo in the whole project :-)

Cordially,
Georgi

-----Original Message-----
From: Mikko.Rapeli@bmw.de [mailto:Mikko.Rapeli@bmw.de]
Sent: Monday, February 17, 2020 3:47 PM
To: Georgi Georgiev <Georgi.Georgiev@woodward.com>
Cc: yocto@lists.yoctoproject.org
Subject: [EXTERNAL] Re: [yocto] Yocto [thud], [zeus] do_fetch and do_unpack failures with offline/online svn build! #yocto #python

On Mon, Feb 17, 2020 at 01:35:02PM +0000, Georgi Georgiev via Lists.Yoctoproject.Org wrote:
Hi Mikko,
Your patch is upstreamed and...It is actually released. If you see the error output you will see your codeline. I decided to try with your old version but the result is the same. Can you say something for the previous issue I have about offline build.
It seem svn is not very well supported by yocto.
Ah, indeed.

svn is supported and for me it's working quite well. It has some issues like download cache locking when multiple recipes include the same URLs.

Where possible, I've switched to using http fetcher with tar balls and large binary blobs in svn, but there one needs to remember to include version details into file names...

-Mikko

***
The information in this email is confidential and intended solely for the individual or entity to whom it is addressed.  If you have received this email in error please notify the sender by return e-mail, delete this email, and refrain from any disclosure or action based on the information.
***

Join yocto@lists.yoctoproject.org to automatically receive all group messages.