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

libvirt-6.3.0 fails to build on macOS #100373

Closed
sneak opened this issue Oct 13, 2020 · 2 comments
Closed

libvirt-6.3.0 fails to build on macOS #100373

sneak opened this issue Oct 13, 2020 · 2 comments
Labels
0.kind: bug 6.topic: darwin Running or building packages on Darwin

Comments

@sneak
Copy link

sneak commented Oct 13, 2020

make  all-recursive
make[1]: Entering directory '/private/var/folders/qs/60qltk710tq2p7d34s1_tcbr0000gp/T/nix-build-libvirt-6.3.0.drv-0/libvirt-6.3.0/build'
Making all in .
make[2]: Entering directory '/private/var/folders/qs/60qltk710tq2p7d34s1_tcbr0000gp/T/nix-build-libvirt-6.3.0.drv-0/libvirt-6.3.0/build'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/private/var/folders/qs/60qltk710tq2p7d34s1_tcbr0000gp/T/nix-build-libvirt-6.3.0.drv-0/libvirt-6.3.0/build'
Making all in include/libvirt
make[2]: Entering directory '/private/var/folders/qs/60qltk710tq2p7d34s1_tcbr0000gp/T/nix-build-libvirt-6.3.0.drv-0/libvirt-6.3.0/build/include/libvirt'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/private/var/folders/qs/60qltk710tq2p7d34s1_tcbr0000gp/T/nix-build-libvirt-6.3.0.drv-0/libvirt-6.3.0/build/include/libvirt'
Making all in src
make[2]: Entering directory '/private/var/folders/qs/60qltk710tq2p7d34s1_tcbr0000gp/T/nix-build-libvirt-6.3.0.drv-0/libvirt-6.3.0/build/src'
  GEN      util/virkeycodetable_linux.h
  GEN      util/virkeycodetable_osx.h
  GEN      util/virkeycodetable_atset1.h
  GEN      util/virkeycodetable_atset2.h
  GEN      util/virkeycodetable_atset3.h
  GEN      util/virkeycodetable_xtkbd.h
  GEN      util/virkeycodetable_usb.h
  GEN      util/virkeycodetable_win32.h
  GEN      util/virkeycodetable_qnum.h
  GEN      util/virkeynametable_linux.h
  GEN      util/virkeynametable_osx.h
  GEN      util/virkeynametable_win32.h
  GEN      security/apparmor/usr.lib.libvirt.virt-aa-helper
  GEN      security/apparmor/usr.sbin.libvirtd
  GEN      access/org.libvirt.api.policy
  GEN      access/viraccessapicheck.h
  GEN      access/viraccessapicheck.c
  GEN      access/viraccessapicheckqemu.h
  GEN      access/viraccessapicheckqemu.c
  GEN      access/viraccessapichecklxc.h
  GEN      access/viraccessapichecklxc.c
  GEN      libvirt_access.xml
  GEN      libvirt_access_qemu.xml
  GEN      libvirt_access_lxc.xml
  GEN      logging/log_protocol.h
  GEN      logging/log_daemon_dispatch_stubs.h
  GEN      locking/lock_protocol.h
  GEN      locking/lock_daemon_dispatch_stubs.h
  GEN      admin/admin_protocol.h
  GEN      admin/admin_client.h
  GEN      admin/admin_server_dispatch_stubs.h
  GEN      rpc/virnetprotocol.h
  GEN      rpc/virkeepaliveprotocol.h
  GEN      .esx_vi_generator.stamp
  GEN      .hyperv_wmi_generator.stamp
  GEN      lxc/lxc_monitor_protocol.h
Can't exec "no": No such file or directory at ../../src/rpc/genprotocol.pl line 45.
  GEN      lxc/lxc_monitor_dispatch.h
cannot run no -h ../../src/logging/log_protocol.x: No such file or directory at ../../src/rpc/genprotocol.pl line 45.
make[2]: *** [Makefile:14835: logging/log_protocol.h] Error 2
make[2]: *** Waiting for unfinished jobs....
  GEN      lxc/lxc_controller_dispatch.h
