From owner-freebsd-ports Sun Dec 1 14:33:42 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5103437B401 for ; Sun, 1 Dec 2002 14:33:40 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ED3943ECD for ; Sun, 1 Dec 2002 14:33:39 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id gB1MWUDj010173; Sun, 1 Dec 2002 17:32:30 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: ports/45900: security/sfs conflicts with bison 1.75 [patch included] From: Joe Marcus Clarke To: Miguel Mendez Cc: Volker Stolz , ports@FreeBSD.ORG In-Reply-To: <20021201224956.30b2c95e.flynn@energyhq.homeip.net> References: <200212011907.gB1J7S3V012782@christine.energyhq.tk> <20021201213025.GA65321@theater.foldr.org> <20021201224956.30b2c95e.flynn@energyhq.homeip.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-aRxUIrPKWh6//zzjdIzv" Organization: MarcusCom, Inc. Message-Id: <1038782022.27288.65.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 01 Dec 2002 17:33:42 -0500 X-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,IN_REP_TO,MIME_LONG_LINE_QP,NOSPAM_INC,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, SUPERLONG_LINE version=2.43 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 --=-aRxUIrPKWh6//zzjdIzv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2002-12-01 at 16:49, Miguel Mendez wrote: > On Sun, 1 Dec 2002 22:30:25 +0100 > Volker Stolz wrote: >=20 > > Did you try to build sfs completely? With byacc, I only get segfaults > > during the build. Also, some comments on the sfs mailing list suggest > > that byacc isn't really supported as alternative to bison. >=20 > $ pkg_info |grep sfs > sfs-0.6_1 Self-Certifying File System: A secure global network = file s >=20 > Now what if I let GNU's proprietary parser generator? :-) >=20 > christine# pkg_info |grep bison > bison-1.75 A parser generator from FSF, (mostly) compatible with= Yacc > christine# cd /usr/ports/security/sfs > christine# rm files/patch-configure > christine# make build > =3D=3D=3D> Extracting for sfs-0.6_1 > >> Checksum OK for sfs-0.6.tar.gz. > =3D=3D=3D> sfs-0.6_1 depends on executable: gmake - found > =3D=3D=3D> sfs-0.6_1 depends on shared library: gmp.6 - found > =3D=3D=3D> Patching for sfs-0.6_1 > =3D=3D=3D> Applying FreeBSD patches for sfs-0.6_1 > =3D=3D=3D> Configuring for sfs-0.6_1 > [...] > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I.. -I../async -= I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -D= EXECDIR=3D\"/usr/local/lib/sfs-0.6\" -DETCDIR=3D\"/usr/local/etc/sfs\" -DDA= TADIR=3D\"/usr/local/share/sfs\" -DPIDDIR=3D\"/var/run\" -DSFSDIR=3D\"/var/= spool/sfs\" -O -pipe -march=3Dpentium3 -Wall -Werror -c gencfile.C > rm -f y.tab.c > bison -y -d ./parse.yy > ./parse.yy:101.9: parse error, unexpected ":", expecting ";" or "|" > ./parse.yy:133.12: parse error, unexpected ":", expecting ";" or "|" > ./parse.yy:228.13: parse error, unexpected ":", expecting ";" or "|" > gmake[2]: *** [parse.cc] Error 1 > gmake[2]: Leaving directory `/usr/ports/security/sfs/work/sfs-0.6/rpcc' > 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 >=20 > Stop in /usr/ports/security/sfs. > christine#=20 >=20 > So, what gives? Checkout sfs' cvsweb. There are bison 1.75 fixes in there. http://www.fs.net/cvs/sfs1/rpcc/ With the patch to parse.yy and scan.ll, it builds just fine (after 30 minutes or so). Of course, you'll want to add a USE_BISON to the port. Joe >=20 > Cheers, --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-aRxUIrPKWh6//zzjdIzv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA96o5Gb2iPiv4Uz4cRApVrAJ0Qqs6dI5iLneb4Q3NqpAImqjn7dgCfXd1B cvQB2EVF+jkjvRGz+ZoqvWI= =ieri -----END PGP SIGNATURE----- --=-aRxUIrPKWh6//zzjdIzv-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message