Bug 1763544

Summary: javacc-7.0.12 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: javaccAssignee: Hans de Goede <hdegoede>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jaromir.capik, java-sig-commits, loganjerry, mizdebsk
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: javacc-7.0.12-1.fc39 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-17 16:03:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Upstream Release Monitoring 2019-10-20 23:27:24 UTC
Latest upstream release: 7.0.5
Current version/release in rawhide: 7.0.4-3.fc31
URL: http://javacc.org

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/1422/

Comment 1 Fabio Valentini 2019-11-06 22:53:06 UTC
Looks like 7.0.5 has some bugs and creates invalid Java code.

Comment 2 Fabio Valentini 2019-11-06 22:53:39 UTC
Affected packages seem to include freemarker and apache-mime4j.

Comment 3 Mikolaj Izdebski 2019-11-07 11:06:32 UTC
(In reply to Fabio Valentini from comment #1)
> Looks like 7.0.5 has some bugs and creates invalid Java code.

I confirm this observation.

We initially upgraded to 7.0.5, but had to revert to 7.0.4:
https://src.fedoraproject.org/fork/mbi/rpms/javacc/commits/master

Comment 4 Upstream Release Monitoring 2020-06-26 11:34:07 UTC
Latest upstream release: 7.0.9
Current version/release in rawhide: 7.0.4-4.fc32
URL: http://javacc.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/1422/

Comment 5 Upstream Release Monitoring 2020-06-26 11:34:10 UTC
An HTTP error occurred downloading the package's new Source URLs: Getting https://github.com/javacc/javacc/archive/7.0.9.tar.gz to ./7.0.9.tar.gz

Comment 6 Fedora Admin user for bugzilla script actions 2020-08-23 02:51:03 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 7 Upstream Release Monitoring 2020-11-23 08:53:16 UTC
Latest upstream release: 7.0.10
Current version/release in rawhide: 7.0.4-7.fc33
URL: http://javacc.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/1422/

Comment 8 Fedora Admin user for bugzilla script actions 2021-10-26 00:09:48 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 9 Upstream Release Monitoring 2022-04-19 14:26:31 UTC
Latest upstream release: 7.0.11
Current version/release in rawhide: 7.0.4-11.fc36
URL: http://javacc.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1422/

Comment 10 Upstream Release Monitoring 2022-07-06 13:14:50 UTC
Releases retrieved: 7.0.12
Upstream release that is considered latest: 7.0.12
Current version/release in rawhide: 7.0.4-11.fc36
URL: http://javacc.org

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/1422/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/javacc

Comment 11 Jerry James 2022-09-19 14:55:01 UTC
javacc-maven-plugin upstream has come back to life.  They've released versions 3.0 and 3.0.1, but the new versions require javacc 7.0.12.  (They also require jtb: http://compilers.cs.ucla.edu/jtb/).  Let me know if you make plans to update javacc, and I'll look into packaging jtb and updating javacc-maven-plugin.

Comment 12 Hans de Goede 2022-09-20 18:02:24 UTC
(In reply to Jerry James from comment #11)
> javacc-maven-plugin upstream has come back to life.  They've released
> versions 3.0 and 3.0.1, but the new versions require javacc 7.0.12.  (They
> also require jtb: http://compilers.cs.ucla.edu/jtb/).  Let me know if you
> make plans to update javacc, and I'll look into packaging jtb and updating
> javacc-maven-plugin.

I only have picked up a javacc because it dependency of a dependency of some game which I package which happens to be written in java.

Generally speaking I'm not interested in java packaging, other then that I package a few games written in java.

As such from my pov I would not mind to give javacc to you, or to welcome you as a co-maintainer and then you can update javacc to the version you need. You can then (if that seems useful) push out everything together in a single bodhi update.

Actually let me just make you a co-maintainer/admin of javacc right away ... done.

Comment 13 Hans de Goede 2022-09-20 18:03:52 UTC
BTW Jerry, please note comment 1 and 3 which indicate a big in version 7.0.5, hopefully that issue has been resolved in 7.0.12 .

Comment 14 Jerry James 2023-04-04 02:40:45 UTC
I finally did this about 12 hours ago.  However, I absent-mindedly forgot that freemarker needs a patch to build successfully with 7.0.12.  The freemarker build.xml changes the string "private final LookaheadSuccess" to "private static final LookaheadSuccess" in the javacc-generated files.  However, in javacc 7.0.12, the declaration is "static private final LookaheadSuccess".  After the freemarker replacement, that is "static private static final LookaheadSuccess".  The double static declaration is an error.  There is an existing freemarker PR to address this.  I opened a PR for the Fedora package here: https://src.fedoraproject.org/rpms/freemarker/pull-request/7.