Can't exec "no": No such file or directory at ../../src/rpc/genprotocol.pl line 45.
cannot run no -h ../../src/locking/lock_protocol.x: No such file or directory at ../../src/rpc/genprotocol.pl line 45.
make[2]: *** [Makefile:14835: locking/lock_protocol.h] Error 2
Can't exec "no": No such file or directory at ../../src/rpc/genprotocol.pl line 45.
cannot run no -h ../../src/admin/admin_protocol.x: No such file or directory at ../../src/rpc/genprotocol.pl line 45.
make[2]: *** [Makefile:14835: admin/admin_protocol.h] Error 2
Can't exec "no": No such file or directory at ../../src/rpc/genprotocol.pl line 45.
cannot run no -h ../../src/rpc/virnetprotocol.x: No such file or directory at ../../src/rpc/genprotocol.pl line 45.
make[2]: *** [Makefile:14835: rpc/virnetprotocol.h] Error 2
Can't exec "no": No such file or directory at ../../src/rpc/genprotocol.pl line 45.
cannot run no -h ../../src/rpc/virkeepaliveprotocol.x: No such file or directory at ../../src/rpc/genprotocol.pl line 45.
make[2]: *** [Makefile:14835: rpc/virkeepaliveprotocol.h] Error 2
Can't exec "no": No such file or directory at ../../src/rpc/genprotocol.pl line 45.
cannot run no -h ../../src/lxc/lxc_monitor_protocol.x: No such file or directory at ../../src/rpc/genprotocol.pl line 45.
make[2]: *** [Makefile:14835: lxc/lxc_monitor_protocol.h] Error 2
  GEN      hyperv/hyperv_wmi_classes.generated.typedef
  GEN      hyperv/hyperv_wmi_classes.generated.h
  GEN      hyperv/hyperv_wmi_classes.generated.c
  GEN      esx/esx_vi_types.generated.typedef
  GEN      esx/esx_vi_types.generated.typeenum
  GEN      esx/esx_vi_types.generated.typetostring
  GEN      esx/esx_vi_types.generated.typefromstring
  GEN      esx/esx_vi_types.generated.h
  GEN      esx/esx_vi_types.generated.c
  GEN      esx/esx_vi_methods.generated.h
  GEN      esx/esx_vi_methods.generated.c
  GEN      esx/esx_vi_methods.generated.macro
  GEN      esx/esx_vi.generated.h
  GEN      esx/esx_vi.generated.c
make[2]: Leaving directory '/private/var/folders/qs/60qltk710tq2p7d34s1_tcbr0000gp/T/nix-build-libvirt-6.3.0.drv-0/libvirt-6.3.0/build/src'
make[1]: *** [Makefile:777: all-recursive] Error 1
make[1]: Leaving directory '/private/var/folders/qs/60qltk710tq2p7d34s1_tcbr0000gp/T/nix-build-libvirt-6.3.0.drv-0/libvirt-6.3.0/build'
make: *** [Makefile:670: all] Error 2
builder for '/nix/store/0wk0xqs0liq1g1a7idnqpdy9ljwrqigg-libvirt-6.3.0.drv' failed with exit code 2
cannot build derivation '/nix/store/y0il06x8fs60nxsggzpxmv6f4laamphn-terraform-provider-libvirt-0.6.2.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6impbzna0j9gzb81scsvq79cg7p848l9-adminPackages.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/q61nm1k4yqknpvbmiq8zkqrghzh1w877-my-packages.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/r6b68ka1a7d2jxbilkwpqiygy3jdb2xd-nostromopackages.drv': 1 dependencies couldn't be built
error: build of '/nix/store/r6b68ka1a7d2jxbilkwpqiygy3jdb2xd-nostromopackages.drv' failed
nostromo:~$

system

nostromo:~$    nix-shell -p nix-info --run "nix-info -m"
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixpkgs' does not exist, ignoring
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
these paths will be fetched (0.01 MiB download, 0.03 MiB unpacked):
  /nix/store/nr08r5i5bsy8w34q4c6zzgp10p487wjn-nix-info
  /nix/store/ra0bc08y7i6g8crkm229ca7a2krlxpj1-DarwinTools-1
copying path '/nix/store/ra0bc08y7i6g8crkm229ca7a2krlxpj1-DarwinTools-1' from 'https://cache.nixos.org'...
copying path '/nix/store/nr08r5i5bsy8w34q4c6zzgp10p487wjn-nix-info' from 'https://cache.nixos.org'...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixpkgs' does not exist, ignoring
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
 - system: `"x86_64-darwin"`
 - host os: `Darwin 19.6.0, macOS 10.15.7`
 - multi-user?: `no`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.3.7`
 - channels(sneak): `"nixpkgs-21.03pre245942.89281dd1dfe"`
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixpkgs' does not exist, ignoring
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
 - nixpkgs: `/Users/sneak/.nix-defexpr/channels/nixpkgs`

notify

@volth @vbgl

PS

here's how homebrew does it; i don't use homebrew but i assume they have this working on macOS:

https://github.com/Homebrew/homebrew-core/blob/master/Formula/libvirt.rb

@veprbl veprbl added the 6.topic: darwin Running or building packages on Darwin label Oct 13, 2020
@jakobrs
Copy link
Contributor

jakobrs commented Oct 13, 2020

See #89166.

@sneak
Copy link
Author

sneak commented Oct 13, 2020

oops sorry for dupe!

@sneak sneak closed this as completed Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

3 participants