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

Fix remaining 4.14 libelf outbreak #34045

Merged
merged 4 commits into from Jan 19, 2018
Merged

Conversation

andir
Copy link
Member

@andir andir commented Jan 19, 2018

Motivation for this change

Fixing up some remainign breakage after the 4.14 libelf dependency issues.

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.

@andir andir changed the title Kmod missing libelf Fix remaining 4.14 libelf outbreak Jan 19, 2018
@andir
Copy link
Member Author

andir commented Jan 19, 2018

@GrahamcOfBorg build linuxPackages_4_14.openafsClient linuxPackages_4_14.phc-intel linuxPackages_4_14.v4l2loopback linuxPackages_4_14.vhba

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Failure for system: x86_64-darwin

error: while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/stdenv/generic/check-meta.nix:4:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/stdenv/generic/make-derivation.nix:206:18:
while evaluating 'checkValidity' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/stdenv/generic/check-meta.nix:185:19, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/stdenv/generic/check-meta.nix:200:15:
while evaluating the attribute 'meta.broken' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/servers/openafs-client/default.nix:49:5:
while evaluating 'versionOlder' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/strings.nix:359:22, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/servers/openafs-client/default.nix:49:14:
while evaluating the attribute 'linux_4_14' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/top-level/all-packages.nix:12878:3:
while evaluating 'callPackageWith' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/customisation.nix:113:35, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/top-level/all-packages.nix:12878:16:
while evaluating 'makeOverridable' at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/customisation.nix:72:24, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/customisation.nix:117:8:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/kernel/linux-4.14.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/lib/customisation.nix:74:12:
while evaluating anonymous function at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/kernel/generic.nix:1:1, called from /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/kernel/linux-4.14.nix:5:1:
assertion failed at /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/kernel/generic.nix:33:1

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Failure for system: aarch64-linux

Package ‘linux-phc-intel-0.4.0-rev24-4.14.14’ in /var/lib/gc-of-borg/nix-test-rs-2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-2/pkgs/os-specific/linux/phc-intel/default.nix:41 is not supported on ‘aarch64-linux’, refusing to evaluate.

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

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

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

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

Success for system: x86_64-linux

strip is /nix/store/mdyy001q67hiks0g24ra53z7ckm4jfr4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14/lib  /nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14/libexec  /nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14/bin  /nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14/sbin 
patching script interpreter paths in /nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14
checking for references to /tmp/nix-build-openafs-1.6.22.1-4.14.14.drv-0 in /nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14...
wrong ELF type
moving /nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14/sbin/* to /nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14/bin
/nix/store/ajxkpizn4bv93lahcx6cn7yh02s995lm-openafs-1.6.22.1-4.14.14
/nix/store/hv4cnp045q09z60kh92793vjx8hk8qhp-linux-phc-intel-0.4.0-rev24-4.14.14
/nix/store/yx8nh7zgkrx7vvrycdaxyc2la3ynqms2-v4l2loopback-0.9.1-4.14.14
/nix/store/23q2kb2r3cm95r8qaldryldb2in2p5i0-vhba-20170610

@andir andir merged commit a4edba9 into NixOS:master Jan 19, 2018
@andir andir deleted the kmod-missing-libelf branch January 19, 2018 14:16
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