Re: arm64 stable/13 buildworld stops in bc

From: Matthew Grooms <mgrooms_at_shrew.net>
Date: Sat, 26 Jun 2021 16:20:55 UTC
On 6/26/2021 5:51 AM, Matthew Grooms wrote:

> On 6/26/2021 5:20 AM, Stefan Esser wrote:
>
>>   Hi Matthew,
>>
>> that might explain it ...
>>
>> But in fact, if it did, there would be an issue, since that would 
>> indicate
>> that headers from the running system were used to build the new bc.
>>
>> BUT: The error messages clearly indicate a build failure caused by a 
>> mismatch
>> between declarations in /usr/src/contrib/bc/include/ and calls in the 
>> c files.
>>
>> And since all files are within /usr/src/contrib/bc/, it is apparent 
>> that files
>> in the base system do not play a role.
>>
>> Please compare your sources in /usr/src/contrib/bc/ with those in the
>> repository (starting at the link I sent).
>>
>> You could also go to that directory and perform "git log ." to get a 
>> list
>> of commits that you have on your system - compare that with the log 
>> in the
>> repository.
>>
>> Anyway, I do not see that there is anything wrong in general, and I 
>> do assume
>> it is an issue on your build system.
>>
>> Not much that I could do, I'm afraid.
>
> Hi Stefan,
>
> Thanks again for the assistance. I just did a fresh clone of stable/13 
> ...
>
> root@build:~ # git clone -b stable/13 https://git.freebsd.org/src.git 
> /usr/src
> Cloning into '/usr/src'...
> remote: Enumerating objects: 378566, done.
> remote: Counting objects: 100% (378566/378566), done.
> remote: Compressing objects: 100% (27086/27086), done.
> remote: Total 3965834 (delta 372825), reused 351480 (delta 351480), 
> pack-reused 3587268
> Receiving objects: 100% (3965834/3965834), 1.31 GiB | 18.79 MiB/s, done.
> Resolving deltas: 100% (3140074/3140074), done.
> Updating files: 100% (85386/85386), done.
>
> I will attempt to cross-compile world again and then report back here.
>
Seems to be compiling now. Well, that's embarrassing. Not sure how it 
could have happened but I appreciate the help. Sorry for the noise.

-Matthew