Re: git: 9f13b7867d45 - main - databases/mongodb60: unbreak the ports tree on a lot of archs

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Sun, 30 Oct 2022 19:55:19 UTC
On 10/30/22 11:05, Rene Ladan wrote:
> On Sun, Oct 30, 2022 at 09:53:41AM +0000, Antoine Brodin wrote:
>> The branch main has been updated by antoine:
>>
>> URL: https://cgit.FreeBSD.org/ports/commit/?id=9f13b7867d45995913dbad00c131dce4eac4bb23
>>
>> commit 9f13b7867d45995913dbad00c131dce4eac4bb23
>> Author:     Antoine Brodin <antoine@FreeBSD.org>
>> AuthorDate: 2022-10-30 09:53:04 +0000
>> Commit:     Antoine Brodin <antoine@FreeBSD.org>
>> CommitDate: 2022-10-30 09:53:32 +0000
>>
>>      databases/mongodb60: unbreak the ports tree on a lot of archs
>> ---
>>   databases/mongodb60/Makefile | 2 --
>>   1 file changed, 2 deletions(-)
>>
>> diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile
>> index e5aa17b5de94..27963e667f16 100644
>> --- a/databases/mongodb60/Makefile
>> +++ b/databases/mongodb60/Makefile
>> @@ -101,8 +101,6 @@ MOZJS_ARCH=x86_64
>>   MOZJS_ARCH=ppc64le
>>   .elif ${ARCH} == aarch64
>>   MOZJS_ARCH=${ARCH}
>> -.else
>> -.error Unsupport architecture "${ARCH}"
>>   .endif
>>   
>>   post-patch:
> 
> Pointy hat to me (mentor). See also the discussion in
> https://reviews.freebsd.org/D37130#inline-227898
> 
> René



Hi Antoine,

Thanks for fixing this so quickly.

I see in pkg-status.freebsd.org that i386 is failing in 'stopped:crashed'. I assume you are referring to that.
I don't have i386 to test but can reproduce a similar failure if I put a .error line in another if-else clause. See the pasted log below. Is this what happens on the build cluster too?

Is there a way to see the poudriere log of the build cluster on this level? On pkg-status I can't find it.

Regards,
Ronald.


20:24:36 + jexec ports14 poudriere bulk -j freebsd14 -p custom -f /usr/local/etc/poudriere.d/port-list -t
20:24:36 [00:00:01] Creating the reference jail... done
20:25:58 [00:01:22] Mounting system devices for freebsd14-custom
20:25:58 [00:01:22] Mounting ports/packages/distfiles
20:25:58 [00:01:22] Stashing existing package repository
20:25:58 [00:01:23] Mounting packages from: /usr/local/poudriere/data/packages/freebsd14-custom
20:25:58 [00:01:23] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
20:25:58 /etc/resolv.conf -> /usr/local/poudriere/data/.m/freebsd14-custom/ref/etc/resolv.conf
20:25:58 [00:01:23] Starting jail freebsd14-custom
20:25:59 [00:01:23] Will build as nobody: (65534:65534)
20:26:05 [00:01:29] Logs: /usr/local/poudriere/data/logs/bulk/freebsd14-custom/2022-10-30_19h24m36s
20:26:05 [00:01:29] Loading MOVED for /usr/local/poudriere/data/.m/freebsd14-custom/ref/usr/ports
20:26:17 [00:01:42] Ports supports: FLAVORS SELECTED_OPTIONS
20:26:17 [00:01:42] Gathering ports metadata
20:26:18 [00:01:42] Warning: (databases/mongodb60): make: "/usr/ports/databases/mongodb60/Makefile" line 104: Unsupport aaaaaarch64 architecture "aarch64"
20:26:18 [00:01:42] Warning: (databases/mongodb60): Error: Error looking up dependencies for databases/mongodb60
20:26:18 [00:01:42] Error: Fatal errors encountered gathering ports metadata
20:26:18 [00:01:42] Cleaning up