###
### Sun Jul 11 04:29:49 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for netramet-4.4.20
### Current pkg count:  1 installed packages: digest-20021220
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for netramet-4.4.20
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build netramet-4.4.20
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> Installing packages which are required to build netramet-4.4.20.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/patch-2.5.4nb2.tgz
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (netramet-4.4.20)
===> Checking for vulnerabilities in netramet-4.4.20
=> NeTraMet44.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch NeTraMet44.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [634714 bytes]
=> Checksum OK for NeTraMet44.tar.gz.
work -> /pkgbuild/security/netramet/work
===> Extracting for netramet-4.4.20
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for netramet-4.4.20
===> Applying pkgsrc patches for netramet-4.4.20
for i in `/usr/bin/find /pkgbuild/security/netramet/work/NeTraMet44 -name Makefile.in -print`; do	 /usr/pkg/bin/nbsed "s,CFLAGS=,CFLAGS+=,g" $i > $i.done;		 /usr/bin/mv $i.done $i;						 done
===> Overriding tools for netramet-4.4.20
===> Configuring for netramet-4.4.20
creating cache ./config.cache
checking host system type... sparc-sun-solaris2
checking target system type... sparc-sun-solaris2
checking build system type... sparc-sun-solaris2
----- target OS=SOLARIS
checking for gcc... cc
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking whether byte ordering is bigendian... yes
checking size of long... 4
checking size of long long... 8
checking for floor in -lm... yes
checking for socket in -lsocket... yes
checking for inet_ntoa in -lnsl... yes
checking for res_query in -lresolv... yes
checking for pcap_major_version in -lpcap... no
>>>>> libpcap not found: won't be able to build NeTraMet
checking how to run the C preprocessor... cc -E
checking for X... disabled
>>>>> No X support: won't be able to build nifty
checking for XmStringFree in -lXm... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/select.h... yes
checking for getopt.h... no
checking for memory.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for stropts.h... yes
checking for memmove... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/snmplib/Makefile
creating src/apps/Makefile
creating src/bgp/Makefile
creating src/srl/Makefile
creating src/manager/Makefile
creating src/meter/Makefile
creating examples/Makefile
creating mib/Makefile
creating ntm_conf.h
===> Building for netramet-4.4.20
cd src/snmplib; /usr/pkg/bin/bmake
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/snmplib/asn1.c
"../../src/snmplib/asn1.c", line 273: warning: integer overflow detected: op "<<"
"../../src/snmplib/asn1.c", line 286: warning: integer overflow detected: op "<<"
"../../src/snmplib/asn1.c", line 336: warning: integer overflow detected: op "<<"
"../../src/snmplib/asn1.c", line 348: warning: integer overflow detected: op "<<"
"../../src/snmplib/asn1.c", line 365: warning: integer overflow detected: op "<<"
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/snmplib/mib.c
"../../src/snmplib/mib.c", line 179: warning: no explicit type given
"../../src/snmplib/mib.c", line 795: warning: no explicit type given
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/snmplib/parse.c
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/snmplib/snmp.c
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/snmplib/snmpapi.c
"../../src/snmplib/snmpapi.c", line 453: warning: implicit function declaration: inet_addr
"../../src/snmplib/snmpapi.c", line 553: warning: implicit function declaration: close
"../../src/snmplib/snmpapi.c", line 1102: warning: implicit function declaration: inet_ntoa
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/snmplib/snmpagnt.c
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/snmplib/snmpauth.c
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/snmplib/snmpclnt.c
ar r libsnmp.a asn1.o mib.o parse.o snmp.o snmpapi.o  snmpagnt.o snmpauth.o snmpclnt.o
ar: creating libsnmp.a
ranlib libsnmp.a
cd src/apps; /usr/pkg/bin/bmake
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/apps/snmptest.c
"../../src/apps/snmptest.c", line 153: warning: implicit function declaration: init_mib
"../../src/apps/snmptest.c", line 245: warning: implicit function declaration: input_variable
"../../src/apps/snmptest.c", line 335: warning: implicit function declaration: inet_ntoa
"../../src/apps/snmptest.c", line 341: warning: implicit function declaration: print_variable
"../../src/apps/snmptest.c", line 353: warning: implicit function declaration: print_objid
"../../src/apps/snmptest.c", line 387: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdlib_iso.h", line 94
	argument : pointer to unsigned char
"../../src/apps/snmptest.c", line 414: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdio_iso.h", line 185
	argument : pointer to unsigned char
