From owner-freebsd-stable Sat Feb 28 22:16:53 1998 Return-Path: <owner-freebsd-stable@FreeBSD.ORG> Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA25384 for freebsd-stable-outgoing; Sat, 28 Feb 1998 22:16:53 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA25125; Sat, 28 Feb 1998 22:16:16 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.8.8/8.8.3) id BAA25861; Sun, 1 Mar 1998 01:15:01 -0500 (EST) Message-ID: <19980301011501.02816@emu.sourcee.com> Date: Sun, 1 Mar 1998 01:15:01 -0500 From: Norman C Rice <nrice@emu.sourcee.com> To: Bruce Evans <bde@zeta.org.au> Cc: dkelly@HiWAAY.net, freebsd-stable@FreeBSD.ORG, pst@FreeBSD.ORG Subject: Re: Tonight's cvsup'ed -stable fails "make buildword" References: <199803010536.QAA32286@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199803010536.QAA32286@godzilla.zeta.org.au>; from Bruce Evans on Sun, Mar 01, 1998 at 04:36:42PM +1100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk On Sun, Mar 01, 1998 at 04:36:42PM +1100, Bruce Evans wrote: > >===> libscsi > >cc -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libscsi/scsi.c -o scsi.o > >building standard scsi library > >ranlib libscsi.a > >cc -fpic -DPIC -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libscsi/scsi.c -o scsi.so > >building shared scsi library (version 2.0) > >===> libskey > >cc -pipe -DPERMIT_CONSOLE -D_SKEY_INTERNAL -I/usr/src/lib/libskey -W -Wall -Werror -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/lib/libskey/skeyaccess.c -o skeyaccess.o > >cc1: warnings being treated as errors > >/usr/obj/usr/src/tmp/usr/include/stdio.h:366: warning: `__sputc' defined but not used > >/usr/obj/usr/src/tmp/usr/include/ctype.h:143: warning: `__istype' defined but not used > >/usr/obj/usr/src/tmp/usr/include/ctype.h:157: warning: `__toupper' defined but not used > >/usr/obj/usr/src/tmp/usr/include/ctype.h:164: warning: `__tolower' defined but not used > >*** Error code 1 > > This is caused by dubious configuration: > 1) you don't have -O in CFLAGS for some reason (it looks like you have > -pipe without -O in /etc/make.conf). > 2) libskey/Makefile now puts -W in CFLAGS. In combination with (1), this > causes gcc t emit a warning for every static inline declaration in > every header file that it parses. > 3) libskey now puts -Werror in CFLAGS. This makes the combination of > (1) and (2) fatal. > > In other words, libskey is now broken even in -stable if -O isn't in CFLAGS. It also appears that `lpr' is broken for similar reasons. -- Regards, Norman C. Rice, Jr. > > Bruce > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message