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

From: Antoine Brodin <antoine_at_freebsd.org>
Date: Sun, 30 Oct 2022 20:07:40 UTC
On Sun, Oct 30, 2022 at 7:55 PM Ronald Klop <ronald@freebsd.org> wrote:
>
> 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.

Hi,

For instance http://beefy5.nyi.freebsd.org/data/raw-123i386-default.log
.error must not be used in ports Makefile,
IGNORE/ONLY_FOR_ARCH/FORBIDDEN have to be used instead.

Antoine