From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Toolchain errors during make build
Date: Thu, 16 Feb 2023 10:13:35 +0100 [thread overview]
Message-ID: <2CF16D0B-2330-47D3-A09E-AB962F2B2F56@ipfire.org> (raw)
In-Reply-To: <493D748F-99D0-42C8-B92A-488E1EAA1562@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 4027 bytes --]
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 <jon.murphy(a)ipfire.org> wrote:
>
> I just did:
>
> git clone git://git.ipfire.org/ipfire-2.x.git
> sudo ./make.sh downloadsrc
> sudo ./make.sh gettoolchain
> sudo ./make.sh build
>
> I did this build just to make sure things worked (and all was OK).
>
> But, after the first build I still have the old toolchains.
>
> 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-20220808-x86_64.b2
> -rw-r--r-- 1 root root 100174269 2022-08-11 04:14 ipfire-2.27-toolchain-20220808-x86_64.tar.zst
>
>
> Then I did a second `sudo ./make.sh gettoolchain` and now I see:
>
> 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-20220808-x86_64.b2
> -rw-r--r-- 1 root root 100174269 2022-08-11 04:14 ipfire-2.27-toolchain-20220808-x86_64.tar.zst
> -rw-r--r-- 1 root root 193 2023-02-10 09:07 ipfire-2.27-toolchain-20230210-x86_64.b2
> -rw-r--r-- 1 root root 97043243 2023-02-10 09:07 ipfire-2.27-toolchain-20230210-x86_64.tar.zst
>
>
> It doesn’t quite make sense to me!
>
> I’m going to make my changes and try a second build.
>
>
>
>> On Feb 15, 2023, at 11:04 AM, jon <jon.murphy(a)ipfire.org> wrote:
>>
>> sorry I should have been more specific. I did all of those steps.
>>
>> I started over again and I’ll see if the same happens.
>>
>> Jon
>>
>>
>>> On Feb 15, 2023, at 2:36 AM, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
>>>
>>> Hi Jon,
>>>
>>> On 14/02/2023 22:43, jon wrote:
>>>> All,
>>>>
>>>> I started with a new `git clone git://git.ipfire.org/ipfire-2.x.git`. And I keep getting toolchain errors during the make build.
>>>>
>>>> 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
>>>
>>> As standard when I do a new build I run
>>> ./make gettoolchain
>>> ./make downloadsrc
>>> ./make clean
>>> ./make build
>>>
>>> The gettoolchain most of the time comes back with " latest toolchain already downloaded" but occasionally, like a couple of days ago, it downloaded and checked the b2 sum of a new toolchain.
>>>
>>> I think for a new clone you definitely need to do the whole set of commands.
>>>
>>> Regards,
>>>
>>> Adolf.
>>>> This is what I see:
>>>> ```
>>>> Packaged toolchain compilation
>>>> b2sum: /home/Jon/development/ipfire-2.x/cache/toolchains/ipfire-2.27-toolchain-20230210-x86_64.tar.zst: No such file or directory
>>>> cat: /home/jon/development/ipfire-2.x/cache/toolchains/ipfire-2.27-toolchain-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
>>>> ```
>>>>
>>>> The toolchain files I have are
>>>> ```
>>>> ipfire-2.27-toolchain-20220808-x86_64.b2
>>>> ipfire-2.27-toolchain-20220808-x86_64.tar.zst
>>>> ```
>>>>
>>>> Does this make sense?
>>>> Jon
>>>>
>>>>
>>>>
>>>> Jon Murphy
>>>> jon.murphy(a)ipfire.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> Sent from my laptop
>>
>>
>
next parent reply other threads:[~2023-02-16 9:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <493D748F-99D0-42C8-B92A-488E1EAA1562@ipfire.org>
2023-02-16 9:13 ` Michael Tremer [this message]
2023-02-14 21:43 jon
2023-02-15 8:36 ` Adolf Belka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2CF16D0B-2330-47D3-A09E-AB962F2B2F56@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox