Red Hat Bugzilla – Bug 441141
Review Request: antlr3 - ANother Tool for Language Recognition
Last modified: 2008-10-01 12:24:21 EDT
Spec URL: http://cdn.verbum.org/antlr3.spec
SRPM URL: http://cdn.verbum.org/antlr3-3.0.1-1.fc9.src.rpm
ANother Tool for Language Recognition, is a language tool
that provides a framework for constructing recognizers,
interpreters, compilers, and translators from grammatical
descriptions containing actions in a variety of target languages.
Note for review: This package is called antlr3 (and the jar installed thus)
because it's API/ABI incompatible with the RPM "antlr" (ANTLR v2).
This failed to build due to a missing dependency on python; I added it and then
it failed to build in ant:
[mkdir] Created dir: /builddir/build/BUILD/antlr-3.0.1/codegen
[copy] Copying 6 files to /builddir/build/BUILD/antlr-3.0.1/codegen
/builddir/build/BUILD/antlr-3.0.1/build.xml:102: The following error occurred
while executing this line:
/builddir/build/BUILD/antlr-3.0.1/build.xml:55: Problem: failed to create task
or type antlr
Cause: the class org.apache.tools.ant.taskdefs.optional.ANTLR was not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
Total time: 0 seconds
Unfortunately that's totally bewildering to me.
Thanks for the look; the problem was that we were missing a few build deps, in
particular the previous version of antlr.
Yes, that one builds.
It's a bit odd for >800 source files to turn into one jar and two bits of
documentation, but as I have no idea at all how to test this, I'll take your
word that everything that needs to be in there is in there.
No AOT compilation is done, which is OK since it's only a SHOULD in the guidelines.
Everything looks good to me.
* source files match upstream:
* package meets naming and versioning guidelines.
* specfile is properly named, is cleanly written and uses macros consistently.
* summary is OK.
* description is OK.
* dist tag is present.
* build root is OK.
* license field matches the actual license.
* license is open source-compatible.
* license text included in package.
* latest version is being packaged.
* BuildRequires are proper.
* %clean is present.
* package builds in mock (rawhide, x86_64).
* package installs properly.
* rpmlint is silent.
* final provides and requires are sane:
antlr3 = 3.0.1-2.fc10
* owns the directories it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* no scriptlets present.
* code, not content.
* %docs are not necessary for the proper functioning of the package.
* no pre-built jars
* single jar, named after the package
* jarfiles are under _javadir.
* ant called properly.
* gcj not called.
New Package CVS Request
Package Name: antlr3
Short Description: ANother Tool for Language Recognition
Branches: F-8 F-9
Cvsextras Commits: yes
Thank you for the review!
This was built for rawhide but doesn't ever seem to have been built on the release branches. Did you intend for this package to go into F8 and F9?