=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/hlfl", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for hlfl-0.60.1nb1 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in doc Making all in src --- bsd_ipfw.o --- --- cisco.o --- --- getpts.o --- --- cisco.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DFILES='"/opt/pkg/share/hlfl"' -Wall -MT cisco.o -MD -MP -MF ".deps/cisco.Tpo" -c -o cisco.o `test -f 'cisco.c' || echo './'`cisco.c; then mv -f ".deps/cisco.Tpo" ".deps/cisco.Po"; else rm -f ".deps/cisco.Tpo"; exit 1; fi --- bsd_ipfw.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DFILES='"/opt/pkg/share/hlfl"' -Wall -MT bsd_ipfw.o -MD -MP -MF ".deps/bsd_ipfw.Tpo" -c -o bsd_ipfw.o `test -f 'bsd_ipfw.c' || echo './'`bsd_ipfw.c; then mv -f ".deps/bsd_ipfw.Tpo" ".deps/bsd_ipfw.Po"; else rm -f ".deps/bsd_ipfw.Tpo"; exit 1; fi --- getpts.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DFILES='"/opt/pkg/share/hlfl"' -Wall -MT getpts.o -MD -MP -MF ".deps/getpts.Tpo" -c -o getpts.o `test -f 'getpts.c' || echo './'`getpts.c; then mv -f ".deps/getpts.Tpo" ".deps/getpts.Po"; else rm -f ".deps/getpts.Tpo"; exit 1; fi --- bsd_ipfw.o --- In file included from hlfl.h:5, from bsd_ipfw.c:21: cisco.h:1: warning: header guard 'HLFL__CISCO__H' followed by '#define' of a different macro [-Wheader-guard] 1 | #ifndef HLFL__CISCO__H cisco.h:2: note: 'HLFL__CISCO_H' is defined here; did you mean 'HLFL__CISCO__H'? 2 | #define HLFL__CISCO_H bsd_ipfw.c: In function 'icmp_types': bsd_ipfw.c:29:14: warning: old-style function definition [-Wold-style-definition] 29 | static char *icmp_types(type) | ^~~~~~~~~~ bsd_ipfw.c: In function 'translate_bsd_ipfw': bsd_ipfw.c:52:5: warning: old-style function definition [-Wold-style-definition] 52 | int translate_bsd_ipfw(op, proto, src, log, dst, sports, dports, interface) | ^~~~~~~~~~~~~~~~~~ bsd_ipfw.c: In function 'print_comment_ipfw': bsd_ipfw.c:274:6: warning: old-style function definition [-Wold-style-definition] 274 | void print_comment_ipfw(buffer) | ^~~~~~~~~~~~~~~~~~ --- cisco.o --- In file included from hlfl.h:5, from cisco.c:21: cisco.h:1: warning: header guard 'HLFL__CISCO__H' followed by '#define' of a different macro [-Wheader-guard] 1 | #ifndef HLFL__CISCO__H --- bsd_ipfw.o --- bsd_ipfw.c: In function 'include_text_ipfw': --- cisco.o --- cisco.h:2: note: 'HLFL__CISCO_H' is defined here; did you mean 'HLFL__CISCO__H'? 2 | #define HLFL__CISCO_H --- bsd_ipfw.o --- bsd_ipfw.c:280:6: warning: old-style function definition [-Wold-style-definition] 280 | void include_text_ipfw(c) | ^~~~~~~~~~~~~~~~~ bsd_ipfw.c:282:1: error: number of arguments doesn't match prototype 282 | { | ^ In file included from hlfl.h:4: bsd_ipfw.h:7:6: error: prototype declaration 7 | void include_text_ipfw(); | ^~~~~~~~~~~~~~~~~ --- cisco.o --- cisco.c: In function 'strcat_and_dup': cisco.c:44:7: warning: old-style function definition [-Wold-style-definition] 44 | char *strcat_and_dup(str1, str2) | ^~~~~~~~~~~~~~ cisco.c: In function 'cisco_add_buffer': cisco.c:55:7: warning: old-style function definition [-Wold-style-definition] 55 | char *cisco_add_buffer(str) | ^~~~~~~~~~~~~~~~ cisco.c: In function 'cisco_clear_buffer': cisco.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | void cisco_clear_buffer(str) | ^~~~~~~~~~~~~~~~~~ cisco.c: In function 'cisco_comment': cisco.c:77:6: warning: old-style function definition [-Wold-style-definition] 77 | void cisco_comment(buffer) | ^~~~~~~~~~~~~ cisco.c:79:1: error: number of arguments doesn't match prototype 79 | { | ^ cisco.h:6:6: error: prototype declaration 6 | void cisco_comment(); | ^~~~~~~~~~~~~ cisco.c: In function 'icmp_types': cisco.c:89:14: warning: old-style function definition [-Wold-style-definition] 89 | static char *icmp_types(type) | ^~~~~~~~~~ cisco.c:120:33: error: too many arguments to function 'cisco_comment'; expected 0, have 1 120 | cisco_comment("Warning. Unknown icmp type '"); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cisco.c:77:6: note: declared here 77 | void cisco_comment(buffer) | ^~~~~~~~~~~~~ cisco.c:121:33: error: too many arguments to function 'cisco_comment'; expected 0, have 1 121 | cisco_comment(type); | ^~~~~~~~~~~~~ ~~~~ cisco.c:77:6: note: declared here 77 | void cisco_comment(buffer) | ^~~~~~~~~~~~~ cisco.c:122:33: error: too many arguments to function 'cisco_comment'; expected 0, have 1 122 | cisco_comment("'\n"); | ^~~~~~~~~~~~~ ~~~~~ cisco.c:77:6: note: declared here 77 | void cisco_comment(buffer) | ^~~~~~~~~~~~~ cisco.c: In function 'cisco_get_interface': cisco.c:129:33: warning: old-style function definition [-Wold-style-definition] 129 | static struct cisco_interfaces *cisco_get_interface(name) | ^~~~~~~~~~~~~~~~~~~ cisco.c: In function 'cisco_add_interface': cisco.c:142:33: warning: old-style function definition [-Wold-style-definition] 142 | static struct cisco_interfaces *cisco_add_interface(name) | ^~~~~~~~~~~~~~~~~~~ --- getpts.o --- getpts.c: In function 'number_of_ranges': --- cisco.o --- cisco.c: In function 'cisco_interface': --- getpts.o --- getpts.c:113:5: warning: old-style function definition [-Wold-style-definition] 113 | int number_of_ranges(ranges) | ^~~~~~~~~~~~~~~~ --- cisco.o --- cisco.c:165:33: warning: old-style function definition [-Wold-style-definition] 165 | static struct cisco_interfaces *cisco_interface(name) | ^~~~~~~~~~~~~~~ cisco.c: In function 'cisco_add_rule': cisco.c:175:13: warning: old-style function definition [-Wold-style-definition] 175 | static void cisco_add_rule(rule, interface) | ^~~~~~~~~~~~~~ --- getpts.o --- getpts.c: In function 'clean_expr': getpts.c:129:14: warning: old-style function definition [-Wold-style-definition] 129 | static char *clean_expr(expr) | ^~~~~~~~~~ getpts.c: In function 'get_ports_ranges': getpts.c:194:8: warning: old-style function definition [-Wold-style-definition] 194 | char **get_ports_ranges(expr) | ^~~~~~~~~~~~~~~~ --- cisco.o --- cisco.c: In function 'cisco_ip': cisco.c:266:29: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 266 | ia.s_addr = (unsigned long) (-1); | ^ cisco.c:270:29: warning: conversion from 'long unsigned int' to 'uint32_t' {aka 'unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow] 270 | ia.s_addr = (unsigned long) (-1); | ^ --- getpts.o --- getpts.c:213:22: warning: variable 'old_s' set but not used [-Wunused-but-set-variable] 213 | char old_s; | ^~~~~ --- cisco.o --- cisco.c: In function 'translate_cisco': cisco.c:287:5: warning: old-style function definition [-Wold-style-definition] 287 | int translate_cisco(op, proto, src, log, dst, sports, dports, interface) | ^~~~~~~~~~~~~~~ --- getpts.o --- getpts.c: In function 'get_icmp_codes': getpts.c:268:8: warning: old-style function definition [-Wold-style-definition] 268 | char **get_icmp_codes(codes) | ^~~~~~~~~~~~~~ getpts.c: In function 'free_port_ranges': getpts.c:292:6: warning: old-style function definition [-Wold-style-definition] 292 | void free_port_ranges(ranges) | ^~~~~~~~~~~~~~~~ --- cisco.o --- cisco.c:438:25: error: too many arguments to function 'cisco_comment'; expected 0, have 1 438 | cisco_comment | ^~~~~~~~~~~~~ 439 | (" (warning. A stateful firewall would be better here)\n"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cisco.c:77:6: note: declared here 77 | void cisco_comment(buffer) | ^~~~~~~~~~~~~ cisco.c:501:25: error: too many arguments to function 'cisco_comment'; expected 0, have 1 501 | cisco_comment | ^~~~~~~~~~~~~ 502 | (" (warning. A stateful firewall would be better here)\n"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cisco.c:77:6: note: declared here 77 | void cisco_comment(buffer) | ^~~~~~~~~~~~~ cisco.c: In function 'include_text_cisco': cisco.c:632:6: warning: old-style function definition [-Wold-style-definition] 632 | void include_text_cisco(c) | ^~~~~~~~~~~~~~~~~~ --- bsd_ipfw.o --- *** [bsd_ipfw.o] Error code 1 bmake[2]: stopped making "all" in /tmp/work/net/hlfl/work/hlfl-0.60.1/src --- cisco.o --- *** [cisco.o] Error code 1 bmake[2]: stopped making "all" in /tmp/work/net/hlfl/work/hlfl-0.60.1/src bmake[2]: 2 errors bmake[2]: stopped making "all" in /tmp/work/net/hlfl/work/hlfl-0.60.1/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /tmp/work/net/hlfl/work/hlfl-0.60.1 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /tmp/work/net/hlfl/work/hlfl-0.60.1 *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/net/hlfl/work/hlfl-0.60.1 bmake: 1 error bmake: stopped making "all" in /tmp/work/net/hlfl/work/hlfl-0.60.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/hlfl *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/hlfl