Page MenuHome GnuPG

Libksba requires a new version of byacc and does not check for it
Closed, ResolvedPublic

Description

Rev: 569f3da664de81638bcb322d6e9380f3ff16f70c
Did "Update ASN.1 grammar for newer Bison versions."

But there is no version check in libksba for the bison / yacc version and the
change was apparently incompatible.

So building with an older version (CentOS 7 byacc-1.9.20130304-3.el7.x86_64 )
just runs into errors like:
byacc: e - line 92 of "/home/foo/libksba/src/asn1-parse.y", syntax error
%param {void *parm}

Event Timeline

btw. reason for this report is a setup of WKS where you require most recent
modern gnupg on long time distro running servers.

Bison is a maintainer tool and regualr builds do not require it.
I am also surprised that you can build it with a regular(?) yacc.

werner lowered the priority of this task from Normal to Low.Oct 14 2016, 2:58 PM

I was unaware that the released version does not require it.

In that case it's no bug imo. because otherwise we would also need to work with
older autotools versions etc.

aheinecke claimed this task.

Bison is required.
I pushed a change which prints a note if yacc is not Bison.

werner closed this task as Resolved.

Weel, required if you cange an .y file.