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

systemd cross compilation #35666

Merged
merged 10 commits into from Feb 26, 2018
Merged

systemd cross compilation #35666

merged 10 commits into from Feb 26, 2018

Conversation

shlevy
Copy link
Member

@shlevy shlevy commented Feb 26, 2018

Cross-compilation fixes to get systemd working.

Targeting staging because systemd is pretty low down the tree.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Partial log (click to expand)

Package ‘libapparmor-2.12.0’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/apparmor/default.nix:21 is not supported on ‘x86_64-darwin’, 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.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

warning: working around a Linux kernel bug by creating a hole of 57344 bytes in ‘/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237/lib/systemd/system-generators/systemd-fstab-generator’
warning: working around a Linux kernel bug by creating a hole of 61440 bytes in ‘/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237/lib/systemd/system-generators/systemd-hibernate-resume-generator’
warning: working around a Linux kernel bug by creating a hole of 57344 bytes in ‘/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237/lib/systemd/system-generators/systemd-gpt-auto-generator’
warning: working around a Linux kernel bug by creating a hole of 61440 bytes in ‘/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237/lib/systemd/system-generators/systemd-system-update-generator’
/nix/store/k54b2y2zw2djqf3crw019h7p6mhrxnhq-libapparmor-2.12.0
/nix/store/qvisgqs7a94a31w1cqg38ccikjfg97br-libgcrypt-1.8.2
/nix/store/991gp2nq88brj9j961y286fhgrxv2gy8-libidn2-2.0.4-bin
/nix/store/zaz2kklrvsvnvf43482rvsgwmh0jamlp-lzip-1.19
/nix/store/58pwcbkqs3451qadd0q3fzk9xigww5fs-meson-0.44.0
/nix/store/m7rs1ygymv1a2hadn18b5f89giv1gsvf-systemd-237

@shlevy shlevy merged commit 9d2af8d into NixOS:staging Feb 26, 2018
@shlevy shlevy deleted the systemd-cross branch February 26, 2018 12:42
@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

warning: working around a Linux kernel bug by creating a hole of 2093056 bytes in ‘/nix/store/bb4d0d0cifbydqnajhj0n7k10smff3l0-systemd-237/lib/systemd/systemd-modules-load’
warning: working around a Linux kernel bug by creating a hole of 2088960 bytes in ‘/nix/store/bb4d0d0cifbydqnajhj0n7k10smff3l0-systemd-237/lib/systemd/systemd-socket-proxyd’
not an ELF executable
not an ELF executable
/nix/store/71s47qcwki818zwmj341lc1vh48qwq75-libapparmor-2.12.0
/nix/store/ygphd9gq0ac18jcf3w2s4kl1f36kypqy-libgcrypt-1.8.2
/nix/store/9fq9y3vd8047g1n0lllrmb6xc4l812vw-libidn2-2.0.4-bin
/nix/store/qrj8dgi1c1if6fh31qprwg3ninmdbcc6-lzip-1.19
/nix/store/i2v2kq3kn24ag8rlww8lwf0pfk8az517-meson-0.44.0
/nix/store/bb4d0d0cifbydqnajhj0n7k10smff3l0-systemd-237

@exarkun
Copy link
Contributor

exarkun commented Jan 2, 2019

This seems to be broken again.

I filed #53207 before I found this issue.

@exarkun
Copy link
Contributor

exarkun commented Jan 8, 2019

Looks like it's working now (see comments on issue I linked before if you care about why).

@nh2
Copy link
Contributor

nh2 commented Feb 19, 2020

@vcunat What do we do about it?

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

5 participants