Description of problem:
Upstream regression in xkbcomp commit 9887842e33174a6e98675b912e419c711dd20c0f. A performance optimization commit caused the read buffer to not be reset on a new file if a parse error occurs and the new scanchar() function keeps returning characters from the old file.
This prevents the symbols.dir directory listing from being generated properly for the xkeyboard-config build. When xkbcomp is called by the build, it is called in the git tree. The Makefiles in that tree cause the above errors.
Version-Release number of selected component (if applicable):
rpmbuild --rebuild xkeyboard-config-nvr.src.rpm. The symbols.dir should be around 11000 lines.
xkbcomp -lfhlpR "path/to/xkeyboard-config.git/symbols/*"
Again, the output should be around 11000 lines. The current truncated output is between 50 and 250 lines, depending on the version of xkeyboard-config.
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release. Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.
xorg-x11-xkb-utils-7.7-4.el6 is available in brew
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.