FreeBSD Bugzilla – Attachment 198311 Details for
Bug 232396
net/miniupnpd: ipfw support does not compile, likely API change
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Full build log (after config step)
miniupnpd-build.log (text/plain), 9.38 KB, created by
Jeremy Cooper
on 2018-10-18 17:42:37 UTC
(
hide
)
Description:
Full build log (after config step)
Filename:
MIME Type:
Creator:
Jeremy Cooper
Created:
2018-10-18 17:42:37 UTC
Size:
9.38 KB
patch
obsolete
>host1% sudo make >===> License BSD3CLAUSE accepted by the user >===> miniupnpd-1.9.20160113,1 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by miniupnpd-1.9.20160113,1 for building >===> Extracting for miniupnpd-1.9.20160113,1 >=> SHA256 Checksum OK for miniupnpd-1.9.20160113.tar.gz. >===> Patching for miniupnpd-1.9.20160113,1 >===> Applying extra patch /usr/ports/net/miniupnpd/files/enable_ipv6.patch >===> Applying FreeBSD patches for miniupnpd-1.9.20160113,1 >/usr/bin/sed -i.bak -e 's|\(-lssl -lcrypto\)|$(LDFLAGS) \1|g' /usr/ports/net/miniupnpd/work/miniupnpd-1.9.20160113/Makefile >===> Configuring for miniupnpd-1.9.20160113,1 >===> Building for miniupnpd-1.9.20160113,1 >sh: WARNING: $pf_enable is not set properly - see rc.conf(5). >./genconfig.sh >./genconfig.sh: WARNING: $pf_enable is not set properly - see rc.conf(5). >Using ifpw >Configuring compilation for [FreeBSD] [11.2-RELEASE] with [ipfw] firewall software. >Please edit config.h for more compilation options. >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o miniupnpd.o miniupnpd.c >miniupnpd.c:1895:83: warning: format specifies type 'unsigned short' but the > argument has type 'int' [-Wformat] > ..."Failed to open socket for HTTP on port %hu (IPv4). EXITING", v.port); > ~~~ ^~~~~~ > %d >1 warning generated. >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnphttp.o upnphttp.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnpdescgen.o upnpdescgen.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnpsoap.o upnpsoap.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnpredirect.o upnpredirect.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o getifaddr.o getifaddr.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o daemonize.o daemonize.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnpglobalvars.o upnpglobalvars.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o options.o options.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnppermissions.o upnppermissions.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o minissdp.o minissdp.c >minissdp.c:203:22: warning: address of array 'lan_addr->str' will always > evaluate to 'true' [-Wpointer-bool-conversion] > lan_addr->str ? lan_addr->str : "NULL"); > ~~~~~~~~~~^~~ ~ >1 warning generated. >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o natpmp.o natpmp.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o pcpserver.o pcpserver.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnpevents.o upnpevents.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnputils.o upnputils.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o getconnstatus.o getconnstatus.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnppinhole.o upnppinhole.c >upnppinhole.c:98:38: warning: unused parameter 'raddr' [-Wunused-parameter] >upnp_add_inboundpinhole(const char * raddr, > ^ >upnppinhole.c:99:40: warning: unused parameter 'rport' [-Wunused-parameter] > unsigned short rport, > ^ >upnppinhole.c:101:40: warning: unused parameter 'iport' [-Wunused-parameter] > unsigned short iport, > ^ >upnppinhole.c:102:29: warning: unused parameter 'proto' [-Wunused-parameter] > int proto, > ^ >upnppinhole.c:103:32: warning: unused parameter 'desc' [-Wunused-parameter] > char * desc, > ^ >upnppinhole.c:105:31: warning: unused parameter 'uid' [-Wunused-parameter] > int * uid) > ^ >6 warnings generated. >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o asyncsendto.o asyncsendto.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o portinuse.o portinuse.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o upnpreplyparse.o upnpreplyparse.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o minixml.o minixml.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o bsd/getifstats.o bsd/getifstats.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o bsd/ifacewatcher.o bsd/ifacewatcher.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o bsd/getroute.o bsd/getroute.c >cc -O2 -pipe -I/usr/include -fstack-protector -fno-strict-aliasing -Wall -W -Wstrict-prototypes -fno-common -c -o ipfw/ipfwrdr.o ipfw/ipfwrdr.c >ipfw/ipfwrdr.c:176:7: error: no member named 'version' in 'struct ip_fw' > rule.version = IP_FW_CURRENT_API_VERSION; > ~~~~ ^ >ipfw/ipfwrdr.c:176:17: error: use of undeclared identifier > 'IP_FW_CURRENT_API_VERSION' > rule.version = IP_FW_CURRENT_API_VERSION; > ^ >ipfw/ipfwrdr.c:181:7: error: no member named 'fw_prot' in 'struct ip_fw' > rule.fw_prot = proto; /* protocol */ > ~~~~ ^ >ipfw/ipfwrdr.c:182:7: error: no member named 'fw_flg' in 'struct ip_fw' > rule.fw_flg |= IP_FW_F_IIFACE; /* interfaces to check */ > ~~~~ ^ >ipfw/ipfwrdr.c:182:17: error: use of undeclared identifier 'IP_FW_F_IIFACE' > rule.fw_flg |= IP_FW_F_IIFACE; /* interfaces to check */ > ^ >ipfw/ipfwrdr.c:183:7: error: no member named 'fw_flg' in 'struct ip_fw' > rule.fw_flg |= IP_FW_F_IIFNAME; /* interfaces to check by name */ > ~~~~ ^ >ipfw/ipfwrdr.c:183:17: error: use of undeclared identifier 'IP_FW_F_IIFNAME' > rule.fw_flg |= IP_FW_F_IIFNAME; /* interfaces to check by name */ > ^ >ipfw/ipfwrdr.c:184:7: error: no member named 'fw_flg' in 'struct ip_fw' > rule.fw_flg |= (IP_FW_F_IN | IP_FW_F_OUT); /* packet direction */ > ~~~~ ^ >ipfw/ipfwrdr.c:184:18: error: use of undeclared identifier 'IP_FW_F_IN' > rule.fw_flg |= (IP_FW_F_IN | IP_FW_F_OUT); /* packet direction */ > ^ >ipfw/ipfwrdr.c:184:31: error: use of undeclared identifier 'IP_FW_F_OUT' > rule.fw_flg |= (IP_FW_F_IN | IP_FW_F_OUT); /* packet direction */ > ^ >ipfw/ipfwrdr.c:185:7: error: no member named 'fw_flg' in 'struct ip_fw' > rule.fw_flg |= IP_FW_F_FWD; /* forward action */ > ~~~~ ^ >ipfw/ipfwrdr.c:185:17: error: use of undeclared identifier 'IP_FW_F_FWD' > rule.fw_flg |= IP_FW_F_FWD; /* forward action */ > ^ >ipfw/ipfwrdr.c:188:16: error: no member named 'fw_in_if' in 'struct ip_fw' > strlcpy(rule.fw_in_if.fu_via_if.name, ifname, IFNAMSIZ)... > ~~~~ ^ >ipfw/ipfwrdr.c:189:8: error: no member named 'fw_in_if' in 'struct ip_fw' > rule.fw_in_if.fu_via_if.unit = -1; > ~~~~ ^ >ipfw/ipfwrdr.c:192:29: error: no member named 'fw_out_if' in 'struct ip_fw' > if (inet_aton(iaddr, &rule.fw_out_if.fu_via_ip) == 0) { > ~~~~ ^ >ipfw/ipfwrdr.c:196:15: error: no member named 'fw_dst' in 'struct ip_fw' > memcpy(&rule.fw_dst, &rule.fw_out_if.fu_via_ip, sizeof(struct i... > ~~~~ ^ >ipfw/ipfwrdr.c:196:30: error: no member named 'fw_out_if' in 'struct ip_fw' > memcpy(&rule.fw_dst, &rule.fw_out_if.fu_via_ip, sizeof(struct i... > ~~~~ ^ >ipfw/ipfwrdr.c:197:15: error: no member named 'fw_fwd_ip' in 'struct ip_fw' > memcpy(&rule.fw_fwd_ip.sin_addr, &rule.fw_out_if.fu_via_ip, size... > ~~~~ ^ >ipfw/ipfwrdr.c:197:41: error: no member named 'fw_out_if' in 'struct ip_fw' > memcpy(&rule.fw_fwd_ip.sin_addr, &rule.fw_out_if.fu_via_ip, size... > ~~~~ ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >20 errors generated. >*** Error code 1 > >Stop. >make[2]: stopped in /usr/ports/net/miniupnpd/work/miniupnpd-1.9.20160113 >*** Error code 1 > >Stop. >make[1]: stopped in /usr/ports/net/miniupnpd >*** Error code 1 > >Stop. >make: stopped in /usr/ports/net/miniupnpd >host2%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 232396
: 198311