Re: Unable to build lang/go OR graphics/mesa-libs

From: Jeremy Chadwick via ports <>
Date: Wed, 20 Oct 2021 14:58:29 UTC
On Wed, Oct 20, 2021 at 04:12:22PM +0200, Christoph Moench-Tegeder wrote:
> ## Carmel (
> > FreeBSD 114amd64 11.4-RELEASE-p13
> Support for FreeBSD 11 was removed, there's
> as the "last officially
> working" point-in-time.

While this is true and certainly the cause of the OP's issue for lang/go
(not sure about graphics/mesa-libs), Go 1.17.x and 1.18.x are the last
official releases to support FreeBSD 11.x:

I dug through the ports commits after 6a5a9cc08 and it
appears the Mk/Scripts/ tweak is what breaks it
(you need to look at the full file vs. the error the OP sees to really
understand what's going on, re: syscall mapping test).

It's a bit disappointing to see this fact was overlooked when
doing the 11.x ports EOL.  The tweaks to go/lang and could have been left safely or redone in a
different manner, especially considering that the same script/etc. might
need to be used for FreeBSD 13.x and COMPAT_FREEBSD12 checking.  Oh

| Jeremy Chadwick                     |
| UNIX Systems Administrator                      PGP 0x2A389531 |
| Making life hard for others since 1977.                        |