-
Notifications
You must be signed in to change notification settings - Fork 285
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
spark-3.5-scala-2.12/3.5.4 package update #37963
base: main
Are you sure you want to change the base?
Conversation
octo-sts
bot
commented
Dec 20, 2024
Gen AI suggestions to solve the build error: Let me help analyze and fix the patch failure. • Detected Error: "Hunk #1 FAILED at 56. 1 out of 2 hunks FAILED -- saving rejects to file build/mvn.rej" • Error Category: Build Configuration/Patch • Failure Point: Patch application for build/mvn script • Root Cause Analysis: The patch for build/mvn is failing because the context lines in the patch file don't match the target file, likely due to version differences between when the patch was created and the current source code version (3.5.4). • Suggested Fix:
--- a/build/mvn
+++ b/build/mvn
@@ -53,7 +53,7 @@
MVN_ARGS=("$@")
# First, install any dependencies needed by this module.
-$MVN clean install -DskipTests "${MVN_ARGS[@]}"
+$MVN clean install -DskipTests -Dmaven.repo.local=/tmp/maven_repo "${MVN_ARGS[@]}"
# Now, continue with the regular build.
exec $MVN "$@" • Explanation:
• Additional Notes:
• References:
|
b61682e
to
aced571
Compare
The two issues found in |
aced571
to
0bd9b2f
Compare
Please use 👍 or 👎 on this comment to indicate if you agree or disagree with the recommendation. To provide more detailed feedback please comment on the recommendation prefixed with /ai-verify: e.g. /ai-verify partially helpful but I also added bash to the build environment Gen AI suggestions to solve the build error: • Detected Error: "[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.5.0:shade (default) on project spark-kvstore_2.12: Error creating shaded jar: null: NullPointerException" • Error Category: Build Configuration • Failure Point: Maven shade plugin execution during build of spark-kvstore_2.12 module • Root Cause Analysis: • Suggested Fix: pipeline:
- uses: maven/pombump
with:
settings: |
<settings>
<profiles>
<profile>
<id>shade-config</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<activeProfiles>
<activeProfile>shade-config</activeProfile>
</activeProfiles>
</settings> • Explanation:
• Additional Notes:
• References:
|
0bd9b2f
to
109779d
Compare
There's an ongoing internal discussion on reworking how these packages get built, so I'll hold off on any further work here. |
@OddBloke is there a link to the discussion or any resolution yet? |
Signed-off-by: wolfi-bot <[email protected]>
Upstream now fetch the remote_checksum using `${mirror_host}` so we no longer need to apply that part of the patch.
109779d
to
2371705
Compare