-current failure w/ fsck_lfs

2014-03-13 Thread B Harder
#   compile  fsck_lfs/lfs_cksum.o
/usr/src/obj/tooldir.NetBSD-6.99.36-amd64/bin/x86_64--netbsd-gcc -O2
-fstack-protector -Wstack-protector   --param ssp-buffer-size=1
-std=gnu99  -Wall -Wstrict-prototypes -Wmissing-prototy
pes -Wpointer-arith -Wno-sign-compare  -Wno-traditional
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -We
rror--sysroot=/usr/src/obj/destdir.amd64 -I/usr/src/sbin/fsck_lfs
-I/usr/src/sbin/fsck -DIN_FSCK_LFS  -D_FORTIFY_SOURCE=2 -c
/usr/src/sys/ufs/lfs/lfs_cksum.c
--- dependall-external ---
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/trees.c:
In function 'wrualfld':
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/trees.c:2433:6:
error: variable 'tsz' set but not used
[-Werror=unused-but-set-variable]
  int tsz, ctsz, t2f, inbits;
  ^
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/trees.c:
In function 'rmfldops':
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/trees.c:2510:17:
error: variable 'tsz' set but not used
[-Werror=unused-but-set-variable]
  int fsz, foff, tsz;
 ^
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/trees.c:2507:8:
error: variable 'msk' set but not used
[-Werror=unused-but-set-variable]
  CONSZ msk;
^
cc1: all warnings being treated as errors
*** [trees.o] Error code 1
nbmake[9]: stopped in /usr/src/external/bsd/pcc/libexec/ccom
1 error
nbmake[9]: stopped in /usr/src/external/bsd/pcc/libexec/ccom
*** [dependall] Error code 2
nbmake[8]: stopped in /usr/src/external/bsd/pcc/libexec/ccom
1 error
nbmake[8]: stopped in /usr/src/external/bsd/pcc/libexec/ccom
*** [dependall-ccom] Error code 2

-- 
Brad Harder
Method Logic Digital Consulting


Re: -current failure w/ fsck_lfs

2014-03-13 Thread Christos Zoulas
In article cabfrot9vvebxzr7c4fnwkv+61jmhj+sw1dryb_o9t70dmpk...@mail.gmail.com,
B Harder  brad.har...@gmail.com wrote:
#   compile  fsck_lfs/lfs_cksum.o
/usr/src/obj/tooldir.NetBSD-6.99.36-amd64/bin/x86_64--netbsd-gcc -O2
-fstack-protector -Wstack-protector   --param ssp-buffer-size=1
-std=gnu99  -Wall -Wstrict-prototypes -Wmissing-prototy
pes -Wpointer-arith -Wno-sign-compare  -Wno-traditional
-Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -We
rror--sysroot=/usr/src/obj/destdir.amd64 -I/usr/src/sbin/fsck_lfs
-I/usr/src/sbin/fsck -DIN_FSCK_LFS  -D_FORTIFY_SOURCE=2 -c
/usr/src/sys/ufs/lfs/lfs_cksum.c
--- dependall-external ---
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/trees.c:
In function 'wrualfld':
/usr/src/external/bsd/pcc/libexec/ccom/../../dist/pcc/cc/ccom/trees.c:2433:6:
error: variable 'tsz' set but not used
[-Werror=unused-but-set-variable]
  int tsz, ctsz, t2f, inbits;

That is pcc not fsck_lfs. cvs update, I fixed it.

christos