Skip site navigation (1)Skip section navigation (2)
Date:      01 Dec 2002 17:33:42 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Miguel Mendez <flynn@energyhq.homeip.net>
Cc:        Volker Stolz <vs@foldr.org>, ports@FreeBSD.ORG
Subject:   Re: ports/45900: security/sfs conflicts with bison 1.75 [patch included]
Message-ID:  <1038782022.27288.65.camel@shumai.marcuscom.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <vs@foldr.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1038782022.27288.65.camel>