"../../src/apps/snmptest.c", line 430: warning: old-style declaration or incorrect type for: input_variable
"../../src/apps/snmptest.c", line 490: warning: implicit function declaration: read_objid
"../../src/apps/snmptest.c", line 493: warning: implicit function declaration: bcopy
"../../src/apps/snmptest.c", line 540: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
"../../src/apps/snmptest.c", line 567: warning: implicit function declaration: inet_addr
cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib   -o snmptest snmptest.o -lresolv -lnsl -lsocket -lm  ../../src/snmplib/libsnmp.a
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/apps/snmpwalk.c
"../../src/apps/snmpwalk.c", line 136: warning: implicit function declaration: init_mib
"../../src/apps/snmpwalk.c", line 173: warning: implicit function declaration: read_objid
"../../src/apps/snmpwalk.c", line 232: warning: implicit function declaration: print_variable
"../../src/apps/snmpwalk.c", line 268: warning: implicit function declaration: print_objid
cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o snmpwalk snmpwalk.o -lresolv -lnsl -lsocket -lm  ../../src/snmplib/libsnmp.a
cc -O  -I../../src/snmplib -I../.. -DSOLARIS -DHAVE_CONFIG_H -c ../../src/apps/snmpbulkwalk.c
"../../src/apps/snmpbulkwalk.c", line 137: warning: implicit function declaration: init_mib
"../../src/apps/snmpbulkwalk.c", line 177: warning: implicit function declaration: read_objid
"../../src/apps/snmpbulkwalk.c", line 241: warning: implicit function declaration: print_variable
"../../src/apps/snmpbulkwalk.c", line 278: warning: implicit function declaration: print_objid
cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib  -o snmpbulkwalk snmpbulkwalk.o -lresolv -lnsl -lsocket -lm  ../../src/snmplib/libsnmp.a
cd src/bgp; /usr/pkg/bin/bmake
cc -O  -I../../src/bgp/integrat -I../.. -DNETRAMET -DNF_OCX_BGP=1 -DSOLARIS -DHAVE_CONFIG_H -c ../../src/bgp/integrat/readbgp.c
"../../src/bgp/integrat/readbgp.c", line 173: warning: no explicit type given
"../../src/bgp/integrat/readbgp.c", line 230: warning: implicit function declaration: min
"../../src/bgp/integrat/readbgp.c", line 339: warning: integer overflow detected: op "<<"
cc -O  -I../../src/bgp/integrat -I../.. -DNETRAMET -DNF_OCX_BGP=1 -DSOLARIS -DHAVE_CONFIG_H -c ../../src/bgp/integrat/subnet.c
cc -O  -I../../src/bgp/integrat -I../.. -DNETRAMET -DNF_OCX_BGP=1 -DSOLARIS -DHAVE_CONFIG_H -c ../../src/bgp/integrat/../wattcp/unixtcp.c
ar r libbgp.a readbgp.o subnet.o unixtcp.o
ar: creating libbgp.a
ranlib libbgp.a
cd src/srl; /usr/pkg/bin/bmake
cc  -I../../src/srl -I../..   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/srl/srl.c
"../../src/srl/srl.c", line 475: warning: implicit function declaration: nextnb
"../../src/srl/srl.c", line 1294: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
"../../src/srl/srl.c", line 1329: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
"../../src/srl/srl.c", line 1441: warning: implicit function declaration: init_symbol_table
cc  -I../../src/srl -I../..   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/srl/srl_scan.c
"../../src/srl/srl_scan.c", line 272: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/stdio_iso.h", line 183
	argument : pointer to unsigned char
"../../src/srl/srl_scan.c", line 277: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/stdio_iso.h", line 183
	argument : pointer to unsigned char
"../../src/srl/srl_scan.c", line 718: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/stdio_iso.h", line 170
	argument : pointer to unsigned char
"../../src/srl/srl_scan.c", line 728: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 66
	argument : pointer to unsigned char
"../../src/srl/srl_scan.c", line 1043: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../../src/srl/srl_scan.c", line 1004
	argument : pointer to unsigned char
"../../src/srl/srl_scan.c", line 1047: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../../src/srl/srl_scan.c", line 1004
	argument : pointer to unsigned char
"../../src/srl/srl_scan.c", line 1066: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../../src/srl/srl_scan.c", line 1004
	argument : pointer to unsigned char
"../../src/srl/srl_scan.c", line 1082: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../../src/srl/srl_scan.c", line 1004
	argument : pointer to unsigned char
"../../src/srl/srl_scan.c", line 1156: warning: assignment type mismatch:
	pointer to char "=" pointer to unsigned char
"../../src/srl/srl_scan.c", line 1172: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "../../src/srl/srl_scan.c", line 1018
	argument : pointer to char
cc  -I../../src/srl -I../..   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/srl/srl_emit.c
"../../src/srl/srl_emit.c", line 230: warning: no explicit type given
"../../src/srl/srl_emit.c", line 414: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/stdio_iso.h", line 183
	argument : pointer to unsigned char
"../../src/srl/srl_emit.c", line 415: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "/usr/include/iso/stdio_iso.h", line 183
	argument : pointer to unsigned char
