[Bug 257765] databases/mongodb44: fix crash + portscout

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 11 Aug 2021 10:26:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257765

            Bug ID: 257765
           Summary: databases/mongodb44: fix crash + portscout
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ronald-lists@klop.ws

Created attachment 227110
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227110&action=edit
git diff

Hi,

As mentioned in a mail[1] this port build crashes on aarch64/14-current.

Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"),
function cast, file
/usr/local/poudriere/jails/main-arm64/usr/src/contrib/llvm-project/llvm/include/llvm/Support/Casting.h,
line 269.

I want to try if disabling LTO fixes this. I can't test it locally. My RPI4
does not have enough memory to build with LTO anyway.
As the build crashes disabling LTO for aarch64/14 is no regression and we don't
need a portrevision bump.

Plus I get portscout mails about new version 5.0.X which is already in
databases/mongodb50. So limit the portscout check.

[1] https://lists.freebsd.org/archives/freebsd-ports/2021-August/000531.html

-- 
You are receiving this mail because:
You are the assignee for the bug.