Skip to content

Conversation

@octo-sts
Copy link
Contributor

@octo-sts octo-sts bot commented Nov 21, 2024

@octo-sts octo-sts bot added request-version-update request for a newer version of a package automated pr labels Nov 21, 2024
@octo-sts
Copy link
Contributor Author

octo-sts bot commented Nov 21, 2024

Gen AI suggestions to solve the build error:

• Detected Error: "patching file libmamba/CMakeLists.txt
Hunk #1 FAILED at 445.
1 out of 1 hunk FAILED -- saving rejects to file libmamba/CMakeLists.txt.rej"

• Error Category: Build Configuration

• Failure Point: Patch application step in the pipeline

• Root Cause Analysis: The patch "support-shared-libs.patch" is failing to apply because the target file (libmamba/CMakeLists.txt) has changed in the new version and no longer matches the patch context

• Suggested Fix:

  1. Update the patch file by:
    cd /path/to/mamba/source
    git checkout 7ad2981262d9e4d1f2944a3ec46fa33fd2375acc
    diff -u libmamba/CMakeLists.txt.orig libmamba/CMakeLists.txt > support-shared-libs.patch
  2. Or remove the patch if it's no longer needed (check if the functionality is already upstream)

• Explanation: Version 2024.11.21-1.x likely includes changes to the CMake build system that conflict with the existing patch. The patch needs to be regenerated against the new source version or may be unnecessary if the changes were incorporated upstream.

• Additional Notes:

  • The changelog mentions fmt 11 support which could have involved CMake changes
  • The error occurs at line 445 which suggests build system modifications
  • Consider reviewing upstream changes to see if the patch is still necessary

• References:

@octo-sts
Copy link
Contributor Author

octo-sts bot commented Nov 22, 2024

superseded by #34953

@octo-sts octo-sts bot closed this Nov 22, 2024
@octo-sts octo-sts bot deleted the wolfictl-720adece-5af4-4cce-98ce-79f160a77c1f branch November 23, 2024 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated pr request-version-update request for a newer version of a package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants