I build sfs sucessfully on x86 with "YACC=byacc make", but on alpha it fails: gmake[2]: Leaving directory `/usr/ports/security/sfs/work/sfs-0.6/sfsrwcd' Making all in agent gmake[2]: Entering directory `/usr/ports/security/sfs/work/sfs-0.6/agent' 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 sfsagent.C bc++ -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 agentdir.C 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 agentrex.C /bin/sh ../libtool --mode=link c++ -O -pipe -mcpu=ev56 -Wall -Werror -o sfsagent sfsagent.o agentdir.o agentrex.o ../sfsmisc/libsfsmisc.la ../svc/libsvc.la ../crypt/libsfscrypt.la ../arpc/libarpc.la ../async/libasync.la /usr/lib/libgmp.a mkdir .libs c++ -O -pipe -mcpu=ev56 -Wall -Werror -o sfsagent sfsagent.o agentdir.o agentrex.o ../sfsmisc/.libs/libsfsmisc.a ../svc/.libs/libsvc.a ../crypt/.libs/libsfscrypt.a ../arpc/.libs/libarpc.a ../async/.libs/libasync.a /usr/lib/libgmp.a 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()': sfskey.C:115: warning: `noreturn' function `usage()' does return gmake[2]: *** [sfskey.o] Error 1 gmake[2]: Leaving directory `/usr/ports/security/sfs/work/sfs-0.6/agent' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/security/sfs/work/sfs-0.6' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/security/sfs.
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. [Somebody please close this PR, I think] -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
Adding to audit trail: Message-Id: <20021201194941.GA65130@theater.foldr.org> Date: Sun, 1 Dec 2002 20:49:41 +0100 From: Volker Stolz <vs@foldr.org> To: Charlie & <root@neslonek.bio.tu-darmstadt.de> 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<agentconn> 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
State Changed From-To: open->feedback still a problem with 0.7.2 ?
I just revved the sfs port to 0.7.2, can you test on Alpha and let me know if this is still an outstanding issue?
State Changed From-To: feedback->closed Feedback timeout (2 months)
State Changed From-To: closed->open Volker pointed out, that bento is still showing this error: http://bento.freebsd.org/errorlogs/alpha-4-latest/sfs-0.7.2.log
Hi Michael, Is there any reason why Volker Stolz's patch hasn't been committed? It certainly fixes the build on Alpha 4.x (5.x appears to have some other unrelated woes). I'm happy to commit this. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org
State Changed From-To: open->feedback Waiting for feedback from the maintainer.
Responsible Changed From-To: freebsd-ports-bugs->glewis I'll take this one and work with the maintainer to get it resolved.
State Changed From-To: feedback->closed Committed Volker Stolz's patch.