-
Notifications
You must be signed in to change notification settings - Fork 418
sonarqube-10/25.6.0.109173 package update #55086
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
Conversation
octo-sts
bot
commented
Jun 2, 2025
Signed-off-by: wolfi-bot <[email protected]>
🩹 Build Failed: Patch Application Failed
Build Details
Root Cause Analysis 🔍The patch file for SONAR-25149 could not be applied to build.gradle. The patch expected the file to look one way at line 327, but the actual file content was different. This is likely because the SonarQube 10 build.gradle file has changes that conflict with the patch being applied. 🔍 Build failure fix suggestionsFound similar build failures that have been fixed in the past and analyzed them to suggest a fix: Similar PRs with fixesSuggested ChangesFile: sonarqube-10.yaml
Replacement:
Click to expand fix analysisAnalysisAfter analyzing the similar fixed build failures, I observe a common pattern: patch application failures typically occur when the target file has changed in newer versions, causing the patch context to no longer match. In both similar fixed examples, the solution was to either:
The current failure involves a patch for SONAR-25149 that tries to update text plugins to version 2.24.0.6480, but the patch is failing to apply to build.gradle at line 327. This suggests that the build.gradle file in the current SonarQube version (25.6.0.109173) has content that differs from what the patch expects. Click to expand fix explanationExplanationThe suggested fix addresses the root cause by avoiding the problematic patch application that's failing. Instead of trying to apply the patch file for the text plugin update (which is failing at line 327 of build.gradle), we're directly modifying the build.gradle file using a sed command to make the specific change that the patch was trying to make. This approach works because:
This solution maintains the security update intended by the patch (updating to version 2.24.0.6480) while avoiding the patch application failure caused by changes in the build.gradle file context. Click to expand alternative approachesAlternative Approaches
Was this comment helpful? Please use 👍 or 👎 reactions on this comment. |
Upstream have moved past the version to 2.24.1.xx for its sonar text dependency Signed-off-by: Debasish Biswas <[email protected]>
debasishbsws
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hold
❓ Does anyone have any insight or reference on how SonarQube manages its releases?
According to end-of-life dates, the latest Active Supported version appears to be 10.7.0. However, if you examine their Git tags, that version was released around last September. And I guess since then, they seem to have switched to a Year-month-based versioning scheme — e.g. we're now seeing versions like: 24.12.x.xx,25.1.x.xx, etc.
Our sonarqube-10 package is also following this newer date-based versioning. which I think is not correct
|
Question in upstream https://community.sonarsource.com/t/sonarqube-server-2025-release-1-2-lta/141905/4?u=debasish_biswas Here is some Licence change announcement: https://community.sonarsource.com/t/a-new-sonar-license-for-sonarqube-analyzers/130731 also: https://community.sonarsource.com/t/sonarqube-community-build-24-12-0-100206-released/131515
|
|
closing this |