Skip to content

python3Packages.libpcap: fix build#442812

Merged
dotlambda merged 3 commits intoNixOS:masterfrom
dotlambda:python3Packages.libpcap
Sep 14, 2025
Merged

python3Packages.libpcap: fix build#442812
dotlambda merged 3 commits intoNixOS:masterfrom
dotlambda:python3Packages.libpcap

Conversation

@dotlambda
Copy link
Member

@dotlambda dotlambda commented Sep 14, 2025

It previously failed with

OSError: /nix/store/0vzyp6v62bwlr70xr36iwpsxfsc6jvgq-libpcap-1.10.5/lib/libpcap.so: cannot open shared object file: No such file or directory

because da89a2d (part of #429972) introduced a lib output.

Things done

  • 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.

Add a 👍 reaction to pull requests you find important.

It previously failed with

    OSError: /nix/store/0vzyp6v62bwlr70xr36iwpsxfsc6jvgq-libpcap-1.10.5/lib/libpcap.so: cannot open shared object file: No such file or directory

because da89a2d introduced a lib output.
@dotlambda dotlambda requested a review from nikstur September 14, 2025 05:06
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: python Python is a high-level, general-purpose programming language. labels Sep 14, 2025
@nix-owners nix-owners bot requested a review from kip93 September 14, 2025 05:12
It used to fail with

    Run-time dependency pcap found: NO (tried pkgconfig and config-tool)

    meson.build:15:11: ERROR: Dependency "pcap" not found, tried pkgconfig and config-tool

because python3Packages.libpcap was being used instead.
@dotlambda dotlambda force-pushed the python3Packages.libpcap branch from 49b8c03 to 7dd7cc4 Compare September 14, 2025 05:52
@nix-owners nix-owners bot requested a review from natsukium September 14, 2025 05:58
@dotlambda
Copy link
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 442812
Commit: 7dd7cc4d5fa31b8f09f395cf0463d8c0538c7973


aarch64-linux

⏩ 2 packages marked as broken and skipped:
  • skytemple
  • skytemple.dist
✅ 18 packages built:
  • python312Packages.libpcap
  • python312Packages.libpcap.dist
  • python312Packages.pycyphal
  • python312Packages.pycyphal.dist
  • python312Packages.skytemple-ssb-debugger
  • python312Packages.skytemple-ssb-debugger.dist
  • python312Packages.skytemple-ssb-emulator
  • python312Packages.skytemple-ssb-emulator.dist
  • python313Packages.libpcap
  • python313Packages.libpcap.dist
  • python313Packages.pycyphal
  • python313Packages.pycyphal.dist
  • python313Packages.skytemple-ssb-debugger
  • python313Packages.skytemple-ssb-debugger.dist
  • python313Packages.skytemple-ssb-emulator
  • python313Packages.skytemple-ssb-emulator.dist
  • yakut
  • yakut.dist

@dotlambda dotlambda added this pull request to the merge queue Sep 14, 2025
Merged via the queue into NixOS:master with commit f4071c0 Sep 14, 2025
28 of 31 checks passed
@dotlambda dotlambda deleted the python3Packages.libpcap branch September 14, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant