Skip to content

Conversation

@octo-sts
Copy link
Contributor

@octo-sts octo-sts bot commented Jan 16, 2026

Commit: 76f1be470c9b9f80dc6e27407e13b975df436489

Note: If you need to make manual changes to this PR, apply the skip:staging-update-bot label so the reconciler won't overwrite them.

@octo-sts octo-sts bot added automated pr openblas request-version-update request for a newer version of a package labels Jan 16, 2026
@octo-sts
Copy link
Contributor Author

octo-sts bot commented Jan 16, 2026

🩹 Build Failed: Patch Application Failed

Hunk #1 FAILED at 2433. 1 out of 1 hunk FAILED -- saving rejects to file interface/Makefile.rej

Build Details

Category Details
Build System Wolfi Linux package build system
Failure Point patch step - applying blas-lapack.patch to interface/Makefile

Root Cause Analysis 🔍

The patch file 'blas-lapack.patch' cannot be applied to the current version of OpenBLAS source code. The patch expects to modify line 2433 in interface/Makefile, but the target code structure has changed, causing the hunk to fail. This is likely due to a version mismatch between the patch and the OpenBLAS source code (v0.3.31), or changes in the upstream codebase that make the patch incompatible.


🔍 Build failure fix suggestions

Found similar build failures that have been fixed in the past and analyzed them to suggest a fix:

Suggested Changes

File: blas-lapack.patch

  • remove (entire file)
    Original:
blas-lapack.patch (current content)

Content:

Remove the patch file entirely as it appears to be incompatible with OpenBLAS v0.3.31

File: openblas.yaml

  • remove at line 25-27 (pipeline section)
    Original:
  - uses: patch
    with:
      patches: blas-lapack.patch

Content:

Remove the patch step from the pipeline since the patch is incompatible with the current OpenBLAS version
Click to expand fix analysis

Analysis

No similar fixed build failures were found in the dataset, so pattern analysis cannot be performed. However, the error indicates a classic patch application failure where the patch 'blas-lapack.patch' cannot be applied to OpenBLAS v0.3.31 because the target code at line 2433 in interface/Makefile has changed from what the patch expects. This is a common issue when upgrading package versions without updating corresponding patches.

Click to expand fix explanation

Explanation

The patch failure occurs because OpenBLAS v0.3.31 has evolved beyond what the blas-lapack.patch was designed for. Since the patch targets interface/Makefile at line 2433 and fails, it's likely that the functionality the patch was meant to provide has either been incorporated upstream in a different way, is no longer needed, or the build process has changed. The safest approach is to remove the patch and let the standard OpenBLAS build process handle LAPACK integration, which appears to be what the current Makefile commands in the pipeline are designed to do. The pipeline already includes specific commands to build and install liblapack and liblapacke shared libraries, suggesting the patch may be redundant with current OpenBLAS capabilities.

Click to expand alternative approaches

Alternative Approaches

  • Update the patch file to match the current OpenBLAS v0.3.31 codebase by examining the interface/Makefile and creating a new compatible patch
  • Investigate if the patch functionality is still needed by testing the build without the patch and checking if the resulting libraries have the expected LAPACK functionality
  • Check upstream OpenBLAS documentation and release notes for v0.3.31 to see if the patch's purpose has been superseded by native OpenBLAS features
  • Downgrade to an earlier OpenBLAS version that is compatible with the existing patch, though this conflicts with Wolfi's principle of using latest versions

Was this comment helpful? Please use 👍 or 👎 reactions on this comment.

@octo-sts octo-sts bot added the ai/skip-comment Stop AI from commenting on PR label Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/skip-comment Stop AI from commenting on PR automated pr openblas request-version-update request for a newer version of a package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant