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

nixos/systemd: Allow building systemd without libmicrohttpd #41970

Conversation

aneeshusa
Copy link
Contributor

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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.

@matthewbauer
Copy link
Member

@GrahamcOfBorg test systemd

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: tests.systemd

Partial log (click to expand)

machine# [   13.305820] display-manager[733]: (II) This device may have been added with another device file.
machine# [   13.307401] display-manager[733]: (II) config/udev: Adding input device (unnamed) (/dev/tty10)
machine# [   13.309294] display-manager[733]: (II) No input driver specified, ignoring this device.
machine# [   13.311321] display-manager[733]: (II) This device may have been added with another device file.
2 out of 2 tests succeeded
test script finished in 40.05s
cleaning up
killing machine (pid 623)
vde_switch: EOF on stdin, cleaning up and exiting
vde_switch: Could not remove ctl dir '/build/vde1.ctl': Directory not empty

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: tests.systemd

Partial log (click to expand)

building '/nix/store/pr1ka25fx6dgmddwiqn7rnlyqfk2lcdg-stage-1-init.sh.drv'...
building '/nix/store/fh9hpvycqgbn9p1vqrwc91xx0zcb57bm-initrd.drv'...
39527 blocks
cannot build derivation '/nix/store/k8q72yxq366dpsmdnick2x9w31kxh9w9-nixos-system-machine-18.09.git.f46cf21.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/mcvk1nwxjhjcwahwsh5975f928mpgi8q-closure-info.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6p2248bdln410jazmnrky4s2cjj003aw-run-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/3sp2kcpbznjdg6lsmgi8l1k437h8l7n7-nixos-vm.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/drpk2wf8cf833s5plvpdw9a7app2pz3b-nixos-test-driver-systemd.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/742mppd702wjbfb9irbdknq50zlmw0sk-vm-test-run-systemd.drv': 1 dependencies couldn't be built
error: build of '/nix/store/742mppd702wjbfb9irbdknq50zlmw0sk-vm-test-run-systemd.drv' failed

@matthewbauer matthewbauer merged commit ca0522a into NixOS:master Jul 23, 2018
@aneeshusa aneeshusa deleted the enable-building-systemd-without-libmicrohttpd branch January 7, 2022 02:56
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

3 participants