-
Notifications
You must be signed in to change notification settings - Fork 270
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
apicurio-registry/3.0.4-r0: cve remediation #35616
apicurio-registry/3.0.4-r0: cve remediation #35616
Conversation
Gen AI suggestions to solve the build error: • Detected Error: "Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.43.0:check (format) on project apicurio-registry: The following files had format violations:" • Error Category: Build/Configuration • Failure Point: Maven build step - Spotless code formatting check on pom.xml • Root Cause Analysis: The Spotless Maven plugin is failing because the project's pom.xml file doesn't meet the configured formatting requirements. This is a code style enforcement issue, not a functional build problem. • Suggested Fix: - name: Fix POM formatting
runs: |
./mvnw spotless:apply • Explanation:
• Additional Notes:
• References:
|
…3b1113a91d Signed-off-by: Mark McCormick <[email protected]>
Signed-off-by: Mark McCormick <[email protected]>
Gen AI suggestions to solve the build error: Based on the error output and the melange YAML file, I'll analyze and provide specific fixes: • Detected Error: No specific error message shown in the output, but the build appears to stop after "building workspace in '/tmp/melange-guest-2477948150' with apko" • Error Category: Build Configuration • Failure Point: Initial build environment setup phase • Root Cause Analysis: • Suggested Fix:
environment:
contents:
packages:
- maven-bin # Add explicit maven binary package
environment:
MAVEN_OPTS: "-Xmx2048m -XX:MaxPermSize=512m"
M2_HOME: "/usr/share/maven"
pipeline:
- name: Verify Build Environment
runs: |
java -version
mvn -version
echo $JAVA_HOME
# Then continue with existing pipeline steps • Explanation:
• Additional Notes:
• References: |
Gen AI suggestions to solve the build error: • Detected Error:
• Error Category: Dependency • Failure Point: Package dependency resolution during build environment setup • Root Cause Analysis: There's a version mismatch between the ICU library required by nodejs-20 (needs v75) and the version specified in the environment (v76.1). Node.js 20.18.1 was built against ICU 75.x, but the build is trying to use ICU 76.1. • Suggested Fix:
environment:
contents:
packages:
- icu=75.1-r3
- icu-libs=75.1-r3
# ... rest of packages ... • Explanation: Node.js 20.18.1 was compiled against ICU 75.x and requires that specific version's ABI. By explicitly setting the ICU version to 75.1-r3, we ensure binary compatibility with the Node.js package while maintaining a secure and supported version. • Additional Notes:
• References:
|
superseded by #37007 |
apicurio-registry/3.0.4-r0: fix GHSA-xq3w-v528-46rv
Advisory data: https://github.com/wolfi-dev/advisories/blob/main/apicurio-registry.advisories.yaml