On Thu, 17 Jun 2004 05:47:25 -0400 (EDT)
FreeBSD Tinderbox <[EMAIL PROTECTED]> wrote:

> TB --- 2004-06-17 08:56:11 - tinderbox 2.3 running on freebsd-current.sentex.ca
> TB --- 2004-06-17 08:56:11 - starting CURRENT tinderbox run for amd64/amd64
> TB --- 2004-06-17 08:56:11 - checking out the source tree
> TB --- 2004-06-17 08:56:11 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64
> TB --- 2004-06-17 08:56:11 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
> TB --- 2004-06-17 09:01:06 - building world (CFLAGS=-O2 -pipe)
> TB --- 2004-06-17 09:01:06 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src
> TB --- 2004-06-17 09:01:06 - /usr/bin/make -B buildworld
> >>> Rebuilding the temporary build tree
> >>> stage 1.1: legacy release compatibility shims
> >>> stage 1.2: bootstrap tools
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3: cross tools
> >>> stage 4.1: building includes
> >>> stage 4.2: building libraries
> >>> stage 4.3: make dependencies
> >>> stage 4.4: building everything
> [...]
> cc -O2 -pipe    -o nos-tun nos-tun.o 
> gzip -cn /tinderbox/CURRENT/amd64/amd64/src/sbin/nos-tun/nos-tun.8 > nos-tun.8.gz
> ===> sbin/pfctl
> cc -O2 -pipe  -Wall -Wmissing-prototypes -Wno-uninitialized -Wstrict-prototypes 
> -I/tinderbox/CURRENT/amd64/amd64/src/sbin/pfctl/../../contrib/pf/pfctl 
> -I/tinderbox/CURRENT/amd64/amd64/src/sbin/pfctl/../../sys/contrib/pf -DENABLE_ALTQ 
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c 
> /tinderbox/CURRENT/amd64/amd64/src/contrib/pf/pfctl/pfctl.c
> cc -O2 -pipe  -Wall -Wmissing-prototypes -Wno-uninitialized -Wstrict-prototypes 
> -I/tinderbox/CURRENT/amd64/amd64/src/sbin/pfctl/../../contrib/pf/pfctl 
> -I/tinderbox/CURRENT/amd64/amd64/src/sbin/pfctl/../../sys/contrib/pf -DENABLE_ALTQ 
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c parse.c
> cc -O2 -pipe  -Wall -Wmissing-prototypes -Wno-uninitialized -Wstrict-prototypes 
> -I/tinderbox/CURRENT/amd64/amd64/src/sbin/pfctl/../../contrib/pf/pfctl 
> -I/tinderbox/CURRENT/amd64/amd64/src/sbin/pfctl/../../sys/contrib/pf -DENABLE_ALTQ 
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c 
> /tinderbox/CURRENT/amd64/amd64/src/contrib/pf/pfctl/pfctl_parser.c
> /tinderbox/CURRENT/amd64/amd64/src/contrib/pf/pfctl/pfctl_parser.c: In function 
> `print_status':
> /tinderbox/CURRENT/amd64/amd64/src/contrib/pf/pfctl/pfctl_parser.c:559: warning: 
> long long int format, long unsigned int arg (arg 3)
> *** Error code 1
> 
> Stop in /tinderbox/CURRENT/amd64/amd64/src/sbin/pfctl.
> *** Error code 1
> 
> Stop in /tinderbox/CURRENT/amd64/amd64/src/sbin.
> *** Error code 1
> 
> Stop in /tinderbox/CURRENT/amd64/amd64/src.
> *** Error code 1
> 
> Stop in /tinderbox/CURRENT/amd64/amd64/src.
> *** Error code 1
> 
> Stop in /tinderbox/CURRENT/amd64/amd64/src.
> TB --- 2004-06-17 09:47:25 - WARNING: /usr/bin/make returned exit code  1 
> TB --- 2004-06-17 09:47:25 - ERROR: failed to build world
> TB --- 2004-06-17 09:47:25 - tinderbox aborted
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


The following patch should solve this problem I believe:

--- /usr/src/contrib/pf/pfctl/pfctl_parser.c    Thu Jun 17 13:20:07 2004
+++ /home/liamfoy/pfctl_parser.c        Thu Jun 17 13:26:16 2004
@@ -555,7 +555,7 @@
                printf("  %-25s %14u %14s\n", "current entries",
                    s->src_nodes, "");
                for (i = 0; i < SCNT_MAX; i++) {
-                       printf("  %-25s %14lld ", pf_scounters[i],
+                       printf("  %-25s %14lu ", pf_scounters[i],
                                    s->scounters[i]);
                        if (runtime > 0)
                                printf("%14.1f/s\n",



Correct me if I am wrong :), would someone care to commit it if its fine?

Thanks in advance,

Liam J. Foy <[EMAIL PROTECTED]>
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to