Ticket #64272: main.log

File main.log, 566.5 KB (added by gmancipe, 3 years ago)
Line 
1version:1
2:debug:clean Starting logging for tuntaposx @20150118_0
3:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch i386
4:debug:sysinfo MacPorts 2.7.1
5:debug:sysinfo Xcode 13.1
6:debug:sysinfo SDK 12
7:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
8:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/work
9:debug:clean dropping privileges: euid changed to 502, egid changed to 501.
10:debug:main Executing org.macports.main (tuntaposx)
11:debug:main Privilege de-escalation not attempted as not running as root.
12:debug:archivefetch archivefetch phase started at Wed Dec 22 16:09:32 -04 2021
13:msg:archivefetch --->  Fetching archive for tuntaposx
14:debug:archivefetch Executing org.macports.archivefetch (tuntaposx)
15:debug:archivefetch euid/egid changed to: 0/0
16:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
17:debug:archivefetch euid/egid changed to: 502/501
18:info:archivefetch --->  tuntaposx-20150118_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
19:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/tuntaposx
20:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
21:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
22:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
23:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/tuntaposx
24:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
25:debug:archivefetch Privilege de-escalation not attempted as not running as root.
26:debug:fetch fetch phase started at Wed Dec 22 16:09:35 -04 2021
27:notice:fetch --->  Fetching distfiles for tuntaposx
28:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
29:debug:fetch dropping privileges: euid changed to 502, egid changed to 501.
30:debug:fetch Executing org.macports.fetch (tuntaposx)
31:info:fetch --->  tuntap_20150118_src.tar.gz does not exist in /opt/local/var/macports/distfiles/tuntaposx
32:notice:fetch --->  Attempting to fetch tuntap_20150118_src.tar.gz from http://cfhcable.dl.sourceforge.net/project/tuntaposx/tuntap/20150118
33:debug:fetch Privilege de-escalation not attempted as not running as root.
34:debug:checksum checksum phase started at Wed Dec 22 16:09:40 -04 2021
35:notice:checksum --->  Verifying checksums for tuntaposx
36:debug:checksum Executing org.macports.checksum (tuntaposx)
37:info:checksum --->  Checksumming tuntap_20150118_src.tar.gz
38:debug:checksum Calculated (rmd160) is bfdd394e10a982728c4867b2536b337ab78831e1
39:debug:checksum Correct (rmd160) checksum for tuntap_20150118_src.tar.gz
40:debug:checksum Calculated (sha256) is f01fe7a3dd0f2f64c13606ff0230696d3995f2eeae19f0cdeb778650db9f37ba
41:debug:checksum Correct (sha256) checksum for tuntap_20150118_src.tar.gz
42:debug:checksum Privilege de-escalation not attempted as not running as root.
43:debug:extract extract phase started at Wed Dec 22 16:09:40 -04 2021
44:notice:extract --->  Extracting tuntaposx
45:debug:extract Executing org.macports.extract (tuntaposx)
46:info:extract --->  Extracting tuntap_20150118_src.tar.gz
47:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/tuntaposx/tuntap_20150118_src.tar.gz'
48:debug:extract Environment:
49:debug:extract CC_PRINT_OPTIONS='YES'
50:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
51:debug:extract CPATH='/opt/local/include'
52:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
53:debug:extract LIBRARY_PATH='/opt/local/lib'
54:debug:extract MACOSX_DEPLOYMENT_TARGET='12.0'
55:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
56:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/tuntaposx/tuntap_20150118_src.tar.gz' | /usr/bin/tar -xf -
57:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/tuntaposx/tuntap_20150118_src.tar.gz' | /usr/bin/tar -xf -
58:debug:extract euid/egid changed to: 0/0
59:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work to macports
60:debug:extract euid/egid changed to: 502/501
61:debug:extract Privilege de-escalation not attempted as not running as root.
62:debug:patch patch phase started at Wed Dec 22 16:09:40 -04 2021
63:debug:patch Executing org.macports.patch (tuntaposx)
64:notice:patch --->  Applying patches to tuntaposx
65:info:patch --->  Applying patch-src-tap-Makefile.diff
66:debug:patch Environment:
67:debug:patch CC_PRINT_OPTIONS='YES'
68:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
69:debug:patch CPATH='/opt/local/include'
70:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
71:debug:patch LIBRARY_PATH='/opt/local/lib'
72:debug:patch MACOSX_DEPLOYMENT_TARGET='12.0'
73:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
74:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/files/patch-src-tap-Makefile.diff'
75:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/files/patch-src-tap-Makefile.diff'
76:info:patch patching file src/tap/Makefile
77:info:patch --->  Applying patch-src-tun-Makefile.diff
78:debug:patch Environment:
79:debug:patch CC_PRINT_OPTIONS='YES'
80:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
81:debug:patch CPATH='/opt/local/include'
82:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
83:debug:patch LIBRARY_PATH='/opt/local/lib'
84:debug:patch MACOSX_DEPLOYMENT_TARGET='12.0'
85:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
86:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/files/patch-src-tun-Makefile.diff'
87:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/files/patch-src-tun-Makefile.diff'
88:info:patch patching file src/tun/Makefile
89:info:patch --->  Applying patch-mojave.diff
90:debug:patch Environment:
91:debug:patch CC_PRINT_OPTIONS='YES'
92:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
93:debug:patch CPATH='/opt/local/include'
94:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
95:debug:patch LIBRARY_PATH='/opt/local/lib'
96:debug:patch MACOSX_DEPLOYMENT_TARGET='12.0'
97:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
98:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/files/patch-mojave.diff'
99:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/files/patch-mojave.diff'
100:info:patch patching file src/tun/Makefile
101:info:patch Hunk #1 succeeded at 20 with fuzz 1.
102:info:patch patching file src/tap/Makefile
103:info:patch Hunk #1 succeeded at 19 with fuzz 1.
104:debug:patch Executing proc-post-org.macports.patch-patch-0
105:info:patch --->  Patching Makefile: s|@CC@|/usr/bin/clang|g
106:debug:patch Executing reinplace: /usr/bin/sed s|@CC@|/usr/bin/clang|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile >@file22
107:debug:patch euid/egid changed to: 0/0
108:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile to macports
109:debug:patch euid/egid changed to: 502/501
110:debug:patch euid/egid changed to: 0/0
111:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile
112:debug:patch euid/egid changed to: 502/501
113:info:patch --->  Patching Makefile: s|@CXX@|/usr/bin/clang++|g
114:debug:patch Executing reinplace: /usr/bin/sed s|@CXX@|/usr/bin/clang++|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile >@file22
115:debug:patch euid/egid changed to: 0/0
116:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile to macports
117:debug:patch euid/egid changed to: 502/501
118:debug:patch euid/egid changed to: 0/0
119:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile
120:debug:patch euid/egid changed to: 502/501
121:info:patch --->  Patching Makefile: s|@ARCHFLAGS@|-arch x86_64|
122:debug:patch Executing reinplace: /usr/bin/sed {s|@ARCHFLAGS@|-arch x86_64|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile >@file22
123:debug:patch euid/egid changed to: 0/0
124:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile to macports
125:debug:patch euid/egid changed to: 502/501
126:debug:patch euid/egid changed to: 0/0
127:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile
128:debug:patch euid/egid changed to: 502/501
129:info:patch --->  Patching Makefile: s|@CC@|/usr/bin/clang|g
130:debug:patch Executing reinplace: /usr/bin/sed s|@CC@|/usr/bin/clang|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile >@file22
131:debug:patch euid/egid changed to: 0/0
132:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile to macports
133:debug:patch euid/egid changed to: 502/501
134:debug:patch euid/egid changed to: 0/0
135:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile
136:debug:patch euid/egid changed to: 502/501
137:info:patch --->  Patching Makefile: s|@CXX@|/usr/bin/clang++|g
138:debug:patch Executing reinplace: /usr/bin/sed s|@CXX@|/usr/bin/clang++|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile >@file22
139:debug:patch euid/egid changed to: 0/0
140:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile to macports
141:debug:patch euid/egid changed to: 502/501
142:debug:patch euid/egid changed to: 0/0
143:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile
144:debug:patch euid/egid changed to: 502/501
145:info:patch --->  Patching Makefile: s|@ARCHFLAGS@|-arch x86_64|
146:debug:patch Executing reinplace: /usr/bin/sed {s|@ARCHFLAGS@|-arch x86_64|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile >@file22
147:debug:patch euid/egid changed to: 0/0
148:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile to macports
149:debug:patch euid/egid changed to: 502/501
150:debug:patch euid/egid changed to: 0/0
151:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile
152:debug:patch euid/egid changed to: 502/501
153:debug:patch Executing proc-post-org.macports.patch-patch-1
154:info:patch --->  Patching Makefile: s|@SDKROOT@|/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk|
155:debug:patch Executing reinplace: /usr/bin/sed s|@SDKROOT@|/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile >@file22
156:debug:patch euid/egid changed to: 0/0
157:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile to macports
158:debug:patch euid/egid changed to: 502/501
159:debug:patch euid/egid changed to: 0/0
160:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun/Makefile
161:debug:patch euid/egid changed to: 502/501
162:info:patch --->  Patching Makefile: s|@SDKROOT@|/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk|
163:debug:patch Executing reinplace: /usr/bin/sed s|@SDKROOT@|/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk| </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile >@file22
164:debug:patch euid/egid changed to: 0/0
165:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile to macports
166:debug:patch euid/egid changed to: 502/501
167:debug:patch euid/egid changed to: 0/0
168:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap/Makefile
169:debug:patch euid/egid changed to: 502/501
170:debug:patch Privilege de-escalation not attempted as not running as root.
171:debug:configure configure phase started at Wed Dec 22 16:09:40 -04 2021
172:notice:configure --->  Configuring tuntaposx
173:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-13 macports-clang-12 macports-clang-11 macports-clang-10
174:debug:configure Using compiler 'Xcode Clang'
175:debug:configure Executing org.macports.configure (tuntaposx)
176:debug:configure Executing portconfigure::configure_finish
177:debug:configure Privilege de-escalation not attempted as not running as root.
178:debug:build build phase started at Wed Dec 22 16:09:40 -04 2021
179:notice:build --->  Building tuntaposx
180:debug:build Executing org.macports.build (tuntaposx)
181:debug:build Environment:
182:debug:build CC_PRINT_OPTIONS='YES'
183:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
184:debug:build CPATH='/opt/local/include'
185:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
186:debug:build LIBRARY_PATH='/opt/local/lib'
187:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
188:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
189:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
190:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
191:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
192:info:build cd src/tap && make TUNTAP_VERSION=20150118 -f Makefile all
193:info:build cd src/tun && make TUNTAP_VERSION=20150118 -f Makefile all
194:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
195:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
196:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
197:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
198:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
199:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
200:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../lock.cc -o ../lock.o
201:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../lock.cc -o ../lock.o
202:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../mem.cc -o ../mem.o
203:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../mem.cc -o ../mem.o
204:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
205:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
206:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tap.cc -o tap.o
207:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet_proto.c -o tun_inet_proto.o
208:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet6_proto.c -o tun_inet6_proto.o
209:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun.cc -o tun.o
210:info:build tun_inet_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
211:info:build         return proto_input(PF_INET, m);
212:info:build                ^
213:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
214:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
215:info:build                ^
216:info:build tun_inet6_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
217:info:build         return proto_input(PF_INET6, m);
218:info:build                ^
219:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
220:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
221:info:build                ^
222:info:build tun_inet_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
223:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
224:info:build                ^
225:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
226:info:build tun_inet6_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
227:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
228:info:build                ^
229:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
230:info:build                ^
231:info:build tun_inet_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
232:info:build         ifnet_detach_protocol(ifp, proto);
233:info:build         ^
234:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
235:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
236:info:build                ^
237:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
238:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
239:info:build                ^
240:info:build tun_inet6_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
241:info:build         ifnet_detach_protocol(ifp, proto);
242:info:build         ^
243:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:163 errors generated.
244:info:build : note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
245:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
246:info:build                ^
247:info:build 3 errors generated.
248:info:build make[1]: *** [tun_inet_proto.o] Error 1
249:info:build make[1]: *** Waiting for unfinished jobs....
250:info:build make[1]: *** [tun_inet6_proto.o] Error 1
251:info:build In file included from In file included from kmod.cc:30:
252:info:build In file included from ./tun.hkmod.cc:31:
253:info:build ../tuntap.h:173::25In file included from In file included from In file included from tun.cc../tuntap_mgr.cctap.cc:::In file included from  ../tuntap.cc:error30: In file included from too few arguments provided to function-like macro invocation:
254:info:build In file included from 30In file included from 30../tuntap_mgr.cc::
255:info:build ./tun.h30:                bool enqueue(mbuf_t mb);30:
256:info:build ../tuntap.h:../tuntap.cc:
257:info:build In file included from ../tuntap.h30
258:info:build :
259:info:build                                       ^::
260:info:build :In file included from 30./tap.h:
261:info:build :31../tuntap.h:
262:info:build 173:31:
263:info:build ../tuntap.h::../tuntap.h:../tuntap.h17325:./tap.h173::173173::25173:2525: ::: 25error:error 25error31: :too few arguments provided to function-like macro invocation::
264:info:build : ../tuntap.h
265:info:build :too few arguments provided to function-like macro invocation173
266:info:build :/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h :: 23025                 bool enqueue(mbuf_t mb);:error:                bool enqueue(mbuf_t mb); too few arguments provided to function-like macro invocation
267:info:build :
268:info:build error: :too few arguments provided to function-like macro invocation                                      ^                                      ^
269:info:build  error: too few arguments provided to function-like macro invocationtoo few arguments provided to function-like macro invocation
270:info:build                 bool enqueue(mbuf_t mb);
271:info:build error9:
272:info:build too few arguments provided to function-like macro invocation
273:info:build :                                      ^
274:info:build                 bool enqueue(mbuf_t mb);
275:info:build                                       ^
276:info:build note                bool enqueue(mbuf_t mb);
277:info:build                                       ^                bool enqueue(mbuf_t mb);
278:info:build :                                       ^
279:info:build macro 'enqueue' defined here
280:info:build                 bool enqueue(mbuf_t mb);
281:info:build                                       ^
282:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
283:info:build         ^
284:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: : /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:note/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:macro 'enqueue' defined here230230::9:9 :
285:info:build macro 'enqueue' defined herenote
286:info:build : /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:macro 'enqueue' defined here
287:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h: 230note:: 9:#define enqueue(queue, elt)      enqueue_tail(queue, elt)
288:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)        ^
289:info:build         ^macro 'enqueue' defined here
290:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt):
291:info:build          ^note
292:info:build : 230:macro 'enqueue' defined here
293:info:build 9: note: #define enqueue(queue, elt)      enqueue_tail(queue, elt)macro 'enqueue' defined here
294:info:build         ^
295:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)#define enqueue(queue, elt)      enqueue_tail(queue, elt)
296:info:build         ^        ^
297:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
298:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
299:info:build         ^
300:info:build ../tuntap_mgr.cc:90:41:../tuntap_mgr.cc:90: 41: warning: warningdeclaration shadows a field of 'tuntap_manager' [-Wshadow]:
301:info:build declaration shadows a field of 'tuntap_manager' [-Wshadow]
302:info:build tuntap_manager::initialize(unsigned int count, char *family)
303:info:build                                         ^
304:info:build tuntap_manager::initialize(unsigned int count, char *family)
305:info:build                                         ^
306:info:build ../tuntap.h:83:16../tuntap.h::83: note: 16previous declaration is here:
307:info:build  note: previous declaration is here
308:info:build                 unsigned int count;
309:info:build                              ^
310:info:build                 unsigned int count;
311:info:build                              ^
312:info:build ../tuntap_mgr.cc:90:../tuntap_mgr.cc54::90 :warning54: :declaration shadows a field of 'tuntap_manager' [-Wshadow]
313:info:build warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
314:info:build tuntap_manager::initialize(unsigned int count, char *family)
315:info:build                                                      ^tuntap_manager::initialize(unsigned int count, char *family)
316:info:build ../tuntap.h:                                                     ^891:
317:info:build 9: note error generated.
318:info:build : 1previous declaration is here error
319:info:build  generated.
320:info:build ../tuntap.h:89:9:                char *family;
321:info:build                        ^
322:info:build note: previous declaration is here
323:info:build                 char *family;
324:info:build                       ^
325:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
326:info:build ../tuntap_mgr.cc:128:42:                        if (tuntaps[i]->initialize(dev_major, i))
327:info:build                                         ~~~~~~~~~~            ^
328:info:build  warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
329:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
330:info:build                         if (tuntaps[i]->initialize(dev_major, i))
331:info:build                                         ~~~~~~~~~~            ^
332:info:build                         if (tuntaps[i]->initialize(dev_major, i))../tuntap_mgr.cc
333:info:build :                                        ~~~~~~~~~~ ^~~~~~~~~128
334:info:build :31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
335:info:build                         if (tuntaps[i]->initialize(dev_major, i))
336:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
337:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
338:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
339:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
340:info:build                         ~~~~~ ^~~
341:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
342:info:build                         ~~~~~ ^~~
343:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
344:info:build ../tuntap_mgr.cc:238                        : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));:
345:info:build 20                                  ~~~~~ ^~~:
346:info:build  warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
347:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
348:info:build                                   ~~~~~ ^~~
349:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
350:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
351:info:build                         ~~~~~ ^~~
352:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
353:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
354:info:build                                   ~~~~~ ^~~
355:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
356:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
357:info:build                         ~~~~~ ^~~
358:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
359:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
360:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
361:info:build                                   ~~~~~ ^~~
362:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
363:info:build                         ~~~~~ ^~~
364:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
365:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
366:info:build                                   ~~~~~ ^~~
367:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
368:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
369:info:build                         ~~~~~ ^~~
370:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
371:info:build ../tuntap_mgr.cc:251:24:                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
372:info:build                                   ~~~~~ ^~~
373:info:build warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
374:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
375:info:build                         ~~~~~ ^~~
376:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
377:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
378:info:build                                   ~~~~~ ^~~
379:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
380:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
381:info:build                         ~~~~~ ^~~
382:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
383:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
384:info:build                                   ~~~~~ ^~~
385:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
386:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
387:info:build                         ~~~~~ ^~~
388:info:build ../tuntap_mgr.cc:272:24: warning../tuntap_mgr.cc: :implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
389:info:build 259:20: warning        return (mgr_map[major(dev)] == NULL ? EBADF
390:info:build :                         ~~~~~ ^~~
391:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
392:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
393:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
394:info:build                                   ~~~~~ ^~~
395:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
396:info:build                                   ~~~~~ ^~~
397:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
398:info:build         int dmin = minor(dev);
399:info:build                    ~~~~~ ^~~
400:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
401:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
402:info:build                         ~~~~~ ^~~
403:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
404:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
405:info:build                                   ~~~~~ ^~~
406:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
407:info:build ../tuntap_mgr.cc:272:        int dmin = minor(dev);24
408:info:build :                   ~~~~~ ^~~
409:info:build warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
410:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
411:info:build                         ~~~~~ ^~~
412:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
413:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
414:info:build                                   ~~~~~ ^~~
415:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
416:info:build         int dmin = minor(dev);
417:info:build                    ~~~~~ ^~~
418:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
419:info:build         int dmin = minor(dev);
420:info:build                    ~~~~~ ^~~
421:info:build make[1]: *** [kmod.o] Error 1
422:info:build make[1]: *** Waiting for unfinished jobs....
423:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
424:info:build ../tuntap_mgr.cc:296:19: warning:         int dmin = minor(dev);implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
425:info:build                    ~~~~~ ^~~
426:info:build         int dmin = minor(dev);
427:info:build                    ~~~~~ ^~~
428:info:build make[1]: *** [kmod.o] Error 1
429:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
430:info:build         int dmin = minor(dev);
431:info:build                    ~~~~~ ^~~
432:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
433:info:build         int dmin = minor(dev);
434:info:build                    ~~~~~ ^~~
435:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
436:info:build         int dmin = minor(dev);
437:info:build                    ~~~~~ ^~~
438:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
439:info:build         int dmin = minor(dev);
440:info:build                    ~~~~~ ^~~
441:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
442:info:build         int dmin = minor(dev);
443:info:build                    ~~~~~ ^~~
444:info:build 22 warnings and 1 error generated.
445:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
446:info:build         int dmin = minor(dev);
447:info:build                    ~~~~~ ^~~
448:info:build 22 warnings and 1 error generated.
449:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
450:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
451:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
452:info:build                                                               ^
453:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
454:info:build                                                               ^
455:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
456:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
457:info:build extern void *ifnet_softc(ifnet_t interface)
458:info:build              ^
459:info:build extern void *ifnet_softc(ifnet_t interface)
460:info:build              ^
461:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
462:info:build ../tuntap.cc:72:3: error:                 mbuf_freem_list(m);'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
463:info:build                 ^
464:info:build                 mbuf_freem_list(m);
465:info:build                 ^
466:info:build tun.cc:88:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
467:info:build         ifnet_set_mtu(ifp, TUN_MTU);
468:info:build         ^
469:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619:12: note/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h: :'mbuf_freem_list' has been explicitly marked deprecated here619:12: note:
470:info:build extern int mbuf_freem_list(mbuf_t mbuf)
471:info:build            ^
472:info:build 'mbuf_freem_list' has been explicitly marked deprecated here
473:info:build extern int mbuf_freem_list(mbuf_t mbuf)
474:info:build            ^
475:info:build ../tuntap.cc:81:49: error: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
476:info:build 1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
477:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
478:info:build                                                               ^
479:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
480:info:build :               ^872
481:info:build :14: note: 'ifnet_softc' has been explicitly marked deprecated here
482:info:build extern void *ifnet_softc(ifnet_t interface)
483:info:build              ^
484:info:build tun.cc:90:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
485:info:build         ifnet_set_hdrlen(ifp, 0);
486:info:build         ^
487:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
488:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
489:info:build                ^../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
490:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
491:info:build                                                               ^
492:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
493:info:build ../tuntap.ccextern void *ifnet_softc(ifnet_t interface):
494:info:build 83             ^:
495:info:build 26: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
496:info:build                         return ttif->if_ioctl(cmd, arg);
497:info:build                                      ~~~~~~~~ ^~~
498:info:build tun.cc:92:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
499:info:build         ifnet_set_flags(ifp, IFF_POINTOPOINT, IFF_POINTOPOINT);
500:info:build         ^
501:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
502:info:build ../tuntap.cc:83:26extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
503:info:build                ^
504:info:build ../tuntap.cc: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
505:info:build :93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
506:info:build                         return ttif->if_ioctl(cmd, arg);
507:info:build                                      ~~~~~~~~ ^~~
508:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
509:info:build                                                               ^
510:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
511:info:build extern void *ifnet_softc(ifnet_t interface)
512:info:build              ^
513:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
514:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
515:info:build                                                               ^
516:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
517:info:build extern void *ifnet_softc(ifnet_t interface)
518:info:build              ^
519:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
520:info:build tun.cc:111:18: error                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
521:info:build                                                               ^
522:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
523:info:build extern void *ifnet_softc(ifnet_t interface)
524:info:build              ^
525:info:build : 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
526:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
527:info:build                                       ^
528:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
529:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
530:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
531:info:build                                                               ^
532:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
533:info:build extern void *ifnet_softc(ifnet_t interface)../tuntap.cc
534:info:build :             ^118
535:info:build :49extern errno_t ifnet_detach_protocol(ifnet_t interface,
536:info:build                ^
537:info:build : error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
538:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
539:info:build                                                               ^
540:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
541:info:build extern void *ifnet_softc(ifnet_t interface)
542:info:build              ^
543:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
544:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
545:info:build                                                               ^
546:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
547:info:build extern void *ifnet_softc(ifnet_t interface)
548:info:build              ^
549:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
550:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
551:info:build                                                               ^
552:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note../tuntap.cc:131:49: error: : 'ifnet_softc' has been explicitly marked deprecated here
553:info:build 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
554:info:build extern void *ifnet_softc(ifnet_t interface)
555:info:build              ^
556:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
557:info:build                                                               ^
558:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
559:info:build extern void *ifnet_softc(ifnet_t interface)
560:info:build              ^
561:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
562:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
563:info:build                                                               ^
564:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
565:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
566:info:build                                                               ^
567:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14extern void *ifnet_softc(ifnet_t interface)
568:info:build              ^
569:info:build : note: 'ifnet_softc' has been explicitly marked deprecated here
570:info:build extern void *ifnet_softc(ifnet_t interface)
571:info:build              ^
572:info:build tun.cc:139:25: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
573:info:build ../tuntap.cc:156:49:                         iphdr = (struct ip*) mbuf_data(mb);
574:info:build                                              ^
575:info:build error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
576:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);../tuntap.cc:156:49: error:
577:info:build                                                               ^
578:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
579:info:build 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
580:info:build extern void *ifnet_softc(ifnet_t interface)
581:info:build              ^
582:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
583:info:build                                                               ^
584:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
585:info:build extern void *ifnet_softc(ifnet_t interface)
586:info:build              ^
587:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
588:info:build extern void *mbuf_data(mbuf_t mbuf)
589:info:build              ^
590:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
591:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
592:info:build                                                               ^
593:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14../tuntap.cc:168:49: : note: 'ifnet_softc' has been explicitly marked deprecated heretun.cc:156error
594:info:build : 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
595:info:build :10: error: 'mbuf_get' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
596:info:build extern void *ifnet_softc(ifnet_t interface)
597:info:build              ^
598:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
599:info:build                                                               ^
600:info:build                         err = mbuf_get(MBUF_WAITOK, MBUF_TYPE_DATA, &dummy_mb);/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
601:info:build :                              ^872
602:info:build :14: note/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h: :'ifnet_softc' has been explicitly marked deprecated here369
603:info:build :16: note: 'mbuf_get' has been explicitly marked deprecated here
604:info:build extern void *ifnet_softc(ifnet_t interface)
605:info:build              ^
606:info:build extern errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
607:info:build                ^
608:info:build tun.cc:163:4: error: 'mbuf_setnext' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
609:info:build                         mbuf_setnext(dummy_mb, mb);
610:info:build                         ^
611:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:863:16: note: 'mbuf_setnext' has been explicitly marked deprecated here
612:info:build extern errno_t mbuf_setnext(mbuf_t mbuf, mbuf_t next)
613:info:build                ^
614:info:build make[1]: *** [../tuntap_mgr.o] Error 1
615:info:build tun.cc:164:4: error: 'mbuf_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
616:info:build                         mbuf_setlen(dummy_mb, sizeof(u_int32_t));
617:info:build                         ^
618:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:900:13: note: 'mbuf_setlen' has been explicitly marked deprecated here
619:info:build extern void mbuf_setlen(mbuf_t mbuf, size_t len)
620:info:build             ^
621:info:build ../tuntap.cc:213../tuntap.cc:213make[1]: :37: error: too few arguments provided to function-like macro invocation
622:info:build :tun.cc37::165 :error: too few arguments provided to function-like macro invocation
623:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)*** [../tuntap_mgr.o] Error 1
624:info:build                                     ^
625:info:build 20: error: tuntap_mbuf_queue::enqueue(mbuf_t mb)
626:info:build 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]                                    ^
627:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230230:9: note:9: :                         *((u_int32_t *) mbuf_data(dummy_mb)) = htonl(af);macro 'enqueue' defined here
628:info:build note:                                         ^
629:info:build macro 'enqueue' defined here
630:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: #define enqueue(queue, elt)      enqueue_tail(queue, elt)note
631:info:build :         ^
632:info:build 'mbuf_data' has been explicitly marked deprecated here
633:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
634:info:build         ^
635:info:build extern void *mbuf_data(mbuf_t mbuf)
636:info:build              ^
637:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
638:info:build ../tuntap.cc:213:20: error: tuntap_mbuf_queue::enqueue(mbuf_t mb)
639:info:build ~~~~~~~~~~~~~~~~~~~^
640:info:build non-static data member defined out-of-line
641:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
642:info:build ~~~~~~~~~~~~~~~~~~~^
643:info:build tun.cc:171:4: error: 'mbuf_free' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
644:info:build                         mbuf_free(dummy_mb);
645:info:build                         ^
646:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:601:15: note: 'mbuf_free' has been explicitly marked deprecated here
647:info:build extern mbuf_t mbuf_free(mbuf_t mbuf)
648:info:build               ^
649:info:build tap.cc:169:16: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
650:info:build         errno_t err = ifnet_set_lladdr(ifp, LLADDR(&lladdr), ETHER_ADDR_LEN);
651:info:build                       ^
652:info:build ../tuntap.cc:213:27: error: expected ';' after top level declarator
653:info:build ../tuntap.cc:213:27: error: expected ';' after top level declarator
654:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
655:info:build                           ^
656:info:build                           ;
657:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
658:info:build                           ^
659:info:build                           ;
660:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
661:info:build tun.cc:193:4: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
662:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
663:info:build                ^
664:info:build                         ifnet_set_hdrlen(ifp, prepend_af ? sizeof(u_int32_t) : 0);
665:info:build                         ^
666:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
667:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
668:info:build                ^
669:info:build tap.cc:174:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
670:info:build ../tuntap.cc:803:30: error: too few arguments provided to function-like macro invocation
671:info:build         ifnet_set_mtu(ifp, TAP_MTU);
672:info:build         ^
673:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:                if (!send_queue.enqueue(pkt)) {16
674:info:build :                                           ^
675:info:build note: 'ifnet_set_mtu' has been explicitly marked deprecated here
676:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
677:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
678:info:build                ^
679:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
680:info:build         ^
681:info:build ../tuntap.cc:803:30: error: too few arguments provided to function-like macro invocation
682:info:build                 if (!send_queue.enqueue(pkt)) {
683:info:build                                            ^
684:info:build tap.cc:176/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
685:info:build :2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
686:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
687:info:build         ^
688:info:build         ifnet_set_hdrlen(ifp, sizeof(struct ether_header));
689:info:build         ^
690:info:build tun.cc:211:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
691:info:build         if (mbuf_len(m) < sizeof(u_int32_t))
692:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16:            ^
693:info:build note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
694:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
695:info:build extern size_t mbuf_len(const mbuf_t mbuf)
696:info:build               ^
697:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
698:info:build                ^
699:info:build tun.cc:217:35: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
700:info:build tap.cc:178:2:                 struct ip *iphdr = (struct ip*) mbuf_data(m);error
701:info:build :                                                 ^'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
702:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
703:info:build         ifnet_set_flags(ifp, IFF_BROADCAST, IFF_BROADCAST);
704:info:build         ^
705:info:build extern void *mbuf_data(mbuf_t mbuf)
706:info:build              ^/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16:
707:info:build note: 'ifnet_set_flags' has been explicitly marked deprecated here
708:info:build 1 warning and 15 errors generated.
709:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
710:info:build                ^
711:info:build 1 warning and 15 errors generated.
712:info:build tap.cc:184:29: error: 'ifnet_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
713:info:build         bpfattach(ifp, DLT_EN10MB, ifnet_hdrlen(ifp));
714:info:build                                    ^
715:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1365:17: note: 'ifnet_hdrlen' has been explicitly marked deprecated here
716:info:build extern u_int8_t ifnet_hdrlen(ifnet_t interface)
717:info:build                 ^
718:info:build tap.cc:191:2: error: 'mbuf_gethdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
719:info:build         mbuf_gethdr(MBUF_WAITOK, MBUF_TYPE_DATA, &empty_mbuf);
720:info:build         ^
721:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:382:16: note: 'mbuf_gethdr' has been explicitly marked deprecated here
722:info:build extern errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
723:info:build                ^
724:info:build tap.cc:193:3: error: 'mbuf_pkthdr_setrcvif' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
725:info:build tun.cc:266                mbuf_pkthdr_setrcvif(empty_mbuf, ifp);
726:info:build                 ^
727:info:build :/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h9::1029 :error16: :'mbuf_prepend' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
728:info:build note: 'mbuf_pkthdr_setrcvif' has been explicitly marked deprecated here
729:info:build extern errno_t mbuf_pkthdr_setrcvif(mbuf_t mbuf, ifnet_t ifp)
730:info:build                ^
731:info:build                 err = mbuf_prepend(&nm, sizeof(u_int32_t), MBUF_WAITOK);
732:info:build                       ^
733:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:tap.cc689::19416::3 :note : error'mbuf_prepend' has been explicitly marked deprecated here:
734:info:build 'mbuf_pkthdr_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
735:info:build                 mbuf_pkthdr_setlen(empty_mbuf, 0);
736:info:build                 ^
737:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:993:13: note: 'mbuf_pkthdr_setlen' has been explicitly marked deprecated here
738:info:build extern errno_t mbuf_prepend(mbuf_t *mbuf, size_t len, mbuf_how_t how)
739:info:build                ^
740:info:build extern void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len)
741:info:build             ^
742:info:build tap.cc:195:37: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
743:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
744:info:build                                                   ^
745:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
746:info:build extern void *mbuf_data(mbuf_t mbuf)
747:info:build              ^
748:info:build tap.cc:195:3: error: 'mbuf_pkthdr_setheader' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
749:info:build tun.cc:273:19: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
750:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
751:info:build                 ^
752:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1047:13: note: 'mbuf_pkthdr_setheader' has been explicitly marked deprecated here
753:info:build                 *((u_int32_t *) mbuf_data(*m)) = htonl(dest->sa_family);
754:info:build                                 ^
755:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: extern void mbuf_pkthdr_setheader(mbuf_t mbuf, void *header)'mbuf_data' has been explicitly marked deprecated here
756:info:build extern void *mbuf_data(mbuf_t mbuf)
757:info:build              ^
758:info:build             ^
759:info:build tap.cc:196:3: error: 'mbuf_set_csum_performed' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
760:info:build                 mbuf_set_csum_performed(empty_mbuf, 0, 0);
761:info:build                 ^
762:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1194:16: note: 'mbuf_set_csum_performed' has been explicitly marked deprecated here
763:info:build extern errno_t mbuf_set_csum_performed(mbuf_t mbuf,
764:info:build                ^
765:info:build tap.cc:197:7: error: 'ifnet_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
766:info:build                 if (ifnet_input(ifp, empty_mbuf, NULL) == 0) {
767:info:build                     ^
768:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1258:16: note: 'ifnet_input' has been explicitly marked deprecated here
769:info:build extern errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
770:info:build                ^
771:info:build tap.cc:204:4: error: 'mbuf_freem' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
772:info:build                         mbuf_freem(empty_mbuf);
773:info:build                         ^
774:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:609:13: note: 'mbuf_freem' has been explicitly marked deprecated here
775:info:build extern void mbuf_freem(mbuf_t mbuf)
776:info:build             ^
777:info:build tap.cc:221:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
778:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
779:info:build                                       ^
780:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
781:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
782:info:build                ^
783:info:build tun.cc:356:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
784:info:build                         free = i;
785:info:build                              ~ ^
786:info:build tap.cc:247:45: warning: implicit conversion changes signedness: 'int' to 'thread_policy_flavor_t' (aka 'unsigned int') [-Wsign-conversion]
787:info:build                         result = thread_policy_set(input_thread, -1, NULL, 0);
788:info:build                                  ~~~~~~~~~~~~~~~~~               ^~
789:info:build tun.cc:392:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
790:info:build         proto_unregister_plumber(PF_INET, IFNET_FAMILY_TUN);
791:info:build         ^
792:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
793:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
794:info:build             ^
795:info:build tun.cc:393:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
796:info:build         proto_unregister_plumber(PF_INET6, IFNET_FAMILY_TUN);
797:info:build         ^
798:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
799:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
800:info:build             ^
801:info:build tap.cc:281:19: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
802:info:build                                 errno_t err = ifnet_set_lladdr(ifp, ea->sa_data, ETHER_ADDR_LEN);
803:info:build                                               ^
804:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
805:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
806:info:build                ^
807:info:build tun.cc:406:8: error: 'proto_register_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
808:info:build         err = proto_register_plumber(PF_INET, IFNET_FAMILY_TUN, tun_inet_attach, tun_inet_detach);
809:info:build               ^
810:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:122:16: note: 'proto_register_plumber' has been explicitly marked deprecated here
811:info:build extern errno_t proto_register_plumber(protocol_family_t proto_fam,
812:info:build                ^
813:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
814:info:build 1 warning and 20 errors generated.
815:info:build tap.cc:348:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
816:info:build         if (mbuf_len(m) < sizeof(struct ether_header))
817:info:build             ^
818:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
819:info:build extern size_t mbuf_len(const mbuf_t mbuf)
820:info:build               ^
821:info:build tap.cc:356:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
822:info:build                         mbuf_setflags_mask(m, MBUF_BCAST, MBUF_BCAST);
823:info:build                         ^
824:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
825:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
826:info:build                ^
827:info:build tap.cc:360:make[1]: make[1]: *** [../tuntap.o] Error 1
828:info:build 4*** [../tuntap.o] Error 1
829:info:build : error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
830:info:build                         mbuf_setflags_mask(m, MBUF_MCAST, MBUF_MCAST);
831:info:build                         ^
832:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
833:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
834:info:build                ^
835:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
836:info:build 1 warning and 20 errors generated.
837:info:build make[1]: *** [tun.o] Error 1
838:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
839:info:build make: *** [tun.kext] Error 2
840:info:build make: *** Waiting for unfinished jobs....
841:info:build make[1]: *** [tap.o] Error 1
842:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
843:info:build make: *** [tap.kext] Error 2
844:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
845:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
846:info:build Exit code: 2
847:error:build Failed to build tuntaposx: command execution failed
848:debug:build Error code: CHILDSTATUS 1333 2
849:debug:build Backtrace: command execution failed
850:debug:build     while executing
851:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
852:debug:build     invoked from within
853:debug:build "command_exec -callback portprogress::target_progress_callback build"
854:debug:build     (procedure "portbuild::build_main" line 8)
855:debug:build     invoked from within
856:debug:build "$procedure $targetname"
857:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.
858version:1
859:debug:main Starting logging for tuntaposx @20150118_0
860:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch i386
861:debug:sysinfo MacPorts 2.7.1
862:debug:sysinfo Xcode 13.1
863:debug:sysinfo SDK 12
864:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
865:debug:main dropping privileges: euid changed to 502, egid changed to 501.
866:debug:main Executing org.macports.main (tuntaposx)
867:debug:main Privilege de-escalation not attempted as not running as root.
868:debug:archivefetch archivefetch phase started at Wed Dec 22 16:10:15 -04 2021
869:msg:archivefetch --->  Fetching archive for tuntaposx
870:debug:archivefetch Executing org.macports.archivefetch (tuntaposx)
871:debug:archivefetch euid/egid changed to: 0/0
872:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
873:debug:archivefetch euid/egid changed to: 502/501
874:info:archivefetch --->  tuntaposx-20150118_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
875:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/tuntaposx
876:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
877:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
878:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
879:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/tuntaposx
880:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
881:debug:archivefetch Privilege de-escalation not attempted as not running as root.
882:debug:archivefetch Skipping completed org.macports.fetch (tuntaposx)
883:debug:archivefetch Privilege de-escalation not attempted as not running as root.
884:debug:archivefetch Skipping completed org.macports.checksum (tuntaposx)
885:debug:archivefetch Privilege de-escalation not attempted as not running as root.
886:debug:archivefetch Skipping completed org.macports.extract (tuntaposx)
887:debug:archivefetch Privilege de-escalation not attempted as not running as root.
888:debug:archivefetch Skipping completed org.macports.patch (tuntaposx)
889:debug:archivefetch Privilege de-escalation not attempted as not running as root.
890:debug:archivefetch Skipping completed org.macports.configure (tuntaposx)
891:debug:archivefetch Privilege de-escalation not attempted as not running as root.
892:debug:build build phase started at Wed Dec 22 16:10:18 -04 2021
893:notice:build --->  Building tuntaposx
894:debug:build Executing org.macports.build (tuntaposx)
895:debug:build Environment:
896:debug:build CC_PRINT_OPTIONS='YES'
897:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
898:debug:build CPATH='/opt/local/include'
899:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
900:debug:build LIBRARY_PATH='/opt/local/lib'
901:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
902:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
903:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
904:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
905:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
906:info:build cd src/tap && make TUNTAP_VERSION=20150118 -f Makefile all
907:info:build cd src/tun && make TUNTAP_VERSION=20150118 -f Makefile all
908:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
909:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
910:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
911:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
912:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
913:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
914:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
915:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
916:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tap.cc -o tap.o
917:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet_proto.c -o tun_inet_proto.o
918:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet6_proto.c -o tun_inet6_proto.o
919:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun.cc -o tun.o
920:info:build tun_inet_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
921:info:build         return proto_input(PF_INET, m);
922:info:build                ^
923:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
924:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
925:info:build                ^
926:info:build tun_inet_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
927:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
928:info:build                ^
929:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
930:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
931:info:build                ^
932:info:build tun_inet_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
933:info:build         ifnet_detach_protocol(ifp, proto);
934:info:build         ^
935:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
936:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
937:info:build                ^
938:info:build 3 errors generated.
939:info:build make[1]: *** [tun_inet_proto.o] Error 1
940:info:build make[1]: *** Waiting for unfinished jobs....
941:info:build tun_inet6_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
942:info:build         return proto_input(PF_INET6, m);
943:info:build                ^
944:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
945:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
946:info:build                ^
947:info:build tun_inet6_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
948:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
949:info:build                ^
950:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
951:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
952:info:build                ^
953:info:build tun_inet6_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
954:info:build         ifnet_detach_protocol(ifp, proto);
955:info:build         ^
956:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
957:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
958:info:build                ^
959:info:build 3 errors generated.
960:info:build make[1]: *** [tun_inet6_proto.o] Error 1
961:info:build In file included from kmod.cc:30:
962:info:build In file included from ./tun.h:31In file included from tap.cc:30:
963:info:build :
964:info:build ../tuntap.h:173:25: In file included from error: too few arguments provided to function-like macro invocation
965:info:build ./tap.h:31:
966:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
967:info:build                 bool enqueue(mbuf_t mb);
968:info:build                                       ^
969:info:build                 bool enqueue(mbuf_t mb);
970:info:build                                       ^
971:info:build In file included from ../tuntap_mgr.cc:30:
972:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
973:info:build                 bool enqueue(mbuf_t mb);
974:info:build                                       ^
975:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
976:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
977:info:build         ^
978:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.hmacro 'enqueue' defined here:
979:info:build 230:9: note: macro 'enqueue' defined here
980:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
981:info:build         ^
982:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
983:info:build         ^
984:info:build ../tuntap_mgr.cc:90:41: warning: In file included from declaration shadows a field of 'tuntap_manager' [-Wshadow]
985:info:build kmod.cc:30:
986:info:build In file included from ./tap.h:tuntap_manager::initialize(unsigned int count, char *family)31
987:info:build :
988:info:build                                         ^
989:info:build ../tuntap.h:173:../tuntap.h:83:16:25 note: previous declaration is here
990:info:build : error: too few arguments provided to function-like macro invocation                unsigned int count;
991:info:build                              ^
992:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
993:info:build tuntap_manager::initialize(unsigned int count, char *family)
994:info:build                                                      ^
995:info:build ../tuntap.h:89:9:                 bool enqueue(mbuf_t mb);note: previous declaration is here
996:info:build                                       ^
997:info:build                 char *family;
998:info:build                       ^
999:info:build 1 error generated.
1000:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1001:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1002:info:build         ^
1003:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
1004:info:build                         if (tuntaps[i]->initialize(dev_major, i))
1005:info:build                                         ~~~~~~~~~~            ^
1006:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
1007:info:build                         if (tuntaps[i]->initialize(dev_major, i))
1008:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
1009:info:build In file included from ../tuntap_mgr.cc:30:
1010:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1011:info:build In file included from ../tuntap.cc:30:
1012:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1013:info:build                 bool enqueue(mbuf_t mb);
1014:info:build                                       ^
1015:info:build                 bool enqueue(mbuf_t mb);
1016:info:build                                       ^
1017:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1018:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1019:info:build         ^
1020:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1021:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1022:info:build         ^
1023:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1024:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
1025:info:build                         ~~~~~ ^~~
1026:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1027:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
1028:info:build                                   ~~~~~ ^~~
1029:info:build In file included from ../tuntap.cc:30:
1030:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1031:info:build                 bool enqueue(mbuf_t mb);
1032:info:build                                       ^
1033:info:build In file included from tun.cc:30:
1034:info:build In file included from ./tun.h:31:
1035:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1036:info:build                 bool enqueue(mbuf_t mb);
1037:info:build                                       ^
1038:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1039:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1040:info:build                         ~~~~~ ^~~
1041:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h
1042:info:build :230:9: note: macro 'enqueue' defined here
1043:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1044:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
1045:info:build                                   ~~~~~ ^~~
1046:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)#define enqueue(queue, elt)      enqueue_tail(queue, elt)
1047:info:build         ^        ^
1048:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1049:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1050:info:build                         ~~~~~ ^~~
1051:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1052:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
1053:info:build                                   ~~~~~ ^~~
1054:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1055:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1056:info:build                         ~~~~~ ^~~
1057:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1058:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
1059:info:build                                   ~~~~~ ^~~
1060:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1061:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1062:info:build                         ~~~~~ ^~~
1063:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1064:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
1065:info:build                                   ~~~~~ ^~~
1066:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1067:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1068:info:build                         ~~~~~ ^~~
1069:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1070:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
1071:info:build                                   ~~~~~ ^~~
1072:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1073:info:build 1 error generated.
1074:info:build         int dmin = minor(dev);
1075:info:build                    ~~~~~ ^~~
1076:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1077:info:build         int dmin = minor(dev);
1078:info:build                    ~~~~~ ^~~
1079:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1080:info:build         int dmin = minor(dev);
1081:info:build                    ~~~~~ ^~~
1082:info:build make[1]: *** [kmod.o] Error 1
1083:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1084:info:build         int dmin = minor(dev);
1085:info:build                    ~~~~~ ^~~
1086:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1087:info:build         int dmin = minor(dev);
1088:info:build                    ~~~~~ ^~~
1089:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1090:info:build         int dmin = minor(dev);
1091:info:build                    ~~~~~ ^~~
1092:info:build ../tuntap_mgr.cc:90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
1093:info:build tuntap_manager::initialize(unsigned int count, char *family)
1094:info:build                                         ^
1095:info:build ../tuntap.h:83:16: note: previous declaration is here
1096:info:build                 unsigned int count;
1097:info:build                              ^
1098:info:build ../tuntap_mgr.cc:90:54tap.cc:169:16: error: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
1099:info:build : 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1100:info:build tuntap_manager::initialize(unsigned int count, char *family)
1101:info:build                                                      ^
1102:info:build ../tuntap.h:89:9: note: previous declaration is here
1103:info:build         errno_t err = ifnet_set_lladdr(ifp, LLADDR(&lladdr), ETHER_ADDR_LEN);
1104:info:build                       ^                char *family;
1105:info:build                       ^
1106:info:build 22 warnings and 1 error generated.
1107:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
1108:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
1109:info:build                ^
1110:info:build tap.cc:174:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1111:info:build         ifnet_set_mtu(ifp, TAP_MTU);
1112:info:build         ^
1113:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
1114:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
1115:info:build                ^
1116:info:build tap.cc:176:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1117:info:build         ifnet_set_hdrlen(ifp, sizeof(struct ether_header));
1118:info:build         ^
1119:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
1120:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
1121:info:build                ^
1122:info:build tap.cc:178:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1123:info:build         ifnet_set_flags(ifp, IFF_BROADCAST, IFF_BROADCAST);
1124:info:build         ^
1125:info:build ../tuntap_mgr.cc/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::128:42: 929warning:: 16implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]:
1126:info:build  note:                         if (tuntaps[i]->initialize(dev_major, i))
1127:info:build 'ifnet_set_flags' has been explicitly marked deprecated here
1128:info:build                                         ~~~~~~~~~~            ^
1129:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
1130:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
1131:info:build                ^
1132:info:build                         if (tuntaps[i]->initialize(dev_major, i))
1133:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
1134:info:build tap.cc:184:29: error: 'ifnet_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1135:info:build         bpfattach(ifp, DLT_EN10MB, ifnet_hdrlen(ifp));
1136:info:build                                    ^
1137:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1365:17: note: 'ifnet_hdrlen' has been explicitly marked deprecated here
1138:info:build extern u_int8_t ifnet_hdrlen(ifnet_t interface)
1139:info:build                 ^
1140:info:build tap.cc:191:2: error: 'mbuf_gethdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1141:info:build         mbuf_gethdr(MBUF_WAITOK, MBUF_TYPE_DATA, &empty_mbuf);
1142:info:build         ^
1143:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:382:16: note: 'mbuf_gethdr' has been explicitly marked deprecated here
1144:info:build extern errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
1145:info:build                ^
1146:info:build tap.cc:193:3: error: 'mbuf_pkthdr_setrcvif' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1147:info:build                 mbuf_pkthdr_setrcvif(empty_mbuf, ifp);
1148:info:build                 ^
1149:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1029:16: note: 'mbuf_pkthdr_setrcvif' has been explicitly marked deprecated here
1150:info:build extern errno_t mbuf_pkthdr_setrcvif(mbuf_t mbuf, ifnet_t ifp)
1151:info:build                ^
1152:info:build tap.cc:194:3: error: 'mbuf_pkthdr_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1153:info:build                 mbuf_pkthdr_setlen(empty_mbuf, 0);
1154:info:build                 ^
1155:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:993:13: note: 'mbuf_pkthdr_setlen' has been explicitly marked deprecated here
1156:info:build extern void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len)
1157:info:build             ^
1158:info:build tap.cc:195:37: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1159:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
1160:info:build                                                   ^
1161:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
1162:info:build extern void *mbuf_data(mbuf_t mbuf)
1163:info:build              ^
1164:info:build tap.cc:195:3: error: 'mbuf_pkthdr_setheader' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1165:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
1166:info:build                 ^
1167:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1047:13: note: 'mbuf_pkthdr_setheader' has been explicitly marked deprecated here
1168:info:build extern void mbuf_pkthdr_setheader(mbuf_t mbuf, void *header)
1169:info:build             ^
1170:info:build tap.cc:196:3: error: 'mbuf_set_csum_performed' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1171:info:build                 mbuf_set_csum_performed(empty_mbuf, 0, 0);
1172:info:build                 ^
1173:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1194:16: note: 'mbuf_set_csum_performed' has been explicitly marked deprecated here
1174:info:build extern errno_t mbuf_set_csum_performed(mbuf_t mbuf,
1175:info:build                ^
1176:info:build tap.cc:197:7: error: 'ifnet_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1177:info:build                 if (ifnet_input(ifp, empty_mbuf, NULL) == 0) {
1178:info:build                     ^
1179:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1258:16../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]:
1180:info:build  note: 'ifnet_input' has been explicitly marked deprecated here
1181:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
1182:info:build                         ~~~~~ ^~~
1183:info:build extern errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
1184:info:build                ^
1185:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1186:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
1187:info:build                                   ~~~~~ ^~~
1188:info:build ../tuntap_mgr.cc:244make[1]: *** [kmod.o] Error 1
1189:info:build :make[1]: *** Waiting for unfinished jobs....
1190:info:build 24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1191:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1192:info:build                         ~~~~~ ^~~
1193:info:build ../tuntap_mgr.cc:245:20: warning: tap.cc:204:4:implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1194:info:build error: 'mbuf_freem' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1195:info:build                         mbuf_freem(empty_mbuf);
1196:info:build                         ^
1197:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
1198:info:build                                   ~~~~~ ^~~
1199:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:609:13: note: 'mbuf_freem' has been explicitly marked deprecated here
1200:info:build extern void mbuf_freem(mbuf_t mbuf)
1201:info:build             ^
1202:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1203:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1204:info:build                         ~~~~~ ^~~
1205:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1206:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
1207:info:build                                   ~~~~~ ^~~
1208:info:build tap.cc:221:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1209:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
1210:info:build                                       ^
1211:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
1212:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
1213:info:build                ^
1214:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1215:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1216:info:build                         ~~~~~ ^~~
1217:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1218:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
1219:info:build                                   ~~~~~ ^~~
1220:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1221:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1222:info:build                         ~~~~~ ^~~
1223:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1224:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
1225:info:build                                   ~~~~~ ^~~
1226:info:build tap.cc:247:45: warning: implicit conversion changes signedness: 'int' to 'thread_policy_flavor_t' (aka 'unsigned int') [-Wsign-conversion]
1227:info:build                         result = thread_policy_set(input_thread, -1, NULL, 0);
1228:info:build                                  ~~~~~~~~~~~~~~~~~               ^~
1229:info:build tun.cc:88:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1230:info:build         ifnet_set_mtu(ifp, TUN_MTU);
1231:info:build         ^
1232:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1233:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1234:info:build                         ~~~~~ ^~~
1235:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1236:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
1237:info:build                                   ~~~~~ ^~~
1238:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1239:info:build         int dmin = minor(dev);
1240:info:build                    ~~~~~ ^~~/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
1241:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
1242:info:build                ^
1243:info:build tun.cc:90:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1244:info:build         ifnet_set_hdrlen(ifp, 0);
1245:info:build         ^
1246:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
1247:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
1248:info:build                ^
1249:info:build tun.cc:92:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1250:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1251:info:build         ifnet_set_flags(ifp, IFF_POINTOPOINT, IFF_POINTOPOINT);
1252:info:build         ^
1253:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h../tuntap_mgr.cc:296:19:: warning929: :16:tap.cc:281:implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]19:
1254:info:build                  tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);note:
1255:info:build  'ifnet_set_flags' has been explicitly marked deprecated here
1256:info:build                                                               ^error
1257:info:build : 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1258:info:build         int dmin = minor(dev);
1259:info:build                    ~~~~~ ^~~
1260:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
1261:info:build                ^
1262:info:build                                 errno_t err = ifnet_set_lladdr(ifp, ea->sa_data, ETHER_ADDR_LEN);
1263:info:build                                               ^
1264:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
1265:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
1266:info:build                ^
1267:info:build make[1]: *** [../tuntap_mgr.o] Error 1
1268:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1269:info:build ../tuntap_mgr.ccextern void *ifnet_softc(ifnet_t interface):
1270:info:build 312             ^:
1271:info:build 19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1272:info:build         int dmin = minor(dev);
1273:info:build                    ~~~~~ ^~~
1274:info:build tun.cc:111:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1275:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
1276:info:build                                       ^
1277:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
1278:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1279:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
1280:info:build                ^
1281:info:build                 mbuf_freem_list(m);
1282:info:build                 ^
1283:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1284:info:build         int dmin = minor(dev);
1285:info:build                    ~~~~~ ^~~
1286:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619:12: note: 'mbuf_freem_list' has been explicitly marked deprecated here
1287:info:build extern int mbuf_freem_list(mbuf_t mbuf)
1288:info:build            ^
1289:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1290:info:build         int dmin = minor(dev);
1291:info:build                    ~~~~~ ^~~
1292:info:build ../tuntap.cc:81:49: error../tuntap.cc:66:49: : error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1293:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1294:info:build                                                               ^
1295:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1296:info:build                                                               ^
1297:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1298:info:build extern void *ifnet_softc(ifnet_t interface)
1299:info:build              ^
1300:info:build ../tuntap.cc:83:26:../tuntap_mgr.cc:360:19: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
1301:info:build  warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1302:info:build                         return ttif->if_ioctl(cmd, arg);        int dmin = minor(dev);
1303:info:build                                      ~~~~~~~~ ^~~                   ~~~~~ ^~~
1304:info:build tun.cc:139:25:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h :error872: :'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]14
1305:info:build : note: 'ifnet_softc' has been explicitly marked deprecated here
1306:info:build tap.cc:348:6:                        iphdr = (struct ip*) mbuf_data(mb);
1307:info:build error                                             ^:
1308:info:build 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1309:info:build extern void *ifnet_softc(ifnet_t interface)
1310:info:build              ^
1311:info:build         if (mbuf_len(m) < sizeof(struct ether_header))
1312:info:build             ^
1313:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
1314:info:build ../tuntap.cc:93:49: errorextern size_t mbuf_len(const mbuf_t mbuf):
1315:info:build 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]              ^
1316:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1317:info:build                                                               ^
1318:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1319:info:build ../tuntap.cc:72:3: extern void *ifnet_softc(ifnet_t interface)error
1320:info:build :              ^'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1321:info:build                 mbuf_freem_list(m);
1322:info:build                 ^
1323:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
1324:info:build extern void *mbuf_data(mbuf_t mbuf)
1325:info:build              ^
1326:info:build tap.cc:356:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1327:info:build                         mbuf_setflags_mask(m, MBUF_BCAST, MBUF_BCAST);
1328:info:build                         ^
1329:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
1330:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
1331:info:build                ^
1332:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1333:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1334:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h                                                              ^:
1335:info:build 619:12:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:tap.cc:360:4: note: 872'mbuf_freem_list' has been explicitly marked deprecated here: 14error::
1336:info:build tun.cc'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations] 22
1337:info:build note: :'ifnet_softc' has been explicitly marked deprecated here156
1338:info:build :10: warnings and extern int mbuf_freem_list(mbuf_t mbuf)
1339:info:build             ^error1:                         mbuf_setflags_mask(m, MBUF_MCAST, MBUF_MCAST);
1340:info:build extern void *ifnet_softc(ifnet_t interface)
1341:info:build              ^
1342:info:build 'mbuf_get' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1343:info:build                         ^
1344:info:build  error generated/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h.
1345:info:build :964:16:                        err = mbuf_get(MBUF_WAITOK, MBUF_TYPE_DATA, &dummy_mb);
1346:info:build note                              ^:
1347:info:build 'mbuf_setflags_mask' has been explicitly marked deprecated here
1348:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:369:16: note: 'mbuf_get' has been explicitly marked deprecated here
1349:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
1350:info:build                ^
1351:info:build extern errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
1352:info:build                ^
1353:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
1354:info:build tun.cc:163:4: error: 'mbuf_setnext' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1355:info:build ../tuntap.cc:118:49: error                        mbuf_setnext(dummy_mb, mb);
1356:info:build                         ^
1357:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h: ../tuntap.cc::863:'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1358:info:build 81:16:49 :note : error: 'mbuf_setnext' has been explicitly marked deprecated here
1359:info:build 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1360:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1361:info:build                                                               ^
1362:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.hextern errno_t mbuf_setnext(mbuf_t mbuf, mbuf_t next)
1363:info:build                ^
1364:info:build :                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1365:info:build 872                                                              ^
1366:info:build :14: note: 'ifnet_softc' has been explicitly marked deprecated here
1367:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1368:info:build extern void *ifnet_softc(ifnet_t interface)
1369:info:build              ^
1370:info:build extern void *ifnet_softc(ifnet_t interface)
1371:info:build              ^
1372:info:build tun.cc:164:4: error: 'mbuf_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1373:info:build                         mbuf_setlen(dummy_mb, sizeof(u_int32_t));
1374:info:build                         ^
1375:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:900:13: note: 'mbuf_setlen' has been explicitly marked deprecated here
1376:info:build extern void mbuf_setlen(mbuf_t mbuf, size_t len)
1377:info:build             ^
1378:info:build tun.cc:165:20: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1379:info:build                         *((u_int32_t *) mbuf_data(dummy_mb)) = htonl(af);
1380:info:build                                         ^
1381:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
1382:info:build extern void *mbuf_data(mbuf_t mbuf)../tuntap.cc:83:26:
1383:info:build               ^warning
1384:info:build : implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
1385:info:build                         return ttif->if_ioctl(cmd, arg);
1386:info:build                                      ~~~~~~~~ ^~~
1387:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1388:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1389:info:build                                                               ^
1390:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1391:info:build extern void *ifnet_softc(ifnet_t interface)
1392:info:build              ^
1393:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1394:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1395:info:build                                                               ^
1396:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1397:info:build tun.cc:171:4: error: extern void *ifnet_softc(ifnet_t interface)'mbuf_free' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1398:info:build              ^
1399:info:build                         mbuf_free(dummy_mb);
1400:info:build                         ^
1401:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:601:15: note: 'mbuf_free' has been explicitly marked deprecated here
1402:info:build extern mbuf_t mbuf_free(mbuf_t mbuf)
1403:info:build               ^
1404:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1405:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1406:info:build                                                               ^
1407:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1408:info:build extern void *ifnet_softc(ifnet_t interface)
1409:info:build              ^
1410:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1411:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1412:info:build                                                               ^
1413:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1414:info:build extern void *ifnet_softc(ifnet_t interface)
1415:info:build              ^
1416:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1417:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1418:info:build                                                               ^
1419:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1420:info:build extern void *ifnet_softc(ifnet_t interface)
1421:info:build              ^
1422:info:build tun.cc:193:4: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1423:info:build                         ifnet_set_hdrlen(ifp, prepend_af ? sizeof(u_int32_t) : 0);
1424:info:build                         ^../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1425:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
1426:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1427:info:build                                                               ^
1428:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)'ifnet_softc' has been explicitly marked deprecated here
1429:info:build                ^
1430:info:build extern void *ifnet_softc(ifnet_t interface)
1431:info:build              ^
1432:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1433:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1434:info:build                                                               ^
1435:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1436:info:build extern void *ifnet_softc(ifnet_t interface)
1437:info:build              ^
1438:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1439:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1440:info:build                                                               ^
1441:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872tun.cc:211:6: :error: 14'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
1442:info:build  note: 'ifnet_softc' has been explicitly marked deprecated here
1443:info:build         if (mbuf_len(m) < sizeof(u_int32_t))
1444:info:build             ^
1445:info:build extern void *ifnet_softc(ifnet_t interface)
1446:info:build              ^/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h
1447:info:build :890:15: note: 'mbuf_len' has been explicitly marked deprecated here
1448:info:build extern size_t mbuf_len(const mbuf_t mbuf)
1449:info:build               ^
1450:info:build tun.cc:../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1451:info:build 217:35: error:                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1452:info:build                                                               ^
1453:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1454:info:build : note: 'ifnet_softc' has been explicitly marked deprecated here
1455:info:build extern void *ifnet_softc(ifnet_t interface)
1456:info:build              ^
1457:info:build                 struct ip *iphdr = (struct ip*) mbuf_data(m);
1458:info:build                                                 ^
1459:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
1460:info:build extern void *mbuf_data(mbuf_t mbuf)
1461:info:build              ^
1462:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
1463:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
1464:info:build                                     ^
1465:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1466:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1467:info:build         ^
1468:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
1469:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
1470:info:build ~~~~~~~~~~~~~~~~~~~^
1471:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1472:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1473:info:build                                                               ^
1474:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1475:info:build extern void *ifnet_softc(ifnet_t interface)
1476:info:build              ^
1477:info:build ../tuntap.cc:213:27: error: expected ';' after top level declarator
1478:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
1479:info:build                           ^
1480:info:build                           ;
1481:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1482:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1483:info:build                                                               ^
1484:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1485:info:build extern void *ifnet_softc(ifnet_t interface)
1486:info:build              ^
1487:info:build tun.cc:266:9: error: 'mbuf_prepend' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1488:info:build                 err = mbuf_prepend(&nm, sizeof(u_int32_t), MBUF_WAITOK);
1489:info:build                       ^
1490:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:689:16: note: 'mbuf_prepend' has been explicitly marked deprecated here
1491:info:build extern errno_t mbuf_prepend(mbuf_t *mbuf, size_t len, mbuf_how_t how)
1492:info:build                ^
1493:info:build ../tuntap.cc:803:30: error: too few arguments provided to function-like macro invocation
1494:info:build tun.cc                if (!send_queue.enqueue(pkt)) {:
1495:info:build 273                                           ^:
1496:info:build 19: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1497:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1498:info:build                 *((u_int32_t *) mbuf_data(*m)) = htonl(dest->sa_family);
1499:info:build                                 ^
1500:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
1501:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1502:info:build         ^
1503:info:build extern void *mbuf_data(mbuf_t mbuf)
1504:info:build              ^
1505:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
1506:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
1507:info:build                                     ^
1508:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1509:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1510:info:build         ^
1511:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
1512:info:build 1 warning and tuntap_mbuf_queue::enqueue(mbuf_t mb)20
1513:info:build  error~~~~~~~~~~~~~~~~~~~^s
1514:info:build  generated.
1515:info:build ../tuntap.cc:2131: warning27 and :15  errorerrors:  generatedexpected ';' after top level declarator.
1516:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
1517:info:build                           ^
1518:info:build                           ;
1519:info:build ../tuntap.cc:803:30: error: too few arguments provided to function-like macro invocation
1520:info:build                 if (!send_queue.enqueue(pkt)) {
1521:info:build                                            ^
1522:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1523:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1524:info:build         ^
1525:info:build 1 warning and 15 errors generated.
1526:info:build make[1]: *** [../tuntap_mgr.o] Error 1
1527:info:build tun.cc:356:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
1528:info:build                         free = i;
1529:info:build                              ~ ^
1530:info:build tun.cc:392:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1531:info:build         proto_unregister_plumber(PF_INET, IFNET_FAMILY_TUN);
1532:info:build         ^
1533:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
1534:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
1535:info:build             ^
1536:info:build tun.cc:393:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1537:info:build         proto_unregister_plumber(PF_INET6, IFNET_FAMILY_TUN);
1538:info:build         ^
1539:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
1540:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
1541:info:build             ^
1542:info:build tun.cc:406:8: error: 'proto_register_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1543:info:build         err = proto_register_plumber(PF_INET, IFNET_FAMILY_TUN, tun_inet_attach, tun_inet_detach);
1544:info:build               ^
1545:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:122:16: note: 'proto_register_plumber' has been explicitly marked deprecated here
1546:info:build extern errno_t proto_register_plumber(protocol_family_t proto_fam,
1547:info:build                ^
1548:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
1549:info:build 1 warning and 20 errors generated.
1550:info:build make[1]: *** [tap.o] Error 1
1551:info:build make[1]: *** [../tuntap.o] Error 1
1552:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
1553:info:build make[1]: *** [../tuntap.o] Error 1
1554:info:build make: *** [tap.kext] Error 2
1555:info:build make: *** Waiting for unfinished jobs....
1556:info:build make[1]: *** [tun.o] Error 1
1557:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
1558:info:build make: *** [tun.kext] Error 2
1559:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
1560:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
1561:info:build Exit code: 2
1562:error:build Failed to build tuntaposx: command execution failed
1563:debug:build Error code: CHILDSTATUS 1384 2
1564:debug:build Backtrace: command execution failed
1565:debug:build     while executing
1566:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
1567:debug:build     invoked from within
1568:debug:build "command_exec -callback portprogress::target_progress_callback build"
1569:debug:build     (procedure "portbuild::build_main" line 8)
1570:debug:build     invoked from within
1571:debug:build "$procedure $targetname"
1572:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.
1573version:1
1574:debug:main Starting logging for tuntaposx @20150118_0
1575:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch i386
1576:debug:sysinfo MacPorts 2.7.1
1577:debug:sysinfo Xcode 13.1
1578:debug:sysinfo SDK 12
1579:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
1580:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/work
1581:debug:main dropping privileges: euid changed to 502, egid changed to 501.
1582:debug:main Executing org.macports.main (tuntaposx)
1583:debug:main Privilege de-escalation not attempted as not running as root.
1584:debug:archivefetch archivefetch phase started at Wed Dec 22 16:12:59 -04 2021
1585:msg:archivefetch --->  Fetching archive for tuntaposx
1586:debug:archivefetch Executing org.macports.archivefetch (tuntaposx)
1587:debug:archivefetch euid/egid changed to: 0/0
1588:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
1589:debug:archivefetch euid/egid changed to: 502/501
1590:info:archivefetch --->  tuntaposx-20150118_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
1591:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/tuntaposx
1592:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
1593:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
1594:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
1595:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/tuntaposx
1596:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
1597:debug:archivefetch Privilege de-escalation not attempted as not running as root.
1598:debug:archivefetch Skipping completed org.macports.fetch (tuntaposx)
1599:debug:archivefetch Privilege de-escalation not attempted as not running as root.
1600:debug:archivefetch Skipping completed org.macports.checksum (tuntaposx)
1601:debug:archivefetch Privilege de-escalation not attempted as not running as root.
1602:debug:archivefetch Skipping completed org.macports.extract (tuntaposx)
1603:debug:archivefetch Privilege de-escalation not attempted as not running as root.
1604:debug:archivefetch Skipping completed org.macports.patch (tuntaposx)
1605:debug:archivefetch Privilege de-escalation not attempted as not running as root.
1606:debug:archivefetch Skipping completed org.macports.configure (tuntaposx)
1607:debug:archivefetch Privilege de-escalation not attempted as not running as root.
1608:debug:build build phase started at Wed Dec 22 16:13:02 -04 2021
1609:notice:build --->  Building tuntaposx
1610:debug:build Executing org.macports.build (tuntaposx)
1611:debug:build Environment:
1612:debug:build CC_PRINT_OPTIONS='YES'
1613:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
1614:debug:build CPATH='/opt/local/include'
1615:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
1616:debug:build LIBRARY_PATH='/opt/local/lib'
1617:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
1618:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
1619:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
1620:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
1621:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
1622:info:build cd src/tap && make TUNTAP_VERSION=20150118 -f Makefile all
1623:info:build cd src/tun && make TUNTAP_VERSION=20150118 -f Makefile all
1624:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
1625:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
1626:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
1627:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
1628:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
1629:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
1630:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
1631:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
1632:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tap.cc -o tap.o
1633:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet_proto.c -o tun_inet_proto.o
1634:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet6_proto.c -o tun_inet6_proto.o
1635:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun.cc -o tun.o
1636:info:build tun_inet6_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1637:info:build         return proto_input(PF_INET6, m);
1638:info:build                ^
1639:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
1640:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
1641:info:build                ^
1642:info:build tun_inet6_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1643:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
1644:info:build                ^
1645:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
1646:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
1647:info:build                ^
1648:info:build tun_inet6_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1649:info:build         ifnet_detach_protocol(ifp, proto);
1650:info:build         ^
1651:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
1652:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
1653:info:build                ^
1654:info:build 3 errors generated.
1655:info:build tun_inet_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1656:info:build         return proto_input(PF_INET, m);
1657:info:build                ^
1658:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
1659:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
1660:info:build                ^
1661:info:build make[1]: *** [tun_inet6_proto.o] Error 1
1662:info:build make[1]: *** Waiting for unfinished jobs....
1663:info:build tun_inet_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1664:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
1665:info:build                ^
1666:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
1667:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
1668:info:build                ^
1669:info:build tun_inet_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1670:info:build         ifnet_detach_protocol(ifp, proto);
1671:info:build         ^
1672:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
1673:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
1674:info:build                ^
1675:info:build 3 errors generated.
1676:info:build make[1]: *** [tun_inet_proto.o] Error 1
1677:info:build In file included from ../tuntap_mgr.cc:30:
1678:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1679:info:build                 bool enqueue(mbuf_t mb);
1680:info:build                                       ^
1681:info:build In file included from ../tuntap.cc:30:
1682:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1683:info:build In file included from kmod.cc:30:
1684:info:build In file included from ./tap.h:                bool enqueue(mbuf_t mb);
1685:info:build                                       ^
1686:info:build 31:
1687:info:build ../tuntap.h:173:25/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: :note error: : macro 'enqueue' defined here
1688:info:build too few arguments provided to function-like macro invocation
1689:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1690:info:build         ^
1691:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1692:info:build                 bool enqueue(mbuf_t mb);
1693:info:build                                       ^
1694:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1695:info:build         ^
1696:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1697:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1698:info:build         ^
1699:info:build In file included from tap.cc:30:
1700:info:build In file included from ./tap.h:31:
1701:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1702:info:build                 bool enqueue(mbuf_t mb);
1703:info:build                                       ^
1704:info:build In file included from kmod.cc:30:
1705:info:build In file included from ./tun.h:31:
1706:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1707:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1708:info:build                 bool enqueue(mbuf_t mb);
1709:info:build                                       ^
1710:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1711:info:build         ^
1712:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1713:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1714:info:build         ^
1715:info:build In file included from ../tuntap.cc:30:
1716:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1717:info:build                 bool enqueue(mbuf_t mb);
1718:info:build                                       ^
1719:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1720:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1721:info:build         ^
1722:info:build In file included from tun.cc:30:
1723:info:build In file included from ./tun.h:31:
1724:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
1725:info:build                 bool enqueue(mbuf_t mb);
1726:info:build                                       ^
1727:info:build ../tuntap_mgr.cc/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h::90230::419: note: macro 'enqueue' defined here
1728:info:build : warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
1729:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1730:info:build         ^
1731:info:build tuntap_manager::initialize(unsigned int count, char *family)
1732:info:build                                         ^
1733:info:build ../tuntap.h:83:16: note: previous declaration is here
1734:info:build                 unsigned int count;
1735:info:build                              ^
1736:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
1737:info:build tuntap_manager::initialize(unsigned int count, char *family)
1738:info:build                                                      ^
1739:info:build ../tuntap.h:89:9: note: previous declaration is here
1740:info:build                 char *family;
1741:info:build                       ^
1742:info:build 11 error generated.
1743:info:build  error generated.
1744:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
1745:info:build                         if (tuntaps[i]->initialize(dev_major, i))
1746:info:build                                         ~~~~~~~~~~            ^
1747:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
1748:info:build                         if (tuntaps[i]->initialize(dev_major, i))
1749:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
1750:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1751:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
1752:info:build                         ~~~~~ ^~~
1753:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1754:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
1755:info:build                                   ~~~~~ ^~~
1756:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1757:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1758:info:build                         ~~~~~ ^~~
1759:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1760:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
1761:info:build                                   ~~~~~ ^~~
1762:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1763:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1764:info:build                         ~~~~~ ^~~
1765:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1766:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
1767:info:build                                   ~~~~~ ^~~
1768:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1769:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1770:info:build                         ~~~~~ ^~~
1771:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1772:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
1773:info:build                                   ~~~~~ ^~~
1774:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1775:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1776:info:build                         ~~~~~ ^~~
1777:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1778:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
1779:info:build                                   ~~~~~ ^~~
1780:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1781:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
1782:info:build                         ~~~~~ ^~~
1783:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1784:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
1785:info:build                                   ~~~~~ ^~~
1786:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1787:info:build         int dmin = minor(dev);
1788:info:build                    ~~~~~ ^~~
1789:info:build In file included from ../tuntap_mgr.cc:30:
1790:info:build ../tuntap.h:../tuntap_mgr.cc:296:19: warning: 173:25: error: too few arguments provided to function-like macro invocation
1791:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1792:info:build         int dmin = minor(dev);
1793:info:build                    ~~~~~ ^~~                bool enqueue(mbuf_t mb);
1794:info:build                                       ^
1795:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
1796:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
1797:info:build         ^
1798:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1799:info:build         int dmin = minor(dev);
1800:info:build                    ~~~~~ ^~~
1801:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1802:info:build         int dmin = minor(dev);
1803:info:build                    ~~~~~ ^~~
1804:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1805:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1806:info:build                                                               ^
1807:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1808:info:build         int dmin = minor(dev);
1809:info:build                    ~~~~~ ^~~
1810:info:build make[1]: *** [kmod.o] Error 1
1811:info:build make[1]: *** Waiting for unfinished jobs....
1812:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1813:info:build extern void *ifnet_softc(ifnet_t interface)
1814:info:build              ^
1815:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
1816:info:build ../tuntap.cc:66:49: error:         int dmin = minor(dev);
1817:info:build                    ~~~~~ ^~~
1818:info:build 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1819:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1820:info:build                                                               ^
1821:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1822:info:build                 mbuf_freem_list(m);
1823:info:build                 ^
1824:info:build make[1]: *** [kmod.o] Error 1
1825:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1826:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619:12: extern void *ifnet_softc(ifnet_t interface)
1827:info:build              ^
1828:info:build note: 'mbuf_freem_list' has been explicitly marked deprecated here
1829:info:build extern int mbuf_freem_list(mbuf_t mbuf)
1830:info:build            ^
1831:info:build 22 warnings and 1 error generated.
1832:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1833:info:build                 mbuf_freem_list(m);
1834:info:build                 ^
1835:info:build ../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1836:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1837:info:build                                                               ^
1838:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h872::61914::12 :note : note'ifnet_softc' has been explicitly marked deprecated here:
1839:info:build 'mbuf_freem_list' has been explicitly marked deprecated here
1840:info:build extern int mbuf_freem_list(mbuf_t mbuf)extern void *ifnet_softc(ifnet_t interface)
1841:info:build            ^             ^
1842:info:build ../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1843:info:build ../tuntap.cc:83:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1844:info:build                                                               ^
1845:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here                        return ttif->if_ioctl(cmd, arg);
1846:info:build                                      ~~~~~~~~ ^~~
1847:info:build extern void *ifnet_softc(ifnet_t interface)
1848:info:build              ^
1849:info:build ../tuntap.cc:83:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
1850:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1851:info:build                         return ttif->if_ioctl(cmd, arg);
1852:info:build                                      ~~~~~~~~ ^~~
1853:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1854:info:build                                                               ^
1855:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1856:info:build extern void *ifnet_softc(ifnet_t interface)
1857:info:build              ^
1858:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1859:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1860:info:build                                                               ^
1861:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1862:info:build extern void *ifnet_softc(ifnet_t interface)
1863:info:build              ^
1864:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1865:info:build tun.cc:88:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1866:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1867:info:build                                                               ^
1868:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h        ifnet_set_mtu(ifp, TUN_MTU);:
1869:info:build 872        ^:
1870:info:build 14: note: 'ifnet_softc' has been explicitly marked deprecated here
1871:info:build extern void *ifnet_softc(ifnet_t interface)
1872:info:build              ^
1873:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1874:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1875:info:build                                                               ^
1876:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1877:info:build extern void *ifnet_softc(ifnet_t interface)
1878:info:build              ^
1879:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1880:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1881:info:build                                                               ^
1882:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here872:14: note:
1883:info:build 'ifnet_softc' has been explicitly marked deprecated here
1884:info:build extern void *ifnet_softc(ifnet_t interface)
1885:info:build              ^
1886:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
1887:info:build                ^
1888:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1889:info:build tap.cc:169:16: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1890:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1891:info:build                                                               ^
1892:info:build tun.cc:90:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h2::872 :error14: :'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1893:info:build note: 'ifnet_softc' has been explicitly marked deprecated here
1894:info:build         errno_t err = ifnet_set_lladdr(ifp, LLADDR(&lladdr), ETHER_ADDR_LEN);
1895:info:build                       ^
1896:info:build         ifnet_set_hdrlen(ifp, 0);
1897:info:build         ^
1898:info:build extern void *ifnet_softc(ifnet_t interface)/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
1899:info:build :             ^1357
1900:info:build :16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
1901:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
1902:info:build                ^
1903:info:build ../tuntap.cc:131tun.cc::4992:: 2error::  'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]error
1904:info:build : 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1905:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);        ifnet_set_flags(ifp, IFF_POINTOPOINT, IFF_POINTOPOINT);
1906:info:build                                                               ^        ^
1907:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14 :note: 'ifnet_set_flags' has been explicitly marked deprecated here
1908:info:build note: 'ifnet_softc' has been explicitly marked deprecated here
1909:info:build extern void *ifnet_softc(ifnet_t interface)
1910:info:build              ^../tuntap.cc
1911:info:build :extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
1912:info:build                ^
1913:info:build 131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1914:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1915:info:build                                                               ^
1916:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1917:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated hereextern void *ifnet_softc(ifnet_t interface)
1918:info:build              ^
1919:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
1920:info:build                ^
1921:info:build ../tuntap_mgr.cc:90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
1922:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1923:info:build tap.cc:174:2:tuntap_manager::initialize(unsigned int count, char *family)
1924:info:build error                                        ^
1925:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1926:info:build                                                               ^
1927:info:build : ../tuntap.h/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::83872::'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]16
1928:info:build : note: previous declaration is here
1929:info:build 14: note:         ifnet_set_mtu(ifp, TAP_MTU);
1930:info:build 'ifnet_softc' has been explicitly marked deprecated here        ^
1931:info:build                 unsigned int count;
1932:info:build extern void *ifnet_softc(ifnet_t interface)                             ^../tuntap.cc
1933:info:build :/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307143:             ^16
1934:info:build :
1935:info:build :tun.cc49:note111:: 18::'ifnet_set_mtu' has been explicitly marked deprecated here error../tuntap_mgr.cc
1936:info:build error: : 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1937:info:build 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:90
1938:info:build :54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
1939:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
1940:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);               ^
1941:info:build                                                               ^
1942:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
1943:info:build                                       ^
1944:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872tuntap_manager::initialize(unsigned int count, char *family):
1945:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h                                                     ^:
1946:info:build 1192:16:14../tuntap.h:: 89note:9:  note: 'ifnet_detach_protocol' has been explicitly marked deprecated here: 'ifnet_softc' has been explicitly marked deprecated here
1947:info:build note: previous declaration is here
1948:info:build extern void *ifnet_softc(ifnet_t interface)
1949:info:build              ^
1950:info:build ../tuntap.cc:156                char *family;:
1951:info:build 49                      ^:
1952:info:build  error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1953:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
1954:info:build                ^
1955:info:build tap.cc:176:2: error:                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1956:info:build         ifnet_set_hdrlen(ifp, sizeof(struct ether_header));
1957:info:build         ^
1958:info:build                                                               ^
1959:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here:
1960:info:build 14: note: 'ifnet_softc' has been explicitly marked deprecated here
1961:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
1962:info:build extern void *ifnet_softc(ifnet_t interface)               ^
1963:info:build              ^
1964:info:build tap.cc:178:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1965:info:build         ifnet_set_flags(ifp, IFF_BROADCAST, IFF_BROADCAST);
1966:info:build         ^
1967:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
1968:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1969:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
1970:info:build                ^
1971:info:build ../tuntap.cc:168                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);:
1972:info:build 49                                                              ^:
1973:info:build  error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1974:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1975:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1976:info:build                                                               ^tap.cc
1977:info:build :184:29/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:: 872:14: note: extern void *ifnet_softc(ifnet_t interface)error
1978:info:build :              ^
1979:info:build 'ifnet_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1980:info:build 'ifnet_softc' has been explicitly marked deprecated here
1981:info:build extern void *ifnet_softc(ifnet_t interface)
1982:info:build              ^
1983:info:build         bpfattach(ifp, DLT_EN10MB, ifnet_hdrlen(ifp));
1984:info:build                                    ^
1985:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1365:17: note: 'ifnet_hdrlen' has been explicitly marked deprecated here
1986:info:build extern u_int8_t ifnet_hdrlen(ifnet_t interface)
1987:info:build                 ^
1988:info:build tap.cc:191:2: error: 'mbuf_gethdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1989:info:build         mbuf_gethdr(MBUF_WAITOK, MBUF_TYPE_DATA, &empty_mbuf);
1990:info:build         ^
1991:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
1992:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
1993:info:build                                                               ^
1994:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
1995:info:build extern void *ifnet_softc(ifnet_t interface)
1996:info:build              ^
1997:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
1998:info:build                         if (tuntaps[i]->initialize(dev_major, i))
1999:info:build                                         ~~~~~~~~~~            ^
2000:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
2001:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
2002:info:build                         if (tuntaps[i]->initialize(dev_major, i))
2003:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
2004:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
2005:info:build                                     ^
2006:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h::230382::916::  notenote: : macro 'enqueue' defined here'mbuf_gethdr' has been explicitly marked deprecated here
2007:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2008:info:build         ^
2009:info:build extern errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
2010:info:build                ^
2011:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
2012:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
2013:info:build ~~~~~~~~~~~~~~~~~~~^
2014:info:build tun.cc:139:tap.cc25::193 :error3: :'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2015:info:build error: 'mbuf_pkthdr_setrcvif' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2016:info:build                         iphdr = (struct ip*) mbuf_data(mb);
2017:info:build                                              ^                mbuf_pkthdr_setrcvif(empty_mbuf, ifp);
2018:info:build                 ^
2019:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1029:16: note: 'mbuf_pkthdr_setrcvif' has been explicitly marked deprecated here
2020:info:build extern errno_t mbuf_pkthdr_setrcvif(mbuf_t mbuf, ifnet_t ifp)
2021:info:build                ^
2022:info:build ../tuntap.cc:213:27: error: expected ';' after top level declarator
2023:info:build tap.cc:194:../tuntap.cc:213:37tuntap_mbuf_queue::enqueue(mbuf_t mb):
2024:info:build                            ^error
2025:info:build :                           ;
2026:info:build 3too few arguments provided to function-like macro invocation:
2027:info:build  error: 'mbuf_pkthdr_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2028:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
2029:info:build                                     ^
2030:info:build                 mbuf_pkthdr_setlen(empty_mbuf, 0);
2031:info:build                 ^
2032:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h9::993 :note13: :macro 'enqueue' defined here
2033:info:build note: 'mbuf_pkthdr_setlen' has been explicitly marked deprecated here
2034:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2035:info:build extern void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len)
2036:info:build             ^        ^
2037:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2038:info:build ../tuntap.cc:213:extern void *mbuf_data(mbuf_t mbuf)
2039:info:build              ^
2040:info:build 20: error: non-static data member defined out-of-line
2041:info:build tap.cc:195:37: errortuntap_mbuf_queue::enqueue(mbuf_t mb):
2042:info:build 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]~~~~~~~~~~~~~~~~~~~^
2043:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
2044:info:build                                                   ^
2045:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2046:info:build extern void *mbuf_data(mbuf_t mbuf)
2047:info:build              ^
2048:info:build tap.cc:195:3: error: 'mbuf_pkthdr_setheader' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2049:info:build ../tuntap.cc:213:27: error: expected ';' after top level declarator
2050:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
2051:info:build                 ^
2052:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.htuntap_mbuf_queue::enqueue(mbuf_t mb):
2053:info:build 1047                          ^:
2054:info:build 13                          ;:
2055:info:build  note: 'mbuf_pkthdr_setheader' has been explicitly marked deprecated here
2056:info:build extern void mbuf_pkthdr_setheader(mbuf_t mbuf, void *header)
2057:info:build             ^
2058:info:build tun.cc:156:10:tap.cc:196:3: error error: 'mbuf_get' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2059:info:build : ../tuntap.cc:803:30'mbuf_set_csum_performed' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
2060:info:build  error: too few arguments provided to function-like macro invocation
2061:info:build                         err = mbuf_get(MBUF_WAITOK, MBUF_TYPE_DATA, &dummy_mb);
2062:info:build                               ^
2063:info:build                 mbuf_set_csum_performed(empty_mbuf, 0, 0);
2064:info:build                 ^
2065:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:                if (!send_queue.enqueue(pkt)) {369/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h
2066:info:build :                                           ^16
2067:info:build :1194: note:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h16: 'mbuf_get' has been explicitly marked deprecated here:230
2068:info:build :9::  notenote: : macro 'enqueue' defined here'mbuf_set_csum_performed' has been explicitly marked deprecated here
2069:info:build extern errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
2070:info:build                ^
2071:info:build extern errno_t mbuf_set_csum_performed(mbuf_t mbuf,
2072:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2073:info:build         ^               ^
2074:info:build tap.cc:197:7: error: 'ifnet_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2075:info:build                 if (ifnet_input(ifp, empty_mbuf, NULL) == 0) {
2076:info:build                     ^
2077:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1258tun.cc::16163:: 4note::  'ifnet_input' has been explicitly marked deprecated hereerror
2078:info:build : 'mbuf_setnext' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2079:info:build                         mbuf_setnext(dummy_mb, mb);extern errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
2080:info:build                         ^               ^
2081:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:863:16: note: 'mbuf_setnext' has been explicitly marked deprecated here
2082:info:build ../tuntap.cc:803:30extern errno_t mbuf_setnext(mbuf_t mbuf, mbuf_t next)
2083:info:build                ^
2084:info:build : error: too few arguments provided to function-like macro invocation
2085:info:build                 if (!send_queue.enqueue(pkt)) {
2086:info:build                                            ^
2087:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2088:info:build tun.cc:164:4: error: 'mbuf_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2089:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2090:info:build         ^
2091:info:build                         mbuf_setlen(dummy_mb, sizeof(u_int32_t));
2092:info:build                         ^
2093:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:900:13: note: 'mbuf_setlen' has been explicitly marked deprecated here
2094:info:build extern void mbuf_setlen(mbuf_t mbuf, size_t len)
2095:info:build             ^
2096:info:build tun.cc:165:20: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2097:info:build                         *((u_int32_t *) mbuf_data(dummy_mb)) = htonl(af);
2098:info:build                                         ^
2099:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2100:info:build ../tuntap_mgr.cc:237:24: warningextern void *mbuf_data(mbuf_t mbuf)
2101:info:build              ^
2102:info:build : implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2103:info:build 1 warning and 15 errors generated.
2104:info:build tap.cc:204:4: error: 'mbuf_freem' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2105:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
2106:info:build                         ~~~~~ ^~~
2107:info:build                         mbuf_freem(empty_mbuf);
2108:info:build                         ^
2109:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h../tuntap_mgr.cc::609238::1320::  notewarning: : 'mbuf_freem' has been explicitly marked deprecated hereimplicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2110:info:build extern void mbuf_freem(mbuf_t mbuf)
2111:info:build             ^
2112:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
2113:info:build                                   ~~~~~ ^~~
2114:info:build 1 warning and 15 errors generated.
2115:info:build make[1]: *** [../tuntap_mgr.o] Error 1tun.cc:171
2116:info:build ../tuntap_mgr.cc:244::24: 4: error: 'mbuf_free' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2117:info:build warning:                         mbuf_free(dummy_mb);
2118:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]                        ^
2119:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:601:15: note: 'mbuf_free' has been explicitly marked deprecated here
2120:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2121:info:build                         ~~~~~ ^~~
2122:info:build extern mbuf_t mbuf_free(mbuf_t mbuf)
2123:info:build               ^
2124:info:build tap.cc:221:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2125:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2126:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
2127:info:build                                       ^
2128:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note                        : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));:
2129:info:build 'ifnet_detach_protocol' has been explicitly marked deprecated here                                  ~~~~~ ^~~
2130:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
2131:info:build                ^
2132:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2133:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2134:info:build                         ~~~~~ ^~~
2135:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2136:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
2137:info:build                                   ~~~~~ ^~~
2138:info:build tun.cc:193:4:tap.cc:247:45:  error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2139:info:build warning: implicit conversion changes signedness: 'int' to 'thread_policy_flavor_t' (aka 'unsigned int') [-Wsign-conversion]
2140:info:build                         ifnet_set_hdrlen(ifp, prepend_af ? sizeof(u_int32_t) : 0);
2141:info:build                         ^
2142:info:build                         result = thread_policy_set(input_thread, -1, NULL, 0);
2143:info:build ../tuntap_mgr.cc:258/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h                                 ~~~~~~~~~~~~~~~~~               ^~:
2144:info:build 1357:16:: 24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2145:info:build note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
2146:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2147:info:build                         ~~~~~ ^~~
2148:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)../tuntap_mgr.cc
2149:info:build :               ^259
2150:info:build :20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2151:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
2152:info:build                                   ~~~~~ ^~~
2153:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2154:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2155:info:build                         ~~~~~ ^~~
2156:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2157:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
2158:info:build                                   ~~~~~ ^~~
2159:info:build tun.cc:211:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2160:info:build         if (mbuf_len(m) < sizeof(u_int32_t))
2161:info:build             ^
2162:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
2163:info:build extern size_t mbuf_len(const mbuf_t mbuf)
2164:info:build               ^
2165:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2166:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2167:info:build                         ~~~~~ ^~~
2168:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2169:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
2170:info:build                                   ~~~~~ ^~~tun.cc:217:35:
2171:info:build error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2172:info:build                 struct ip *iphdr = (struct ip*) mbuf_data(m);
2173:info:build                                                 ^
2174:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2175:info:build extern void *mbuf_data(mbuf_t mbuf)
2176:info:build              ^
2177:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2178:info:build         int dmin = minor(dev);
2179:info:build                    ~~~~~ ^~~
2180:info:build tap.cc:281:19: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2181:info:build                                 errno_t err = ifnet_set_lladdr(ifp, ea->sa_data, ETHER_ADDR_LEN);
2182:info:build                                               ^
2183:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
2184:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
2185:info:build                ^
2186:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2187:info:build         int dmin = minor(dev);
2188:info:build                    ~~~~~ ^~~
2189:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2190:info:build         int dmin = minor(dev);
2191:info:build                    ~~~~~ ^~~
2192:info:build tun.cc:266:9: error: 'mbuf_prepend' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2193:info:build                 err = mbuf_prepend(&nm, sizeof(u_int32_t), MBUF_WAITOK);
2194:info:build                       ^
2195:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:689:16: note: 'mbuf_prepend' has been explicitly marked deprecated here
2196:info:build extern errno_t mbuf_prepend(mbuf_t *mbuf, size_t len, mbuf_how_t how)
2197:info:build                ^
2198:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2199:info:build         int dmin = minor(dev);
2200:info:build                    ~~~~~ ^~~
2201:info:build tun.cc:273:19: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2202:info:build                 *((u_int32_t *) mbuf_data(*m)) = htonl(dest->sa_family);
2203:info:build                                 ^
2204:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2205:info:build extern void *mbuf_data(mbuf_t mbuf)
2206:info:build              ^
2207:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2208:info:build         int dmin = minor(dev);
2209:info:build                    ~~~~~ ^~~
2210:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2211:info:build         int dmin = minor(dev);
2212:info:build                    ~~~~~ ^~~
2213:info:build tap.cc:348:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2214:info:build         if (mbuf_len(m) < sizeof(struct ether_header))
2215:info:build             ^
2216:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
2217:info:build extern size_t mbuf_len(const mbuf_t mbuf)
2218:info:build               ^
2219:info:build tap.cc:356:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2220:info:build                         mbuf_setflags_mask(m, MBUF_BCAST, MBUF_BCAST);
2221:info:build                         ^
2222:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
2223:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
2224:info:build                ^
2225:info:build tap.cc:360:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2226:info:build 22 warning                        mbuf_setflags_mask(m, MBUF_MCAST, MBUF_MCAST);s
2227:info:build  and                         ^1
2228:info:build  error generated.
2229:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
2230:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
2231:info:build                ^
2232:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
2233:info:build tun.cc:356:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
2234:info:build                         free = i;
2235:info:build                              ~ ^
2236:info:build tun.cc:392:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2237:info:build         proto_unregister_plumber(PF_INET, IFNET_FAMILY_TUN);
2238:info:build         ^
2239:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
2240:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
2241:info:build             ^
2242:info:build tun.cc:393:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2243:info:build         proto_unregister_plumber(PF_INET6, IFNET_FAMILY_TUN);
2244:info:build         ^
2245:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
2246:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
2247:info:build             ^
2248:info:build tun.cc:406:8: error: 'proto_register_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2249:info:build         err = proto_register_plumber(PF_INET, IFNET_FAMILY_TUN, tun_inet_attach, tun_inet_detach);
2250:info:build               ^
2251:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:122:16: note: 'proto_register_plumber' has been explicitly marked deprecated here
2252:info:build extern errno_t proto_register_plumber(protocol_family_t proto_fam,
2253:info:build                ^
2254:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
2255:info:build make[1]: *** [../tuntap.o] Error 1
2256:info:build make[1]: *** [../tuntap.o] Error 1
2257:info:build 1 warning and 20 errors generated.
2258:info:build 1 warning and 20 errors generated.
2259:info:build make[1]: *** [../tuntap_mgr.o] Error 1
2260:info:build make[1]: *** [tun.o] Error 1
2261:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
2262:info:build make[1]: *** [tap.o] Error 1
2263:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
2264:info:build make: *** [tun.kext] Error 2
2265:info:build make: *** Waiting for unfinished jobs....
2266:info:build make: *** [tap.kext] Error 2
2267:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
2268:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
2269:info:build Exit code: 2
2270:error:build Failed to build tuntaposx: command execution failed
2271:debug:build Error code: CHILDSTATUS 1446 2
2272:debug:build Backtrace: command execution failed
2273:debug:build     while executing
2274:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
2275:debug:build     invoked from within
2276:debug:build "command_exec -callback portprogress::target_progress_callback build"
2277:debug:build     (procedure "portbuild::build_main" line 8)
2278:debug:build     invoked from within
2279:debug:build "$procedure $targetname"
2280:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.
2281version:1
2282:debug:main Starting logging for tuntaposx @20150118_0
2283:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch i386
2284:debug:sysinfo MacPorts 2.7.1
2285:debug:sysinfo Xcode 13.1
2286:debug:sysinfo SDK 12
2287:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
2288:debug:main dropping privileges: euid changed to 502, egid changed to 501.
2289:debug:main Executing org.macports.main (tuntaposx)
2290:debug:main Privilege de-escalation not attempted as not running as root.
2291:debug:archivefetch archivefetch phase started at Wed Dec 22 16:22:06 -04 2021
2292:msg:archivefetch --->  Fetching archive for tuntaposx
2293:debug:archivefetch Executing org.macports.archivefetch (tuntaposx)
2294:debug:archivefetch euid/egid changed to: 0/0
2295:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
2296:debug:archivefetch euid/egid changed to: 502/501
2297:info:archivefetch --->  tuntaposx-20150118_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
2298:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/tuntaposx
2299:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
2300:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
2301:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
2302:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/tuntaposx
2303:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
2304:debug:archivefetch Privilege de-escalation not attempted as not running as root.
2305:debug:archivefetch Skipping completed org.macports.fetch (tuntaposx)
2306:debug:archivefetch Privilege de-escalation not attempted as not running as root.
2307:debug:archivefetch Skipping completed org.macports.checksum (tuntaposx)
2308:debug:archivefetch Privilege de-escalation not attempted as not running as root.
2309:debug:archivefetch Skipping completed org.macports.extract (tuntaposx)
2310:debug:archivefetch Privilege de-escalation not attempted as not running as root.
2311:debug:archivefetch Skipping completed org.macports.patch (tuntaposx)
2312:debug:archivefetch Privilege de-escalation not attempted as not running as root.
2313:debug:archivefetch Skipping completed org.macports.configure (tuntaposx)
2314:debug:archivefetch Privilege de-escalation not attempted as not running as root.
2315:debug:build build phase started at Wed Dec 22 16:22:12 -04 2021
2316:notice:build --->  Building tuntaposx
2317:debug:build Executing org.macports.build (tuntaposx)
2318:debug:build Environment:
2319:debug:build CC_PRINT_OPTIONS='YES'
2320:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
2321:debug:build CPATH='/opt/local/include'
2322:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
2323:debug:build LIBRARY_PATH='/opt/local/lib'
2324:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
2325:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
2326:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
2327:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
2328:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
2329:info:build cd src/tap && make TUNTAP_VERSION=20150118 -f Makefile all
2330:info:build cd src/tun && make TUNTAP_VERSION=20150118 -f Makefile all
2331:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
2332:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
2333:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
2334:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
2335:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
2336:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
2337:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
2338:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
2339:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tap.cc -o tap.o
2340:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet_proto.c -o tun_inet_proto.o
2341:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet6_proto.c -o tun_inet6_proto.o
2342:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun.cc -o tun.o
2343:info:build tun_inet_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2344:info:build         return proto_input(PF_INET, m);
2345:info:build                ^
2346:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
2347:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
2348:info:build                ^
2349:info:build tun_inet_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2350:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
2351:info:build                ^
2352:info:build tun_inet6_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2353:info:build         return proto_input(PF_INET6, m);
2354:info:build                ^
2355:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
2356:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.hextern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
2357:info:build                ^
2358:info:build :1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
2359:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
2360:info:build                ^
2361:info:build tun_inet_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2362:info:build         ifnet_detach_protocol(ifp, proto);
2363:info:build         ^
2364:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
2365:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
2366:info:build                ^
2367:info:build 3 errors generated.
2368:info:build tun_inet6_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2369:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
2370:info:build                ^
2371:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
2372:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
2373:info:build                ^
2374:info:build tun_inet6_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2375:info:build         ifnet_detach_protocol(ifp, proto);
2376:info:build         ^
2377:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
2378:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
2379:info:build                ^
2380:info:build 3 errors generated.
2381:info:build make[1]: *** [tun_inet_proto.o] Error 1
2382:info:build make[1]: *** Waiting for unfinished jobs....
2383:info:build make[1]: *** [tun_inet6_proto.o] Error 1
2384:info:build In file included from ../tuntap_mgr.cc:30:
2385:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
2386:info:build                 bool enqueue(mbuf_t mb);
2387:info:build                                       ^
2388:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2389:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2390:info:build         ^
2391:info:build In file included from tun.cc:30:
2392:info:build In file included from ./tun.h:31:
2393:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
2394:info:build                 bool enqueue(mbuf_t mb);
2395:info:build                                       ^
2396:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2397:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2398:info:build         ^
2399:info:build In file included from kmod.cc:30:
2400:info:build In file included from ./tap.h:31:
2401:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
2402:info:build                 bool enqueue(mbuf_t mb);
2403:info:build                                       ^
2404:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2405:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2406:info:build         ^
2407:info:build ../tuntap_mgr.cc:90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
2408:info:build tuntap_manager::initialize(unsigned int count, char *family)
2409:info:build                                         ^
2410:info:build ../tuntap.h:83:16: note: previous declaration is here
2411:info:build                 unsigned int count;
2412:info:build                              ^
2413:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
2414:info:build tuntap_manager::initialize(unsigned int count, char *family)
2415:info:build                                                      ^
2416:info:build ../tuntap.h:89:9: note: previous declaration is here
2417:info:build                 char *family;
2418:info:build                       ^
2419:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
2420:info:build                         if (tuntaps[i]->initialize(dev_major, i))
2421:info:build                                         ~~~~~~~~~~            ^
2422:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
2423:info:build                         if (tuntaps[i]->initialize(dev_major, i))
2424:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
2425:info:build 1 error generated.
2426:info:build In file included from ../tuntap.cc:30:
2427:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
2428:info:build                 bool enqueue(mbuf_t mb);
2429:info:build                                       ^
2430:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2431:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2432:info:build         ^
2433:info:build In file included from ../tuntap.cc:30:
2434:info:build ../tuntap_mgr.cc:237../tuntap.h:173:25: error:: too few arguments provided to function-like macro invocation
2435:info:build 24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2436:info:build                 bool enqueue(mbuf_t mb);
2437:info:build                                       ^
2438:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
2439:info:build                         ~~~~~ ^~~
2440:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2441:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here                        : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
2442:info:build                                   ~~~~~ ^~~
2443:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2444:info:build         ^
2445:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2446:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2447:info:build                         ~~~~~ ^~~
2448:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2449:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
2450:info:build                                   ~~~~~ ^~~
2451:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2452:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2453:info:build                         ~~~~~ ^~~
2454:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2455:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
2456:info:build                                   ~~~~~ ^~~
2457:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2458:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2459:info:build                         ~~~~~ ^~~
2460:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2461:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
2462:info:build                                   ~~~~~ ^~~
2463:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2464:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2465:info:build                         ~~~~~ ^~~
2466:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2467:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
2468:info:build                                   ~~~~~ ^~~
2469:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2470:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2471:info:build                         ~~~~~ ^~~
2472:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2473:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
2474:info:build                                   ~~~~~ ^~~
2475:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2476:info:build tun.cc:88:2:        int dmin = minor(dev);
2477:info:build                    ~~~~~ ^~~
2478:info:build  error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2479:info:build         ifnet_set_mtu(ifp, TUN_MTU);
2480:info:build         ^
2481:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
2482:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
2483:info:build                ^
2484:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2485:info:build tun.cc:90:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2486:info:build         int dmin = minor(dev);
2487:info:build                    ~~~~~ ^~~
2488:info:build         ifnet_set_hdrlen(ifp, 0);
2489:info:build         ^
2490:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
2491:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
2492:info:build                ^
2493:info:build tun.cc:92:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2494:info:build         ifnet_set_flags(ifp, IFF_POINTOPOINT, IFF_POINTOPOINT);
2495:info:build         ^
2496:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
2497:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
2498:info:build                ^
2499:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2500:info:build         int dmin = minor(dev);
2501:info:build                    ~~~~~ ^~~
2502:info:build tun.cc:111:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2503:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
2504:info:build                                       ^
2505:info:build ../tuntap_mgr.cc/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::3281192::1916::  warningnote: : implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]'ifnet_detach_protocol' has been explicitly marked deprecated here
2506:info:build         int dmin = minor(dev);
2507:info:build                    ~~~~~ ^~~
2508:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
2509:info:build                ^
2510:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2511:info:build         int dmin = minor(dev);
2512:info:build                    ~~~~~ ^~~
2513:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2514:info:build         int dmin = minor(dev);
2515:info:build                    ~~~~~ ^~~
2516:info:build In file included from kmod.cc:30:
2517:info:build In file included from ./tun.h:31:
2518:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
2519:info:build                 bool enqueue(mbuf_t mb);
2520:info:build                                       ^
2521:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2522:info:build make[1]: tun.cc:*** [kmod.o] Error 1139:
2523:info:build 25make[1]: *** Waiting for unfinished jobs....
2524:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt):
2525:info:build          ^error
2526:info:build : 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2527:info:build                         iphdr = (struct ip*) mbuf_data(mb);
2528:info:build                                              ^
2529:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2530:info:build 22 warnings and 1 error generated.
2531:info:build extern void *mbuf_data(mbuf_t mbuf)
2532:info:build              ^
2533:info:build In file included from tap.cc:30:
2534:info:build In file included from ./tap.h:31:
2535:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
2536:info:build                 bool enqueue(mbuf_t mb);
2537:info:build                                       ^
2538:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2539:info:build tun.cc:156:10: error: 'mbuf_get' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2540:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2541:info:build         ^
2542:info:build                         err = mbuf_get(MBUF_WAITOK, MBUF_TYPE_DATA, &dummy_mb);
2543:info:build                               ^
2544:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:369:16: note: 'mbuf_get' has been explicitly marked deprecated here
2545:info:build extern errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
2546:info:build                ^
2547:info:build tun.cc:163:4: error: 'mbuf_setnext' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2548:info:build                         mbuf_setnext(dummy_mb, mb);
2549:info:build                         ^
2550:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:863:16: note: 'mbuf_setnext' has been explicitly marked deprecated here
2551:info:build extern errno_t mbuf_setnext(mbuf_t mbuf, mbuf_t next)
2552:info:build                ^
2553:info:build tun.cc:164:4: error: 'mbuf_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2554:info:build                         mbuf_setlen(dummy_mb, sizeof(u_int32_t));
2555:info:build                         ^
2556:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:900:13: note: 'mbuf_setlen' has been explicitly marked deprecated here
2557:info:build extern void mbuf_setlen(mbuf_t mbuf, size_t len)
2558:info:build             ^
2559:info:build tun.cc:165:20: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2560:info:build                         *((u_int32_t *) mbuf_data(dummy_mb)) = htonl(af);
2561:info:build                                         ^
2562:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2563:info:build extern void *mbuf_data(mbuf_t mbuf)
2564:info:build              ^
2565:info:build tun.cc:171:4: error: 'mbuf_free' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2566:info:build                         mbuf_free(dummy_mb);
2567:info:build                         ^
2568:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:601:15: note: 'mbuf_free' has been explicitly marked deprecated here
2569:info:build extern mbuf_t mbuf_free(mbuf_t mbuf)
2570:info:build               ^
2571:info:build In file included from ../tuntap_mgr.cc:30:
2572:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
2573:info:build                 bool enqueue(mbuf_t mb);
2574:info:build                                       ^
2575:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2576:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2577:info:build         ^
2578:info:build tun.cc:193:4: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2579:info:build                         ifnet_set_hdrlen(ifp, prepend_af ? sizeof(u_int32_t) : 0);
2580:info:build                         ^
2581:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
2582:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
2583:info:build                ^
2584:info:build tun.cc:211:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2585:info:build         if (mbuf_len(m) < sizeof(u_int32_t))
2586:info:build             ^
2587:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
2588:info:build extern size_t mbuf_len(const mbuf_t mbuf)
2589:info:build               ^
2590:info:build tun.cc:217:35: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2591:info:build                 struct ip *iphdr = (struct ip*) mbuf_data(m);
2592:info:build                                                 ^
2593:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2594:info:build extern void *mbuf_data(mbuf_t mbuf)
2595:info:build              ^
2596:info:build tun.cc:266:9: error: 'mbuf_prepend' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2597:info:build                 err = mbuf_prepend(&nm, sizeof(u_int32_t), MBUF_WAITOK);
2598:info:build                       ^
2599:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:689:16: note: 'mbuf_prepend' has been explicitly marked deprecated here
2600:info:build extern errno_t mbuf_prepend(mbuf_t *mbuf, size_t len, mbuf_how_t how)
2601:info:build                ^
2602:info:build tun.cc:273:19: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2603:info:build                 *((u_int32_t *) mbuf_data(*m)) = htonl(dest->sa_family);
2604:info:build                                 ^
2605:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2606:info:build extern void *mbuf_data(mbuf_t mbuf)
2607:info:build              ^
2608:info:build 1 error generated.
2609:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2610:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2611:info:build                                                               ^
2612:info:build make[1]: *** [../tuntap_mgr.o] Error 1
2613:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2614:info:build extern void *ifnet_softc(ifnet_t interface)
2615:info:build              ^
2616:info:build ../tuntap.cc:66:49tun.cc:356::11 error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2617:info:build : warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
2618:info:build                         free = i;
2619:info:build                              ~ ^
2620:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2621:info:build                                                               ^
2622:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2623:info:build                 mbuf_freem_list(m);
2624:info:build                 ^
2625:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::12872:: 14note::  'mbuf_freem_list' has been explicitly marked deprecated herenote
2626:info:build : 'ifnet_softc' has been explicitly marked deprecated here
2627:info:build extern int mbuf_freem_list(mbuf_t mbuf)
2628:info:build            ^
2629:info:build extern void *ifnet_softc(ifnet_t interface)
2630:info:build              ^
2631:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2632:info:build                 mbuf_freem_list(m);
2633:info:build                 ^tun.cc:392:2:
2634:info:build ../tuntap.cc:81:49: error:  'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]error
2635:info:build : 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2636:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2637:info:build         proto_unregister_plumber(PF_INET, IFNET_FAMILY_TUN);                                                              ^
2638:info:build         ^
2639:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2640:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13extern void *ifnet_softc(ifnet_t interface):
2641:info:build               ^note
2642:info:build : 'proto_unregister_plumber' has been explicitly marked deprecated here
2643:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
2644:info:build             ^
2645:info:build tun.cc:393:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2646:info:build         proto_unregister_plumber(PF_INET6, IFNET_FAMILY_TUN);
2647:info:build         ^
2648:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134::13619:: 12note::  ../tuntap.ccnote:: 83'mbuf_freem_list' has been explicitly marked deprecated here:'proto_unregister_plumber' has been explicitly marked deprecated here26
2649:info:build :
2650:info:build warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
2651:info:build extern int mbuf_freem_list(mbuf_t mbuf)
2652:info:build            ^
2653:info:build                         return ttif->if_ioctl(cmd, arg);extern void proto_unregister_plumber(protocol_family_t proto_fam,
2654:info:build                                      ~~~~~~~~ ^~~            ^
2655:info:build ../tuntap_mgr.cc:90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
2656:info:build tuntap_manager::initialize(unsigned int count, char *family)
2657:info:build                                         ^
2658:info:build ../tuntap.h:83:16: note: previous declaration is here
2659:info:build                 unsigned int count;
2660:info:build                              ^
2661:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
2662:info:build tuntap_manager::initialize(unsigned int count, char *family)
2663:info:build                                                      ^
2664:info:build ../tuntap.h:89:../tuntap.cc../tuntap.cc::81:499:93::49tun.cc: :  note: 406previous declaration is here:
2665:info:build error: error'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2666:info:build                 char *family;
2667:info:build 8                      ^:
2668:info:build  error: 'proto_register_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2669:info:build : 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2670:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2671:info:build                                                               ^
2672:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note        err = proto_register_plumber(PF_INET, IFNET_FAMILY_TUN, tun_inet_attach, tun_inet_detach);:
2673:info:build 'ifnet_softc' has been explicitly marked deprecated here              ^
2674:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:122:16:                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);extern void *ifnet_softc(ifnet_t interface)
2675:info:build                                                               ^             ^
2676:info:build  note: 'proto_register_plumber' has been explicitly marked deprecated here/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
2677:info:build :872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2678:info:build extern errno_t proto_register_plumber(protocol_family_t proto_fam,
2679:info:build                ^extern void *ifnet_softc(ifnet_t interface)
2680:info:build              ^
2681:info:build ../tuntap.cc:83:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
2682:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
2683:info:build                         return ttif->if_ioctl(cmd, arg);
2684:info:build                                      ~~~~~~~~ ^~~
2685:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2686:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2687:info:build                                                               ^
2688:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2689:info:build extern void *ifnet_softc(ifnet_t interface)
2690:info:build              ^
2691:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2692:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2693:info:build                                                               ^
2694:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2695:info:build extern void *ifnet_softc(ifnet_t interface)
2696:info:build              ^
2697:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2698:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2699:info:build                                                               ^
2700:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2701:info:build ../tuntap_mgr.cc:128:42: ../tuntap.ccwarning:: extern void *ifnet_softc(ifnet_t interface)
2702:info:build              ^
2703:info:build 105:implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]49:
2704:info:build error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2705:info:build 1                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2706:info:build                                                               ^
2707:info:build                         if (tuntaps[i]->initialize(dev_major, i))
2708:info:build                                         ~~~~~~~~~~            ^ warning
2709:info:build  and /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h20 errors generated:.
2710:info:build 872:14: ../tuntap_mgr.ccnote: 'ifnet_softc' has been explicitly marked deprecated here
2711:info:build :128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
2712:info:build extern void *ifnet_softc(ifnet_t interface)
2713:info:build              ^
2714:info:build                         if (tuntaps[i]->initialize(dev_major, i))
2715:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
2716:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2717:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2718:info:build                                                               ^
2719:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2720:info:build extern void *ifnet_softc(ifnet_t interface)
2721:info:build              ^
2722:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2723:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2724:info:build                                                               ^
2725:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2726:info:build extern void *ifnet_softc(ifnet_t interface)
2727:info:build              ^
2728:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2729:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2730:info:build                                                               ^
2731:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2732:info:build extern void *ifnet_softc(ifnet_t interface)
2733:info:build              ^
2734:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2735:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2736:info:build                                                               ^
2737:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2738:info:build extern void *ifnet_softc(ifnet_t interface)
2739:info:build              ^
2740:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2741:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2742:info:build                                                               ^
2743:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2744:info:build extern void *ifnet_softc(ifnet_t interface)
2745:info:build              ^
2746:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2747:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2748:info:build                                                               ^
2749:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2750:info:build extern void *ifnet_softc(ifnet_t interface)
2751:info:build              ^
2752:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2753:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2754:info:build                                                               ^
2755:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2756:info:build extern void *ifnet_softc(ifnet_t interface)
2757:info:build              ^
2758:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2759:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2760:info:build                                                               ^
2761:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2762:info:build extern void *ifnet_softc(ifnet_t interface)
2763:info:build              ^
2764:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2765:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
2766:info:build                         ~~~~~ ^~~
2767:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2768:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2769:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
2770:info:build                                   ~~~~~ ^~~
2771:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
2772:info:build                                                               ^
2773:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
2774:info:build extern void *ifnet_softc(ifnet_t interface)
2775:info:build              ^
2776:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
2777:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
2778:info:build                                     ^
2779:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2780:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2781:info:build         ^
2782:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2783:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
2784:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2785:info:build                         ~~~~~ ^~~
2786:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
2787:info:build ~~~~~~~~~~~~~~~~~~~^
2788:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2789:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
2790:info:build                                   ~~~~~ ^~~
2791:info:build ../tuntap.cc:213:37:../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion] error: too few arguments provided to function-like macro invocation
2792:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
2793:info:build                                     ^
2794:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2795:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h                        ~~~~~ ^~~:
2796:info:build 230:9: note: macro 'enqueue' defined here
2797:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2798:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2799:info:build         ^
2800:info:build ../tuntap.cc:213:27: error: expected ';' after top level declarator
2801:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
2802:info:build                                   ~~~~~ ^~~
2803:info:build ../tuntap.cc:213:20: errortuntap_mbuf_queue::enqueue(mbuf_t mb):
2804:info:build non-static data member defined out-of-line                          ^
2805:info:build                           ;
2806:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
2807:info:build ~~~~~~~~~~~~~~~~~~~^
2808:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2809:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2810:info:build                         ~~~~~ ^~~
2811:info:build make[1]: *** [kmod.o] Error 1
2812:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2813:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
2814:info:build                                   ~~~~~ ^~~
2815:info:build ../tuntap.cc:213:../tuntap.cc:803:30:27 : error: expected ';' after top level declarator
2816:info:build error: ../tuntap_mgr.cc:265too few arguments provided to function-like macro invocation:
2817:info:build 24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2818:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
2819:info:build                           ^
2820:info:build                           ;
2821:info:build                 if (!send_queue.enqueue(pkt)) {
2822:info:build                                            ^
2823:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:        return (mgr_map[major(dev)] == NULL ? EBADF9
2824:info:build :                        ~~~~~ ^~~
2825:info:build note: macro 'enqueue' defined here
2826:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2827:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
2828:info:build         ^
2829:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
2830:info:build                                   ~~~~~ ^~~
2831:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2832:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
2833:info:build                         ~~~~~ ^~~
2834:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2835:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
2836:info:build                                   ~~~~~ ^~~
2837:info:build ../tuntap_mgr.cc:280../tuntap.cc:803:30: error:: too few arguments provided to function-like macro invocation19
2838:info:build : warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2839:info:build                 if (!send_queue.enqueue(pkt)) {
2840:info:build         int dmin = minor(dev);                                           ^
2841:info:build                    ~~~~~ ^~~
2842:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
2843:info:build 1 warning and 15 error#define enqueue(queue, elt)      enqueue_tail(queue, elt)s
2844:info:build  generated        ^.
2845:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2846:info:build tap.cc:        int dmin = minor(dev);
2847:info:build                    ~~~~~ ^~~
2848:info:build 169:16: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2849:info:build         errno_t err = ifnet_set_lladdr(ifp, LLADDR(&lladdr), ETHER_ADDR_LEN);
2850:info:build                       ^
2851:info:build 1 warning and 15 errors generated.
2852:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2853:info:build         int dmin = minor(dev);
2854:info:build                    ~~~~~ ^~~
2855:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
2856:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
2857:info:build                ^
2858:info:build tap.cc:174:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2859:info:build         ifnet_set_mtu(ifp, TAP_MTU);
2860:info:build         ^
2861:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
2862:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2863:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
2864:info:build                ^
2865:info:build         int dmin = minor(dev);
2866:info:build                    ~~~~~ ^~~
2867:info:build tap.cc:176:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2868:info:build         ifnet_set_hdrlen(ifp, sizeof(struct ether_header));
2869:info:build         ^
2870:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
2871:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
2872:info:build                ^
2873:info:build tap.cc:178:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2874:info:build         ifnet_set_flags(ifp, IFF_BROADCAST, IFF_BROADCAST);
2875:info:build         ^
2876:info:build ../tuntap_mgr.cc:344:19: warning: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.himplicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]:
2877:info:build 929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
2878:info:build         int dmin = minor(dev);
2879:info:build                    ~~~~~ ^~~
2880:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
2881:info:build                ^
2882:info:build tap.cc:184:29: error: 'ifnet_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2883:info:build         bpfattach(ifp, DLT_EN10MB, ifnet_hdrlen(ifp));
2884:info:build                                    ^
2885:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1365:17: note: 'ifnet_hdrlen' has been explicitly marked deprecated here
2886:info:build extern u_int8_t ifnet_hdrlen(ifnet_t interface)
2887:info:build                 ^
2888:info:build ../tuntap_mgr.cc:360:19: warning: tap.cc:191:2:implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
2889:info:build  error: 'mbuf_gethdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2890:info:build         int dmin = minor(dev);
2891:info:build                    ~~~~~ ^~~
2892:info:build         mbuf_gethdr(MBUF_WAITOK, MBUF_TYPE_DATA, &empty_mbuf);
2893:info:build         ^
2894:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:382:16: note: 'mbuf_gethdr' has been explicitly marked deprecated here
2895:info:build extern errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
2896:info:build                ^
2897:info:build make[1]: *** [tun.o] Error 1
2898:info:build tap.cc:193:3: error: 'mbuf_pkthdr_setrcvif' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2899:info:build                 mbuf_pkthdr_setrcvif(empty_mbuf, ifp);
2900:info:build                 ^
2901:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1029:16: note: 'mbuf_pkthdr_setrcvif' has been explicitly marked deprecated here
2902:info:build extern errno_t mbuf_pkthdr_setrcvif(mbuf_t mbuf, ifnet_t ifp)
2903:info:build                ^
2904:info:build tap.cc:194:3: 22 warnings and 1 errorerror generated: .
2905:info:build 'mbuf_pkthdr_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2906:info:build                 mbuf_pkthdr_setlen(empty_mbuf, 0);
2907:info:build                 ^
2908:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:993:13: note: 'mbuf_pkthdr_setlen' has been explicitly marked deprecated here
2909:info:build extern void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len)
2910:info:build             ^
2911:info:build tap.cc:195:37: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2912:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
2913:info:build                                                   ^
2914:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
2915:info:build extern void *mbuf_data(mbuf_t mbuf)
2916:info:build              ^
2917:info:build tap.cc:195:3: error: 'mbuf_pkthdr_setheader' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2918:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
2919:info:build                 ^
2920:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1047:13: note: 'mbuf_pkthdr_setheader' has been explicitly marked deprecated here
2921:info:build extern void mbuf_pkthdr_setheader(mbuf_t mbuf, void *header)
2922:info:build             ^
2923:info:build tap.cc:196:3: error: 'mbuf_set_csum_performed' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2924:info:build                 mbuf_set_csum_performed(empty_mbuf, 0, 0);
2925:info:build                 ^
2926:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1194:16: note: 'mbuf_set_csum_performed' has been explicitly marked deprecated here
2927:info:build extern errno_t mbuf_set_csum_performed(mbuf_t mbuf,
2928:info:build                ^
2929:info:build tap.cc:197:7: error: 'ifnet_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2930:info:build                 if (ifnet_input(ifp, empty_mbuf, NULL) == 0) {
2931:info:build                     ^
2932:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1258:16: note: 'ifnet_input' has been explicitly marked deprecated here
2933:info:build extern errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
2934:info:build                ^
2935:info:build tap.cc:204:4: error: 'mbuf_freem' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2936:info:build                         mbuf_freem(empty_mbuf);
2937:info:build                         ^
2938:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:609:13: note: 'mbuf_freem' has been explicitly marked deprecated here
2939:info:build extern void mbuf_freem(mbuf_t mbuf)
2940:info:build             ^
2941:info:build tap.cc:221:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2942:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
2943:info:build                                       ^
2944:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
2945:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
2946:info:build                ^
2947:info:build tap.cc:247:45: warning: implicit conversion changes signedness: 'int' to 'thread_policy_flavor_t' (aka 'unsigned int') [-Wsign-conversion]
2948:info:build                         result = thread_policy_set(input_thread, -1, NULL, 0);
2949:info:build                                  ~~~~~~~~~~~~~~~~~               ^~
2950:info:build tap.cc:281:19: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2951:info:build                                 errno_t err = ifnet_set_lladdr(ifp, ea->sa_data, ETHER_ADDR_LEN);
2952:info:build                                               ^
2953:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
2954:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
2955:info:build                ^
2956:info:build make[1]: *** [../tuntap.o] Error 1
2957:info:build make[1]: *** [../tuntap.o] Error 1
2958:info:build tap.cc:348:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2959:info:build         if (mbuf_len(m) < sizeof(struct ether_header))
2960:info:build             ^
2961:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
2962:info:build extern size_t mbuf_len(const mbuf_t mbuf)
2963:info:build               ^
2964:info:build tap.cc:356:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2965:info:build                         mbuf_setflags_mask(m, MBUF_BCAST, MBUF_BCAST);
2966:info:build                         ^
2967:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
2968:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
2969:info:build                ^
2970:info:build tap.cc:360:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
2971:info:build make[1]: *** [../tuntap_mgr.o] Error 1
2972:info:build                         mbuf_setflags_mask(m, MBUF_MCAST, MBUF_MCAST);
2973:info:build                         ^
2974:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
2975:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
2976:info:build                ^
2977:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
2978:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
2979:info:build make: *** [tun.kext] Error 2
2980:info:build make: *** Waiting for unfinished jobs....
2981:info:build 1 warning and 20 errors generated.
2982:info:build make[1]: *** [tap.o] Error 1
2983:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
2984:info:build make: *** [tap.kext] Error 2
2985:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
2986:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
2987:info:build Exit code: 2
2988:error:build Failed to build tuntaposx: command execution failed
2989:debug:build Error code: CHILDSTATUS 1734 2
2990:debug:build Backtrace: command execution failed
2991:debug:build     while executing
2992:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
2993:debug:build     invoked from within
2994:debug:build "command_exec -callback portprogress::target_progress_callback build"
2995:debug:build     (procedure "portbuild::build_main" line 8)
2996:debug:build     invoked from within
2997:debug:build "$procedure $targetname"
2998:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.
2999version:1
3000:debug:main Starting logging for tuntaposx @20150118_0
3001:debug:sysinfo macOS 12.1 (darwin/21.2.0) arch i386
3002:debug:sysinfo MacPorts 2.7.1
3003:debug:sysinfo Xcode 13.1
3004:debug:sysinfo SDK 12
3005:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
3006:debug:main Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/tuntaposx/work
3007:debug:main dropping privileges: euid changed to 502, egid changed to 501.
3008:debug:main Executing org.macports.main (tuntaposx)
3009:debug:main Privilege de-escalation not attempted as not running as root.
3010:debug:archivefetch archivefetch phase started at Wed Dec 22 18:34:48 -04 2021
3011:msg:archivefetch --->  Fetching archive for tuntaposx
3012:debug:archivefetch Executing org.macports.archivefetch (tuntaposx)
3013:debug:archivefetch euid/egid changed to: 0/0
3014:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
3015:debug:archivefetch euid/egid changed to: 502/501
3016:info:archivefetch --->  tuntaposx-20150118_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
3017:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/tuntaposx
3018:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
3019:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
3020:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
3021:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/tuntaposx
3022:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
3023:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3024:debug:archivefetch Skipping completed org.macports.fetch (tuntaposx)
3025:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3026:debug:archivefetch Skipping completed org.macports.checksum (tuntaposx)
3027:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3028:debug:archivefetch Skipping completed org.macports.extract (tuntaposx)
3029:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3030:debug:archivefetch Skipping completed org.macports.patch (tuntaposx)
3031:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3032:debug:archivefetch Skipping completed org.macports.configure (tuntaposx)
3033:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3034:debug:build build phase started at Wed Dec 22 18:34:52 -04 2021
3035:notice:build --->  Building tuntaposx
3036:debug:build Executing org.macports.build (tuntaposx)
3037:debug:build Environment:
3038:debug:build CC_PRINT_OPTIONS='YES'
3039:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
3040:debug:build CPATH='/opt/local/include'
3041:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
3042:debug:build LIBRARY_PATH='/opt/local/lib'
3043:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
3044:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
3045:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
3046:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
3047:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
3048:info:build cd src/tap && make TUNTAP_VERSION=20150118 -f Makefile all
3049:info:build cd src/tun && make TUNTAP_VERSION=20150118 -f Makefile all
3050:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
3051:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
3052:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
3053:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
3054:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
3055:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
3056:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
3057:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
3058:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tap.cc -o tap.o
3059:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet_proto.c -o tun_inet_proto.o
3060:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet6_proto.c -o tun_inet6_proto.o
3061:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun.cc -o tun.o
3062:info:build tun_inet_proto.c:40:9tun_inet6_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3063:info:build : error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3064:info:build         return proto_input(PF_INET6, m);
3065:info:build                ^
3066:info:build         return proto_input(PF_INET, m);
3067:info:build                ^
3068:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16:
3069:info:build  note: 'proto_input' has been explicitly marked deprecated here
3070:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
3071:info:build                ^
3072:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
3073:info:build                ^
3074:info:build tun_inet6_proto.c:78:9:tun_inet_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]'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3075:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
3076:info:build         return ifnet_attach_protocol(ifp, proto, &pr);               ^
3077:info:build                ^
3078:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:: 1163note:: 16'ifnet_attach_protocol' has been explicitly marked deprecated here:
3079:info:build  note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
3080:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
3081:info:build                ^
3082:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
3083:info:build                ^
3084:info:build tun_inet6_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3085:info:build         ifnet_detach_protocol(ifp, proto);
3086:info:build         ^
3087:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
3088:info:build tun_inet_proto.c:extern errno_t ifnet_detach_protocol(ifnet_t interface,
3089:info:build                ^
3090:info:build 85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3091:info:build         ifnet_detach_protocol(ifp, proto);
3092:info:build         ^
3093:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
3094:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
3095:info:build                ^
3096:info:build 3 errors generated.
3097:info:build 3 errors generated.
3098:info:build make[1]: *** [tun_inet6_proto.o] Error 1
3099:info:build make[1]: *** Waiting for unfinished jobs....
3100:info:build make[1]: *** [tun_inet_proto.o] Error 1
3101:info:build In file included from ../tuntap_mgr.cc:30:
3102:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
3103:info:build In file included from kmod.cc:30:
3104:info:build In file included from                 bool enqueue(mbuf_t mb);In file included from In file included from In file included from kmod.cctun.cc./tap.h
3105:info:build :                                      ^../tuntap_mgr.cc
3106:info:build ::30:3030:
3107:info:build :
3108:info:build 31:
3109:info:build In file included from ../tuntap.h../tuntap.h:::
3110:info:build 173In file included from :./tun.h:./tun.h:1733125::25:
3111:info:build  :31../tuntap.h:
3112:info:build :../tuntap.h173::error: 173 :2525too few arguments provided to function-like macro invocationIn file included from
3113:info:build error: error: tap.cctoo few arguments provided to function-like macro invocation
3114:info:build ::/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h30                bool enqueue(mbuf_t mb);
3115:info:build : : 230                bool enqueue(mbuf_t mb);:                                      ^9:
3116:info:build :
3117:info:build 
3118:info:build notetoo few arguments provided to function-like macro invocationerrorIn file included from                                       ^:
3119:info:build ./tap.h:31:
3120:info:build ../tuntap.h: macro 'enqueue' defined here
3121:info:build :173too few arguments provided to function-like macro invocation:
3122:info:build In file included from 25: error: ../tuntap.cctoo few arguments provided to function-like macro invocation
3123:info:build :30:
3124:info:build                 bool enqueue(mbuf_t mb);
3125:info:build                                       ^../tuntap.h
3126:info:build :173:In file included from ../tuntap.cc:3025: error: :
3127:info:build too few arguments provided to function-like macro invocation#define enqueue(queue, elt)      enqueue_tail(queue, elt)                bool enqueue(mbuf_t mb);/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h
3128:info:build :                                      ^/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h                bool enqueue(mbuf_t mb);
3129:info:build 230::9:
3130:info:build                                       ^230        ^
3131:info:build note: ../tuntap.hmacro 'enqueue' defined here:
3132:info:build 9: note: :/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230                bool enqueue(mbuf_t mb);
3133:info:build 173:macro 'enqueue' defined here
3134:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt):
3135:info:build         ^9                                      ^25
3136:info:build : :#define enqueue(queue, elt)      enqueue_tail(queue, elt)
3137:info:build error        ^: note: too few arguments provided to function-like macro invocation
3138:info:build macro 'enqueue' defined here
3139:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note                bool enqueue(mbuf_t mb);
3140:info:build                                       ^
3141:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3142:info:build :         ^
3143:info:build macro 'enqueue' defined here
3144:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3145:info:build         ^
3146:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: :230:note9: macro 'enqueue' defined here
3147:info:build : note: macro 'enqueue' defined here
3148:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: #define enqueue(queue, elt)      enqueue_tail(queue, elt)note
3149:info:build :         ^macro 'enqueue' defined here
3150:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3151:info:build         ^
3152:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3153:info:build         ^
3154:info:build 11 error generated.
3155:info:build ../tuntap_mgr.cc../tuntap_mgr.cc: error90:: generated41:.
3156:info:build  warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
3157:info:build 90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
3158:info:build tuntap_manager::initialize(unsigned int count, char *family)
3159:info:build                                         ^
3160:info:build tuntap_manager::initialize(unsigned int count, char *family)
3161:info:build                                         ^
3162:info:build ../tuntap.h:83:16: note: previous declaration is here
3163:info:build ../tuntap.h:83:16                unsigned int count;:
3164:info:build                               ^note
3165:info:build : previous declaration is here
3166:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
3167:info:build                 unsigned int count;
3168:info:build tuntap_manager::initialize(unsigned int count, char *family)
3169:info:build                                                      ^
3170:info:build ../tuntap.h:89:9                             ^
3171:info:build : note: previous declaration is here
3172:info:build                 char *family;../tuntap_mgr.cc
3173:info:build :                      ^90
3174:info:build :54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
3175:info:build tuntap_manager::initialize(unsigned int count, char *family)
3176:info:build                                                      ^
3177:info:build ../tuntap.h:89:9: note: previous declaration is here
3178:info:build                 char *family;
3179:info:build                       ^
3180:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
3181:info:build ../tuntap_mgr.cc:128:42: warning:                         if (tuntaps[i]->initialize(dev_major, i))
3182:info:build                                         ~~~~~~~~~~            ^
3183:info:build implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
3184:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
3185:info:build                         if (tuntaps[i]->initialize(dev_major, i))
3186:info:build                                         ~~~~~~~~~~            ^
3187:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
3188:info:build                         if (tuntaps[i]->initialize(dev_major, i))
3189:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
3190:info:build                         if (tuntaps[i]->initialize(dev_major, i))
3191:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
3192:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3193:info:build ../tuntap.cc:66        return (mgr_map[major(dev)] == NULL ? ENOENT:
3194:info:build 49                        ~~~~~ ^~~:
3195:info:build  error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3196:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3197:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3198:info:build                                                               ^
3199:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
3200:info:build                                   ~~~~~ ^~~
3201:info:build tun.cc:88:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3202:info:build ../tuntap_mgr.cc:244:24: warning        ifnet_set_mtu(ifp, TUN_MTU);
3203:info:build         ^
3204:info:build : implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3205:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3206:info:build                         ~~~~~ ^~~
3207:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3208:info:build extern void *ifnet_softc(ifnet_t interface)
3209:info:build              ^
3210:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3211:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
3212:info:build                                   ~~~~~ ^~~
3213:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3214:info:build                 mbuf_freem_list(m);
3215:info:build                 ^
3216:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3217:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note        return (mgr_map[major(dev)] == NULL ? ENOENT:
3218:info:build 'ifnet_set_mtu' has been explicitly marked deprecated here                        ~~~~~ ^~~
3219:info:build ../tuntap.cc:66../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3220:info:build :49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3221:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
3222:info:build                ^
3223:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
3224:info:build                                   ~~~~~ ^~~
3225:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3226:info:build                                                               ^
3227:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619:12: note: 'mbuf_freem_list' has been explicitly marked deprecated here
3228:info:build extern int mbuf_freem_list(mbuf_t mbuf)
3229:info:build            ^
3230:info:build tun.cc:90:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3231:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3232:info:build         ifnet_set_hdrlen(ifp, 0);
3233:info:build         ^
3234:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
3235:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3236:info:build                         ~~~~~ ^~~
3237:info:build ../tuntap_mgr.cc:252:20extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen):
3238:info:build                 ^warning
3239:info:build : implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3240:info:build ../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3241:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
3242:info:build                                   ~~~~~ ^~~
3243:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3244:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h                                                              ^:
3245:info:build 872:14: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.hnote:: 872'ifnet_softc' has been explicitly marked deprecated here:
3246:info:build 14: note: tun.cc../tuntap_mgr.cc::92extern void *ifnet_softc(ifnet_t interface)'ifnet_softc' has been explicitly marked deprecated here
3247:info:build              ^
3248:info:build 244:24::
3249:info:build 2:extern void *ifnet_softc(ifnet_t interface)
3250:info:build              ^
3251:info:build  errorwarning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]:
3252:info:build 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3253:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3254:info:build                         ~~~~~ ^~~
3255:info:build         ifnet_set_flags(ifp, IFF_POINTOPOINT, IFF_POINTOPOINT);
3256:info:build         ^
3257:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
3258:info:build ../tuntap_mgr.cc:245:20: warning: ../tuntap_mgr.cc:258:24: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]warningextern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,:
3259:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]               ^
3260:info:build make[1]:         return (mgr_map[major(dev)] == NULL ? EBADF
3261:info:build *** [kmod.o] Error 1                        ~~~~~ ^~~
3262:info:build ../tuntap_mgr.cc:259:20make[1]: :                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));warning
3263:info:build :                                   ~~~~~ ^~~*** Waiting for unfinished jobs....
3264:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3265:info:build ../tuntap.cc
3266:info:build :83:26: warning                        : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
3267:info:build                                   ~~~~~ ^~~
3268:info:build : implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
3269:info:build ../tuntap.cc:72:3: error:                         return ttif->if_ioctl(cmd, arg);'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3270:info:build                                      ~~~~~~~~ ^~~
3271:info:build                 mbuf_freem_list(m);
3272:info:build                 ^
3273:info:build make[1]: *** [kmod.o] Error 1
3274:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3275:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3276:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3277:info:build                         ~~~~~ ^~~
3278:info:build ../tuntap_mgr.cc:266:20                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);:
3279:info:build                                                                ^warning
3280:info:build : implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3281:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3282:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
3283:info:build                                   ~~~~~ ^~~
3284:info:build extern void *ifnet_softc(ifnet_t interface)
3285:info:build              ^
3286:info:build ../tuntap_mgr.cc:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619:tun.cc:25111112: note: 'mbuf_freem_list' has been explicitly marked deprecated here
3287:info:build :24: :warning18: : implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]error
3288:info:build : 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3289:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3290:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);                        ~~~~~ ^~~
3291:info:build                                       ^
3292:info:build extern int mbuf_freem_list(mbuf_t mbuf)../tuntap_mgr.cc
3293:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192::272           ^:24
3294:info:build ../tuntap_mgr.cc:25216:: :note../tuntap.cc: : warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3295:info:build 105:'ifnet_detach_protocol' has been explicitly marked deprecated here20
3296:info:build : warning: 49implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]        return (mgr_map[major(dev)] == NULL ? EBADF
3297:info:build :                        ~~~~~ ^~~
3298:info:build error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3299:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
3300:info:build                ^
3301:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
3302:info:build ../tuntap_mgr.cc                                  ~~~~~ ^~~:
3303:info:build 273:20: warning                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);:
3304:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]                                                              ^
3305:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3306:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
3307:info:build                                   ~~~~~ ^~~
3308:info:build extern void *ifnet_softc(ifnet_t interface)
3309:info:build              ^
3310:info:build ../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3311:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3312:info:build                                                               ^
3313:info:build ../tuntap_mgr.cc/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::280:19:872../tuntap_mgr.cc::25814:: note : warning'ifnet_softc' has been explicitly marked deprecated here:
3314:info:build 24implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]:
3315:info:build  warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3316:info:build extern void *ifnet_softc(ifnet_t interface)
3317:info:build              ^
3318:info:build         int dmin = minor(dev);
3319:info:build                    ~~~~~ ^~~
3320:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3321:info:build                         ~~~~~ ^~~
3322:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3323:info:build ../tuntap.cc:118:49:                        : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
3324:info:build error                                  ~~~~~ ^~~:
3325:info:build 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3326:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3327:info:build                                                               ^
3328:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3329:info:build extern void *ifnet_softc(ifnet_t interface)
3330:info:build              ^
3331:info:build ../tuntap.cc:83:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
3332:info:build                         return ttif->if_ioctl(cmd, arg);
3333:info:build                                      ~~~~~~~~ ^~~
3334:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3335:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3336:info:build                         ~~~~~ ^~~
3337:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3338:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
3339:info:build                                   ~~~~~ ^~~
3340:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3341:info:build ../tuntap_mgr.cc:296:19: warning:                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3342:info:build                                                               ^
3343:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14../tuntap.cc::         int dmin = minor(dev);
3344:info:build                    ~~~~~ ^~~
3345:info:build 93note:: 49'ifnet_softc' has been explicitly marked deprecated here
3346:info:build : error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3347:info:build extern void *ifnet_softc(ifnet_t interface)
3348:info:build              ^
3349:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3350:info:build                                                               ^
3351:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3352:info:build ../tuntap_mgr.cc:272:extern void *ifnet_softc(ifnet_t interface)
3353:info:build              ^
3354:info:build 24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3355:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3356:info:build                         ~~~~~ ^~~
3357:info:build tun.cc:139:25: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3358:info:build ../tuntap_mgr.cc:273:20: warning../tuntap.cc                        iphdr = (struct ip*) mbuf_data(mb);: :143:
3359:info:build ../tuntap_mgr.ccimplicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3360:info:build                                              ^:
3361:info:build 49312:: 19error::  warning'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
3362:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3363:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
3364:info:build                                   ~~~~~ ^~~        int dmin = minor(dev);
3365:info:build                    ~~~~~ ^~~
3366:info:build ../tuntap.cc:                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);105
3367:info:build :                                                              ^49
3368:info:build : error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
3369:info:build :872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3370:info:build extern void *ifnet_softc(ifnet_t interface)
3371:info:build              ^
3372:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3373:info:build                                                               ^
3374:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3375:info:build extern void *ifnet_softc(ifnet_t interface)
3376:info:build              ^
3377:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3378:info:build         int dmin = minor(dev);
3379:info:build                    ~~~~~ ^~~
3380:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
3381:info:build extern void *mbuf_data(mbuf_t mbuf)
3382:info:build              ^
3383:info:build ../tuntap.cc:156:49../tuntap_mgr.cc:328:19::  warningerror: : implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3384:info:build 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3385:info:build         int dmin = minor(dev);
3386:info:build                    ~~~~~ ^~~
3387:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3388:info:build                                                               ^
3389:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3390:info:build extern void *ifnet_softc(ifnet_t interface)
3391:info:build              ^
3392:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3393:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3394:info:build                                                               ^
3395:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3396:info:build extern void *ifnet_softc(ifnet_t interface)
3397:info:build              ^
3398:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3399:info:build tun.cc:156:10: error: 'mbuf_get' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3400:info:build         int dmin = minor(dev);
3401:info:build                    ~~~~~ ^~~
3402:info:build                         err = mbuf_get(MBUF_WAITOK, MBUF_TYPE_DATA, &dummy_mb);
3403:info:build                               ^
3404:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:369:16: note: ../tuntap.cc'mbuf_get' has been explicitly marked deprecated here:
3405:info:build 168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3406:info:build extern errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)../tuntap_mgr.cc:344:                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);19
3407:info:build :                                                              ^
3408:info:build warning               ^:
3409:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3410:info:build extern void *ifnet_softc(ifnet_t interface)
3411:info:build              ^
3412:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3413:info:build         int dmin = minor(dev);
3414:info:build                    ~~~~~ ^~~
3415:info:build tun.cc:163:4: error: 'mbuf_setnext' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3416:info:build                         mbuf_setnext(dummy_mb, mb);
3417:info:build                         ^
3418:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:863:16: note: ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3419:info:build 'mbuf_setnext' has been explicitly marked deprecated here
3420:info:build         int dmin = minor(dev);
3421:info:build                    ~~~~~ ^~~
3422:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3423:info:build extern errno_t mbuf_setnext(mbuf_t mbuf, mbuf_t next)
3424:info:build                ^
3425:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3426:info:build                                                               ^
3427:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3428:info:build extern void *ifnet_softc(ifnet_t interface)
3429:info:build              ^
3430:info:build tap.cc:169:16: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3431:info:build tun.cc:164:4: error: 'mbuf_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3432:info:build         errno_t err = ifnet_set_lladdr(ifp, LLADDR(&lladdr), ETHER_ADDR_LEN);
3433:info:build                       ^
3434:info:build                         mbuf_setlen(dummy_mb, sizeof(u_int32_t));
3435:info:build                         ^
3436:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:900:13: note: 'mbuf_setlen' has been explicitly marked deprecated here
3437:info:build ../tuntap_mgr.cc:328:19: warning: extern void mbuf_setlen(mbuf_t mbuf, size_t len)implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3438:info:build             ^
3439:info:build         int dmin = minor(dev);
3440:info:build                    ~~~~~ ^~~
3441:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3442:info:build tun.cc:165:20: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3443:info:build ../tuntap_mgr.cc../tuntap.cc:                        *((u_int32_t *) mbuf_data(dummy_mb)) = htonl(af);213                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);:
3444:info:build 37                                                              ^:
3445:info:build                                         ^
3446:info:build :360 :
3447:info:build 19: errorwarning/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h: :implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]872: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.htoo few arguments provided to function-like macro invocation:
3448:info:build 290::
3449:info:build 1414tuntap_mbuf_queue::enqueue(mbuf_t mb):
3450:info:build                                      ^note
3451:info:build : 'ifnet_softc' has been explicitly marked deprecated here
3452:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230::9:        int dmin = minor(dev);extern void *ifnet_softc(ifnet_t interface)
3453:info:build                    ~~~~~ ^~~             ^
3454:info:build  note/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:  :macro 'enqueue' defined here
3455:info:build note: 1586
3456:info:build 'mbuf_data' has been explicitly marked deprecated here
3457:info:build :16: note../tuntap_mgr.cc:344:19: warning: #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3458:info:build         ^
3459:info:build : 'ifnet_set_lladdr' has been explicitly marked deprecated here
3460:info:build extern void *mbuf_data(mbuf_t mbuf)implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3461:info:build              ^
3462:info:build         int dmin = minor(dev);
3463:info:build                    ~~~~~ ^~~
3464:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
3465:info:build                ^
3466:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3467:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3468:info:build                                                               ^
3469:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3470:info:build extern void *ifnet_softc(ifnet_t interface)
3471:info:build              ^
3472:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3473:info:build         int dmin = minor(dev);
3474:info:build                    ~~~~~ ^~~
3475:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3476:info:build 22 warnings and 1 error generated.
3477:info:build tun.cc:171:4: error: 'mbuf_free' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3478:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3479:info:build                                                               ^
3480:info:build                         mbuf_free(dummy_mb);
3481:info:build                         ^
3482:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:601:15/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::872 :note14: : 'mbuf_free' has been explicitly marked deprecated herenote
3483:info:build : 'ifnet_softc' has been explicitly marked deprecated here
3484:info:build ../tuntap.cc:213extern mbuf_t mbuf_free(mbuf_t mbuf):
3485:info:build 20              ^:
3486:info:build  error: non-static data member defined out-of-line
3487:info:build extern void *ifnet_softc(ifnet_t interface)
3488:info:build              ^
3489:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
3490:info:build ~~~~~~~~~~~~~~~~~~~^
3491:info:build 22 warnings and 1 error generated.
3492:info:build tap.cc:174:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3493:info:build         ifnet_set_mtu(ifp, TAP_MTU);
3494:info:build         ^
3495:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
3496:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
3497:info:build                ^
3498:info:build tun.cc:193:4: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3499:info:build                         ifnet_set_hdrlen(ifp, prepend_af ? sizeof(u_int32_t) : 0);
3500:info:build                         ^
3501:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
3502:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
3503:info:build tap.ccextern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
3504:info:build                ^
3505:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
3506:info:build                                     ^:176:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3507:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
3508:info:build         ifnet_set_hdrlen(ifp, sizeof(struct ether_header));
3509:info:build         ^
3510:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3511:info:build         ^/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h
3512:info:build :1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
3513:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
3514:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
3515:info:build                ^
3516:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
3517:info:build ~~~~~~~~~~~~~~~~~~~^
3518:info:build tap.cc:178:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3519:info:build         ifnet_set_flags(ifp, IFF_BROADCAST, IFF_BROADCAST);
3520:info:build         ^
3521:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.htun.cc:211::6:929 :error16: :'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3522:info:build  note: 'ifnet_set_flags' has been explicitly marked deprecated here
3523:info:build         if (mbuf_len(m) < sizeof(u_int32_t))
3524:info:build             ^
3525:info:build ../tuntap.cc:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h213::89027::15 :error : noteexpected ';' after top level declarator: extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
3526:info:build                ^
3527:info:build 'mbuf_len' has been explicitly marked deprecated here
3528:info:build extern size_t mbuf_len(const mbuf_t mbuf)
3529:info:build ../tuntap.cc:213:27:              ^
3530:info:build error: tuntap_mbuf_queue::enqueue(mbuf_t mb)expected ';' after top level declarator
3531:info:build                           ^
3532:info:build                           ;
3533:info:build tap.cc:184:29:tuntap_mbuf_queue::enqueue(mbuf_t mb)
3534:info:build error                          ^:
3535:info:build 'ifnet_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]                          ;
3536:info:build         bpfattach(ifp, DLT_EN10MB, ifnet_hdrlen(ifp));
3537:info:build                                    ^
3538:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1365:17: note: 'ifnet_hdrlen' has been explicitly marked deprecated here
3539:info:build extern u_int8_t ifnet_hdrlen(ifnet_t interface)
3540:info:build                 ^
3541:info:build tun.cc:217:35: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3542:info:build tap.cc:191:2: error:                 struct ip *iphdr = (struct ip*) mbuf_data(m);
3543:info:build                                                 ^
3544:info:build 'mbuf_gethdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3545:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
3546:info:build         mbuf_gethdr(MBUF_WAITOK, MBUF_TYPE_DATA, &empty_mbuf);
3547:info:build extern void *mbuf_data(mbuf_t mbuf)
3548:info:build              ^
3549:info:build         ^
3550:info:build ../tuntap.cc:803:30: error: too few arguments provided to function-like macro invocation
3551:info:build                 if (!send_queue.enqueue(pkt)) {
3552:info:build                                            ^
3553:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
3554:info:build ../tuntap.cc:803:30: error: #define enqueue(queue, elt)      enqueue_tail(queue, elt)too few arguments provided to function-like macro invocation
3555:info:build         ^
3556:info:build                 if (!send_queue.enqueue(pkt)) {
3557:info:build                                            ^
3558:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
3559:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3560:info:build         ^
3561:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:382:16: note: 'mbuf_gethdr' has been explicitly marked deprecated here
3562:info:build extern errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
3563:info:build                ^
3564:info:build tap.cc:193:3: error: 'mbuf_pkthdr_setrcvif' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3565:info:build                 mbuf_pkthdr_setrcvif(empty_mbuf, ifp);
3566:info:build                 ^
3567:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1029:16: note: 'mbuf_pkthdr_setrcvif' has been explicitly marked deprecated here
3568:info:build extern errno_t mbuf_pkthdr_setrcvif(mbuf_t mbuf, ifnet_t ifp)
3569:info:build                ^
3570:info:build tap.cc:194:3: error: 'mbuf_pkthdr_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3571:info:build 1 warning and 15 errors generated.
3572:info:build                 mbuf_pkthdr_setlen(empty_mbuf, 0);
3573:info:build                 ^
3574:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:993:13: note: 'mbuf_pkthdr_setlen' has been explicitly marked deprecated here
3575:info:build extern void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len)
3576:info:build             ^
3577:info:build 1 warning and 15 errors generated.
3578:info:build tap.cc:195:tun.cc:26637: :9:error : error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]'mbuf_prepend' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3579:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
3580:info:build                                                   ^
3581:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
3582:info:build                 err = mbuf_prepend(&nm, sizeof(u_int32_t), MBUF_WAITOK);
3583:info:build                       ^
3584:info:build extern void *mbuf_data(mbuf_t mbuf)
3585:info:build              ^
3586:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:689:16: note: 'mbuf_prepend' has been explicitly marked deprecated here
3587:info:build tap.cc:195:3: errorextern errno_t mbuf_prepend(mbuf_t *mbuf, size_t len, mbuf_how_t how):
3588:info:build 'mbuf_pkthdr_setheader' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]               ^
3589:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
3590:info:build                 ^
3591:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1047:13: note: 'mbuf_pkthdr_setheader' has been explicitly marked deprecated here
3592:info:build extern void mbuf_pkthdr_setheader(mbuf_t mbuf, void *header)
3593:info:build             ^
3594:info:build tun.cctap.cc:196:3: error: 'mbuf_set_csum_performed' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3595:info:build :                mbuf_set_csum_performed(empty_mbuf, 0, 0);
3596:info:build                 ^
3597:info:build 273:19:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h :error1194: :'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]16
3598:info:build : note: 'mbuf_set_csum_performed' has been explicitly marked deprecated here
3599:info:build                 *((u_int32_t *) mbuf_data(*m)) = htonl(dest->sa_family);
3600:info:build                                 ^
3601:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:extern errno_t mbuf_set_csum_performed(mbuf_t mbuf,
3602:info:build                ^
3603:info:build 14: note: 'mbuf_data' has been explicitly marked deprecated here
3604:info:build extern void *mbuf_data(mbuf_t mbuf)
3605:info:build              ^
3606:info:build tap.cc:197:7: error: 'ifnet_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3607:info:build                 if (ifnet_input(ifp, empty_mbuf, NULL) == 0) {
3608:info:build                     ^
3609:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1258:16: note: 'ifnet_input' has been explicitly marked deprecated here
3610:info:build extern errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
3611:info:build                ^
3612:info:build tap.cc:204:4: error: 'mbuf_freem' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3613:info:build                         mbuf_freem(empty_mbuf);
3614:info:build                         ^
3615:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:609:13: note: 'mbuf_freem' has been explicitly marked deprecated here
3616:info:build extern void mbuf_freem(mbuf_t mbuf)
3617:info:build             ^
3618:info:build tap.cc:221:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3619:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
3620:info:build                                       ^
3621:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
3622:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
3623:info:build                ^
3624:info:build tap.cc:247:45: warning: implicit conversion changes signedness: 'int' to 'thread_policy_flavor_t' (aka 'unsigned int') [-Wsign-conversion]
3625:info:build                         result = thread_policy_set(input_thread, -1, NULL, 0);
3626:info:build                                  ~~~~~~~~~~~~~~~~~               ^~
3627:info:build tun.cc:356:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
3628:info:build                         free = i;
3629:info:build                              ~ ^
3630:info:build tun.cc:392:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3631:info:build         proto_unregister_plumber(PF_INET, IFNET_FAMILY_TUN);
3632:info:build         ^
3633:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
3634:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
3635:info:build             ^
3636:info:build tun.cc:393:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3637:info:build         proto_unregister_plumber(PF_INET6, IFNET_FAMILY_TUN);
3638:info:build         ^
3639:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
3640:info:build tap.ccextern void proto_unregister_plumber(protocol_family_t proto_fam,:
3641:info:build 281            ^:
3642:info:build 19: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3643:info:build                                 errno_t err = ifnet_set_lladdr(ifp, ea->sa_data, ETHER_ADDR_LEN);
3644:info:build                                               ^
3645:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
3646:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
3647:info:build                ^
3648:info:build tun.cc:406:8: error: 'proto_register_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3649:info:build         err = proto_register_plumber(PF_INET, IFNET_FAMILY_TUN, tun_inet_attach, tun_inet_detach);
3650:info:build               ^
3651:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:122:16: note: 'proto_register_plumber' has been explicitly marked deprecated here
3652:info:build extern errno_t proto_register_plumber(protocol_family_t proto_fam,
3653:info:build                ^
3654:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
3655:info:build make[1]: *** [../tuntap_mgr.o] Error 1
3656:info:build make[1]: *** [../tuntap_mgr.o] Error 1
3657:info:build 1 warning and 20 errors generated.
3658:info:build tap.cc:348:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3659:info:build         if (mbuf_len(m) < sizeof(struct ether_header))
3660:info:build             ^
3661:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
3662:info:build extern size_t mbuf_len(const mbuf_t mbuf)
3663:info:build               ^
3664:info:build tap.cc:356:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3665:info:build                         mbuf_setflags_mask(m, MBUF_BCAST, MBUF_BCAST);
3666:info:build                         ^
3667:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
3668:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
3669:info:build                ^
3670:info:build tap.cc:360:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3671:info:build                         mbuf_setflags_mask(m, MBUF_MCAST, MBUF_MCAST);
3672:info:build                         ^
3673:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
3674:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
3675:info:build                ^
3676:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
3677:info:build make[1]: *** [../tuntap.o] Error 1
3678:info:build make[1]: *** [../tuntap.o] Error 1
3679:info:build 1 warning and 20 errors generated.
3680:info:build make[1]: *** [tun.o] Error 1
3681:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
3682:info:build make: *** [tun.kext] Error 2
3683:info:build make: *** Waiting for unfinished jobs....
3684:info:build make[1]: *** [tap.o] Error 1
3685:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
3686:info:build make: *** [tap.kext] Error 2
3687:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
3688:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
3689:info:build Exit code: 2
3690:error:build Failed to build tuntaposx: command execution failed
3691:debug:build Error code: CHILDSTATUS 3116 2
3692:debug:build Backtrace: command execution failed
3693:debug:build     while executing
3694:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
3695:debug:build     invoked from within
3696:debug:build "command_exec -callback portprogress::target_progress_callback build"
3697:debug:build     (procedure "portbuild::build_main" line 8)
3698:debug:build     invoked from within
3699:debug:build "$procedure $targetname"
3700:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.
3701version:1
3702:debug:main Starting logging for tuntaposx @20150118_0
3703:debug:sysinfo macOS 12.1 (darwin/21.2.0) arch i386
3704:debug:sysinfo MacPorts 2.7.1
3705:debug:sysinfo Xcode 13.1
3706:debug:sysinfo SDK 12
3707:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
3708:debug:main dropping privileges: euid changed to 502, egid changed to 501.
3709:debug:main Executing org.macports.main (tuntaposx)
3710:debug:main Privilege de-escalation not attempted as not running as root.
3711:debug:archivefetch archivefetch phase started at Wed Dec 22 19:47:41 -04 2021
3712:msg:archivefetch --->  Fetching archive for tuntaposx
3713:debug:archivefetch Executing org.macports.archivefetch (tuntaposx)
3714:debug:archivefetch euid/egid changed to: 0/0
3715:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
3716:debug:archivefetch euid/egid changed to: 502/501
3717:info:archivefetch --->  tuntaposx-20150118_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
3718:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/tuntaposx
3719:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
3720:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
3721:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
3722:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/tuntaposx
3723:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
3724:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3725:debug:archivefetch Skipping completed org.macports.fetch (tuntaposx)
3726:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3727:debug:archivefetch Skipping completed org.macports.checksum (tuntaposx)
3728:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3729:debug:archivefetch Skipping completed org.macports.extract (tuntaposx)
3730:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3731:debug:archivefetch Skipping completed org.macports.patch (tuntaposx)
3732:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3733:debug:archivefetch Skipping completed org.macports.configure (tuntaposx)
3734:debug:archivefetch Privilege de-escalation not attempted as not running as root.
3735:debug:build build phase started at Wed Dec 22 19:48:04 -04 2021
3736:notice:build --->  Building tuntaposx
3737:debug:build Executing org.macports.build (tuntaposx)
3738:debug:build Environment:
3739:debug:build CC_PRINT_OPTIONS='YES'
3740:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
3741:debug:build CPATH='/opt/local/include'
3742:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
3743:debug:build LIBRARY_PATH='/opt/local/lib'
3744:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
3745:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
3746:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
3747:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
3748:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
3749:info:build cd src/tap && make TUNTAP_VERSION=20150118 -f Makefile all
3750:info:build cd src/tun && make TUNTAP_VERSION=20150118 -f Makefile all
3751:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
3752:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
3753:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
3754:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
3755:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
3756:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
3757:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
3758:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
3759:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tap.cc -o tap.o
3760:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet_proto.c -o tun_inet_proto.o
3761:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet6_proto.c -o tun_inet6_proto.o
3762:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun.cc -o tun.o
3763:info:build tun_inet_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3764:info:build         return proto_input(PF_INET, m);
3765:info:build                ^
3766:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
3767:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
3768:info:build                ^
3769:info:build tun_inet_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3770:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
3771:info:build                ^
3772:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
3773:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
3774:info:build                ^
3775:info:build tun_inet_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3776:info:build         ifnet_detach_protocol(ifp, proto);
3777:info:build         ^
3778:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
3779:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
3780:info:build                ^
3781:info:build 3 errors generated.
3782:info:build tun_inet6_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3783:info:build         return proto_input(PF_INET6, m);
3784:info:build                ^
3785:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
3786:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
3787:info:build                ^
3788:info:build tun_inet6_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3789:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
3790:info:build                ^
3791:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
3792:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
3793:info:build                ^
3794:info:build tun_inet6_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3795:info:build         ifnet_detach_protocol(ifp, proto);
3796:info:build         ^
3797:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
3798:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
3799:info:build                ^
3800:info:build 3 errors generated.
3801:info:build make[1]: *** [tun_inet_proto.o] Error 1
3802:info:build make[1]: *** Waiting for unfinished jobs....
3803:info:build make[1]: *** [tun_inet6_proto.o] Error 1
3804:info:build In file included from ../tuntap.cc:30:
3805:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
3806:info:build                 bool enqueue(mbuf_t mb);
3807:info:build                                       ^
3808:info:build In file included from tun.cc:30:
3809:info:build In file included from In file included from kmod.cc:30:
3810:info:build In file included from ./tun.h:31:
3811:info:build ../tuntap.h:173./tun.h::/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:31230:
3812:info:build :9../tuntap.h:: 173note:: 2525macro 'enqueue' defined here:
3813:info:build  error: : too few arguments provided to function-like macro invocation
3814:info:build error: too few arguments provided to function-like macro invocation
3815:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3816:info:build         ^
3817:info:build                 bool enqueue(mbuf_t mb);
3818:info:build                                       ^
3819:info:build                 bool enqueue(mbuf_t mb);
3820:info:build                                       ^
3821:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
3822:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3823:info:build         ^
3824:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
3825:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3826:info:build         ^
3827:info:build In file included from ../tuntap_mgr.cc:30:
3828:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
3829:info:build                 bool enqueue(mbuf_t mb);
3830:info:build                                       ^
3831:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
3832:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3833:info:build         ^
3834:info:build In file included from kmod.cc:30:
3835:info:build In file included from ./tap.h:31:
3836:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
3837:info:build                 bool enqueue(mbuf_t mb);
3838:info:build                                       ^
3839:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
3840:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
3841:info:build         ^
3842:info:build 1 error generated.
3843:info:build In file included from ../tuntap_mgr.cc:30:
3844:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
3845:info:build                 bool enqueue(mbuf_t mb);
3846:info:build                                       ^
3847:info:build In file included from ../tuntap.cc:30:
3848:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
3849:info:build                 bool enqueue(mbuf_t mb);
3850:info:build                                       ^
3851:info:build ../tuntap_mgr.cc:90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
3852:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:tuntap_manager::initialize(unsigned int count, char *family)
3853:info:build 230                                        ^:
3854:info:build 9: note: macro 'enqueue' defined here../tuntap.h
3855:info:build :83:16/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h::#define enqueue(queue, elt)      enqueue_tail(queue, elt)230
3856:info:build :9:  note:         ^previous declaration is herenote
3857:info:build : macro 'enqueue' defined here
3858:info:build                 unsigned int count;
3859:info:build                              ^
3860:info:build ../tuntap_mgr.cc:90:54: warning: #define enqueue(queue, elt)      enqueue_tail(queue, elt)declaration shadows a field of 'tuntap_manager' [-Wshadow]
3861:info:build         ^
3862:info:build tuntap_manager::initialize(unsigned int count, char *family)
3863:info:build                                                      ^
3864:info:build ../tuntap.h:89:9: note: previous declaration is here
3865:info:build                 char *family;
3866:info:build                       ^
3867:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
3868:info:build                         if (tuntaps[i]->initialize(dev_major, i))
3869:info:build                                         ~~~~~~~~~~            ^
3870:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
3871:info:build                         if (tuntaps[i]->initialize(dev_major, i))
3872:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
3873:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3874:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
3875:info:build                         ~~~~~ ^~~
3876:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3877:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
3878:info:build                                   ~~~~~ ^~~
3879:info:build 1 error generated.
3880:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3881:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3882:info:build                         ~~~~~ ^~~
3883:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3884:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
3885:info:build                                   ~~~~~ ^~~
3886:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3887:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3888:info:build                         ~~~~~ ^~~
3889:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3890:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
3891:info:build                                   ~~~~~ ^~~
3892:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3893:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3894:info:build                         ~~~~~ ^~~
3895:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3896:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
3897:info:build                                   ~~~~~ ^~~
3898:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3899:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3900:info:build                         ~~~~~ ^~~
3901:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3902:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
3903:info:build                                   ~~~~~ ^~~
3904:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3905:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
3906:info:build                         ~~~~~ ^~~
3907:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3908:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
3909:info:build                                   ~~~~~ ^~~
3910:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3911:info:build         int dmin = minor(dev);
3912:info:build                    ~~~~~ ^~~
3913:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3914:info:build         int dmin = minor(dev);
3915:info:build                    ~~~~~ ^~~
3916:info:build ../tuntap_mgr.cc:90:41../tuntap_mgr.cc:: 312warning:: 19declaration shadows a field of 'tuntap_manager' [-Wshadow]:
3917:info:build  warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3918:info:build tuntap_manager::initialize(unsigned int count, char *family)
3919:info:build ../tuntap.cc        int dmin = minor(dev);:
3920:info:build 66                   ~~~~~ ^~~:
3921:info:build 49:                                        ^
3922:info:build  error: ../tuntap.h'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3923:info:build :83                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3924:info:build                                                               ^
3925:info:build :16: note: previous declaration is here
3926:info:build                 unsigned int count;
3927:info:build                              ^
3928:info:build tun.cc:88:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3929:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
3930:info:build         ifnet_set_mtu(ifp, TUN_MTU);
3931:info:build         ^
3932:info:build tuntap_manager::initialize(unsigned int count, char *family)
3933:info:build                                                      ^
3934:info:build ../tuntap.h:89:9: note: previous declaration is here
3935:info:build ../tuntap_mgr.cc:328:19                char *family;:
3936:info:build                       ^
3937:info:build  warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3938:info:build         int dmin = minor(dev);
3939:info:build                    ~~~~~ ^~~
3940:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3941:info:build extern void *ifnet_softc(ifnet_t interface)
3942:info:build              ^
3943:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3944:info:build                 mbuf_freem_list(m);
3945:info:build                 ^
3946:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3947:info:build         int dmin = minor(dev);
3948:info:build                    ~~~~~ ^~~
3949:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
3950:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
3951:info:build                ^
3952:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.hmake[1]: :619:*** [kmod.o] Error 112:tun.cc:90:2:
3953:info:build   noteerror: : 'mbuf_freem_list' has been explicitly marked deprecated here'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3954:info:build ../tuntap_mgr.cc        ifnet_set_hdrlen(ifp, 0);:
3955:info:build 360        ^
3956:info:build extern int mbuf_freem_list(mbuf_t mbuf)
3957:info:build            ^
3958:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::1357:16:19: warning note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
3959:info:build : implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
3960:info:build         int dmin = minor(dev);
3961:info:build                    ~~~~~ ^~~
3962:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
3963:info:build                ^
3964:info:build tun.cc:92:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3965:info:build         ifnet_set_flags(ifp, IFF_POINTOPOINT, IFF_POINTOPOINT);
3966:info:build         ^
3967:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
3968:info:build ../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3969:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
3970:info:build                ^
3971:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3972:info:build                                                               ^
3973:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
3974:info:build extern void *ifnet_softc(ifnet_t interface)
3975:info:build              ^
3976:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
3977:info:build                         if (tuntaps[i]->initialize(dev_major, i))
3978:info:build                                         ~~~~~~~~~~            ^
3979:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
3980:info:build                         if (tuntaps[i]->initialize(dev_major, i))
3981:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
3982:info:build In file included from tap.cc:30:
3983:info:build In file included from ./tap.h:31:
3984:info:build ../tuntap.h:173:25:../tuntap.cc:83:26: warning error: too few arguments provided to function-like macro invocation: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
3985:info:build                         return ttif->if_ioctl(cmd, arg);
3986:info:build                                      ~~~~~~~~ ^~~
3987:info:build                 bool enqueue(mbuf_t mb);
3988:info:build                                       ^
3989:info:build 22 warnings and 1 error generated.
3990:info:build tun.cc:111:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3991:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
3992:info:build                                       ^
3993:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
3994:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
3995:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
3996:info:build                ^
3997:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
3998:info:build                                                               ^
3999:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9:: note:  'ifnet_softc' has been explicitly marked deprecated herenote
4000:info:build : macro 'enqueue' defined here
4001:info:build extern void *ifnet_softc(ifnet_t interface)
4002:info:build              ^
4003:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4004:info:build         ^
4005:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4006:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4007:info:build                                                               ^
4008:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4009:info:build extern void *ifnet_softc(ifnet_t interface)
4010:info:build              ^
4011:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4012:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4013:info:build                                                               ^
4014:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4015:info:build extern void *ifnet_softc(ifnet_t interface)
4016:info:build              ^
4017:info:build tun.cc:139:25: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4018:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4019:info:build                         iphdr = (struct ip*) mbuf_data(mb);
4020:info:build                                              ^
4021:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4022:info:build                                                               ^
4023:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4024:info:build extern void *ifnet_softc(ifnet_t interface)
4025:info:build              ^
4026:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
4027:info:build ../tuntap.cc:143:49: error: extern void *mbuf_data(mbuf_t mbuf)'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4028:info:build              ^
4029:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4030:info:build                                                               ^
4031:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here../tuntap_mgr.cc:237:24:
4032:info:build  warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4033:info:build extern void *ifnet_softc(ifnet_t interface)
4034:info:build              ^
4035:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
4036:info:build                         ~~~~~ ^~~
4037:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4038:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
4039:info:build                                   ~~~~~ ^~~
4040:info:build tun.cc:156:10: error: 'mbuf_get' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4041:info:build                         err = mbuf_get(MBUF_WAITOK, MBUF_TYPE_DATA, &dummy_mb);
4042:info:build                               ^
4043:info:build ../tuntap.cc:156/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:369:16: :49: errornote: : 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4044:info:build 'mbuf_get' has been explicitly marked deprecated here
4045:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4046:info:build                                                               ^extern errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
4047:info:build                ^
4048:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here../tuntap_mgr.cc:244:24:
4049:info:build warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4050:info:build extern void *ifnet_softc(ifnet_t interface)
4051:info:build              ^
4052:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4053:info:build                         ~~~~~ ^~~
4054:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4055:info:build tun.cc                        : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
4056:info:build                                   ~~~~~ ^~~
4057:info:build :163:4: error: 'mbuf_setnext' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4058:info:build                         mbuf_setnext(dummy_mb, mb);
4059:info:build                         ^
4060:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:863:16: note: 'mbuf_setnext' has been explicitly marked deprecated here
4061:info:build extern errno_t mbuf_setnext(mbuf_t mbuf, mbuf_t next)
4062:info:build                ^
4063:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4064:info:build tun.cc:164:4: error: 'mbuf_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4065:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4066:info:build                                                               ^
4067:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note../tuntap_mgr.cc:251:24                        mbuf_setlen(dummy_mb, sizeof(u_int32_t));
4068:info:build                         ^
4069:info:build : :'ifnet_softc' has been explicitly marked deprecated here
4070:info:build  /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.hwarning:: 900:13: note: 'mbuf_setlen' has been explicitly marked deprecated hereimplicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4071:info:build extern void *ifnet_softc(ifnet_t interface)
4072:info:build              ^
4073:info:build extern void mbuf_setlen(mbuf_t mbuf, size_t len)
4074:info:build             ^
4075:info:build         return (mgr_map[major(dev)] == NULL ? EBADFmake[1]:
4076:info:build                         ~~~~~ ^~~*** [kmod.o] Error 1
4077:info:build make[1]: *** Waiting for unfinished jobs....
4078:info:build tun.cc:165:20: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4079:info:build                         *((u_int32_t *) mbuf_data(dummy_mb)) = htonl(af);../tuntap_mgr.cc
4080:info:build                                         ^
4081:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
4082:info:build extern void *mbuf_data(mbuf_t mbuf)
4083:info:build              ^
4084:info:build :252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4085:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
4086:info:build                                   ~~~~~ ^~~
4087:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
4088:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4089:info:build                                     ^
4090:info:build tun.cc:171:4: error: 'mbuf_free' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:../tuntap_mgr.cc:
4091:info:build 258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4092:info:build                         mbuf_free(dummy_mb);230:
4093:info:build 9: note:                         ^macro 'enqueue' defined here
4094:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4095:info:build                         ~~~~~ ^~~
4096:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:601:15: note: 'mbuf_free' has been explicitly marked deprecated here
4097:info:build extern mbuf_t mbuf_free(mbuf_t mbuf)../tuntap_mgr.cc
4098:info:build :              ^259
4099:info:build :20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]#define enqueue(queue, elt)      enqueue_tail(queue, elt)
4100:info:build         ^
4101:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
4102:info:build                                   ~~~~~ ^~~
4103:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
4104:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4105:info:build ~~~~~~~~~~~~~~~~~~~^
4106:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4107:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4108:info:build                         ~~~~~ ^~~
4109:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4110:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
4111:info:build                                   ~~~~~ ^~~
4112:info:build ../tuntap.cc:213:27: error: expected ';' after top level declarator
4113:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4114:info:build                           ^
4115:info:build                           ;
4116:info:build tun.cc:193:4: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4117:info:build                         ifnet_set_hdrlen(ifp, prepend_af ? sizeof(u_int32_t) : 0);
4118:info:build                         ^
4119:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
4120:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4121:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
4122:info:build                ^
4123:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4124:info:build                         ~~~~~ ^~~
4125:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4126:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
4127:info:build                                   ~~~~~ ^~~
4128:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4129:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4130:info:build                                                               ^
4131:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4132:info:build         int dmin = minor(dev);
4133:info:build                    ~~~~~ ^~~
4134:info:build tun.cc:211:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4135:info:build         if (mbuf_len(m) < sizeof(u_int32_t))
4136:info:build             ^
4137:info:build ../tuntap.cc:803:30: error: too few arguments provided to function-like macro invocation
4138:info:build                 if (!send_queue.enqueue(pkt)) {/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:
4139:info:build                                            ^
4140:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9:890 note:: macro 'enqueue' defined here15
4141:info:build : note: 'mbuf_len' has been explicitly marked deprecated here
4142:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4143:info:build         ^
4144:info:build extern size_t mbuf_len(const mbuf_t mbuf)
4145:info:build               ^
4146:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4147:info:build extern void *ifnet_softc(ifnet_t interface)
4148:info:build              ^
4149:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4150:info:build         int dmin = minor(dev);
4151:info:build                    ~~~~~ ^~~
4152:info:build ../tuntap.cc:tun.cc:217:35: error: 72'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
4153:info:build 3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4154:info:build                 struct ip *iphdr = (struct ip*) mbuf_data(m);
4155:info:build                                                 ^                mbuf_freem_list(m);
4156:info:build                 ^
4157:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
4158:info:build extern void *mbuf_data(mbuf_t mbuf)
4159:info:build              ^
4160:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4161:info:build         int dmin = minor(dev);
4162:info:build                    ~~~~~ ^~~
4163:info:build 1 warning/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619:12: note and 15 error: s generated'mbuf_freem_list' has been explicitly marked deprecated here
4164:info:build .
4165:info:build extern int mbuf_freem_list(mbuf_t mbuf)
4166:info:build            ^
4167:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4168:info:build         int dmin = minor(dev);
4169:info:build                    ~~~~~ ^~~
4170:info:build ../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4171:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4172:info:build                                                               ^
4173:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4174:info:build extern void *ifnet_softc(ifnet_t interface)
4175:info:build              ^
4176:info:build ../tuntap_mgr.cc:344:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4177:info:build         int dmin = minor(dev);
4178:info:build                    ~~~~~ ^~~
4179:info:build ../tuntap.cc:83:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
4180:info:build                         return ttif->if_ioctl(cmd, arg);
4181:info:build                                      ~~~~~~~~ ^~~
4182:info:build tun.cc:266:9: error: 'mbuf_prepend' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4183:info:build                 err = mbuf_prepend(&nm, sizeof(u_int32_t), MBUF_WAITOK);
4184:info:build                       ^
4185:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:689:16: note: 'mbuf_prepend' has been explicitly marked deprecated here
4186:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4187:info:build extern errno_t mbuf_prepend(mbuf_t *mbuf, size_t len, mbuf_how_t how)
4188:info:build                ^
4189:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4190:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4191:info:build                                                               ^
4192:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:        int dmin = minor(dev);872
4193:info:build :                   ~~~~~ ^~~14
4194:info:build : note: 'ifnet_softc' has been explicitly marked deprecated here
4195:info:build extern void *ifnet_softc(ifnet_t interface)
4196:info:build              ^
4197:info:build tun.cc:273:19: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4198:info:build                 *((u_int32_t *) mbuf_data(*m)) = htonl(dest->sa_family);
4199:info:build                                 ^
4200:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
4201:info:build extern void *mbuf_data(mbuf_t mbuf)
4202:info:build              ^
4203:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4204:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4205:info:build                                                               ^
4206:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4207:info:build extern void *ifnet_softc(ifnet_t interface)
4208:info:build              ^
4209:info:build 22 warnings and 1 error generated.
4210:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4211:info:build make[1]: *** [../tuntap_mgr.o] Error 1
4212:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4213:info:build                                                               ^
4214:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4215:info:build extern void *ifnet_softc(ifnet_t interface)
4216:info:build              ^
4217:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4218:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4219:info:build                                                               ^
4220:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4221:info:build extern void *ifnet_softc(ifnet_t interface)
4222:info:build              ^
4223:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4224:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4225:info:build                                                               ^
4226:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4227:info:build extern void *ifnet_softc(ifnet_t interface)
4228:info:build              ^
4229:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4230:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4231:info:build                                                               ^
4232:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4233:info:build extern void *ifnet_softc(ifnet_t interface)
4234:info:build              ^
4235:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4236:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4237:info:build                                                               ^
4238:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4239:info:build extern void *ifnet_softc(ifnet_t interface)
4240:info:build              ^
4241:info:build tun.cc:356:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
4242:info:build                         free = i;
4243:info:build                              ~ ^
4244:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
4245:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4246:info:build                                     ^
4247:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4248:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4249:info:build         ^
4250:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
4251:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4252:info:build ~~~~~~~~~~~~~~~~~~~^
4253:info:build tun.cc:392:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4254:info:build         proto_unregister_plumber(PF_INET, IFNET_FAMILY_TUN);
4255:info:build         ^
4256:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
4257:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
4258:info:build             ^
4259:info:build tun.cc:393:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4260:info:build ../tuntap.cc:213:27:        proto_unregister_plumber(PF_INET6, IFNET_FAMILY_TUN);
4261:info:build error        ^:
4262:info:build expected ';' after top level declarator
4263:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
4264:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4265:info:build                           ^
4266:info:build                           ;
4267:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
4268:info:build             ^
4269:info:build tun.cc:406:8: error: 'proto_register_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4270:info:build         err = proto_register_plumber(PF_INET, IFNET_FAMILY_TUN, tun_inet_attach, tun_inet_detach);
4271:info:build               ^
4272:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:122:16: note: 'proto_register_plumber' has been explicitly marked deprecated here
4273:info:build extern errno_t proto_register_plumber(protocol_family_t proto_fam,
4274:info:build                ^
4275:info:build ../tuntap.cc:803:30: error: too few arguments provided to function-like macro invocation
4276:info:build                 if (!send_queue.enqueue(pkt)) {
4277:info:build                                            ^
4278:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4279:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4280:info:build         ^
4281:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
4282:info:build 1 warning and 15 errors generated.
4283:info:build 1 warning and 20 errors generated.
4284:info:build make[1]: *** [../tuntap.o] Error 1
4285:info:build tap.cc:169:16: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4286:info:build         errno_t err = ifnet_set_lladdr(ifp, LLADDR(&lladdr), ETHER_ADDR_LEN);
4287:info:build                       ^
4288:info:build make[1]: *** [../tuntap_mgr.o] Error 1
4289:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
4290:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
4291:info:build                ^
4292:info:build tap.cc:174:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4293:info:build         ifnet_set_mtu(ifp, TAP_MTU);
4294:info:build         ^
4295:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
4296:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
4297:info:build                ^
4298:info:build tap.cc:176:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4299:info:build         ifnet_set_hdrlen(ifp, sizeof(struct ether_header));
4300:info:build         ^
4301:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
4302:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
4303:info:build                ^
4304:info:build tap.cc:178:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4305:info:build         ifnet_set_flags(ifp, IFF_BROADCAST, IFF_BROADCAST);
4306:info:build         ^
4307:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
4308:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
4309:info:build                ^
4310:info:build tap.cc:184:29: error: 'ifnet_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4311:info:build         bpfattach(ifp, DLT_EN10MB, ifnet_hdrlen(ifp));
4312:info:build                                    ^
4313:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1365:17: note: 'ifnet_hdrlen' has been explicitly marked deprecated here
4314:info:build extern u_int8_t ifnet_hdrlen(ifnet_t interface)
4315:info:build                 ^
4316:info:build tap.cc:191:2: error: 'mbuf_gethdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4317:info:build         mbuf_gethdr(MBUF_WAITOK, MBUF_TYPE_DATA, &empty_mbuf);
4318:info:build         ^
4319:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:382:16: note: 'mbuf_gethdr' has been explicitly marked deprecated here
4320:info:build extern errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
4321:info:build                ^
4322:info:build tap.cc:193:3: error: 'mbuf_pkthdr_setrcvif' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4323:info:build                 mbuf_pkthdr_setrcvif(empty_mbuf, ifp);
4324:info:build                 ^
4325:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1029:16: note: 'mbuf_pkthdr_setrcvif' has been explicitly marked deprecated here
4326:info:build extern errno_t mbuf_pkthdr_setrcvif(mbuf_t mbuf, ifnet_t ifp)
4327:info:build                ^
4328:info:build tap.cc:194:3: error: 'mbuf_pkthdr_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4329:info:build                 mbuf_pkthdr_setlen(empty_mbuf, 0);
4330:info:build                 ^
4331:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:993:13: note: 'mbuf_pkthdr_setlen' has been explicitly marked deprecated here
4332:info:build extern void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len)
4333:info:build             ^
4334:info:build tap.cc:195:37: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4335:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
4336:info:build                                                   ^
4337:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
4338:info:build extern void *mbuf_data(mbuf_t mbuf)
4339:info:build              ^
4340:info:build tap.cc:195:3: error: 'mbuf_pkthdr_setheader' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4341:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
4342:info:build                 ^
4343:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1047:13: note: 'mbuf_pkthdr_setheader' has been explicitly marked deprecated here
4344:info:build extern void mbuf_pkthdr_setheader(mbuf_t mbuf, void *header)
4345:info:build             ^
4346:info:build tap.cc:196:3: error: 'mbuf_set_csum_performed' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4347:info:build                 mbuf_set_csum_performed(empty_mbuf, 0, 0);
4348:info:build                 ^
4349:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1194:16: note: 'mbuf_set_csum_performed' has been explicitly marked deprecated here
4350:info:build extern errno_t mbuf_set_csum_performed(mbuf_t mbuf,
4351:info:build                ^
4352:info:build tap.cc:197:7: error: 'ifnet_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4353:info:build                 if (ifnet_input(ifp, empty_mbuf, NULL) == 0) {
4354:info:build                     ^
4355:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1258:16: note: 'ifnet_input' has been explicitly marked deprecated here
4356:info:build extern errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
4357:info:build                ^
4358:info:build tap.cc:204:4: error: 'mbuf_freem' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4359:info:build                         mbuf_freem(empty_mbuf);
4360:info:build                         ^
4361:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:609:13: note: 'mbuf_freem' has been explicitly marked deprecated here
4362:info:build extern void mbuf_freem(mbuf_t mbuf)
4363:info:build             ^
4364:info:build tap.cc:221:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4365:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
4366:info:build                                       ^
4367:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
4368:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
4369:info:build                ^
4370:info:build make[1]: *** [tun.o] Error 1
4371:info:build make[1]: *** [../tuntap.o] Error 1
4372:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
4373:info:build tap.cc:247:45: warning: implicit conversion changes signedness: 'int' to 'thread_policy_flavor_t' (aka 'unsigned int') [-Wsign-conversion]
4374:info:build                         result = thread_policy_set(input_thread, -1, NULL, 0);
4375:info:build                                  ~~~~~~~~~~~~~~~~~               ^~
4376:info:build tap.cc:281:19: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4377:info:build                                 errno_t err = ifnet_set_lladdr(ifp, ea->sa_data, ETHER_ADDR_LEN);
4378:info:build                                               ^
4379:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
4380:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
4381:info:build                ^
4382:info:build make: *** [tun.kext] Error 2
4383:info:build make: *** Waiting for unfinished jobs....
4384:info:build tap.cc:348:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4385:info:build         if (mbuf_len(m) < sizeof(struct ether_header))
4386:info:build             ^
4387:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
4388:info:build extern size_t mbuf_len(const mbuf_t mbuf)
4389:info:build               ^
4390:info:build tap.cc:356:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4391:info:build                         mbuf_setflags_mask(m, MBUF_BCAST, MBUF_BCAST);
4392:info:build                         ^
4393:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
4394:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
4395:info:build                ^
4396:info:build tap.cc:360:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4397:info:build                         mbuf_setflags_mask(m, MBUF_MCAST, MBUF_MCAST);
4398:info:build                         ^
4399:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
4400:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
4401:info:build                ^
4402:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
4403:info:build 1 warning and 20 errors generated.
4404:info:build make[1]: *** [tap.o] Error 1
4405:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
4406:info:build make: *** [tap.kext] Error 2
4407:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
4408:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
4409:info:build Exit code: 2
4410:error:build Failed to build tuntaposx: command execution failed
4411:debug:build Error code: CHILDSTATUS 10213 2
4412:debug:build Backtrace: command execution failed
4413:debug:build     while executing
4414:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
4415:debug:build     invoked from within
4416:debug:build "command_exec -callback portprogress::target_progress_callback build"
4417:debug:build     (procedure "portbuild::build_main" line 8)
4418:debug:build     invoked from within
4419:debug:build "$procedure $targetname"
4420:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.
4421version:1
4422:debug:main Starting logging for tuntaposx @20150118_0
4423:debug:sysinfo macOS 12.1 (darwin/21.2.0) arch i386
4424:debug:sysinfo MacPorts 2.7.1
4425:debug:sysinfo Xcode 13.1
4426:debug:sysinfo SDK 12
4427:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
4428:debug:main tuntaposx has no conflicts
4429:debug:main Executing org.macports.main (tuntaposx)
4430:debug:main dropping privileges: euid changed to 502, egid changed to 501.
4431:debug:archivefetch archivefetch phase started at Wed Dec 22 21:46:49 -04 2021
4432:msg:archivefetch --->  Fetching archive for tuntaposx
4433:debug:archivefetch Executing org.macports.archivefetch (tuntaposx)
4434:debug:archivefetch euid/egid changed to: 0/0
4435:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
4436:debug:archivefetch euid/egid changed to: 502/501
4437:info:archivefetch --->  tuntaposx-20150118_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
4438:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/tuntaposx
4439:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
4440:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
4441:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
4442:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/tuntaposx
4443:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
4444:debug:archivefetch Privilege de-escalation not attempted as not running as root.
4445:debug:archivefetch Skipping completed org.macports.fetch (tuntaposx)
4446:debug:archivefetch Privilege de-escalation not attempted as not running as root.
4447:debug:archivefetch Skipping completed org.macports.checksum (tuntaposx)
4448:debug:archivefetch Privilege de-escalation not attempted as not running as root.
4449:debug:archivefetch Skipping completed org.macports.extract (tuntaposx)
4450:debug:archivefetch Privilege de-escalation not attempted as not running as root.
4451:debug:archivefetch Skipping completed org.macports.patch (tuntaposx)
4452:debug:archivefetch Privilege de-escalation not attempted as not running as root.
4453:debug:archivefetch Skipping completed org.macports.configure (tuntaposx)
4454:debug:archivefetch Privilege de-escalation not attempted as not running as root.
4455:debug:build build phase started at Wed Dec 22 21:46:53 -04 2021
4456:notice:build --->  Building tuntaposx
4457:debug:build Executing org.macports.build (tuntaposx)
4458:debug:build Environment:
4459:debug:build CC_PRINT_OPTIONS='YES'
4460:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
4461:debug:build CPATH='/opt/local/include'
4462:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
4463:debug:build LIBRARY_PATH='/opt/local/lib'
4464:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
4465:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
4466:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
4467:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
4468:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
4469:info:build cd src/tap && make TUNTAP_VERSION=20150118 -f Makefile all
4470:info:build cd src/tun && make TUNTAP_VERSION=20150118 -f Makefile all
4471:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
4472:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
4473:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
4474:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
4475:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
4476:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
4477:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
4478:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
4479:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tap.cc -o tap.o
4480:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet_proto.c -o tun_inet_proto.o
4481:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet6_proto.c -o tun_inet6_proto.o
4482:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun.cc -o tun.o
4483:info:build tun_inet6_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4484:info:build         return proto_input(PF_INET6, m);
4485:info:build                ^
4486:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
4487:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
4488:info:build                ^
4489:info:build tun_inet6_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4490:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
4491:info:build                ^
4492:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
4493:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
4494:info:build                ^
4495:info:build tun_inet6_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4496:info:build         ifnet_detach_protocol(ifp, proto);
4497:info:build         ^
4498:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
4499:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
4500:info:build                ^
4501:info:build 3 errors generated.
4502:info:build make[1]: *** [tun_inet6_proto.o] Error 1
4503:info:build make[1]: *** Waiting for unfinished jobs....
4504:info:build tun_inet_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4505:info:build         return proto_input(PF_INET, m);
4506:info:build                ^
4507:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
4508:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
4509:info:build                ^
4510:info:build tun_inet_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4511:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
4512:info:build                ^
4513:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
4514:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
4515:info:build                ^
4516:info:build tun_inet_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4517:info:build         ifnet_detach_protocol(ifp, proto);
4518:info:build         ^
4519:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
4520:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
4521:info:build                ^
4522:info:build 3 errors generated.
4523:info:build make[1]: *** [tun_inet_proto.o] Error 1
4524:info:build In file included from kmod.cc:30:
4525:info:build In file included from ./tun.h:31:
4526:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
4527:info:build                 bool enqueue(mbuf_t mb);
4528:info:build                                       ^
4529:info:build In file included from ../tuntap.cc:30:
4530:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h
4531:info:build :230:9: note: macro 'enqueue' defined here
4532:info:build                 bool enqueue(mbuf_t mb);
4533:info:build                                       ^#define enqueue(queue, elt)      enqueue_tail(queue, elt)
4534:info:build         ^
4535:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4536:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4537:info:build         ^
4538:info:build In file included from In file included from tun.cc:30:
4539:info:build In file included from ./tun.h:31../tuntap.cc:30:
4540:info:build ../tuntap.h:173::
4541:info:build 25: error: ../tuntap.htoo few arguments provided to function-like macro invocation:
4542:info:build 173:25: error: too few arguments provided to function-like macro invocation
4543:info:build                 bool enqueue(mbuf_t mb);
4544:info:build                                       ^
4545:info:build                 bool enqueue(mbuf_t mb);
4546:info:build                                       ^
4547:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4548:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:In file included from ../tuntap_mgr.cc:30:
4549:info:build ../tuntap.h9::#define enqueue(queue, elt)      enqueue_tail(queue, elt)
4550:info:build         ^
4551:info:build  note: macro 'enqueue' defined here
4552:info:build 173:25: error: too few arguments provided to function-like macro invocation
4553:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4554:info:build         ^
4555:info:build                 bool enqueue(mbuf_t mb);
4556:info:build                                       ^
4557:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4558:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4559:info:build         ^
4560:info:build In file included from tap.cc:30:
4561:info:build In file included from ./tap.h:31:
4562:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
4563:info:build                 bool enqueue(mbuf_t mb);
4564:info:build                                       ^
4565:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4566:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4567:info:build         ^
4568:info:build In file included from ../tuntap_mgr.cc:30:
4569:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
4570:info:build In file included from kmod.cc:30:
4571:info:build In file included from ./tap.h:31:
4572:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
4573:info:build                 bool enqueue(mbuf_t mb);
4574:info:build                                       ^
4575:info:build                 bool enqueue(mbuf_t mb);
4576:info:build                                       ^
4577:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4578:info:build 1 error generated.
4579:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4580:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4581:info:build         ^
4582:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4583:info:build         ^
4584:info:build ../tuntap_mgr.cc:90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
4585:info:build tuntap_manager::initialize(unsigned int count, char *family)
4586:info:build                                         ^
4587:info:build ../tuntap.h:83:16: note: previous declaration is here
4588:info:build                 unsigned int count;
4589:info:build                              ^
4590:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
4591:info:build tuntap_manager::initialize(unsigned int count, char *family)
4592:info:build                                                      ^
4593:info:build ../tuntap.h:89:9: note: previous declaration is here
4594:info:build                 char *family;
4595:info:build                       ^
4596:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
4597:info:build                         if (tuntaps[i]->initialize(dev_major, i))
4598:info:build                                         ~~~~~~~~~~            ^
4599:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
4600:info:build                         if (tuntaps[i]->initialize(dev_major, i))
4601:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
4602:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4603:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
4604:info:build                         ~~~~~ ^~~
4605:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4606:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
4607:info:build                                   ~~~~~ ^~~
4608:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4609:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4610:info:build                         ~~~~~ ^~~
4611:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4612:info:build 1 error generated.
4613:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
4614:info:build                                   ~~~~~ ^~~
4615:info:build ../tuntap_mgr.cc:90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
4616:info:build tuntap_manager::initialize(unsigned int count, char *family)
4617:info:build                                         ^
4618:info:build ../tuntap.h:83:16: note: previous declaration is here
4619:info:build                 unsigned int count;
4620:info:build                              ^
4621:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
4622:info:build tuntap_manager::initialize(unsigned int count, char *family)
4623:info:build                                                      ^
4624:info:build ../tuntap.h:89:9: note: previous declaration is here
4625:info:build ../tuntap_mgr.cc                char *family;:
4626:info:build 251                      ^:
4627:info:build 24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4628:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4629:info:build                         ~~~~~ ^~~
4630:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4631:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
4632:info:build                                   ~~~~~ ^~~
4633:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4634:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4635:info:build                         ~~~~~ ^~~
4636:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4637:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
4638:info:build                                   ~~~~~ ^~~
4639:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4640:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4641:info:build                         ~~~~~ ^~~
4642:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4643:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
4644:info:build                                   ~~~~~ ^~~
4645:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4646:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4647:info:build                                                               ^
4648:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
4649:info:build                         if (tuntaps[i]->initialize(dev_major, i))
4650:info:build                                         ~~~~~~~~~~            ^
4651:info:build ../tuntap_mgr.cc../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4652:info:build :        return (mgr_map[major(dev)] == NULL ? EBADF128
4653:info:build :                        ~~~~~ ^~~31
4654:info:build : warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
4655:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4656:info:build                         if (tuntaps[i]->initialize(dev_major, i))
4657:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
4658:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
4659:info:build                                   ~~~~~ ^~~
4660:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4661:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4662:info:build extern void *ifnet_softc(ifnet_t interface)
4663:info:build              ^
4664:info:build         int dmin = minor(dev);
4665:info:build                    ~~~~~ ^~~
4666:info:build make[1]: ../tuntap.cc*** [kmod.o] Error 1:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4667:info:build ../tuntap_mgr.cc                mbuf_freem_list(m);
4668:info:build                 ^
4669:info:build :296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4670:info:build         int dmin = minor(dev);
4671:info:build                    ~~~~~ ^~~
4672:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4673:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4674:info:build                                                               ^
4675:info:build tun.cc:88:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4676:info:build         ifnet_set_mtu(ifp, TUN_MTU);
4677:info:build         ^
4678:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619:12: note: 'mbuf_freem_list' has been explicitly marked deprecated here
4679:info:build extern int mbuf_freem_list(mbuf_t mbuf)
4680:info:build            ^
4681:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4682:info:build         int dmin = minor(dev);
4683:info:build                    ~~~~~ ^~~
4684:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4685:info:build extern void *ifnet_softc(ifnet_t interface)
4686:info:build              ^
4687:info:build ../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4688:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
4689:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4690:info:build                                                               ^
4691:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note../tuntap_mgr.cc:328:extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu):
4692:info:build 19:                ^'ifnet_softc' has been explicitly marked deprecated here
4693:info:build warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4694:info:build ../tuntap.cc:72:extern void *ifnet_softc(ifnet_t interface)3
4695:info:build :             ^
4696:info:build         int dmin = minor(dev);
4697:info:build                    ~~~~~ ^~~
4698:info:build error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4699:info:build                 mbuf_freem_list(m);
4700:info:build                 ^
4701:info:build tun.cc:90:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4702:info:build         ifnet_set_hdrlen(ifp, 0);
4703:info:build         ^
4704:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
4705:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
4706:info:build                ^
4707:info:build tun.cc:92:2:../tuntap.cc:83:26 :error : warning: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
4708:info:build                         return ttif->if_ioctl(cmd, arg);
4709:info:build                                      ~~~~~~~~ ^~~        ifnet_set_flags(ifp, IFF_POINTOPOINT, IFF_POINTOPOINT);
4710:info:build         ^
4711:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
4712:info:build ../tuntap_mgr.cc/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h::344619::1912:extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,:
4713:info:build                 ^note
4714:info:build : 'mbuf_freem_list' has been explicitly marked deprecated here warning:
4715:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4716:info:build         int dmin = minor(dev);
4717:info:build extern int mbuf_freem_list(mbuf_t mbuf)                   ~~~~~ ^~~
4718:info:build            ^
4719:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4720:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4721:info:build                                                               ^
4722:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4723:info:build extern void *ifnet_softc(ifnet_t interface)
4724:info:build              ^
4725:info:build ../tuntap.cc:81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4726:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4727:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4728:info:build                                                               ^
4729:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4730:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
4731:info:build                         ~~~~~ ^~~
4732:info:build extern void *ifnet_softc(ifnet_t interface)../tuntap_mgr.cc:360:
4733:info:build 19../tuntap_mgr.cc:238:20: : tun.ccwarning: warningimplicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]:
4734:info:build              ^:
4735:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]111
4736:info:build :18: error        int dmin = minor(dev);:
4737:info:build 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]                   ~~~~~ ^~~
4738:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
4739:info:build                                   ~~~~~ ^~~
4740:info:build ../tuntap.cc:105:                        errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);49
4741:info:build :                                      ^
4742:info:build error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4743:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
4744:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4745:info:build                                                               ^
4746:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14extern errno_t ifnet_detach_protocol(ifnet_t interface,
4747:info:build                ^
4748:info:build : note: 'ifnet_softc' has been explicitly marked deprecated here
4749:info:build extern void *ifnet_softc(ifnet_t interface)
4750:info:build              ^
4751:info:build ../tuntap.cc:83:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
4752:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4753:info:build                         return ttif->if_ioctl(cmd, arg);
4754:info:build                                      ~~~~~~~~ ^~~
4755:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
4756:info:build                         ~~~~~ ^~~
4757:info:build ../tuntap_mgr.cc:245:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4758:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
4759:info:build                                   ~~~~~ ^~~
4760:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4761:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4762:info:build                                                               ^../tuntap_mgr.cc../tuntap.cc:118:49
4763:info:build :251:: 24error::  warning'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
4764:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4765:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4766:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4767:info:build                                                               ^
4768:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14        return (mgr_map[major(dev)] == NULL ? EBADF:
4769:info:build                          ~~~~~ ^~~note
4770:info:build : extern void *ifnet_softc(ifnet_t interface)'ifnet_softc' has been explicitly marked deprecated here
4771:info:build              ^
4772:info:build 22 warnings and 1 error generated.
4773:info:build extern void *ifnet_softc(ifnet_t interface)
4774:info:build              ^
4775:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4776:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
4777:info:build                                   ~~~~~ ^~~
4778:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4779:info:build ../tuntap.cc:105../tuntap.cc:131        return (mgr_map[major(dev)] == NULL ? EBADF:
4780:info:build 49                        ~~~~~ ^~~:
4781:info:build  error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4782:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4783:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4784:info:build                                                               ^
4785:info:build :/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:1449: :error : note: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4786:info:build 'ifnet_softc' has been explicitly marked deprecated here
4787:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
4788:info:build                                   ~~~~~ ^~~
4789:info:build tun.cc:139extern void *ifnet_softc(ifnet_t interface):
4790:info:build 25             ^:
4791:info:build  error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4792:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4793:info:build                                                               ^
4794:info:build                         iphdr = (struct ip*) mbuf_data(mb);
4795:info:build                                              ^
4796:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4797:info:build extern void *ifnet_softc(ifnet_t interface)
4798:info:build              ^
4799:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4800:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]        return (mgr_map[major(dev)] == NULL ? EBADF
4801:info:build                         ~~~~~ ^~~
4802:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4803:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4804:info:build                                                               ^
4805:info:build 290/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:                        : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));14
4806:info:build : note:: 'ifnet_softc' has been explicitly marked deprecated here14
4807:info:build                                   ~~~~~ ^~~:
4808:info:build  note: 'mbuf_data' has been explicitly marked deprecated hereextern void *ifnet_softc(ifnet_t interface)
4809:info:build              ^
4810:info:build extern void *mbuf_data(mbuf_t mbuf)
4811:info:build              ^
4812:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4813:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4814:info:build                                                               ^
4815:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4816:info:build extern void *ifnet_softc(ifnet_t interface)
4817:info:build              ^
4818:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4819:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4820:info:build                                                               ^
4821:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
4822:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]extern void *ifnet_softc(ifnet_t interface)
4823:info:build              ^
4824:info:build tun.cc:156:10:         return (mgr_map[major(dev)] == NULL ? EBADFerror
4825:info:build :                         ~~~~~ ^~~'mbuf_get' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4826:info:build ../tuntap_mgr.cc:273:20:                        err = mbuf_get(MBUF_WAITOK, MBUF_TYPE_DATA, &dummy_mb);
4827:info:build warning                              ^:
4828:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4829:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:369:16: note: 'mbuf_get' has been explicitly marked deprecated here
4830:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
4831:info:build                                   ~~~~~ ^~~
4832:info:build ../tuntap.cc:131:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]extern errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
4833:info:build                ^
4834:info:build ../tuntap.cc                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4835:info:build                                                               ^
4836:info:build :168:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h49::872 :error14: :'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4837:info:build note: 'ifnet_softc' has been explicitly marked deprecated here
4838:info:build extern void *ifnet_softc(ifnet_t interface)
4839:info:build              ^
4840:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4841:info:build ../tuntap_mgr.cc                                                              ^:
4842:info:build 280:19:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14tun.cc :warning::  noteimplicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]163
4843:info:build :4: : 'ifnet_softc' has been explicitly marked deprecated hereerror
4844:info:build : 'mbuf_setnext' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4845:info:build         int dmin = minor(dev);
4846:info:build                    ~~~~~ ^~~
4847:info:build extern void *ifnet_softc(ifnet_t interface)
4848:info:build                         mbuf_setnext(dummy_mb, mb);             ^
4849:info:build                         ^
4850:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:863:16: note: 'mbuf_setnext' has been explicitly marked deprecated here
4851:info:build extern errno_t mbuf_setnext(mbuf_t mbuf, mbuf_t next)
4852:info:build                ^
4853:info:build tun.cc:164:4: error: 'mbuf_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4854:info:build                         mbuf_setlen(dummy_mb, sizeof(u_int32_t));
4855:info:build                         ^
4856:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:900:13: note: 'mbuf_setlen' has been explicitly marked deprecated here
4857:info:build ../tuntap.cc:143:49:extern void mbuf_setlen(mbuf_t mbuf, size_t len)
4858:info:build             ^
4859:info:build  error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4860:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4861:info:build                                                               ^
4862:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14:tun.cc :note165: :'ifnet_softc' has been explicitly marked deprecated here20
4863:info:build : errortap.cc:169:16: extern void *ifnet_softc(ifnet_t interface)
4864:info:build 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]             ^
4865:info:build : error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4866:info:build                         *((u_int32_t *) mbuf_data(dummy_mb)) = htonl(af);
4867:info:build                                         ^
4868:info:build ../tuntap_mgr.cc:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h296::29019::14 :warning : noteimplicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]        errno_t err = ifnet_set_lladdr(ifp, LLADDR(&lladdr), ETHER_ADDR_LEN);
4869:info:build                       ^:
4870:info:build 'mbuf_data' has been explicitly marked deprecated here
4871:info:build         int dmin = minor(dev);
4872:info:build                    ~~~~~ ^~~
4873:info:build extern void *mbuf_data(mbuf_t mbuf)
4874:info:build              ^
4875:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
4876:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4877:info:build                                     ^
4878:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
4879:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4880:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4881:info:build         ^
4882:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4883:info:build                                                               ^
4884:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14../tuntap.cc:213:20: :error : notenon-static data member defined out-of-line:
4885:info:build 'ifnet_softc' has been explicitly marked deprecated here
4886:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4887:info:build ~~~~~~~~~~~~~~~~~~~^extern void *ifnet_softc(ifnet_t interface)
4888:info:build              ^
4889:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4890:info:build         int dmin = minor(dev);
4891:info:build                    ~~~~~ ^~~
4892:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
4893:info:build tun.cc:171:4: error: 'mbuf_free' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4894:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
4895:info:build                ^
4896:info:build                         mbuf_free(dummy_mb);
4897:info:build                         ^
4898:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:601:15: note: 'mbuf_free' has been explicitly marked deprecated here
4899:info:build extern mbuf_t mbuf_free(mbuf_t mbuf)
4900:info:build               ^
4901:info:build ../tuntap.cc:168:49: error: tap.cc'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4902:info:build :174:2: error: 'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4903:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
4904:info:build                                                               ^
4905:info:build         ifnet_set_mtu(ifp, TAP_MTU);
4906:info:build         ^
4907:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:: 1307note:: 16'ifnet_softc' has been explicitly marked deprecated here:
4908:info:build  note: 'ifnet_set_mtu' has been explicitly marked deprecated here
4909:info:build extern void *ifnet_softc(ifnet_t interface)
4910:info:build              ^
4911:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
4912:info:build                ^
4913:info:build ../tuntap_mgr.cc:328:19../tuntap.cc:213:27: : warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4914:info:build error: expected ';' after top level declarator
4915:info:build         int dmin = minor(dev);
4916:info:build                    ~~~~~ ^~~
4917:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4918:info:build tap.cc                          ^
4919:info:build                           ;
4920:info:build :176:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4921:info:build make[1]: *** [kmod.o] Error 1
4922:info:build make[1]: *** Waiting for unfinished jobs....
4923:info:build         ifnet_set_hdrlen(ifp, sizeof(struct ether_header));
4924:info:build         ^
4925:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
4926:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
4927:info:build                ^
4928:info:build tun.cc:193:4: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4929:info:build ../tuntap_mgr.cc:344tap.cc:../tuntap.cc:                        ifnet_set_hdrlen(ifp, prepend_af ? sizeof(u_int32_t) : 0);213:
4930:info:build 37                        ^:
4931:info:build  error: too few arguments provided to function-like macro invocation178/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::1357:19
4932:info:build : warning:16: : note2: 'ifnet_set_hdrlen' has been explicitly marked deprecated heretuntap_mbuf_queue::enqueue(mbuf_t mb)
4933:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]                                    ^
4934:info:build :../tuntap.cc/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h: error        int dmin = minor(dev);:
4935:info:build                    ~~~~~ ^~~'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]803
4936:info:build :
4937:info:build 30: :error: too few arguments provided to function-like macro invocation230
4938:info:build :9: note: macro 'enqueue' defined here
4939:info:build                 if (!send_queue.enqueue(pkt)) {
4940:info:build                                            ^
4941:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.hextern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)#define enqueue(queue, elt)      enqueue_tail(queue, elt)
4942:info:build         ^
4943:info:build                ^
4944:info:build :        ifnet_set_flags(ifp, IFF_BROADCAST, IFF_BROADCAST);
4945:info:build 230:9: note:         ^macro 'enqueue' defined here
4946:info:build ../tuntap.cc:213:20: error: non-static data member defined out-of-line
4947:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4948:info:build         ^
4949:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4950:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:~~~~~~~~~~~~~~~~~~~^16
4951:info:build : note: 'ifnet_set_flags' has been explicitly marked deprecated here
4952:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
4953:info:build                ^
4954:info:build tap.cc:184:29: error: 'ifnet_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4955:info:build         bpfattach(ifp, DLT_EN10MB, ifnet_hdrlen(ifp));
4956:info:build                                    ^
4957:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1365:17: note: 'ifnet_hdrlen' has been explicitly marked deprecated here../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
4958:info:build         int dmin = minor(dev);
4959:info:build                    ~~~~~ ^~~extern u_int8_t ifnet_hdrlen(ifnet_t interface)
4960:info:build                 ^
4961:info:build tun.cc:211:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4962:info:build ../tuntap.cc:213:27: error: expected ';' after top level declarator
4963:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
4964:info:build                           ^
4965:info:build                           ;tap.cc:191        if (mbuf_len(m) < sizeof(u_int32_t)):2
4966:info:build : error:
4967:info:build 'mbuf_gethdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4968:info:build         mbuf_gethdr(MBUF_WAITOK, MBUF_TYPE_DATA, &empty_mbuf);
4969:info:build         ^
4970:info:build             ^
4971:info:build 1 warning and 15 errors generated.
4972:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
4973:info:build extern size_t mbuf_len(const mbuf_t mbuf)
4974:info:build               ^
4975:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:382:16: note: 'mbuf_gethdr' has been explicitly marked deprecated here
4976:info:build extern errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
4977:info:build                ^
4978:info:build tun.cc:217:35: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4979:info:build                 struct ip *iphdr = (struct ip*) mbuf_data(m);
4980:info:build                                                 ^
4981:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
4982:info:build extern void *mbuf_data(mbuf_t mbuf)22
4983:info:build tap.cc             ^:
4984:info:build 193:3: error warnings and 1 error generated.
4985:info:build : 'mbuf_pkthdr_setrcvif' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4986:info:build ../tuntap.cc:803:30: error: too few arguments provided to function-like macro invocation
4987:info:build                 if (!send_queue.enqueue(pkt)) {
4988:info:build                                            ^                mbuf_pkthdr_setrcvif(empty_mbuf, ifp);
4989:info:build                 ^
4990:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h: :macro 'enqueue' defined here1029
4991:info:build :16: note: 'mbuf_pkthdr_setrcvif' has been explicitly marked deprecated here
4992:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
4993:info:build         ^
4994:info:build extern errno_t mbuf_pkthdr_setrcvif(mbuf_t mbuf, ifnet_t ifp)
4995:info:build                ^
4996:info:build tap.cc:194:3: error: 'mbuf_pkthdr_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
4997:info:build                 mbuf_pkthdr_setlen(empty_mbuf, 0);
4998:info:build                 ^
4999:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:993:13: note: 'mbuf_pkthdr_setlen' has been explicitly marked deprecated here
5000:info:build extern void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len)
5001:info:build             ^
5002:info:build tap.cc:195:37: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5003:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
5004:info:build                                                   ^
5005:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
5006:info:build extern void *mbuf_data(mbuf_t mbuf)
5007:info:build              ^
5008:info:build tap.cc:195:3: error: 'mbuf_pkthdr_setheader' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5009:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
5010:info:build                 ^
5011:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1047:13: note: 'mbuf_pkthdr_setheader' has been explicitly marked deprecated here
5012:info:build extern void mbuf_pkthdr_setheader(mbuf_t mbuf, void *header)
5013:info:build             ^
5014:info:build tap.cc:196:3: error: 'mbuf_set_csum_performed' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5015:info:build                 mbuf_set_csum_performed(empty_mbuf, 0, 0);
5016:info:build                 ^
5017:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1194:16:1 warning and 15 errors generated .
5018:info:build note: 'mbuf_set_csum_performed' has been explicitly marked deprecated here
5019:info:build extern errno_t mbuf_set_csum_performed(mbuf_t mbuf,
5020:info:build                ^
5021:info:build tap.cc:197:7: error: 'ifnet_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5022:info:build                 if (ifnet_input(ifp, empty_mbuf, NULL) == 0) {
5023:info:build                     ^
5024:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1258:16: note: 'ifnet_input' has been explicitly marked deprecated here
5025:info:build extern errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
5026:info:build                ^
5027:info:build tun.cc:266:9: error: 'mbuf_prepend' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5028:info:build                 err = mbuf_prepend(&nm, sizeof(u_int32_t), MBUF_WAITOK);
5029:info:build                       ^
5030:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:689:16: note: 'mbuf_prepend' has been explicitly marked deprecated here
5031:info:build extern errno_t mbuf_prepend(mbuf_t *mbuf, size_t len, mbuf_how_t how)
5032:info:build                ^
5033:info:build tun.cc:273:19: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5034:info:build                 *((u_int32_t *) mbuf_data(*m)) = htonl(dest->sa_family);
5035:info:build                                 ^
5036:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
5037:info:build extern void *mbuf_data(mbuf_t mbuf)
5038:info:build              ^
5039:info:build tap.cc:204:4: error: 'mbuf_freem' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5040:info:build                         mbuf_freem(empty_mbuf);
5041:info:build                         ^
5042:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:609:13: note: 'mbuf_freem' has been explicitly marked deprecated here
5043:info:build extern void mbuf_freem(mbuf_t mbuf)
5044:info:build             ^
5045:info:build tap.cc:221:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5046:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
5047:info:build                                       ^
5048:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
5049:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
5050:info:build                ^
5051:info:build tap.cc:247:45: warning: implicit conversion changes signedness: 'int' to 'thread_policy_flavor_t' (aka 'unsigned int') [-Wsign-conversion]
5052:info:build                         result = thread_policy_set(input_thread, -1, NULL, 0);
5053:info:build                                  ~~~~~~~~~~~~~~~~~               ^~
5054:info:build make[1]: *** [../tuntap_mgr.o] Error 1
5055:info:build tun.cc:356:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
5056:info:build                         free = i;
5057:info:build                              ~ ^
5058:info:build tap.cc:281:19: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5059:info:build                                 errno_t err = ifnet_set_lladdr(ifp, ea->sa_data, ETHER_ADDR_LEN);
5060:info:build                                               ^
5061:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
5062:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
5063:info:build                ^
5064:info:build tun.cc:392:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5065:info:build         proto_unregister_plumber(PF_INET, IFNET_FAMILY_TUN);
5066:info:build         ^
5067:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
5068:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
5069:info:build             ^
5070:info:build tun.cc:393:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5071:info:build         proto_unregister_plumber(PF_INET6, IFNET_FAMILY_TUN);
5072:info:build         ^
5073:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
5074:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
5075:info:build             ^
5076:info:build tun.cc:406:8: error: 'proto_register_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5077:info:build         err = proto_register_plumber(PF_INET, IFNET_FAMILY_TUN, tun_inet_attach, tun_inet_detach);
5078:info:build               ^
5079:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:122:16: note: 'proto_register_plumber' has been explicitly marked deprecated here
5080:info:build extern errno_t proto_register_plumber(protocol_family_t proto_fam,
5081:info:build                ^
5082:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
5083:info:build tap.cc:348:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5084:info:build         if (mbuf_len(m) < sizeof(struct ether_header))
5085:info:build             ^
5086:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
5087:info:build extern size_t mbuf_len(const mbuf_t mbuf)
5088:info:build               ^
5089:info:build 1 warning and 20 errors generated.
5090:info:build tap.cc:356:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5091:info:build                         mbuf_setflags_mask(m, MBUF_BCAST, MBUF_BCAST);
5092:info:build                         ^
5093:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
5094:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
5095:info:build                ^
5096:info:build tap.cc:360:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5097:info:build                         mbuf_setflags_mask(m, MBUF_MCAST, MBUF_MCAST);
5098:info:build                         ^
5099:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
5100:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
5101:info:build                ^
5102:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
5103:info:build make[1]: *** [../tuntap.o] Error 1
5104:info:build make[1]: *** [../tuntap_mgr.o] Error 1
5105:info:build make[1]: *** [../tuntap.o] Error 1
5106:info:build 1 warning and 20 errors generated.
5107:info:build make[1]: *** [tun.o] Error 1
5108:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
5109:info:build make: *** [tun.kext] Error 2
5110:info:build make: *** Waiting for unfinished jobs....
5111:info:build make[1]: *** [tap.o] Error 1
5112:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
5113:info:build make: *** [tap.kext] Error 2
5114:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
5115:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
5116:info:build Exit code: 2
5117:error:build Failed to build tuntaposx: command execution failed
5118:debug:build Error code: CHILDSTATUS 11012 2
5119:debug:build Backtrace: command execution failed
5120:debug:build     while executing
5121:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
5122:debug:build     invoked from within
5123:debug:build "command_exec -callback portprogress::target_progress_callback build"
5124:debug:build     (procedure "portbuild::build_main" line 8)
5125:debug:build     invoked from within
5126:debug:build "$procedure $targetname"
5127:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.
5128version:1
5129:debug:main Starting logging for tuntaposx @20150118_0
5130:debug:sysinfo macOS 12.1 (darwin/21.2.0) arch i386
5131:debug:sysinfo MacPorts 2.7.1
5132:debug:sysinfo Xcode 13.1
5133:debug:sysinfo SDK 12
5134:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
5135:debug:main dropping privileges: euid changed to 502, egid changed to 501.
5136:debug:main Executing org.macports.main (tuntaposx)
5137:debug:main Privilege de-escalation not attempted as not running as root.
5138:debug:archivefetch archivefetch phase started at Wed Dec 22 22:55:16 -04 2021
5139:msg:archivefetch --->  Fetching archive for tuntaposx
5140:debug:archivefetch Executing org.macports.archivefetch (tuntaposx)
5141:debug:archivefetch euid/egid changed to: 0/0
5142:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
5143:debug:archivefetch euid/egid changed to: 502/501
5144:info:archivefetch --->  tuntaposx-20150118_0.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
5145:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://packages.macports.org/tuntaposx
5146:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
5147:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tuntaposx
5148:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
5149:msg:archivefetch --->  Attempting to fetch tuntaposx-20150118_0.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/tuntaposx
5150:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
5151:debug:archivefetch Privilege de-escalation not attempted as not running as root.
5152:debug:archivefetch Skipping completed org.macports.fetch (tuntaposx)
5153:debug:archivefetch Privilege de-escalation not attempted as not running as root.
5154:debug:archivefetch Skipping completed org.macports.checksum (tuntaposx)
5155:debug:archivefetch Privilege de-escalation not attempted as not running as root.
5156:debug:archivefetch Skipping completed org.macports.extract (tuntaposx)
5157:debug:archivefetch Privilege de-escalation not attempted as not running as root.
5158:debug:archivefetch Skipping completed org.macports.patch (tuntaposx)
5159:debug:archivefetch Privilege de-escalation not attempted as not running as root.
5160:debug:archivefetch Skipping completed org.macports.configure (tuntaposx)
5161:debug:archivefetch Privilege de-escalation not attempted as not running as root.
5162:debug:build build phase started at Wed Dec 22 22:55:19 -04 2021
5163:notice:build --->  Building tuntaposx
5164:debug:build Executing org.macports.build (tuntaposx)
5165:debug:build Environment:
5166:debug:build CC_PRINT_OPTIONS='YES'
5167:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/.CC_PRINT_OPTIONS'
5168:debug:build CPATH='/opt/local/include'
5169:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
5170:debug:build LIBRARY_PATH='/opt/local/lib'
5171:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
5172:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
5173:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
5174:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
5175:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
5176:info:build cd src/tap && make TUNTAP_VERSION=20150118 -f Makefile all
5177:info:build cd src/tun && make TUNTAP_VERSION=20150118 -f Makefile all
5178:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
5179:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
5180:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
5181:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap.cc -o ../tuntap.o
5182:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
5183:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c ../tuntap_mgr.cc -o ../tuntap_mgr.o
5184:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
5185:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c kmod.cc -o kmod.o
5186:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTAP_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tap.cc -o tap.o
5187:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet_proto.c -o tun_inet_proto.o
5188:info:build /usr/bin/clang -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun_inet6_proto.c -o tun_inet6_proto.o
5189:info:build /usr/bin/clang++ -Wall -Werror -mkernel -force_cpusubtype_ALL -nostdinc -fno-builtin -fno-stack-protector -msoft-float -fno-common -arch x86_64 -DKERNEL -DAPPLE -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"20150118\" -DTUN_KEXT_VERSION=\"20150118\" -I.. -I/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers -c tun.cc -o tun.o
5190:info:build tun_inet_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5191:info:build         return proto_input(PF_INET, m);
5192:info:build                ^
5193:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
5194:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
5195:info:build                ^
5196:info:build tun_inet_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5197:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
5198:info:build                ^
5199:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
5200:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
5201:info:build                ^
5202:info:build tun_inet_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5203:info:build         ifnet_detach_protocol(ifp, proto);
5204:info:build         ^
5205:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
5206:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
5207:info:build                ^
5208:info:build tun_inet6_proto.c:40:9: error: 'proto_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5209:info:build         return proto_input(PF_INET6, m);
5210:info:build                ^
5211:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:61:16: note: 'proto_input' has been explicitly marked deprecated here
5212:info:build 3 errors generated.
5213:info:build extern errno_t proto_input(protocol_family_t protocol, mbuf_t packet)
5214:info:build                ^
5215:info:build tun_inet6_proto.c:78:9: error: 'ifnet_attach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5216:info:build         return ifnet_attach_protocol(ifp, proto, &pr);
5217:info:build                ^
5218:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1163:16: note: 'ifnet_attach_protocol' has been explicitly marked deprecated here
5219:info:build extern errno_t ifnet_attach_protocol(ifnet_t interface,
5220:info:build                ^
5221:info:build tun_inet6_proto.c:85:2: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5222:info:build         ifnet_detach_protocol(ifp, proto);
5223:info:build         ^
5224:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
5225:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
5226:info:build                ^
5227:info:build 3 errors generated.
5228:info:build make[1]: *** [tun_inet_proto.o] Error 1
5229:info:build make[1]: *** Waiting for unfinished jobs....
5230:info:build make[1]: *** [tun_inet6_proto.o] Error 1
5231:info:build In file included from kmod.cc:30:
5232:info:build In file included from ./tun.h:31:
5233:info:build ../tuntap.h:173In file included from ../tuntap_mgr.cc:30:
5234:info:build ../tuntap.h:173::In file included from 2525: error: ../tuntap.cctoo few arguments provided to function-like macro invocation:
5235:info:build 30::
5236:info:build ../tuntap.h:173: 25:error : error: too few arguments provided to function-like macro invocation
5237:info:build too few arguments provided to function-like macro invocation                bool enqueue(mbuf_t mb);
5238:info:build                                       ^
5239:info:build                 bool enqueue(mbuf_t mb);
5240:info:build                                       ^
5241:info:build                 bool enqueue(mbuf_t mb);
5242:info:build                                       ^
5243:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5244:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5245:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5246:info:build         ^
5247:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5248:info:build         ^
5249:info:build In file included from ../tuntap.cc:30:
5250:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
5251:info:build                 bool enqueue(mbuf_t mb);
5252:info:build                                       ^
5253:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5254:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5255:info:build         ^
5256:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5257:info:build In file included from kmod.cc:30:
5258:info:build In file included from ./tap.h:31:
5259:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
5260:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5261:info:build         ^
5262:info:build In file included from                 bool enqueue(mbuf_t mb);
5263:info:build                                       ^
5264:info:build tap.cc:30:
5265:info:build In file included from ./tap.h:31:
5266:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
5267:info:build                 bool enqueue(mbuf_t mb);
5268:info:build                                       ^
5269:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5270:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5271:info:build         ^
5272:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5273:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5274:info:build         ^
5275:info:build In file included from ../tuntap_mgr.cc:30:
5276:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
5277:info:build                 bool enqueue(mbuf_t mb);
5278:info:build                                       ^
5279:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5280:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5281:info:build         ^
5282:info:build In file included from tun.cc:30:
5283:info:build In file included from ./tun.h:31:
5284:info:build ../tuntap.h:173:25: error: too few arguments provided to function-like macro invocation
5285:info:build                 bool enqueue(mbuf_t mb);
5286:info:build                                       ^
5287:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5288:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5289:info:build         ^
5290:info:build 1 error generated.
5291:info:build ../tuntap_mgr.cc:90:41: warning: 1declaration shadows a field of 'tuntap_manager' [-Wshadow]
5292:info:build  error generated.
5293:info:build tuntap_manager::initialize(unsigned int count, char *family)
5294:info:build                                         ^
5295:info:build ../tuntap.h:83:16: note: previous declaration is here
5296:info:build                 unsigned int count;
5297:info:build                              ^
5298:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
5299:info:build tuntap_manager::initialize(unsigned int count, char *family)
5300:info:build                                                      ^
5301:info:build ../tuntap.h:89:9: note: previous declaration is here
5302:info:build                 char *family;
5303:info:build                       ^
5304:info:build ../tuntap_mgr.cc:128:42: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
5305:info:build                         if (tuntaps[i]->initialize(dev_major, i))
5306:info:build                                         ~~~~~~~~~~            ^
5307:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
5308:info:build                         if (tuntaps[i]->initialize(dev_major, i))
5309:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
5310:info:build ../tuntap_mgr.cc:90:41: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
5311:info:build tuntap_manager::initialize(unsigned int count, char *family)
5312:info:build                                         ^
5313:info:build ../tuntap.h:83:16: note: previous declaration is here
5314:info:build                 unsigned int count;
5315:info:build                              ^
5316:info:build ../tuntap_mgr.cc:90:54: warning: declaration shadows a field of 'tuntap_manager' [-Wshadow]
5317:info:build tuntap_manager::initialize(unsigned int count, char *family)
5318:info:build                                                      ^
5319:info:build ../tuntap.h:89:9: note: previous declaration is here
5320:info:build                 char *family;
5321:info:build                       ^
5322:info:build ../tuntap_mgr.cc:237:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5323:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
5324:info:build                         ~~~~~ ^~~
5325:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5326:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
5327:info:build                                   ~~~~~ ^~~
5328:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5329:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5330:info:build                         ~~~~~ ^~~
5331:info:build ../tuntap_mgr.cc:128:../tuntap_mgr.cc42::245 :warning20: :implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
5332:info:build warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5333:info:build                         if (tuntaps[i]->initialize(dev_major, i))
5334:info:build                                         ~~~~~~~~~~            ^
5335:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
5336:info:build                                   ~~~~~ ^~~
5337:info:build ../tuntap_mgr.cc:128:31: warning: implicit conversion loses integer precision: 'int' to 'unsigned short' [-Wimplicit-int-conversion]
5338:info:build                         if (tuntaps[i]->initialize(dev_major, i))
5339:info:build                                         ~~~~~~~~~~ ^~~~~~~~~
5340:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5341:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5342:info:build                         ~~~~~ ^~~
5343:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5344:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
5345:info:build                                   ~~~~~ ^~~
5346:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5347:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5348:info:build                         ~~~~~ ^~~
5349:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5350:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
5351:info:build                                   ~~~~~ ^~~
5352:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5353:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5354:info:build                         ~~~~~ ^~~
5355:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5356:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
5357:info:build                                   ~~~~~ ^~~
5358:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5359:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5360:info:build                         ~~~~~ ^~~
5361:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5362:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
5363:info:build                                   ~~~~~ ^~~
5364:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5365:info:build ../tuntap_mgr.cc:237:        int dmin = minor(dev);24
5366:info:build :                   ~~~~~ ^~~
5367:info:build warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5368:info:build         return (mgr_map[major(dev)] == NULL ? ENOENT
5369:info:build                         ~~~~~ ^~~
5370:info:build ../tuntap_mgr.cc:238:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5371:info:build                         : mgr_map[major(dev)]->do_cdev_open(dev, flags, devtype, p));
5372:info:build                                   ~~~~~ ^~~
5373:info:build ../tuntap_mgr.cc:244:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5374:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5375:info:build                         ~~~~~ ^~~
5376:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5377:info:build ../tuntap_mgr.cc:245:20: warning:         int dmin = minor(dev);implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5378:info:build                    ~~~~~ ^~~
5379:info:build                         : mgr_map[major(dev)]->do_cdev_close(dev, flags, devtype, p));
5380:info:build                                   ~~~~~ ^~~
5381:info:build ../tuntap_mgr.cc:251:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5382:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5383:info:build                         ~~~~~ ^~~
5384:info:build ../tuntap_mgr.cc:252:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5385:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5386:info:build                         : mgr_map[major(dev)]->do_cdev_read(dev, uio, ioflag));
5387:info:build                                   ~~~~~ ^~~
5388:info:build         int dmin = minor(dev);
5389:info:build                    ~~~~~ ^~~
5390:info:build ../tuntap_mgr.cc:258:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5391:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5392:info:build                         ~~~~~ ^~~
5393:info:build ../tuntap_mgr.cc:259:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5394:info:build                         : mgr_map[major(dev)]->do_cdev_write(dev, uio, ioflag));
5395:info:build                                   ~~~~~ ^~~
5396:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5397:info:build         int dmin = minor(dev);
5398:info:build                    ~~~~~ ^~~
5399:info:build ../tuntap_mgr.cc:265:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5400:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5401:info:build                         ~~~~~ ^~~
5402:info:build ../tuntap_mgr.cc:266:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5403:info:build                         : mgr_map[major(dev)]->do_cdev_ioctl(dev, cmd, data, fflag, p));
5404:info:build ../tuntap.cc:66:49:                                  ~~~~~ ^~~
5405:info:build error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5406:info:build ../tuntap_mgr.cc:344:19: warning:                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5407:info:build                                                               ^
5408:info:build         int dmin = minor(dev);
5409:info:build                    ~~~~~ ^~~
5410:info:build ../tuntap_mgr.cc:272:24: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5411:info:build         return (mgr_map[major(dev)] == NULL ? EBADF
5412:info:build                         ~~~~~ ^~~
5413:info:build ../tuntap_mgr.cc:273:20: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5414:info:build                         : mgr_map[major(dev)]->do_cdev_select(dev, which, wql, p));
5415:info:build                                   ~~~~~ ^~~
5416:info:build ../tuntap_mgr.cc:360:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5417:info:build         int dmin = minor(dev);
5418:info:build                    ~~~~~ ^~~
5419:info:build ../tuntap_mgr.cc:280:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5420:info:build         int dmin = minor(dev);
5421:info:build                    ~~~~~ ^~~
5422:info:build make[1]: *** [kmod.o] Error 1
5423:info:build make[1]: *** [kmod.o] Error 1
5424:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5425:info:build make[1]: *** Waiting for unfinished jobs....
5426:info:build extern void *ifnet_softc(ifnet_t interface)
5427:info:build              ^
5428:info:build ../tuntap_mgr.cc:296:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5429:info:build tun.cc:88:2:         int dmin = minor(dev);error
5430:info:build :                    ~~~~~ ^~~'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5431:info:build         ifnet_set_mtu(ifp, TUN_MTU);
5432:info:build         ^
5433:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5434:info:build                 mbuf_freem_list(m);
5435:info:build                 ^
5436:info:build ../tuntap.cc:66:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5437:info:build 22 warnings and 1 error generated.
5438:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5439:info:build                                                               ^
5440:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
5441:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
5442:info:build                ^
5443:info:build ../tuntap_mgr.cc:312:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5444:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:619:12: note: 'mbuf_freem_list' has been explicitly marked deprecated here
5445:info:build         int dmin = minor(dev);
5446:info:build                    ~~~~~ ^~~
5447:info:build extern int mbuf_freem_list(mbuf_t mbuf)
5448:info:build            ^
5449:info:build tun.cc:90:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5450:info:build         ifnet_set_hdrlen(ifp, 0);
5451:info:build         ^
5452:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
5453:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
5454:info:build                ^
5455:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5456:info:build tun.cc:92:2: error: extern void *ifnet_softc(ifnet_t interface)'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5457:info:build              ^
5458:info:build         ifnet_set_flags(ifp, IFF_POINTOPOINT, IFF_POINTOPOINT);
5459:info:build         ^
5460:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:929:16: note: ../tuntap.cc:81:49:'ifnet_set_flags' has been explicitly marked deprecated here
5461:info:build  error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5462:info:build ../tuntap_mgr.cc:328:19: warning: implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5463:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
5464:info:build                ^
5465:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);        int dmin = minor(dev);
5466:info:build                                                               ^                   ~~~~~ ^~~
5467:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5468:info:build ../tuntap.cc:72:3: error: 'mbuf_freem_list' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5469:info:build                 mbuf_freem_list(m);
5470:info:build                 ^
5471:info:build extern void *ifnet_softc(ifnet_t interface)
5472:info:build              ^
5473:info:build ../tuntap.cc:83:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
5474:info:build ../tuntap_mgr.cc:344:19/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h::619:                        return ttif->if_ioctl(cmd, arg);
5475:info:build                                      ~~~~~~~~ ^~~
5476:info:build  warning: tun.cc:12111:: 18note::  implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5477:info:build error'mbuf_freem_list' has been explicitly marked deprecated here:
5478:info:build 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5479:info:build         int dmin = minor(dev);
5480:info:build                    ~~~~~ ^~~
5481:info:build extern int mbuf_freem_list(mbuf_t mbuf)
5482:info:build            ^
5483:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
5484:info:build                                       ^
5485:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
5486:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
5487:info:build                ^
5488:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5489:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5490:info:build                                                               ^
5491:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5492:info:build extern void *ifnet_softc(ifnet_t interface)
5493:info:build ../tuntap.cc             ^:
5494:info:build 81:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5495:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5496:info:build                                                               ^
5497:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5498:info:build ../tuntap_mgr.cc:360:19: warning: extern void *ifnet_softc(ifnet_t interface)
5499:info:build              ^
5500:info:build implicit conversion changes signedness: 'dev_t' (aka 'int') to '__uint32_t' (aka 'unsigned int') [-Wsign-conversion]
5501:info:build         int dmin = minor(dev);
5502:info:build                    ~~~~~ ^~~
5503:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5504:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5505:info:build                                                               ^
5506:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14:../tuntap.cc :note83: :'ifnet_softc' has been explicitly marked deprecated here26
5507:info:build : warning: implicit conversion loses integer precision: 'unsigned long' to 'u_int32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
5508:info:build extern void *ifnet_softc(ifnet_t interface)
5509:info:build              ^
5510:info:build                         return ttif->if_ioctl(cmd, arg);
5511:info:build                                      ~~~~~~~~ ^~~
5512:info:build ../tuntap.cc:93:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5513:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5514:info:build                                                               ^../tuntap.cc
5515:info:build :118:49/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:: 872error:: 14'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
5516:info:build  note: 'ifnet_softc' has been explicitly marked deprecated here
5517:info:build extern void *ifnet_softc(ifnet_t interface)
5518:info:build              ^
5519:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5520:info:build                                                               ^
5521:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5522:info:build extern void *ifnet_softc(ifnet_t interface)
5523:info:build              ^
5524:info:build 22 warnings and 1 error generated.
5525:info:build tun.cc:139:25: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5526:info:build                         iphdr = (struct ip*) mbuf_data(mb);
5527:info:build                                              ^
5528:info:build ../tuntap.cc:105:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5529:info:build ../tuntap.cc:                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);131
5530:info:build :                                                              ^49
5531:info:build : error: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]note
5532:info:build : 'ifnet_softc' has been explicitly marked deprecated here
5533:info:build extern void *ifnet_softc(ifnet_t interface)
5534:info:build              ^
5535:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5536:info:build                                                               ^
5537:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5538:info:build extern void *ifnet_softc(ifnet_t interface)
5539:info:build              ^
5540:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
5541:info:build extern void *mbuf_data(mbuf_t mbuf)
5542:info:build              ^
5543:info:build ../tuntap.cc:118:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5544:info:build ../tuntap.cc:143:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5545:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5546:info:build                                                               ^
5547:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14                tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);:
5548:info:build                                                                ^note
5549:info:build : 'ifnet_softc' has been explicitly marked deprecated here
5550:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5551:info:build extern void *ifnet_softc(ifnet_t interface)
5552:info:build              ^
5553:info:build extern void *ifnet_softc(ifnet_t interface)
5554:info:build              ^
5555:info:build tun.cc:156:10: error: 'mbuf_get' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5556:info:build                         err = mbuf_get(MBUF_WAITOK, MBUF_TYPE_DATA, &dummy_mb);
5557:info:build                               ^
5558:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:369:16: note: 'mbuf_get' has been explicitly marked deprecated here
5559:info:build extern errno_t mbuf_get(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
5560:info:build                ^
5561:info:build ../tuntap.cc../tuntap.cc:131:49: :error: 156'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
5562:info:build 49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5563:info:build tun.cc:163:4: error:                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);'mbuf_setnext' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5564:info:build                                                               ^
5565:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:
5566:info:build 14                                                              ^                        mbuf_setnext(dummy_mb, mb);
5567:info:build                         ^
5568:info:build :/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:863:16:: 872:note: 14 :note 'ifnet_softc' has been explicitly marked deprecated here: 'mbuf_setnext' has been explicitly marked deprecated herenote
5569:info:build : 'ifnet_softc' has been explicitly marked deprecated here
5570:info:build extern errno_t mbuf_setnext(mbuf_t mbuf, mbuf_t next)
5571:info:build                ^
5572:info:build extern void *ifnet_softc(ifnet_t interface)
5573:info:build              ^
5574:info:build extern void *ifnet_softc(ifnet_t interface)
5575:info:build              ^
5576:info:build tun.cc:164:4: error: tap.cc:169:16: 'mbuf_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]error
5577:info:build : 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5578:info:build                         mbuf_setlen(dummy_mb, sizeof(u_int32_t));
5579:info:build                         ^
5580:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:900:13: note: 'mbuf_setlen' has been explicitly marked deprecated here
5581:info:build         errno_t err = ifnet_set_lladdr(ifp, LLADDR(&lladdr), ETHER_ADDR_LEN);
5582:info:build                       ^
5583:info:build extern void mbuf_setlen(mbuf_t mbuf, size_t len)
5584:info:build             ^
5585:info:build tun.cc:165:20: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5586:info:build                         *((u_int32_t *) mbuf_data(dummy_mb)) = htonl(af);
5587:info:build                                         ^
5588:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
5589:info:build extern void *mbuf_data(mbuf_t mbuf)
5590:info:build              ^
5591:info:build ../tuntap.cc:168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5592:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5593:info:build                                                               ^
5594:info:build ../tuntap.cc:143:49:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h :error: 872'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
5595:info:build 14: note: 'ifnet_softc' has been explicitly marked deprecated here
5596:info:build extern void *ifnet_softc(ifnet_t interface)
5597:info:build              ^
5598:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5599:info:build                                                               ^
5600:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5601:info:build extern void *ifnet_softc(ifnet_t interface)
5602:info:build              ^/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:
5603:info:build 16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
5604:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
5605:info:build                ^
5606:info:build tun.cc:171tap.cc::4174:: 2error::  'mbuf_free' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5607:info:build                         mbuf_free(dummy_mb);
5608:info:build                         ^
5609:info:build error/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:601: :15:'ifnet_set_mtu' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5610:info:build note: 'mbuf_free' has been explicitly marked deprecated here
5611:info:build         ifnet_set_mtu(ifp, TAP_MTU);extern mbuf_t mbuf_free(mbuf_t mbuf)
5612:info:build         ^
5613:info:build               ^
5614:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1307:16: note: 'ifnet_set_mtu' has been explicitly marked deprecated here
5615:info:build ../tuntap.cc:156:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5616:info:build extern errno_t ifnet_set_mtu(ifnet_t interface, u_int32_t mtu)
5617:info:build                ^
5618:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5619:info:build                                                               ^
5620:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:872:14: note: 'ifnet_softc' has been explicitly marked deprecated here
5621:info:build extern void *ifnet_softc(ifnet_t interface)
5622:info:build              ^
5623:info:build tap.cc:176:2: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5624:info:build         ifnet_set_hdrlen(ifp, sizeof(struct ether_header));
5625:info:build         ^
5626:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16: note: 'ifnet_set_hdrlen' has been explicitly marked deprecated here
5627:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)
5628:info:build                ^
5629:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation../tuntap.cc
5630:info:build :168:49: error: 'ifnet_softc' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5631:info:build tap.cc:178:2: error: 'ifnet_set_flags' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5632:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
5633:info:build                                     ^
5634:info:build                 tuntap_interface *ttif = (tuntap_interface *) ifnet_softc(ifp);
5635:info:build                                                               ^
5636:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h::230872::914::  notenote:         ifnet_set_flags(ifp, IFF_BROADCAST, IFF_BROADCAST);macro 'enqueue' defined here
5637:info:build         ^
5638:info:build : /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h'ifnet_softc' has been explicitly marked deprecated here:
5639:info:build 929:16: note: 'ifnet_set_flags' has been explicitly marked deprecated here
5640:info:build extern void *ifnet_softc(ifnet_t interface)
5641:info:build              ^
5642:info:build extern errno_t ifnet_set_flags(ifnet_t interface, u_int16_t new_flags,
5643:info:build                ^
5644:info:build tun.cc:193:4: error: 'ifnet_set_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5645:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5646:info:build         ^
5647:info:build                         ifnet_set_hdrlen(ifp, prepend_af ? sizeof(u_int32_t) : 0);
5648:info:build                         ^
5649:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1357:16:tap.cc:184:29:  error: 'ifnet_hdrlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5650:info:build ../tuntap.cc:note213:20: : error'ifnet_set_hdrlen' has been explicitly marked deprecated here:
5651:info:build         bpfattach(ifp, DLT_EN10MB, ifnet_hdrlen(ifp));
5652:info:build                                    ^
5653:info:build non-static data member defined out-of-line
5654:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1365:17: note: 'ifnet_hdrlen' has been explicitly marked deprecated here
5655:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
5656:info:build extern errno_t ifnet_set_hdrlen(ifnet_t interface, u_int8_t hdrlen)~~~~~~~~~~~~~~~~~~~^
5657:info:build                ^extern u_int8_t ifnet_hdrlen(ifnet_t interface)
5658:info:build                 ^
5659:info:build tap.cc:191:2: error: ../tuntap.cc'mbuf_gethdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]:
5660:info:build 213:27: error: expected ';' after top level declarator
5661:info:build         mbuf_gethdr(MBUF_WAITOK, MBUF_TYPE_DATA, &empty_mbuf);
5662:info:build         ^
5663:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
5664:info:build                           ^
5665:info:build                           ;
5666:info:build ../tuntap.cc:213:37: error: too few arguments provided to function-like macro invocation
5667:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
5668:info:build                                     ^
5669:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5670:info:build tun.cc:211:6:#define enqueue(queue, elt)      enqueue_tail(queue, elt)
5671:info:build         ^/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h
5672:info:build :382: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5673:info:build 16: note: ../tuntap.cc:213'mbuf_gethdr' has been explicitly marked deprecated here:
5674:info:build 20        if (mbuf_len(m) < sizeof(u_int32_t)):
5675:info:build              ^error
5676:info:build : non-static data member defined out-of-line
5677:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:890:15: note: 'mbuf_len' has been explicitly marked deprecated here
5678:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)extern errno_t mbuf_gethdr(mbuf_how_t how, mbuf_type_t type, mbuf_t *mbuf)
5679:info:build ~~~~~~~~~~~~~~~~~~~^               ^
5680:info:build extern size_t mbuf_len(const mbuf_t mbuf)
5681:info:build               ^
5682:info:build tap.cc:193:3: error: 'mbuf_pkthdr_setrcvif' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5683:info:build                 mbuf_pkthdr_setrcvif(empty_mbuf, ifp);
5684:info:build                 ^
5685:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1029:../tuntap.cc:803:30: error: 16too few arguments provided to function-like macro invocation:
5686:info:build  note: 'mbuf_pkthdr_setrcvif' has been explicitly marked deprecated here
5687:info:build                 if (!send_queue.enqueue(pkt)) {
5688:info:build                                            ^
5689:info:build tun.cc:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:extern errno_t mbuf_pkthdr_setrcvif(mbuf_t mbuf, ifnet_t ifp)9
5690:info:build :               ^ note: 217
5691:info:build :35: macro 'enqueue' defined here
5692:info:build error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5693:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5694:info:build         ^
5695:info:build                 struct ip *iphdr = (struct ip*) mbuf_data(m);
5696:info:build                                                 ^
5697:info:build tap.cc:/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h194:3:: error290: :'mbuf_pkthdr_setlen' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5698:info:build 14: note: 'mbuf_data' has been explicitly marked deprecated here
5699:info:build ../tuntap.cc                mbuf_pkthdr_setlen(empty_mbuf, 0);:
5700:info:build 213                ^:
5701:info:build 27: extern void *mbuf_data(mbuf_t mbuf)error
5702:info:build :              ^expected ';' after top level declarator
5703:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:993:13: note: 'mbuf_pkthdr_setlen' has been explicitly marked deprecated here
5704:info:build tuntap_mbuf_queue::enqueue(mbuf_t mb)
5705:info:build                           ^
5706:info:build                           ;
5707:info:build extern void mbuf_pkthdr_setlen(mbuf_t mbuf, size_t len)
5708:info:build             ^
5709:info:build tap.cc:195:37: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5710:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
5711:info:build                                                   ^
5712:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note: 'mbuf_data' has been explicitly marked deprecated here
5713:info:build extern void *mbuf_data(mbuf_t mbuf)
5714:info:build              ^
5715:info:build tap.cc:195:3: error: 'mbuf_pkthdr_setheader' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5716:info:build                 mbuf_pkthdr_setheader(empty_mbuf, mbuf_data(empty_mbuf));
5717:info:build                 ^
5718:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1047:13: note: 'mbuf_pkthdr_setheader' has been explicitly marked deprecated here
5719:info:build extern void mbuf_pkthdr_setheader(mbuf_t mbuf, void *header)
5720:info:build             ^
5721:info:build tap.cc:196:3: error: 'mbuf_set_csum_performed' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5722:info:build                 mbuf_set_csum_performed(empty_mbuf, 0, 0);
5723:info:build                 ^
5724:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:1194:1 warning and ../tuntap.cc15 errors generated.
5725:info:build :803:30: error16: too few arguments provided to function-like macro invocation
5726:info:build : note: 'mbuf_set_csum_performed' has been explicitly marked deprecated here
5727:info:build                 if (!send_queue.enqueue(pkt)) {
5728:info:build                                            ^
5729:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/queue.h:230:9: note: macro 'enqueue' defined here
5730:info:build extern errno_t mbuf_set_csum_performed(mbuf_t mbuf,
5731:info:build                ^
5732:info:build #define enqueue(queue, elt)      enqueue_tail(queue, elt)
5733:info:build         ^
5734:info:build make[1]: *** [../tuntap_mgr.o] Error 1
5735:info:build tap.cc:197:7: error: 'ifnet_input' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5736:info:build                 if (ifnet_input(ifp, empty_mbuf, NULL) == 0) {
5737:info:build                     ^
5738:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1258:16: note: 'ifnet_input' has been explicitly marked deprecated here
5739:info:build extern errno_t ifnet_input(ifnet_t interface, mbuf_t first_packet,
5740:info:build                ^
5741:info:build tun.cc:266:9: error: 'mbuf_prepend' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5742:info:build                 err = mbuf_prepend(&nm, sizeof(u_int32_t), MBUF_WAITOK);
5743:info:build                       ^
5744:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:689:16: note: 'mbuf_prepend' has been explicitly marked deprecated here
5745:info:build extern errno_t mbuf_prepend(mbuf_t *mbuf, size_t len, mbuf_how_t how)
5746:info:build 1               ^
5747:info:build  warning and 15 errors generated.
5748:info:build tun.cc:273:19: error: 'mbuf_data' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5749:info:build                 *((u_int32_t *) mbuf_data(*m)) = htonl(dest->sa_family);
5750:info:build tap.cc                                ^:
5751:info:build 204:4: error: 'mbuf_freem' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5752:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:290:14: note                        mbuf_freem(empty_mbuf);
5753:info:build                         ^: 'mbuf_data' has been explicitly marked deprecated here
5754:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.hextern void *mbuf_data(mbuf_t mbuf):
5755:info:build 609             ^:
5756:info:build 13: note: 'mbuf_freem' has been explicitly marked deprecated here
5757:info:build extern void mbuf_freem(mbuf_t mbuf)
5758:info:build             ^
5759:info:build tap.cc:221:18: error: 'ifnet_detach_protocol' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5760:info:build                         errno_t err = ifnet_detach_protocol(ifp, attached_protos[i].proto);
5761:info:build                                       ^
5762:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1192:16: note: 'ifnet_detach_protocol' has been explicitly marked deprecated here
5763:info:build extern errno_t ifnet_detach_protocol(ifnet_t interface,
5764:info:build                ^
5765:info:build tap.cc:247:45: warning: implicit conversion changes signedness: 'int' to 'thread_policy_flavor_t' (aka 'unsigned int') [-Wsign-conversion]
5766:info:build                         result = thread_policy_set(input_thread, -1, NULL, 0);
5767:info:build                                  ~~~~~~~~~~~~~~~~~               ^~
5768:info:build make[1]: *** [../tuntap_mgr.o] Error 1
5769:info:build tap.cc:281:19: error: 'ifnet_set_lladdr' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5770:info:build                                 errno_t err = ifnet_set_lladdr(ifp, ea->sa_data, ETHER_ADDR_LEN);
5771:info:build                                               ^
5772:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_interface.h:1586:16: note: 'ifnet_set_lladdr' has been explicitly marked deprecated here
5773:info:build extern errno_t ifnet_set_lladdr(ifnet_t interface, const void *lladdr,
5774:info:build                ^
5775:info:build tun.cc:356:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
5776:info:build                         free = i;
5777:info:build                              ~ ^
5778:info:build tun.cc:392:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5779:info:build         proto_unregister_plumber(PF_INET, IFNET_FAMILY_TUN);
5780:info:build         ^
5781:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
5782:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
5783:info:build             ^
5784:info:build tun.cc:393:2: error: 'proto_unregister_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5785:info:build         proto_unregister_plumber(PF_INET6, IFNET_FAMILY_TUN);
5786:info:build         ^
5787:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:134:13: note: 'proto_unregister_plumber' has been explicitly marked deprecated here
5788:info:build extern void proto_unregister_plumber(protocol_family_t proto_fam,
5789:info:build             ^
5790:info:build tun.cc:406:8: error: 'proto_register_plumber' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5791:info:build tap.cc:348:6: error: 'mbuf_len' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5792:info:build         err = proto_register_plumber(PF_INET, IFNET_FAMILY_TUN, tun_inet_attach, tun_inet_detach);
5793:info:build               ^        if (mbuf_len(m) < sizeof(struct ether_header))
5794:info:build             ^
5795:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/net/kpi_protocol.h:122/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h::16890:: 15note::  'proto_register_plumber' has been explicitly marked deprecated herenote
5796:info:build : 'mbuf_len' has been explicitly marked deprecated here
5797:info:build extern size_t mbuf_len(const mbuf_t mbuf)
5798:info:build               ^
5799:info:build extern errno_t proto_register_plumber(protocol_family_t proto_fam,
5800:info:build                ^
5801:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
5802:info:build tap.cc:356:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5803:info:build                         mbuf_setflags_mask(m, MBUF_BCAST, MBUF_BCAST);
5804:info:build                         ^
5805:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
5806:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
5807:info:build                ^
5808:info:build tap.cc:360:4: error: 'mbuf_setflags_mask' is deprecated: first deprecated in macOS 10.15.4 - Network Kernel Extension KPI is deprecated [-Werror,-Wdeprecated-declarations]
5809:info:build                         mbuf_setflags_mask(m, MBUF_MCAST, MBUF_MCAST);
5810:info:build                         ^
5811:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/kpi_mbuf.h:964:16: note: 'mbuf_setflags_mask' has been explicitly marked deprecated here
5812:info:build extern errno_t mbuf_setflags_mask(mbuf_t mbuf, mbuf_flags_t flags,
5813:info:build                ^
5814:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
5815:info:build 1 warning and 20 errors generated.
5816:info:build make[1]: *** [../tuntap.o] Error 1
5817:info:build make[1]: *** [../tuntap.o] Error 1
5818:info:build 1 warning and 20 errors generated.
5819:info:build make[1]: *** [tun.o] Error 1
5820:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tun'
5821:info:build make: *** [tun.kext] Error 2
5822:info:build make: *** Waiting for unfinished jobs....
5823:info:build make[1]: *** [tap.o] Error 1
5824:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap/src/tap'
5825:info:build make: *** [tap.kext] Error 2
5826:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap'
5827:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/work/tuntap" && /usr/bin/make -j16 -w all
5828:info:build Exit code: 2
5829:error:build Failed to build tuntaposx: command execution failed
5830:debug:build Error code: CHILDSTATUS 16102 2
5831:debug:build Backtrace: command execution failed
5832:debug:build     while executing
5833:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
5834:debug:build     invoked from within
5835:debug:build "command_exec -callback portprogress::target_progress_callback build"
5836:debug:build     (procedure "portbuild::build_main" line 8)
5837:debug:build     invoked from within
5838:debug:build "$procedure $targetname"
5839:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_tuntaposx/tuntaposx/main.log for details.