[38336] in Kerberos
Re: non-POSIX use in yacc with getdate.y
daemon@ATHENA.MIT.EDU (Robbie Harwood)
Tue Sep 25 13:25:51 2018
From: Robbie Harwood <rharwood@redhat.com>
To: "Osipov\, Michael" <michael.osipov@siemens.com>, kerberos@mit.edu
In-Reply-To: <8307c973-ca27-f1ed-f83d-82f6ef1a902d@siemens.com>
Date: Tue, 25 Sep 2018 13:25:31 -0400
Message-ID: <jlg5zytij5g.fsf@redhat.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1258004593841622000=="
Errors-To: kerberos-bounces@mit.edu
--===============1258004593841622000==
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha512; protocol="application/pgp-signature"
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
"Osipov, Michael" <michael.osipov@siemens.com> writes:
> Hi folks,
>
> I have recently compiled MIT Kerberos 1.16.1 on HP-UX and yacc failed wit=
h:
>
>> "./kadmin/cli/getdate.y", line 180: fatal error: invalid escape, or ille=
gal reserved word: expect
>
> Change introduced in=20
> https://github.com/krb5/krb5/commit/28fd0a934cdc7b3b42ce213c6d334d4edf1ab=
591#diff-db7f4e6f3883dd26b97f7b3e10697846R180.
>
> I contacted HPE about this and it turned out that their yacc=20
> implementation does not support extensions as the GNU or BSD=20
> counterparts do.
>
> I'd like to have this fixed somehow and there are several ways to do this:
>
> * Remove this line manually before compiling on the platform which does=20
> not support this "%expect" extension
> * Revert the commit and live with the verbose output
> * Test for this extension in the configure.ac script
> * Require GNU bison if yacc is POSIX only. Note I am reluctant to this=20
> because this is merely one line for less verbose output?
>
> Any comments from the devs?
As the author of the change, it wasn't my intent to mandate GNU bison
here. Platform checking/configure tests seem like overkill for just a
warning. The intent was to get the codebase to be warning-free on clang
on Travis to help with code reviews.
I've opened https://github.com/krb5/krb5/pull/849 to revert this change.
Thanks,
=2D-Robbie
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEA5qc6hnelQjDaHWqJTL5F2qVpEIFAluqb4sACgkQJTL5F2qV
pEIjkQ/+J5eQoCaZE7qqikbjHCRghh7Zl6HPnTebi6PZ0gJSKYFoIQ+RW2zD5PTE
Fa1g60XSF20c6Rwn906onN2Ddu95+DcPPK2m5LrhEEeiMIcsHXGSmZmjwChvPXu+
W6pmJXJvfiIU+DP9u09q96cYxKDegfMEgJfb1aU1ridBJ1a8ROP6Z0FabbVsGzM+
JeCioOe/UhAjbMf6aWnm8uejWXg1Ye+fyFdoYBToUZejYmE/ewO9YKVafB/IEl/L
UnaZ1dlVncBp1zFNhA2u0pe1Q6ZoFyF4jPL2Qf9cpf4X+RlLjwKHJaWqWGN7+07D
FELvQTHYL0I6LowDXR617+gfpBjK4W5ErAY8teAVZ4keVc/OnfpRR+KraJIAeryC
0G/JxDt+jIYrPgGWIGsHUcAKbXkalCsjXM/yqn6r0/qTg2dB/xbMtkvpkRMd4x2D
RB2bB3tAOPg5Yz9BxMzkWVjhRQrzuUipnCOp7ASMlfPveL2B7K1pSt4ydyKTPPFP
KodcQI84YTac0u5c7LfAbZmbLRB9emftxIWcaqSDezfOax5YdhjS58ZwX4s+Py32
S1PtBW1Eflhg7fys+pYwRJ4cYtojB4gICx1xnvoP4C2NxX6NuKffuHTPE0t2bhd1
78yIXfj9xSM0ExYqRgtVtUqAq5shS5cDzLA7oDzq9VUhHBP5qIo=
=k9HY
-----END PGP SIGNATURE-----
--=-=-=--
--===============1258004593841622000==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos
--===============1258004593841622000==--