"../../src/srl/srl_emit.c", line 501: warning: implicit function declaration: check_mask
"../../src/srl/srl_emit.c", line 508: warning: integer overflow detected: op "<<"
"../../src/srl/srl_emit.c", line 947: warning: implicit function declaration: lookup
cc -o srl srl.o srl_scan.o srl_emit.o -lresolv -lnsl -lsocket -lm
cd src/manager; /usr/pkg/bin/bmake
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nmc.c
"../../src/manager/nmc.c", line 899: warning: implicit function declaration: end_of_file
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nmc_pars.c
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nmc_c64.c
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nmc_snmp.c
"../../src/manager/nmc_snmp.c", line 482: warning: implicit function declaration: sprint_objid
cc -o NeMaC nmc.o nmc_pars.o nmc_c64.o nmc_snmp.o ../../src/snmplib/libsnmp.a -lresolv -lnsl -lsocket -lm
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nm_rc.c
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nm_display.c
cc -o nm_rc nm_rc.o nm_display.o nmc_pars.o nmc_c64.o  nmc_snmp.o ../../src/snmplib/libsnmp.a ../../src/snmplib/libsnmp.a -lresolv -lnsl -lsocket -lm
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nm_st.c
"../../src/manager/nm_st.c", line 322: warning: implicit function declaration: init_mib
cc -o nm_st nm_st.o nmc_c64.o nmc_pars.o nmc_snmp.o ../../src/snmplib/libsnmp.a -lresolv -lnsl -lsocket -lm
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/nm_rr.c
"../../src/manager/nm_rr.c", line 319: warning: implicit function declaration: init_mib
cc -o nm_rr nm_rr.o nmc_c64.o nmc_pars.o nmc_snmp.o ../../src/snmplib/libsnmp.a -lresolv -lnsl -lsocket -lm
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/fd_filter.c
"../../src/manager/fd_filter.c", line 178: warning: implicit function declaration: isalpha
"../../src/manager/fd_filter.c", line 258: warning: implicit function declaration: check_formats
"../../src/manager/fd_filter.c", line 449: warning: implicit function declaration: isspace
"../../src/manager/fd_filter.c", line 450: warning: implicit function declaration: isdigit
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/fd_parse.c
cc -o fd_filter fd_filter.o fd_parse.o nmc_c64.o
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/fd_extract.c
"../../src/manager/fd_extract.c", line 167: warning: function expects to return value: scan_col
"../../src/manager/fd_extract.c", line 198: warning: implicit function declaration: isalnum
"../../src/manager/fd_extract.c", line 344: warning: implicit function declaration: isspace
"../../src/manager/fd_extract.c", line 345: warning: implicit function declaration: isdigit
cc -o fd_extract fd_extract.o fd_parse.o nmc_c64.o
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/x_nm_rc.c
"../../src/manager/x_nm_rc.c", line 478: warning: implicit function declaration: init_mib
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/x_ob.c
"../../src/manager/x_ob.c", line 558: warning: implicit function declaration: plot_graph
"../../src/manager/x_ob.c", line 653: warning: old-style declaration or incorrect type for: plot_graph
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/x_support.c
cc -O  -I../../src/manager -I../../src/snmplib -I../.. -I/usr/dt/include   -DSOLARIS -DNETFLOW -DHAVE_CONFIG_H -c ../../src/manager/n_plot.c
"../../src/manager/n_plot.c", line 73: warning: no explicit type given for parameter: a
"../../src/manager/n_plot.c", line 73: warning: no explicit type given for parameter: b
"../../src/manager/n_plot.c", line 75: warning: no explicit type given for parameter: a
"../../src/manager/n_plot.c", line 75: warning: no explicit type given for parameter: b
cc -o nifty x_nm_rc.o x_ob.o x_support.o n_plot.o nm_display.o  nmc_pars.o nmc_c64.o nmc_snmp.o  ../../src/snmplib/libsnmp.a -L/usr/dt/lib -lXm    -lXt -lXext -lX11 ../../src/snmplib/libsnmp.a -lresolv -lnsl -lsocket -lm -lm
cd src/meter; /usr/pkg/bin/bmake
cc -o flowhash_nf.o  -O   -I../../src/snmplib -I../../src/meter -I../../src/meter/tcpdump -I../..  -DNETRAMET -DSOLARIS -DHAVE_CONFIG_H -DNETFLOW=7  -c ../../src/meter/flowhash.c
"../../src/meter/pktsnap.h", line 328: zero-sized struct/union
"../../src/meter/flowhash.h", line 418: zero-sized struct/union
"../../src/meter/flowhash.c", line 1073: cannot recover from previous errors
cc: acomp failed for ../../src/meter/flowhash.c
*** Error code 2

Stop.
bmake: stopped in /pkgbuild/security/netramet/work/NeTraMet44/src/meter
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/security/netramet/work/NeTraMet44
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/netramet
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/netramet
BULK> netramet-4.4.20 was marked as broken:
-rw-r--r--   1 root     other      17730 Jul 11 04:32 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for netramet
BULK> Marking all packages which depend upon netramet-4.4.20 as broken:
BULK> Build for netramet-4.4.20 was not successful, aborting.