[MacPorts] #66003: wireguard-go does not install: net/netip missing

Joshua Root jmr at macports.org
Wed Oct 19 00:12:18 UTC 2022


On 2022-10-19 01:25 , Heinrich Rebehn wrote:
> 
>> On 17. Oct 2022, at 05:18, MacPorts <noreply at macports.org> wrote:
>>
>> #66003: wireguard-go does not install: net/netip missing
>> -----------------------------+----------------------
>> Reporter:  heinrichrebehn  |      Owner:  cardi
>>      Type:  defect          |     Status:  assigned
>> Priority:  Normal          |  Milestone:
>> Component:  ports           |    Version:
>> Resolution:                  |   Keywords:
>>      Port:  wireguard-go    |
>> -----------------------------+----------------------
>>
>> Comment (by cardi):
>>
>> It looks like you're running `go` version 1.17.13:
>> https://trac.macports.org/attachment/ticket/66003/main.log#L85
>>
>> The [https://pkg.go.dev/net/netip net/netip] package requires `go` version
>> 1.18 or higher.
>>
>> Can you try upgrading `go` by running `sudo port upgrade go` and then see
>> if `wireguard-go` builds and installs successfully?
>>
>> -- 
>> Ticket URL: <https://trac.macports.org/ticket/66003#comment:2>
>> MacPorts <https://www.macports.org/>
>> Ports system for macOS
> 
> Unfortunately, this doesn’t help. Go version stays same. Even uninstalling and reinstalling go yields go @1.17.13_0 (active).
> 
> Maybe MacOS is too old? I did do “port selfupdate”. Or should I try reinstalling macports?
> 
> -Heinrich

That sounds like either your selfupdate is not succeeding, or you have a 
local repo configured in sources.conf that is overriding the Go port.

- Josh


More information about the macports-dev mailing list