Skip to content
Snippets Groups Projects

checkapk: hotfix for incorrect rebuild recommends if file name changed

Closed Sören Tempel requested to merge nmeum/abuild:checkapk-libraries-renamed-hotfix into master
1 unresolved thread

As pointed out by @kdaudt, checkapk would recommend aport rebuilds if the file name changed without a change in the SONAME. This commit attempts to workaround this by sorting the file output and processing .so files as pairs of two (previous .so, new .so). For both files, the SONAME is extracted using scanelf(1) and then compared for equality. If the SONAME is not equal, rebuilds are recommended.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading