Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linuxPackages.dpdk: 17.05.1 -> 17.11.2 #40774

Merged
merged 3 commits into from May 19, 2018
Merged

linuxPackages.dpdk: 17.05.1 -> 17.11.2 #40774

merged 3 commits into from May 19, 2018

Conversation

orivej
Copy link
Contributor

@orivej orivej commented May 19, 2018

Motivation for this change
  • dpdk 17.11.2 is the current LTS; the last non-LTS release is 18.02.1, but no release of odp-dpdk is compatible with it
  • dpdk does not depend on libvirt (only its examples do)
  • dpdk>=17.08 depends on numactl
  • pktgen 3.5.0 is the last release compatible with dpdk 17.11 and 18.02; pktgen 3.5.1 requires dpdk 18.05 (not released yes)
  • pktgen unbundled its copy of lua, but it still has to build it from source with a custom patch

/cc maintainers: @abuibrahim @domenkozar

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages.dpdk, linuxPackages.odp-dpdk, linuxPackages.pktgen

Partial log (click to expand)

while evaluating the attribute 'linux_4_14' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13507:3:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13507:16:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
while evaluating 'buildLinux' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13799:16, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/linux-4.14.nix:5:1:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:113:35, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/top-level/all-packages.nix:13799:23:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:72:24, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:117:8:
while evaluating anonymous function at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:1:1, called from /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/lib/customisation.nix:74:12:
assertion failed at /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/kernel/generic.nix:45:1

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: linuxPackages.dpdk, linuxPackages.odp-dpdk, linuxPackages.pktgen

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: linuxPackages.dpdk, linuxPackages.odp-dpdk, linuxPackages.pktgen

Partial log (click to expand)

/nix/store/5vw5dd09438rqwqzgwz7q4f1r1vbl29k-odp-dpdk-1.19.0.0_DPDK_17.11/bin/odp_ipsec_api_run_esp_out.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/5vw5dd09438rqwqzgwz7q4f1r1vbl29k-odp-dpdk-1.19.0.0_DPDK_17.11/bin/odp_ipsec_api_run_esp_tun_in.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/5vw5dd09438rqwqzgwz7q4f1r1vbl29k-odp-dpdk-1.19.0.0_DPDK_17.11/bin/odp_ipsec_api_run_esp_tun_out.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/5vw5dd09438rqwqzgwz7q4f1r1vbl29k-odp-dpdk-1.19.0.0_DPDK_17.11/bin/odp_ipsec_api_run_live.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/5vw5dd09438rqwqzgwz7q4f1r1vbl29k-odp-dpdk-1.19.0.0_DPDK_17.11/bin/odp_ipsec_api_run_router.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
/nix/store/5vw5dd09438rqwqzgwz7q4f1r1vbl29k-odp-dpdk-1.19.0.0_DPDK_17.11/bin/odp_ipsec_api_run_simple.sh: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/5vw5dd09438rqwqzgwz7q4f1r1vbl29k-odp-dpdk-1.19.0.0_DPDK_17.11...
/nix/store/yrlii48mhn69p5w1zaqxaq2rmqrf3s3k-dpdk-17.11.2-4.14.41
/nix/store/5vw5dd09438rqwqzgwz7q4f1r1vbl29k-odp-dpdk-1.19.0.0_DPDK_17.11
/nix/store/yx3kdfq3zningnnbckh8vzax6ka8abzg-pktgen-3.5.0

@orivej orivej merged commit 4f9c3af into NixOS:master May 19, 2018
@orivej orivej deleted the dpdk branch May 20, 2018 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants