Subject: Re: -current won't build: libpuffs
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Antti Kantee <pooka@cs.hut.fi>
List: current-users
Date: 09/03/2007 19:13:29
On Mon Sep 03 2007 at 11:44:33 -0400, Steven M. Bellovin wrote:
> #   compile  libpuffs/opdump.o
> /usr/BUILD/tools/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99  -Werror  -fstack-protector -Wstack-protector --param ssp-buffer-size=1    -D_FORTIFY_SOURCE=2  -nostdinc -isystem /usr/BUILD/netbsd/usr/include -c    /usr/src/lib/libpuffs/opdump.c -o opdump.o
> cc1: warnings being treated as errors
> /usr/src/lib/libpuffs/opdump.c: In function 'puffsdump_cn':
> /usr/src/lib/libpuffs/opdump.c:210: warning: format '%zu' expects type 'size_t', but argument 3 has type 'long int'
> /usr/src/lib/libpuffs/opdump.c:210: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'u_long'
> 
> *** Failed target:  opdump.o
> *** Failed command: /usr/BUILD/tools/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99 -Werror -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -D_FORTIFY_SOURCE=2 -nostdinc -isystem /usr/BUILD/netbsd/usr/include -c /usr/src/lib/libpuffs/opdump.c -o opdump.o
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src/lib/libpuffs

Please check if your src/sys/fs/puffs/puffs_msgif.h is up-to-date,
at least rev 1.49 (August 22nd).

-- 
Antti Kantee <pooka@iki.fi>                     Of course he runs NetBSD
http://www.iki.fi/pooka/                          http://www.NetBSD.org/
    "la qualité la plus indispensable du cuisinier est l'exactitude"