Skip to content

NDN: fix builds after boost upgrade#152721

Merged
veprbl merged 1 commit intoNixOS:masterfrom
bertof:fix/ndn-stack
Dec 31, 2021
Merged

NDN: fix builds after boost upgrade#152721
veprbl merged 1 commit intoNixOS:masterfrom
bertof:fix/ndn-stack

Conversation

@bertof
Copy link
Member

@bertof bertof commented Dec 30, 2021

  • updated derivations with the correct boost version
  • prepared check phases for unit tests. Some of them don't work on upstream and have already been reported years ago
  • checked that the produced software works as expected
Motivation for this change
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 22.05 Release Notes (or backporting 21.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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

The temporary pinning of boost versions in the all-packages.nix file did not catch dependant packages recursively.
I updated the derivations pinning boost175.

Some tests may not be integrated (just as before this update) as they're failing in the upstream too.

This should partially fix #151469 , at least for ndn-tools and nfd packages.

- updated derivations with the correct boost version
- prepared check phases for unit tests. Some of them don't work on upstream and have already been reported years ago
- checked that the produced software works as expected
@ofborg ofborg bot requested a review from sjmackenzie December 30, 2021 15:16
@ofborg ofborg bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 30, 2021
@veprbl
Copy link
Member

veprbl commented Dec 31, 2021

Result of nixpkgs-review pr 152721 run on x86_64-darwin 1

3 packages built:
  • ndn-cxx
  • ndn-tools
  • nfd

@veprbl veprbl merged commit 08768c8 into NixOS:master Dec 31, 2021
@veprbl
Copy link
Member

veprbl commented Dec 31, 2021

Thank you!

@veprbl veprbl mentioned this pull request Dec 31, 2021
54 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regressions due to a boost bump

2 participants