wolfi-dev / os

Main package repository for production Wolfi images
Other
827 stars 255 forks source link

confluent-kafka/8.0.0.164 package update #34914

Closed octo-sts[bot] closed 1 day ago

octo-sts[bot] commented 1 day ago

octo-sts[bot] commented 1 day ago

Gen AI suggestions to solve the build error:

• Detected Error: "Reversed (or previously applied) patch detected! Assume -R? [n]"

• Error Category: Build Configuration

• Failure Point: Patch application step in the pipeline

• Root Cause Analysis: The patch "upgrade-netty-version-to-fix-CVE.patch" appears to be either:

  1. Already applied to the source code
  2. Created against a different version of the code
  3. In reverse format

• Suggested Fix:

  1. Review and regenerate the patch against the current version (8.0.0-164-ccs):

    # Generate a new patch
    git checkout v8.0.0-164-ccs
    git checkout -b fix-netty
    # Make your changes to gradle/dependencies.gradle
    git diff > upgrade-netty-version-to-fix-CVE.patch
  2. Or modify the patch step to force application:

    - uses: patch
    with:
      patches: upgrade-netty-version-to-fix-CVE.patch
      args: ["-f", "-N", "-p1"]

• Explanation: The error indicates the patch content doesn't match the target file state. This typically happens when:

• Additional Notes:

• References:

octo-sts[bot] commented 1 day ago

superseded by https://github.com/wolfi-dev/os/pull/34927