[OpenAFS] 1.8.0pre5 Build Error on FreeBSD 11.1

Benjamin Kaduk kaduk@mit.edu
Wed, 4 Apr 2018 09:49:46 -0500

On Wed, Apr 04, 2018 at 10:46:10AM -0400, Michael H Lambert wrote:
> On 2018-02-22 14:28, Benjamin Kaduk wrote:
> > 
> > Okay, thanks.  (Presumably you can pass CFLAGS=-Wno-error to
> > configure and let the build go farther, if this is blocking your
> > progress.)
> Hmm...  I've passed CFLAGS=-Wno-error to the top-level configure, then
> edited configure-libafs to replace all instances of -Werror by
> -Wno-error.  Somehow -Werror creeps back in and the build still dies in
> the same place.

Sorry for not looping back with you on this -- the -Werror here is
coming from the system build system, bsd.kmod.mk, that we use for
the kernel module build starting in 1.8.0.

commit 79f33b859aeb3c91f2cce7597fdc138978c4e1d9 in the master branch
should fix the underlying issue in our code, or you could modify
src/libafs/MakefileProto.FBSD.in to set WARNS=0 instead of 1 as a