Skip to content

dwarfs: 0.7.5 → 0.9.10 - #321996

Merged
nh2 merged 2 commits into
NixOS:masterfrom
nh2:dwarfs-fix-unupdated-hash
Jun 24, 2024
Merged

nh2 merged 2 commits into
NixOS:masterfrom
nh2:dwarfs-fix-unupdated-hash

Conversation

@nh2

@nh2 nh2 commented Jun 23, 2024 •

Copy link
Copy Markdown
Contributor

The previous update forgot to update the hash, so the old source archive continued to be used:

#312656 (comment)

TODO

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@nh2
nh2 force-pushed the dwarfs-fix-unupdated-hash branch from b071a3b to 0f3472b Compare June 23, 2024 16:23
@tpwrules

Copy link
Copy Markdown
Contributor

Can we also throw in the 0.9.10 upgrade and backport to 24.05?

@nh2 nh2 mentioned this pull request Jun 23, 2024
4 of 13 tasks
@nh2

nh2 commented Jun 23, 2024

Copy link
Copy Markdown
Contributor Author

Can we also throw in the 0.9.10 upgrade

I'm looking into that, will probably push it on top of this PR.

and backport to 24.05?

Probably, because it also has the bugged version.

@ofborg ofborg Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jun 23, 2024
@nh2
nh2 force-pushed the dwarfs-fix-unupdated-hash branch from 0f3472b to 139c9e5 Compare June 23, 2024 17:25
@nh2 nh2 changed the title dwarfs: 0.7.5 → 0.9.9 (fix updated hash). dwarfs: 0.7.5 → 0.9.10 Jun 23, 2024
@nh2
nh2 marked this pull request as ready for review June 23, 2024 17:27
@nh2

nh2 commented Jun 23, 2024

Copy link
Copy Markdown
Contributor Author

@tpwrules OK I got it building now, review appreciated!

@nh2 nh2 mentioned this pull request Jun 23, 2024

@tpwrules tpwrules left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, a couple minor nits. Tested build and operation on x86_64-linux and aarch64-linux. Was not able to get cross to work unfortunately, probably issues with the CMake scripts. But I don't think that should hold this back.

The previous update to 0.9.9 didn't actually update the version because
it forgot to update the hash,
so the old source archive continued to be used:
NixOS#312656 (comment)

Because now the new code is actually pulled in, it needs new
dependencies and fixes.

* `PRJ_GIT_DATE` is needed.
  Remove the manual replacement of versions, and use the
  approach that upstream added for nixpkgs:
  NixOS#181723 (comment)
  This avoids cases like this, where new versioning fields are added;
  upstream takes care of it for us now.
* Use `finalAttrs` for correct version overriding.
* Fix compile error with `gtest`, see added comments.
* Enable FLAC support
  (and the tests don't pass without it on this version, see
  mhx/dwarfs@21901d7)
@nh2
nh2 force-pushed the dwarfs-fix-unupdated-hash branch from 139c9e5 to 9bb686f Compare June 23, 2024 23:59
@nh2
nh2 merged commit 3530b85 into NixOS:master Jun 24, 2024
@github-actions

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-24.05:

@github-actions

Copy link
Copy Markdown
Contributor

Git push to origin failed for release-24.05 with exitcode 1

@nh2

nh2 commented Jun 24, 2024

Copy link
Copy Markdown
Contributor Author

Git push to origin failed for release-24.05 with exitcode 1

Not sure what this means, it created the backport PR successfully.

@SuperSandro2000

Copy link
Copy Markdown
Member

the action does an extra git force push to trigger the actions on the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants