Opened 3 years ago

Closed 2 years ago

#61968 closed defect (fixed)

tuntaposx @20150118_0: error: : 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated

Reported by: ShadSterling (Shad Sterling) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc: cooljeanius (Eric Gallager)
Port: tuntaposx

Description

:info:build tun_inet_proto.c:78:9tun_inet6_proto.c:78: :error9: error: : 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
:info:build 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
:info:build                ^

And at least 20 additional errors, many of the same form.

This came up in reinstalling everything after moving to Big Sur, tuntaposx is not requested.

Attachments (1)

main.log (84.0 KB) - added by ShadSterling (Shad Sterling) 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 2 years ago by jmroot (Joshua Root)

In 0b90952037403928ba9faf0903e74f6d70e9f68d/macports-ports (master):

tuntaposx: don't build with -Werror

See: #61968

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

This particular error is fixed, but note that #60088 remains.

Note: See TracTickets for help on using tickets.