From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: Toolchain errors during make build Date: Thu, 16 Feb 2023 10:13:35 +0100 Message-ID: <2CF16D0B-2330-47D3-A09E-AB962F2B2F56@ipfire.org> In-Reply-To: <493D748F-99D0-42C8-B92A-488E1EAA1562@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8315765949569970095==" List-Id: --===============8315765949569970095== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Jon, Currently master is using a different toolchain than next. Is that the missing piece in the puzzle? -Michael > On 15 Feb 2023, at 22:10, jon wrote: >=20 > I just did: >=20 > git clone git://git.ipfire.org/ipfire-2.x.git > sudo ./make.sh downloadsrc > sudo ./make.sh gettoolchain > sudo ./make.sh build >=20 > I did this build just to make sure things worked (and all was OK). >=20 > But, after the first build I still have the old toolchains. >=20 > jon(a)deb11HPZ:~/develoment/ipfire-2.x$ ll cache/toolchains > total 97872 > drwxr-xr-x 2 root root 4096 2023-02-14 15:24 . > drwxr-xr-x 3 root root 32768 2023-02-15 15:00 .. > -rw-r--r-- 1 root root 193 2022-08-11 04:14 ipfire-2.27-toolchain-202= 20808-x86_64.b2 > -rw-r--r-- 1 root root 100174269 2022-08-11 04:14 ipfire-2.27-toolchain-202= 20808-x86_64.tar.zst >=20 >=20 > Then I did a second `sudo ./make.sh gettoolchain` and now I see: >=20 > jon(a)deb11HPZ:~/develoment/ipfire-2.x$ ll cache/toolchains > total 192648 > drwxr-xr-x 2 root root 4096 2023-02-15 15:05 . > drwxr-xr-x 3 root root 32768 2023-02-15 15:00 .. > -rw-r--r-- 1 root root 193 2022-08-11 04:14 ipfire-2.27-toolchain-202= 20808-x86_64.b2 > -rw-r--r-- 1 root root 100174269 2022-08-11 04:14 ipfire-2.27-toolchain-202= 20808-x86_64.tar.zst > -rw-r--r-- 1 root root 193 2023-02-10 09:07 ipfire-2.27-toolchain-202= 30210-x86_64.b2 > -rw-r--r-- 1 root root 97043243 2023-02-10 09:07 ipfire-2.27-toolchain-202= 30210-x86_64.tar.zst >=20 >=20 > It doesn=E2=80=99t quite make sense to me! >=20 > I=E2=80=99m going to make my changes and try a second build. >=20 >=20 >=20 >> On Feb 15, 2023, at 11:04 AM, jon wrote: >>=20 >> sorry I should have been more specific. I did all of those steps. >>=20 >> I started over again and I=E2=80=99ll see if the same happens. >>=20 >> Jon >>=20 >>=20 >>> On Feb 15, 2023, at 2:36 AM, Adolf Belka wrote: >>>=20 >>> Hi Jon, >>>=20 >>> On 14/02/2023 22:43, jon wrote: >>>> All, >>>>=20 >>>> I started with a new `git clone git://git.ipfire.org/ipfire-2.x.git`. A= nd I keep getting toolchain errors during the make build. >>>>=20 >>>> I seem to remember a recent change to the toolchain. And the errors are= related to a newer date toolchain build that I do not have. >>> A new toolchain was released. You need to run ./make gettoolchain >>>=20 >>> As standard when I do a new build I run >>> ./make gettoolchain >>> ./make downloadsrc >>> ./make clean >>> ./make build >>>=20 >>> The gettoolchain most of the time comes back with " latest toolchain alre= ady downloaded" but occasionally, like a couple of days ago, it downloaded an= d checked the b2 sum of a new toolchain. >>>=20 >>> I think for a new clone you definitely need to do the whole set of comman= ds. >>>=20 >>> Regards, >>>=20 >>> Adolf. >>>> This is what I see: >>>> ``` >>>> Packaged toolchain compilation >>>> b2sum: /home/Jon/development/ipfire-2.x/cache/toolchains/ipfire-2.27-too= lchain-20230210-x86_64.tar.zst: No such file or directory >>>> cat: /home/jon/development/ipfire-2.x/cache/toolchains/ipfire-2.27-toolc= hain-20230210-x86_64.b2: No such file or directory >>>> ./make.sh: line 1827: /home/jon/development/ipfire-2.x/cache/toolchains/= ipfire-2.27-toolchain-20230210-x86_64.tar.zst: No such file or directory >>>> tar: This does not look like a tar archive >>>> tar: Exiting with failure status due to previous errors >>>> Checking for necessary space on disk = [ DONE ] >>>> chroot: failed to run command 'env': No such file or directory >>>> Building LFS >>>> ``` >>>>=20 >>>> The toolchain files I have are >>>> ``` >>>> ipfire-2.27-toolchain-20220808-x86_64.b2 >>>> ipfire-2.27-toolchain-20220808-x86_64.tar.zst >>>> ``` >>>>=20 >>>> Does this make sense? >>>> Jon >>>>=20 >>>>=20 >>>>=20 >>>> Jon Murphy >>>> jon.murphy(a)ipfire.org >>>>=20 >>>>=20 >>>>=20 >>>=20 >>> --=20 >>> Sent from my laptop >>=20 >>=20 >=20 --===============8315765949569970095==--