-
Notifications
You must be signed in to change notification settings - Fork 602
Fix for javacc build issue #15337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for javacc build issue #15337
Conversation
450743b to
1e7aefa
Compare
1e7aefa to
a4b791e
Compare
|
There are license check failures ##[warning]License issues found. |
@sandeepkarambelkar I believe I fixed the issue, could you please trigger another buddy build? Thanks! |
|
License warnings still exist - ##[warning]License issues found. |
@sandeepkarambelkar I made some additional changes for the license issue and verified locally that the problems are resolved. Could you please trigger another buddybuild? Thanks! |
@sandeepkarambelkar BuddyBuild result looks good |
sandeepkarambelkar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address rpmbuild warnings
| if [ -f %{buildroot}%{_javadocdir}/%{name}/legal/LICENSE ]; then | ||
| mkdir -p %{buildroot}%{_javadocdir}/%{name}/jexl2-compat/legal | ||
| ln -sf /usr/share/javadoc/%{name}/legal/LICENSE %{buildroot}%{_javadocdir}/%{name}/jexl2-compat/legal/LICENSE | ||
| ln -sf ../legal/LICENSE %{buildroot}%{_javadocdir}/%{name}/jexl2-compat/legal/LICENSE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we address the rpm build warnings and following errors -
time="2025-12-24T14:52:47Z" level=debug msg=" File not found: /usr/src/azl/BUILDROOT/apache-commons-jexl-2.1.1-4.azl3.x86_64/usr/share/javadoc/apache-commons-jexl/**/ADDITIONAL_LICENSE_INFO"
time="2025-12-24T14:52:47Z" level=debug msg=" File not found: /usr/src/azl/BUILDROOT/apache-commons-jexl-2.1.1-4.azl3.x86_64/usr/share/javadoc/apache-commons-jexl/ADDITIONAL_LICENSE_INFO"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/jquery-ui.overrides.css -> /usr/share/javadoc/apache-commons-jexl/jquery-ui.overrides.css"
time="2025-12-24T14:52:47Z" level=debug
time="2025-12-24T14:52:47Z" level=debug msg="RPM build warnings:"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/legal/ASSEMBLY_EXCEPTION -> /usr/share/javadoc/apache-commons-jexl/legal/ASSEMBLY_EXCEPTION"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/legal/jquery.md -> /usr/share/javadoc/apache-commons-jexl/legal/jquery.md"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/legal/jqueryUI.md -> /usr/share/javadoc/apache-commons-jexl/legal/jqueryUI.md"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/module-search-index.js -> /usr/share/javadoc/apache-commons-jexl/module-search-index.js"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/resources/glass.png -> /usr/share/javadoc/apache-commons-jexl/resources/glass.png"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/resources/x.png -> /usr/share/javadoc/apache-commons-jexl/resources/x.png"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/script-dir/jquery-3.6.1.min.js -> /usr/share/javadoc/apache-commons-jexl/script-dir/jquery-3.6.1.min.js"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/script-dir/jquery-ui.min.css -> /usr/share/javadoc/apache-commons-jexl/script-dir/jquery-ui.min.css"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/script-dir/jquery-ui.min.js -> /usr/share/javadoc/apache-commons-jexl/script-dir/jquery-ui.min.js"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/script.js -> /usr/share/javadoc/apache-commons-jexl/script.js"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/search.js -> /usr/share/javadoc/apache-commons-jexl/search.js"
time="2025-12-24T14:52:47Z" level=debug msg=" absolute symlink: /usr/share/javadoc/apache-commons-jexl/jexl2-compat/stylesheet.css -> /usr/share/javadoc/apache-commons-jexl/stylesheet.css"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandeepkarambelkar Fixed the symlink warning issue for apache-commons-jexl package
| cp -pr target/javadoc/* %{buildroot}%{_javadocdir}/%{name}/ | ||
| # remove any stray ADDITIONAL_LICENSE_INFO files under javadoc legal/ dirs | ||
| find %{buildroot}%{_javadocdir} -type f -name 'ADDITIONAL_LICENSE_INFO' -exec rm -f {} \; || true | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also there is one warning for javacc -
time="2025-12-24T14:52:18Z" level=debug msg=" absolute symlink: /usr/bin/javacc.sh -> /usr/bin/javacc"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandeepkarambelkar Fixed the symlink warning issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sandeepkarambelkar The buddybuild result looks good
ef9b835 to
13eeb03
Compare
sandeepkarambelkar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
What does the PR accomplish, why was it needed?
Fixes javacc build issue by setting javac to use version 1.8
Fixes license warning for javacc and apache-commons-jexl
Change Log
Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology
apache-commons-jexl-2.1.1-3.azl3.src.rpm.log
javacc-7.0.4-4.azl3.src.rpm.log