Skip to content

[staging] libmicrohttpd: 0.9.74 -> 0.9.77, several unpinnings#278920

Merged
yorickvP merged 5 commits intoNixOS:stagingfrom
panicgh:libmicrohttpd
Feb 21, 2024
Merged

[staging] libmicrohttpd: 0.9.74 -> 0.9.77, several unpinnings#278920
yorickvP merged 5 commits intoNixOS:stagingfrom
panicgh:libmicrohttpd

Conversation

@panicgh
Copy link
Contributor

@panicgh panicgh commented Jan 5, 2024

Description of changes

https://git.gnunet.org/libmicrohttpd.git/tree/ChangeLog?h=v0.9.77

I would keep the old versions for the moment and drop them when this mass rebuild went through fine and the old versions are known to not be needed any more (e.g. for pinning on the staging/staging-next cycles).

Closes #187811.

Since there are many pkgs transitively dependent on libmicrohttpd, I only built a hand-picked selection:

Result of nixpkgs-review run on x86_64-linux 1

16 packages built:
  • coturn
  • fileshare
  • kismet
  • kiwix
  • kiwix-tools
  • kodi
  • libjson-rpc-cpp
  • libpromhttp
  • ola
  • osmscout-server
  • profanity
  • proxysql
  • taler-exchange
  • taler-merchant
  • xmrig
  • xmrig-proxy

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.05 Release Notes (or backporting 23.05 and 23.11 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.

@panicgh panicgh changed the title libmicrohttpd: 0.9.74 -> 0.9.77, several unpinnings [staging] libmicrohttpd: 0.9.74 -> 0.9.77, several unpinnings Jan 5, 2024
@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Jan 5, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Jan 5, 2024
@panicgh panicgh marked this pull request as ready for review January 5, 2024 12:56
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/3247

@SuperSandro2000
Copy link
Member

@ofborg build proxysql taler libjson-rpc-cpp libmicrohttpd

Copy link
Member

@prusnak prusnak left a comment

Choose a reason for hiding this comment

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

LGTM

@panicgh panicgh added the 12.approvals: 2 This PR was reviewed and approved by two persons. label Feb 6, 2024
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/1447

@yorickvP
Copy link
Contributor

lgtm

@yorickvP yorickvP merged commit 7cf969e into NixOS:staging Feb 21, 2024
@vcunat
Copy link
Member

vcunat commented Feb 21, 2024

Perhaps it would be nice to have a look at pruning the set of versions?

@panicgh panicgh deleted the libmicrohttpd branch February 22, 2024 16:44
infinisil added a commit to tweag/nixpkgs that referenced this pull request Mar 1, 2024
The `pkgs/by-name` check currently fails on the staging-next merge into
master (https://github.com/NixOS/nixpkgs/actions/runs/8110296543/job/22167262748)
because it contains the changes of NixOS#278920, which introduced a "new" package using `callPackage` but not using `pkgs/by-name`.

This was never noticed in that PR because CI last ran almosts 2 months ago, which is before the check for new packages was introduced.

This wouldn't be a problem normally, it's only become a problem because
of the staging-next merge into master, which effectively PRs the same
change again (and the `pkgs/by-name` check doesn't try to distinguish
between branches).

The fix for this is a bit special because it's not actually a "new"
package, but rather just a new version of an existing package. The
`pkgs/by-name` check can't distinguish between such cases though.

So instead we make sure that the `pkgs/by-name` check doesn't think of
it as a package using `callPackage` by using the recommendation for
multi-versioned packages from
NixOS#292214.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants