From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Problem with trying to do downloadsrc and build Date: Mon, 04 Apr 2022 17:07:49 +0100 Message-ID: <7C265DAC-7B3B-49BD-BC23-7756E98BA11C@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4242177514342459088==" List-Id: --===============4242177514342459088== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Adolf, Yes, deleting the toolchains are re-downloading is probably the easiest fix. I just pushed another patch to make the package download work smoothly again. -Michael > On 4 Apr 2022, at 13:51, Adolf Belka wrote: >=20 > Hi All, >=20 > I am trying to run a build. First time for a week or so but had some proble= ms. Build is now running but I thought I would flag up what happened so far. >=20 > I ran git pull origin next to get my repository updated. >=20 > Then I ran ./make.sh gettoolchain which came back with > Toolchain is already downloaded. Exiting... > Then I ran ./make.sh downloadsrc and for several packages that were not in = my cache it then downloaded the missing package into my computers /tmp/ direc= tory and then looked for the file in my build cache/ directory and said it wa= s not available. > I copied the missing file from my /tmp/ directory to my build cache/ direct= ory and reran downloadsrc and repeated the copying for each file that it down= loaded into /tmp/ 11 in total. > I had a look in the downloadsrc section of make.sh but could not figure out= why it was placing the files in /tmp/ >=20 > After all files were in my cache then downloadsrc successfully went through= the whole sequence including all the BLAKE sums matching. > Then I ran ./make.sh clean and then ./make.sh build which then gave me the = following failure. >=20 > Packaged toolchain compilation > cat: /home/ahb/sandbox/ipfire-2.x/cache/toolchains/ipfire-2.27-toolchain-20= 220203-x86_64.b2: No such file or directory > ./make.sh: line 1847: [: 2c8f3ff0e2bdc638c1470e27dc1ed51a2681ed56480f1b62d8= fc7e8c16e5da745333972e9fcda997d62f2927626e3e6ae7510697d0064d178fc3e96d0a3696b= a: unary operator expected >=20 > ERROR: /home/ahb/sandbox/ipfire-2.x/cache/toolchains/ipfire-2.27-toolchain-= 20220203-x86_64 BLAKE2 checksum did not match, check downloaded package = [ FAIL ] > Check /home/ahb/sandbox/ipfire-2.x/log/_build.preparation.log for error= s if applic[ FAIL ] >=20 > This looks like it was trying to find the .b2 file for the toolchain and wh= at was in my cache was the .md5 version. I then deleted all my old toolchains= and reran gettoolchain which then downloaded the same version of toolchain b= ut with the .b2 blakesum file. >=20 > Build is now running, hopefully through to the end without any hiccups. >=20 > Regards, > Adolf. >=20 >=20 --===============4242177514342459088==--