Skip to content

libbpf: Update to use v1.7.0#517090

Closed
anadon wants to merge 1 commit intoNixOS:stagingfrom
anadon:patch-1
Closed

libbpf: Update to use v1.7.0#517090
anadon wants to merge 1 commit intoNixOS:stagingfrom
anadon:patch-1

Conversation

@anadon
Copy link
Copy Markdown

@anadon anadon commented May 6, 2026

Updating to use version 1.7.0. This is important because it includes a guard for bpf_stream_vprintk() which is defined in "vmlinux.h" and the "vmlinux.h" one is considered better practice to use with modern CO-RE practice.

Things done

Not much.

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Copy link
Copy Markdown

@nixpkgs-branch-check nixpkgs-branch-check Bot left a comment

Choose a reason for hiding this comment

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

The nixos-* and nixpkgs-* branches are pushed to by the channel release script and should not be merged into directly.

Please target master instead.

@anadon anadon changed the base branch from nixos-unstable to master May 6, 2026 00:58
@nixpkgs-ci nixpkgs-ci Bot closed this May 6, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this May 6, 2026
@anadon anadon changed the title Update to use v1.7.0 libbpf: Update to use v1.7.0 May 6, 2026
nixpkgs-branch-check[bot]

This comment was marked as outdated.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 12.first-time contribution This PR is the author's first one; please be gentle! 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. labels May 6, 2026
@anadon anadon changed the base branch from master to staging May 6, 2026 01:08
@nixpkgs-ci nixpkgs-ci Bot closed this May 6, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this May 6, 2026
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. and removed 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. labels May 6, 2026
Updating to use version 1.7.0.  This is important because it includes a guard for `bpf_stream_vprintk()` which is defined in "vmlinux.h" and the "vmlinux.h" one is considered better practice to use with modern CO-RE practice.
@vcunat
Copy link
Copy Markdown
Member

vcunat commented May 6, 2026

You don't update the src hash, so this is wrong and still builds the old version. Moreover, we did update libbpf in PR #510277

@vcunat vcunat closed this May 6, 2026
@vcunat
Copy link
Copy Markdown
Member

vcunat commented May 6, 2026

Though you may be confused that you don't get libbpf in unstable/master (yet); see https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging

@anadon anadon deleted the patch-1 branch May 6, 2026 14:35
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: 0 This PR does not cause any packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants