Ticket #61624: net-snmp-build.txt

File net-snmp-build.txt, 17.8 KB (added by Prolixium, 5 months ago)

build text

Line 
1(orion:10:34:PST)% sudo port -v install net-snmp
2--->  Computing dependencies for net-snmp.
3--->  Fetching archive for net-snmp
4--->  net-snmp-5.8_3+ssl.darwin_20.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
5--->  Attempting to fetch net-snmp-5.8_3+ssl.darwin_20.x86_64.tbz2 from https://packages.macports.org/net-snmp
6  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
7                                 Dload  Upload   Total   Spent    Left  Speed
8  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
9--->  Attempting to fetch net-snmp-5.8_3+ssl.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/net-snmp
10  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
11                                 Dload  Upload   Total   Spent    Left  Speed
12  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
13--->  Attempting to fetch net-snmp-5.8_3+ssl.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/net-snmp
14  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
15                                 Dload  Upload   Total   Spent    Left  Speed
16  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
17--->  Building net-snmp
18Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8" && /usr/bin/make -j4 -w all
19make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8'
20making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/snmplib
21make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/snmplib'
22make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/snmplib'
23making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent
24make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent'
25making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent/helpers
26/bin/sh ../libtool  --mode=compile /usr/bin/clang -I../include -I. -I../agent -I../agent/mibgroup  -I../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20  -c -o mibgroup/mibII/ipAddr.lo mibgroup/mibII/ipAddr.c
27/bin/sh ../libtool  --mode=compile /usr/bin/clang -I../include -I. -I../agent -I../agent/mibgroup  -I../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20  -c -o mibgroup/mibII/var_route.lo mibgroup/mibII/var_route.c
28/bin/sh ../libtool  --mode=compile /usr/bin/clang -I../include -I. -I../agent -I../agent/mibgroup  -I../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20  -c -o mibgroup/host/data_access/swinst.lo mibgroup/host/data_access/swinst.c
29make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent/helpers'
30make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent/helpers'
31making all in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent/mibgroup
32libtool: compile:  /usr/bin/clang -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20 -c mibgroup/mibII/var_route.c  -fno-common -DPIC -o mibgroup/mibII/.libs/var_route.o
33libtool: compile:  /usr/bin/clang -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20 -c mibgroup/mibII/ipAddr.c  -fno-common -DPIC -o mibgroup/mibII/.libs/ipAddr.o
34libtool: compile:  /usr/bin/clang -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20 -c mibgroup/host/data_access/swinst.c  -fno-common -DPIC -o mibgroup/host/data_access/.libs/swinst.o
35make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent/mibgroup'
36/bin/sh ../../libtool  --mode=compile /usr/bin/clang -I../../include -I. -I../../agent -I../../agent/mibgroup  -I../../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20  -c -o mibII/ipAddr.lo mibII/ipAddr.c
37mibgroup/mibII/ipAddr.c:200:29: error: variable has incomplete type 'struct in_ifaddr'
38    static struct in_ifaddr in_ifaddr, lowin_ifaddr;
39                            ^
40mibgroup/mibII/ipAddr.c:200:19: note: forward declaration of 'struct in_ifaddr'
41    static struct in_ifaddr in_ifaddr, lowin_ifaddr;
42                  ^
43mibgroup/mibII/ipAddr.c:200:40: error: variable has incomplete type 'struct in_ifaddr'
44    static struct in_ifaddr in_ifaddr, lowin_ifaddr;
45                                       ^
46mibgroup/mibII/ipAddr.c:200:19: note: forward declaration of 'struct in_ifaddr'
47    static struct in_ifaddr in_ifaddr, lowin_ifaddr;
48                  ^
49mibgroup/mibII/ipAddr.c:204:25: error: variable has incomplete type 'struct ifnet'
50    static struct ifnet ifnet;
51                        ^
52mibgroup/mibII/ipAddr.c:204:19: note: forward declaration of 'struct ifnet'
53    static struct ifnet ifnet;
54                  ^
55mibgroup/mibII/var_route.c:195:29: error: implicit declaration of function 'get_in_address' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
56            cp = (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
57                            ^
583 errors generated.
59mibgroup/mibII/var_route.c:195:18: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
60            cp = (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
61                 ^
62mibgroup/mibII/var_route.c:235:27: error: implicit declaration of function 'get_in_address' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
63        return (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
64                          ^
65mibgroup/mibII/var_route.c:235:16: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
66        return (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
67               ^
68mibgroup/mibII/var_route.c:269:13: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
69        return (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
70               ^
71mibgroup/mibII/var_route.c:299:20: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
72            return (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
73                   ^
74mibgroup/mibII/var_route.c:2110:1: error: conflicting types for 'get_in_address'
75get_in_address(const void *ap, int addresses, int wanted)
76^
77mibgroup/mibII/var_route.c:195:29: note: previous implicit declaration is here
78            cp = (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
79                            ^
804 warnings and 3 errors generated.
81make[1]: *** [mibgroup/mibII/ipAddr.lo] Error 1
82make[1]: *** Waiting for unfinished jobs....
83/bin/sh ../../libtool  --mode=compile /usr/bin/clang -I../../include -I. -I../../agent -I../../agent/mibgroup  -I../../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20  -c -o mibII/var_route.lo mibII/var_route.c
84make[1]: *** [mibgroup/mibII/var_route.lo] Error 1
85/bin/sh ../../libtool  --mode=compile /usr/bin/clang -I../../include -I. -I../../agent -I../../agent/mibgroup  -I../../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20  -c -o host/data_access/swinst.lo host/data_access/swinst.c
86libtool: compile:  /usr/bin/clang -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20 -c mibII/ipAddr.c  -fno-common -DPIC -o mibII/.libs/ipAddr.o
87libtool: compile:  /usr/bin/clang -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20 -c mibgroup/host/data_access/swinst.c -o mibgroup/host/data_access/swinst.o >/dev/null 2>&1
88libtool: compile:  /usr/bin/clang -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20 -c mibII/var_route.c  -fno-common -DPIC -o mibII/.libs/var_route.o
89libtool: compile:  /usr/bin/clang -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20 -c host/data_access/swinst.c  -fno-common -DPIC -o host/data_access/.libs/swinst.o
90mibII/ipAddr.c:200:29: error: variable has incomplete type 'struct in_ifaddr'
91    static struct in_ifaddr in_ifaddr, lowin_ifaddr;
92                            ^
93mibII/ipAddr.c:200:19: note: forward declaration of 'struct in_ifaddr'
94    static struct in_ifaddr in_ifaddr, lowin_ifaddr;
95                  ^
96mibII/ipAddr.c:200:40: error: variable has incomplete type 'struct in_ifaddr'
97    static struct in_ifaddr in_ifaddr, lowin_ifaddr;
98                                       ^
99mibII/ipAddr.c:200:19: note: forward declaration of 'struct in_ifaddr'
100    static struct in_ifaddr in_ifaddr, lowin_ifaddr;
101                  ^
102mibII/ipAddr.c:204:25: error: variable has incomplete type 'struct ifnet'
103    static struct ifnet ifnet;
104                        ^
105mibII/ipAddr.c:204:19: note: forward declaration of 'struct ifnet'
106    static struct ifnet ifnet;
107                  ^
1083 errors generated.
109make[2]: *** [mibII/ipAddr.lo] Error 1
110make[2]: *** Waiting for unfinished jobs....
111mibII/var_route.c:195:29: error: implicit declaration of function 'get_in_address' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
112            cp = (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
113                            ^
114mibII/var_route.c:195:18: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
115            cp = (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
116                 ^
117mibII/var_route.c:235:27: error: implicit declaration of function 'get_in_address' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
118        return (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
119                          ^
120mibII/var_route.c:235:16: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
121        return (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
122               ^
123mibII/var_route.c:269:13: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
124        return (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
125               ^
126mibII/var_route.c:299:20: warning: cast to 'u_char *' (aka 'unsigned char *') from smaller integer type 'int' [-Wint-to-pointer-cast]
127            return (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
128                   ^
129mibII/var_route.c:2110:1: error: conflicting types for 'get_in_address'
130get_in_address(const void *ap, int addresses, int wanted)
131^
132mibII/var_route.c:195:29: note: previous implicit declaration is here
133            cp = (u_char *) get_in_address((struct sockaddr *) (rtp + 1),
134                            ^
1354 warnings and 3 errors generated.
136make[2]: *** [mibII/var_route.lo] Error 1
137libtool: compile:  /usr/bin/clang -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -I/opt/local/include -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Udarwin20 -Ddarwin20=darwin20 -c host/data_access/swinst.c -o host/data_access/swinst.o >/dev/null 2>&1
138make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent/mibgroup'
139make[1]: *** [subdirs] Error 1
140make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8/agent'
141make: *** [subdirs] Error 1
142make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8'
143Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/work/net-snmp-5.8" && /usr/bin/make -j4 -w all
144Exit code: 2
145Error: Failed to build net-snmp: command execution failed
146Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_net-snmp/net-snmp/main.log for details.
147Error: Follow https://guide.macports.org/#project.tickets to report a bug.
148Error: Processing of port net-snmp failed
149(orion:10:34:PST)%