"Repo outages" not "drop outages".
________________________________
From: Tommy Murphy <tommy_mur...@hotmail.com>
Sent: Sunday, August 30, 2020 1:36:33 PM
To: kristof.mul...@telenet.be <kristof.mul...@telenet.be>
Cc: Liviu Ionescu <i...@livius.net>; johan <jo...@embeetle.com>; matic 
<ma...@embeetle.com>; openocd-devel <openocd-devel@lists.sourceforge.net>
Subject: Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

I did a build last night and another this morning (after doing sudo rm -rf 
~/Work to clean all downloads off) with the openocd repo (i.e. those last three 
lines of def-source.sh uncommented) and both went fine. Sometimes network 
issues and drop outages can cause build failures but very rarely in my 
experience.

Note that all of the steps that I carried out are all itemized in Liviu's 
instructions.
________________________________
From: kristof.mul...@telenet.be <kristof.mul...@telenet.be>
Sent: Sunday, August 30, 2020 11:09:37 AM
To: Tommy Murphy <tommy_mur...@hotmail.com>
Cc: Liviu Ionescu <i...@livius.net>; johan <jo...@embeetle.com>; matic 
<ma...@embeetle.com>; openocd-devel <openocd-devel@lists.sourceforge.net>
Subject: Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

Hi @Tommy Murphy,

Thank you very much for sharing the precise commands
you enter to build OpenOCD :-)

I've tried this morning, but got the following problem:

  Downloading "libusb-win32-src-1.2.6.0.zip" from
   
"http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/libusb-win32-src-1.2.6.0.zip";...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100   178  100   178    0     0     52      0  0:00:03  0:00:03 --:--:--    52
  100   434  100   434    0     0    105      0  0:00:04  0:00:04 --:--:--  1272
  100   421  100   421    0     0     97      0  0:00:04  0:00:04 --:--:--    97
  100   503  100   503    0     0    112      0  0:00:04  0:00:04 --:--:--   112
  100   417  100   417    0     0     80      0  0:00:05  0:00:05 --:--:--   814
    0     0    0     0    0     0      0      0 --:--:--  0:02:14 --:--:--     0
  curl: (7) Failed to connect to netcologne.dl.sourceforge.net port 443: 
Connection timed out

It seems like the libusb sourceforge page is down?
I'll try again this afternoon.


Kind regards,
Kristof Mulier

________________________________
Van: "Tommy Murphy" <tommy_mur...@hotmail.com>
Aan: "Liviu Ionescu" <i...@livius.net>, "kristof mulier" 
<kristof.mul...@telenet.be>
Cc: "johan" <jo...@embeetle.com>, "matic" <ma...@embeetle.com>, "openocd-devel" 
<openocd-devel@lists.sourceforge.net>
Verzonden: Zaterdag 29 augustus 2020 21:36:25
Onderwerp: Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

Liviu's scripts build his snapshot sources.
If you want to build from the openocd repo then uncomment the three lines here:

https://github.com/xpack-dev-tools/openocd-xpack/blob/xpack/scripts/defs-source.sh#L41

FWIW here are all of the commands that I run (all itemised in Liviu's 
instructions) to do a "default" build using his scripts on a clean VM 
installation of Ubuntu 18.04:

https://xpack.github.io/xbb/prerequisites/

sudo apt-get install -y apt-transport-https ca-certificates  curl 
software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

version_name=$(lsb_release -cs)
sudo add-apt-repository  "deb [arch=amd64] 
https://download.docker.com/linux/ubuntu  ${version_name} stable"

sudo apt-get update
sudo apt-get -y install docker-ce

sudo docker run hello-world

sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart

shutdown -r now

docker run hello-world

rm -rf ~/Downloads/openocd-xpack.git
git clone --recurse-submodules 
https://github.com/xpack-dev-tools/openocd-xpack.git 
~/Downloads/openocd-xpack.git

bash ~/Downloads/openocd-xpack.git/scripts/build.sh --all


________________________________
From: Liviu Ionescu <i...@livius.net>
Sent: Saturday 29 August 2020 19:21
To: kristof.mul...@telenet.be <kristof.mul...@telenet.be>
Cc: Tommy Murphy <tommy_mur...@hotmail.com>; johan <jo...@embeetle.com>; matic 
<ma...@embeetle.com>; openocd-devel <openocd-devel@lists.sourceforge.net>
Subject: Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.



> On 29 Aug 2020, at 21:18, kristof.mul...@telenet.be wrote:
>
> ... I got it running properly

told you so!

> So what would change in these commands to achieve that? ... defs-source.sh'
> file (uncommenting the last three lines)? Or is it something else?

Keine Ahnung, I never used the scripts with different repos. those three lines 
were added by Tommy.


Liviu


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to