From owner-freebsd-ports Mon Dec 2 12:10: 5 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B5E337B401 for ; Mon, 2 Dec 2002 12:10:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADEE043EA9 for ; Mon, 2 Dec 2002 12:10:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB2KA3x3054883 for ; Mon, 2 Dec 2002 12:10:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB2KA3IC054882; Mon, 2 Dec 2002 12:10:03 -0800 (PST) Date: Mon, 2 Dec 2002 12:10:03 -0800 (PST) Message-Id: <200212022010.gB2KA3IC054882@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Ceri Davies Subject: Re: ports/45805: security/sfs does not build on Alpha Reply-To: Ceri Davies Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/45805; it has been noted by GNATS. From: Ceri Davies To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: ports/45805: security/sfs does not build on Alpha Date: Mon, 2 Dec 2002 20:05:05 +0000 Adding to audit trail: Message-Id: <20021201194941.GA65130@theater.foldr.org> Date: Sun, 1 Dec 2002 20:49:41 +0100 From: Volker Stolz To: Charlie & Cc: FreeBSD-gnats-submit@freebsd.org, obraun@freebsd.org In-Reply-To: <200211271835.gARIZVqA000419@neslonek.bio.tu-darmstadt.de> Subject: pending/45901: Re: security/sfs does not build on Alpha References: <200211271835.gARIZVqA000419@neslonek.bio.tu-darmstadt.de> > Am 27. Nov 2002 um 19:35 CET schrieb Charlie &: > > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../async -I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.6\" -DETCDIR=\"/usr/local/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\ " -DSFSDIR=\"/var/spool/sfs\" -O -pipe -mcpu=ev56 -Wall -Werror -c sfskey.C > ********** > > cc1plus: warnings being treated as errors > > sfskey.C: In function `void usage()' > > That's because you have -Werror in your CFLAGS, most probably from > /etc/make.conf. Ooops, too quick. There's indeed a strange snippet in there, supposed to work around a GCC bug on alpha. Not relevant to FreeBSD though, and the workaround causes the above behaviour. New patch file: --- agent/sfskey.h.orig Sun Dec 1 17:32:05 2002 +++ agent/sfskey.h Sun Dec 1 18:03:45 2002 @@ -34,7 +34,7 @@ extern bool opt_quiet; extern ref aconn; -#if __GNUC__ == 2 && __GNUC_MINOR__ <= 95 && defined (__alpha__) +#if __GNUC__ == 2 && __GNUC_MINOR__ <= 95 && defined (__alpha__) && !defined(__FreeBSD__) # define XXX_EXIT 1 #endif /* gcc <= 2.95.x && alpha */ -- Volker Stolz * stolz@i2.informatik.rwth-aachen.de * PGP + S/MIME To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message