Open orgazmer opened 3 years ago
+1
@jresteban @orgazmer Try my fork. It works https://github.com/jeffreywildman/homebrew-virt-manager/pull/181 . Try https://github.com/Krish-sysadmin/homebrew-virt-manager
@Krish-sysadmin thanks!! it works fine in Mojave 10.14.4 and Catalina 10.15.7
@jresteban @orgazmer Try my fork. It works #181 . Try https://github.com/Krish-sysadmin/homebrew-virt-manager
==> Installing virt-manager from jeffreywildman/virt-manager ==> Patching ==> python3 -m venv --system-site-packages /usr/local/Cellar/virt-manager/2.2.1_3/libexec ==> /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--libvirt-python-20210917-83625-1e5rltf/libvir Last 15 lines from /Users/rooter/Library/Logs/Homebrew/virt-manager/02.pip: Running setup.py install for libvirt-python: started Running command /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-q52btqux/setup.py'"'"'; file='"'"'/private/tmp/pip-req-build-q52btqux/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-p1d4l4an/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/2.2.1_3/libexec/include/site/python3.9/libvirt-python running install running build /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config --print-errors --atleast-version=0.9.11 libvirt /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 generator.py libvirt /usr/local/Cellar/libvirt/7.7.0/share/libvirt/api/libvirt-api.xml Found 487 functions in /usr/local/Cellar/libvirt/7.7.0/share/libvirt/api/libvirt-api.xml Found 0 functions in libvirt-override-api.xml Generated 397 wrapper functions Missing type converters: char * :1 ERROR: failed virDomainGetMessages error: command '/usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9' failed with exit code 1 Running setup.py install for libvirt-python: finished with status 'error' ERROR: Command errored out with exit status 1: /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-q52btqux/setup.py'"'"'; file='"'"'/private/tmp/pip-req-build-q52btqux/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-p1d4l4an/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/2.2.1_3/libexec/include/site/python3.9/libvirt-python Check the logs for full command output.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/jeffreywildman/homebrew-virt-manager/issues
These open issues may also help:
==> Installing virt-manager from jeffreywildman/virt-manager
@orgazmer you are installing from jeffreywildman repository. Try:
brew remove virt-manager
brew remove virt-viewer
brew untap jeffreywildman/homebrew-virt-manager
and run
brew tap Krish-sysadmin/homebrew-virt-manager
brew install virt-manager virt-viewer
@jresteban yes, thanks for helping orgazmer out. Perhaps more people should star my fork so it comes first in search results so people don't face this issue in the first place
==> Installing virt-manager from jeffreywildman/virt-manager
@orgazmer you are installing from jeffreywildman repository. Try:
brew remove virt-manager
brew remove virt-viewer
brew untap jeffreywildman/homebrew-virt-manager
and run
brew tap Krish-sysadmin/homebrew-virt-manager
brew install virt-manager virt-viewer
it works !! Thanx !!! :-)
@Krish-sysadmin getting an install error on both forks related to a dependency on "intltool"
tried running: brew install intlool but no luck as it doesn't seem to available anywhere. Wondering if you've tested your fork on a fresh installation of macOS within the past week. So far I'm getting this on all of my new ones. thanks!
Yes, I have tested it on a fresh installation of macOS catalina and big sur like 5 days back and neither have I or my users faced any problem. Mind attaching a screenshot showing what you are running as well as telling me what macos version you are on? @MurlengNik Happy to help!
Whenever I try to run it, it returns a segmentation fault. This is on Big Sur M1.
Whenever I try to run it, it returns a segmentation fault. This is on Big Sur M1.
i have the same problem!
I don't use M1 mac so can't reproduce the error. Sorry
fork didn't help
==> Installing virt-manager from krish-sysadmin/virt-manager
==> Patching
==> python3 -m venv --system-site-packages /usr/local/Cellar/virt-manager/2.2.1_3/libexec
==> /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--libvirt-python-20211004-53387-wai36j/libvirt-python-7.6.0
Last 15 lines from /Users/slam/Library/Logs/Homebrew/virt-manager/02.pip:
Running setup.py install for libvirt-python: started
Running command /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-vftfff4u/setup.py'"'"'; __file__='"'"'/private/tmp/pip-req-build-vftfff4u/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-rv8_d26z/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/2.2.1_3/libexec/include/site/python3.9/libvirt-python
running install
running build
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 generator.py libvirt /usr/local/Cellar/libvirt/7.8.0/share/libvirt/api/libvirt-api.xml
Found 492 functions in /usr/local/Cellar/libvirt/7.8.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 402 wrapper functions
Missing type converters:
int *:1
ERROR: failed virNodeDeviceGetAutostart
error: command '/usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9' failed with exit code 1
Running setup.py install for libvirt-python: finished with status 'error'
ERROR: Command errored out with exit status 1: /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-vftfff4u/setup.py'"'"'; __file__='"'"'/private/tmp/pip-req-build-vftfff4u/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-rv8_d26z/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/2.2.1_3/libexec/include/site/python3.9/libvirt-python Check the logs for full command output.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/krish-sysadmin/homebrew-virt-manager/issues
macos x86 10.15.7
any suggestions to try out?
The Fork isn't working for me either
Last 15 lines from /Users/dave/Library/Logs/Homebrew/virt-manager/02.pip: Running setup.py install for libvirt-python: started Running command /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-h8f9difz/setup.py'"'"'; file='"'"'/private/tmp/pip-req-build-h8f9difz/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-nqa8x8cy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/2.2.1_3/libexec/include/site/python3.9/libvirt-python running install running build /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config --print-errors --atleast-version=0.9.11 libvirt /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 generator.py libvirt /usr/local/Cellar/libvirt/7.8.0/share/libvirt/api/libvirt-api.xml Found 492 functions in /usr/local/Cellar/libvirt/7.8.0/share/libvirt/api/libvirt-api.xml Found 0 functions in libvirt-override-api.xml Generated 402 wrapper functions Missing type converters: int *:1 ERROR: failed virNodeDeviceGetAutostart error: command '/usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9' failed with exit code 1 Running setup.py install for libvirt-python: finished with status 'error' ERROR: Command errored out with exit status 1: /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-h8f9difz/setup.py'"'"'; file='"'"'/private/tmp/pip-req-build-h8f9difz/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-nqa8x8cy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/2.2.1_3/libexec/include/site/python3.9/libvirt-python Check the logs for full command output.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/krish-sysadmin/homebrew-virt-manager/issues
@slamdev @DaveB91 you need to update libvirt-python to newest version, take a look: https://github.com/radoslaw-karasinski-sauce/homebrew-virt-manager
@slamdev @DaveB91 Yup, use https://github.com/Krish-sysadmin/homebrew-virt-manager . This is maintained actively by me. Just been AFK for a bit!
Thanks @Krish-sysadmin - Works now Now.. Anyone know how I can open a .vv file with this?
Launch Automator, and click on a New project
Use the Type "Application"
Search for "shell" on the left hand side, and drag the "Run shell script" entry to the right
Use the following:
/usr/local/bin/remote-viewer "$@"
Save this as say ~/Applications/oVirt-Console.app
Now, the security policy of a Mac won't let you run this app made by an "untrusted developer", so in Finder, locate the .vv file, and then hold down the Control key. With the Control key pressed, click on the .vv file, and then right click, open with, look for the .app file you just made, and check the "Always Open With" checkbox in the bottom of the dialog. This took a couple of tries for it to work for me, so also try launching the file with the control key pressed, and selecting your .app file.
Finally, in Chrome, after clicking on the Console button in oVirt, keep the downloaded file somewhere, and then click on the small downwards arrow on the list of downloads on the bottom, and select "Always open files of this type".
After this, from now on, it should launch remote-viewer immediately after clicking on the console button. @DaveB91
@Krish-sysadmin I am unable to open .vv file using the steps that you mentioned. Once I open it via the ~/Applications/oVirt-Console.app, it asks me to enter the connection address again. Not sure what's the problem. Can you please help?
@sidd-satish Try running virt-manager <path/to/.vv file> and let me know how that goes
@Krish-sysadmin This is the error I am getting
Error starting Virtual Machine Manager: Unhandled command line options '['/Users/siddharth/Downloads/pve-spice.vv']'
Traceback (most recent call last):
File "/usr/local/Cellar/virt-manager/2.2.1_3/libexec/share/virt-manager/virt-manager", line 347, in <module>
main()
File "/usr/local/Cellar/virt-manager/2.2.1_3/libexec/share/virt-manager/virt-manager", line 270, in main
raise RuntimeError("Unhandled command line options '%s'" % leftovers)
RuntimeError: Unhandled command line options '['/Users/siddharth/Downloads/pve-spice.vv']'
FWIW, I couldn’t get it working either. I just use virt-viewer in CrossOver now.
Whenever I try to run it, it returns a segmentation fault. This is on Big Sur M1.
Same here.
I believe this is associated with an erroneous system call. I believe virt-manager itself does not support M1.
This is the cause of the crash on M1. https://gitlab.gnome.org/GNOME/pygobject/-/issues/455
Did you fix it? @david9991
Did you fix it? @david9991
No, I don't know much about gobject-introspection. :)
Did you fix it? @david9991
There was PR for gobject-introspection already. However, two months passed, gnome guys seem to care only what they care. For m1(arm64), my repo works:
@Krish-sysadmin Using your fork worked perfectly for the installation, however, whenever I try to connect to a remote VM with remote-viewer, it just shows a black screen. Somehow it seems to be connected though, because the cursor changes appearance when I hover over the fields where the login prompt in the VM should be
@phlobbi Hi, if I had more time on my hands I would love to help you out, but I don't right now, but I will soon. If you want, feel free to fork my fork and then fix the issue. I ran some tests and it doesn't seem excruciatingly hard to fix. Good luck! As of right now I don't have access to a mac machine and tend to stay on Linux so not sure I am the best person to ask. Thanks for the feedback
Did you fix it? @david9991
There was PR for gobject-introspection already. However, two months passed, gnome guys seem to care only what they care. For m1(arm64), my repo works:
virt-viwer not build
`==> Installing damenly/virt-manager/virt-viewer ==> Patching ==> meson setup builddir --prefix=/opt/homebrew/Cellar/virt-viewer/10.0_3 --libdir=/opt/homebrew/Cellar/virt-viewer/10.0_3/lib --buildtype=release --wrap-mode=nofallback Last 15 lines from /Users/amnonbb/Library/Logs/Homebrew/virt-viewer/01.meson: Run-time dependency libvirt found: YES 7.8.0 Run-time dependency libvirt-glib-1.0 found: YES 4.0.0 Run-time dependency gtk-vnc-2.0 found: YES 1.2.0 Run-time dependency spice-client-glib-2.0 found: YES 0.39 Run-time dependency spice-client-gtk-3.0 found: YES 0.39 Run-time dependency spice-protocol found: YES 0.14.3 Did not find CMake 'cmake' Found CMake: NO Run-time dependency govirt-1.0 found: NO (tried pkgconfig, framework and cmake) Run-time dependency rest-0.7 found: NO (tried pkgconfig, framework and cmake) Run-time dependency vte-2.91 found: NO (tried pkgconfig, framework and cmake) Run-time dependency bash-completion found: NO (tried pkgconfig, framework and cmake) Configuring config.h using configuration Program glib-mkenums found: YES (/opt/homebrew/opt/glib/bin/glib-mkenums) Program glib-mkenums found: YES (/opt/homebrew/opt/glib/bin/glib-mkenums)
Do not report this issue to Homebrew/brew or Homebrew/core! `
Did you fix it? @david9991
There was PR for gobject-introspection already. However, two months passed, gnome guys seem to care only what they care. For m1(arm64), my repo works: https://github.com/Damenly/homebrew-virt-manager
virt-viwer not build
`==> Installing damenly/virt-manager/virt-viewer ==> Patching ==> meson setup builddir --prefix=/opt/homebrew/Cellar/virt-viewer/10.0_3 --libdir=/opt/homebrew/Cellar/virt-viewer/10.0_3/lib --buildtype=release --wrap-mode=nofallback Last 15 lines from /Users/amnonbb/Library/Logs/Homebrew/virt-viewer/01.meson: Run-time dependency libvirt found: YES 7.8.0 Run-time dependency libvirt-glib-1.0 found: YES 4.0.0 Run-time dependency gtk-vnc-2.0 found: YES 1.2.0 Run-time dependency spice-client-glib-2.0 found: YES 0.39 Run-time dependency spice-client-gtk-3.0 found: YES 0.39 Run-time dependency spice-protocol found: YES 0.14.3 Did not find CMake 'cmake' Found CMake: NO Run-time dependency govirt-1.0 found: NO (tried pkgconfig, framework and cmake) Run-time dependency rest-0.7 found: NO (tried pkgconfig, framework and cmake) Run-time dependency vte-2.91 found: NO (tried pkgconfig, framework and cmake) Run-time dependency bash-completion found: NO (tried pkgconfig, framework and cmake) Configuring config.h using configuration Program glib-mkenums found: YES (/opt/homebrew/opt/glib/bin/glib-mkenums) Program glib-mkenums found: YES (/opt/homebrew/opt/glib/bin/glib-mkenums)
Do not report this issue to Homebrew/brew or Homebrew/core! `
Thanks for your report. It seems a new bug of virt-viewer. Even on archlinux, yay -S virt-viewer-git failed for the same reason. I will try to fix it tomorrow and let you know once it's done.
Did you fix it? @david9991
There was PR for gobject-introspection already. However, two months passed, gnome guys seem to care only what they care. For m1(arm64), my repo works:
Thank you very much. For me it starts without segmentation fault, but the window is all black
macOS Monterey on M1 Apple Silicon
Did you fix it? @david9991
There was PR for gobject-introspection already. However, two months passed, gnome guys seem to care only what they care. For m1(arm64), my repo works:
Thank you very much.
For me it starts without segmentation fault, but the window is all black
macOS Monterey on M1 Apple Silicon
This seems to be a Monterey issue. I am also using Monterey on an Intel Mac, but I have the same problem as you.
Yep, same here on an Intel Monterey machine...
@flotpg I believe it is some OS API change.
Did you fix it? @david9991
There was PR for gobject-introspection already. However, two months passed, gnome guys seem to care only what they care. For m1(arm64), my repo works: https://github.com/Damenly/homebrew-virt-manager
Thank you very much. For me it starts without segmentation fault, but the window is all black
macOS Monterey on M1 Apple Silicon
Right. I saw the black screen after upgrading to Monterey. No idea how to fix it.
Did you fix it? @david9991
There was PR for gobject-introspection already. However, two months passed, gnome guys seem to care only what they care. For m1(arm64), my repo works: https://github.com/Damenly/homebrew-virt-manager
virt-viwer not build
`==> Installing damenly/virt-manager/virt-viewer ==> Patching ==> meson setup builddir --prefix=/opt/homebrew/Cellar/virt-viewer/10.0_3 --libdir=/opt/homebrew/Cellar/virt-viewer/10.0_3/lib --buildtype=release --wrap-mode=nofallback Last 15 lines from /Users/amnonbb/Library/Logs/Homebrew/virt-viewer/01.meson: Run-time dependency libvirt found: YES 7.8.0 Run-time dependency libvirt-glib-1.0 found: YES 4.0.0 Run-time dependency gtk-vnc-2.0 found: YES 1.2.0 Run-time dependency spice-client-glib-2.0 found: YES 0.39 Run-time dependency spice-client-gtk-3.0 found: YES 0.39 Run-time dependency spice-protocol found: YES 0.14.3 Did not find CMake 'cmake' Found CMake: NO Run-time dependency govirt-1.0 found: NO (tried pkgconfig, framework and cmake) Run-time dependency rest-0.7 found: NO (tried pkgconfig, framework and cmake) Run-time dependency vte-2.91 found: NO (tried pkgconfig, framework and cmake) Run-time dependency bash-completion found: NO (tried pkgconfig, framework and cmake) Configuring config.h using configuration Program glib-mkenums found: YES (/opt/homebrew/opt/glib/bin/glib-mkenums) Program glib-mkenums found: YES (/opt/homebrew/opt/glib/bin/glib-mkenums)
Do not report this issue to Homebrew/brew or Homebrew/core! `
The bug belongs to meson build. I rolled back virt-viewer to v9.0. If your OS is not Monterey, it should work as expected. Otherwise, the black screen :(.
Black screen after upgrade to 12.0.1. 🤦🏻♂️ Back to use Xquartz + X11 forwarding instead...
OK. It's an OS API change issue. See https://gitlab.gnome.org/GNOME/gtk/-/commit/36315cbe2b3c9d1c1b7508d9494a251eddbc4452 There is another scaling issue as commented in the link. I'm not an expert in GUI(especially GTK) So I did another dirty fix :). it requires installing GTK from my github repo(no need to reinstall virt-manager and virt-viewer:
1)brew uninstall --ignore-dependencies gtk+3
2)Then edit your /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/gtk+3.rb Add "head "https://github.com/Damenly/gtk.git" under the line "license "LGPL-2.0-or-later" then save.
3)brew install gtk+3 --HEAD
4)virt-manager
You could see the GUI now.
@Damenly Thank you a lot! That fixed it for me!
@Damenly THANKS!
My path is different: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gtk+3.rb
This worked. There is much celebration and joy today.
@Damenly Your gtk fork fails to build for me:
==> Cloning https://github.com/Damenly/gtk.git
Cloning into '/Users/friley/Library/Caches/Homebrew/gtk+3--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Installing dependencies for gtk+3: ninja and meson
==> Installing gtk+3 dependency: ninja
==> Pouring ninja--1.10.2_1.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ninja/1.10.2_1: 10 files, 388KB
==> Installing gtk+3 dependency: meson
==> Pouring meson--0.60.1.all.bottle.tar.gz
🍺 /opt/homebrew/Cellar/meson/0.60.1: 216 files, 3.2MB
==> Installing gtk+3 --HEAD
==> Patching
==> Applying 36315cbe2b3c9d1c1b7508d9494a251eddbc4452.diff
patching file gdk/quartz/gdkwindow-quartz.c
Hunk #1 FAILED at 183.
1 out of 1 hunk FAILED -- saving rejects to file gdk/quartz/gdkwindow-quartz.c.rej
Do not report this issue to Homebrew/brew or Homebrew/core!
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels.
@Damenly Your gtk fork fails to build for me:
==> Cloning https://github.com/Damenly/gtk.git Cloning into '/Users/friley/Library/Caches/Homebrew/gtk+3--git'... ==> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. ==> Installing dependencies for gtk+3: ninja and meson ==> Installing gtk+3 dependency: ninja ==> Pouring ninja--1.10.2_1.arm64_monterey.bottle.tar.gz 🍺 /opt/homebrew/Cellar/ninja/1.10.2_1: 10 files, 388KB ==> Installing gtk+3 dependency: meson ==> Pouring meson--0.60.1.all.bottle.tar.gz 🍺 /opt/homebrew/Cellar/meson/0.60.1: 216 files, 3.2MB ==> Installing gtk+3 --HEAD ==> Patching ==> Applying 36315cbe2b3c9d1c1b7508d9494a251eddbc4452.diff patching file gdk/quartz/gdkwindow-quartz.c Hunk #1 FAILED at 183. 1 out of 1 hunk FAILED -- saving rejects to file gdk/quartz/gdkwindow-quartz.c.rej Do not report this issue to Homebrew/brew or Homebrew/core! Please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels.
I see. Homebrew has fixed the issue by patching fixes. So no more need to add my repo. Just do
cd /opt/homebrew/Library/Taps/homebrew/homebrew-core # or your homebrew path git checkout ./Formula/gtk+3.rb # Or remove the line of my reo brew update brew upgrade
@Damenly: thanks a lot for your effort!
@Damenly I installed from your repo and it seems to manage remote hosts well. I am however trying to get it to work with qemu:///session and it is not happy. I'm on the M1 Macbook Air FWIW
Here's the output of virt-manager --debug --no-fork
with connection to qemu:///session
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (cli:204) Launched with command line: /opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/bin/virt-manager --debug --no-fork -c qemu:///session
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:167) virt-manager version: 3.2.0
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:168) virtManager import: /opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:205) PyGObject version: 3.41.0
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:209) GTK version: 3.24.30
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (systray:476) Showing systray: False
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (inspection:206) python guestfs is not installed
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:113) Loading stored URIs:
qemu:///session
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:461) processing cli command uri=qemu:///session show_window=manager domain=
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:482) conn=qemu:///session changed to state=Connecting
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:902) Scheduling background open thread for qemu:///session
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:211) Initial gtkapplication activated
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:952) libvirt version=7009000
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:953) daemon version=7009000
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:954) conn version=6001000
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:955) qemu:///session capabilities:
<capabilities>
# Removed a lot of stuff here due to length, but I can post it if necessary
</capabilities>
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:964) Connection doesn't seem to support network APIs.
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:966) Connection doesn't seem to support nodedev APIs.
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:739) Using domain events
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:780) Error registering network events: this function is not supported by the connection driver: virConnectNetworkEventRegisterAny
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:796) Using storage pool events
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:824) Error registering node device events: this function is not supported by the connection driver: virConnectNodeDeviceEventRegisterAny
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:299) Error polling connection qemu:///session
Traceback (most recent call last):
File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/engine.py", line 294, in _handle_tick_queue
conn.tick_from_engine(**kwargs)
File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/connection.py", line 1321, in tick_from_engine
self._tick(*args, **kwargs)
File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/connection.py", line 1204, in _tick
self._hostinfo = self._backend.getInfo()
File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/lib/python3.9/site-packages/libvirt.py", line 4565, in getInfo
raise libvirtError('virNodeGetInfo() failed')
libvirt.libvirtError: cannot obtain CPU freq: No such file or directory
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:837) conn.close() uri=qemu:///session
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:482) conn=qemu:///session changed to state=Disconnected
@Damenly I installed from your repo and it seems to manage remote hosts well. I am however trying to get it to work with qemu:///session and it is not happy. I'm on the M1 Macbook Air FWIW
Here's the output of
virt-manager --debug --no-fork
with connection toqemu:///session
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (cli:204) Launched with command line: /opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/bin/virt-manager --debug --no-fork -c qemu:///session [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:167) virt-manager version: 3.2.0 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:168) virtManager import: /opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:205) PyGObject version: 3.41.0 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:209) GTK version: 3.24.30 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (systray:476) Showing systray: False [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (inspection:206) python guestfs is not installed [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:113) Loading stored URIs: qemu:///session [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:461) processing cli command uri=qemu:///session show_window=manager domain= [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:482) conn=qemu:///session changed to state=Connecting [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:902) Scheduling background open thread for qemu:///session [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:211) Initial gtkapplication activated [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:952) libvirt version=7009000 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:953) daemon version=7009000 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:954) conn version=6001000 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:955) qemu:///session capabilities: <capabilities> # Removed a lot of stuff here due to length, but I can post it if necessary </capabilities> [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:964) Connection doesn't seem to support network APIs. [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:966) Connection doesn't seem to support nodedev APIs. [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:739) Using domain events [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:780) Error registering network events: this function is not supported by the connection driver: virConnectNetworkEventRegisterAny [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:796) Using storage pool events [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:824) Error registering node device events: this function is not supported by the connection driver: virConnectNodeDeviceEventRegisterAny [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:299) Error polling connection qemu:///session Traceback (most recent call last): File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/engine.py", line 294, in _handle_tick_queue conn.tick_from_engine(**kwargs) File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/connection.py", line 1321, in tick_from_engine self._tick(*args, **kwargs) File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/connection.py", line 1204, in _tick self._hostinfo = self._backend.getInfo() File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/lib/python3.9/site-packages/libvirt.py", line 4565, in getInfo raise libvirtError('virNodeGetInfo() failed') libvirt.libvirtError: cannot obtain CPU freq: No such file or directory [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:837) conn.close() uri=qemu:///session [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:482) conn=qemu:///session changed to state=Disconnected
@Damenly I installed from your repo and it seems to manage remote hosts well. I am however trying to get it to work with qemu:///session and it is not happy. I'm on the M1 Macbook Air FWIW
Here's the output of
virt-manager --debug --no-fork
with connection toqemu:///session
[Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (cli:204) Launched with command line: /opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/bin/virt-manager --debug --no-fork -c qemu:///session [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:167) virt-manager version: 3.2.0 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:168) virtManager import: /opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:205) PyGObject version: 3.41.0 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (virtmanager:209) GTK version: 3.24.30 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (systray:476) Showing systray: False [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (inspection:206) python guestfs is not installed [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:113) Loading stored URIs: qemu:///session [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:461) processing cli command uri=qemu:///session show_window=manager domain= [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:482) conn=qemu:///session changed to state=Connecting [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:902) Scheduling background open thread for qemu:///session [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:211) Initial gtkapplication activated [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:952) libvirt version=7009000 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:953) daemon version=7009000 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:954) conn version=6001000 [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:955) qemu:///session capabilities: <capabilities> # Removed a lot of stuff here due to length, but I can post it if necessary </capabilities> [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:964) Connection doesn't seem to support network APIs. [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:966) Connection doesn't seem to support nodedev APIs. [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:739) Using domain events [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:780) Error registering network events: this function is not supported by the connection driver: virConnectNetworkEventRegisterAny [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:796) Using storage pool events [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:824) Error registering node device events: this function is not supported by the connection driver: virConnectNodeDeviceEventRegisterAny [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (engine:299) Error polling connection qemu:///session Traceback (most recent call last): File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/engine.py", line 294, in _handle_tick_queue conn.tick_from_engine(**kwargs) File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/connection.py", line 1321, in tick_from_engine self._tick(*args, **kwargs) File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/share/virt-manager/virtManager/connection.py", line 1204, in _tick self._hostinfo = self._backend.getInfo() File "/opt/homebrew/Cellar/virt-manager/HEAD-0c146b2_7/libexec/lib/python3.9/site-packages/libvirt.py", line 4565, in getInfo raise libvirtError('virNodeGetInfo() failed') libvirt.libvirtError: cannot obtain CPU freq: No such file or directory [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:837) conn.close() uri=qemu:///session [Sun, 21 Nov 2021 16:55:47 virt-manager 1560] DEBUG (connection:482) conn=qemu:///session changed to state=Disconnected
Sorry, I didn't get your usage scenario. Do you want to add the m1 host itself to virt-manager? AFAIK, there is no libvirtd support in macOS. Even qemu-aarch64 is running on m1, I think it's libvirtd's work to create qemu sessions.
libvirtd is supported on macos and is available via the default homebrew repo (homebrew-core). I can't personally confirm that it works with virt-manager but others seem to have had success (at least on x86_64).
The libvirt formula in homebrew-core compiles on Apple silicon machines but needs patches in order to avoid the Unsupported hardware architecture
error. Following recommendations from @andreabolognani, I got libvirt working and I can create and manage VMs with virsh. I built a homebrew formula and it works with the qemu from homebrew-core (albeit only with usermode networking)
While virsh works, neither virt-manager nor virt-install seem to.
libvirtd is supported on macos and is available via the default homebrew repo (homebrew-core). I can't personally confirm that it works with virt-manager but others seem to have had success (at least on x86_64).
The libvirt formula in homebrew-core compiles on Apple silicon machines but needs patches in order to avoid the
Unsupported hardware architecture
error. Following recommendations from @andreabolognani, I got libvirt working and I can create and manage VMs with virsh. I built a homebrew formula and it works with the qemu from homebrew-core (albeit only with usermode networking)While virsh works, neither virt-manager nor virt-install seem to.
Oh, I missed it. Let me try and figure out what’s going on.
brew install virt-manager Updating Homebrew... ==> Auto-updated Homebrew! Updated 3 taps (hashicorp/tap, homebrew/core and homebrew/cask). ==> New Formulae apache-pulsar bat-extras jpdfbookmarks librist osc-cli pkgconf selene vespa-cli viu ==> Updated Formulae Updated 425 formulae. ==> New Casks epilogue-operator gcs mathcha-notebook nimblenote remotion ==> Updated Casks Updated 203 casks.
==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/manifests/2.9.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/blobs/sha256:991c547aad91d318700252b2b63dc33a8a203779c9e4e68154d772e24a2fbea7 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:991c547aad91d318700252b2b63dc33a8a203779c9e4e68154d772e24a2fbea7?se=2021-09-16T12%3A10%3A00Z&sig=VypheZ ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pango/manifests/1.48.10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pango/blobs/sha256:ea25146681018c99e13404ee299f006679397c082a388c486c7a685ec8d8eca9 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ea25146681018c99e13404ee299f006679397c082a388c486c7a685ec8d8eca9?se=2021-09-16T12%3A10%3A00Z&sig=W8T6Qi ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/adwaita-icon-theme/manifests/41.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/adwaita-icon-theme/blobs/sha256:b00bb687bcb075aba1ba256fbbab907cbb385c4ccc66c5b4045bb3d9b6b8f987 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:b00bb687bcb075aba1ba256fbbab907cbb385c4ccc66c5b4045bb3d9b6b8f987?se=2021-09-16T12%3A10%3A00Z&sig=0E4TfU ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libass/manifests/0.15.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libass/blobs/sha256:d11e2972aa5ae2e763cf4101712fac61421082db4d47720a8adc17b8a3e84a27 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d11e2972aa5ae2e763cf4101712fac61421082db4d47720a8adc17b8a3e84a27?se=2021-09-16T12%3A10%3A00Z&sig=hjbiNg ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libvpx/manifests/1.10.0_1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libvpx/blobs/sha256:cadad4e7b1bf8d5188da826ac6ecbb7729e0a26ce4665b40fc04386e780c4dc3 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:cadad4e7b1bf8d5188da826ac6ecbb7729e0a26ce4665b40fc04386e780c4dc3?se=2021-09-16T12%3A10%3A00Z&sig=kNWO5o ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/srtp/manifests/2.4.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/srtp/blobs/sha256:feeac7058038e22e2259587a6270521c78df2768b05f680e6a0cf5d7deb4d148 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:feeac7058038e22e2259587a6270521c78df2768b05f680e6a0cf5d7deb4d148?se=2021-09-16T12%3A10%3A00Z&sig=9p7TXY ######################################################################## 100.0% ==> Downloading https://libvirt.org/sources/python/libvirt-python-6.10.0.tar.gz Already downloaded: /Users/rooter/Library/Caches/Homebrew/downloads/c0ea3dcb750aed089cfed8d3988e3aef79b70d635cfd42c87db147e860647de4--libvirt-python-6.10.0.tar.gz ==> Downloading https://pypi.io/packages/source/i/idna/idna-2.8.tar.gz Already downloaded: /Users/rooter/Library/Caches/Homebrew/downloads/89cd3c9503f30cf4794067fbb3bb85881a04d4a79002cd52dd006617f4dee6d5--idna-2.8.tar.gz ==> Downloading https://pypi.io/packages/source/c/certifi/certifi-2019.11.28.tar.gz Already downloaded: /Users/rooter/Library/Caches/Homebrew/downloads/d305888203f80870f04cbff5b615679be127a718ffeec3b3ce5db16bdc4abfa2--certifi-2019.11.28.tar.gz ==> Downloading https://pypi.io/packages/source/c/chardet/chardet-3.0.4.tar.gz Already downloaded: /Users/rooter/Library/Caches/Homebrew/downloads/0b520e43abac95fdb4182899f49c1c7ced69c67c4bc132b3801691b993eb33f9--chardet-3.0.4.tar.gz ==> Downloading https://pypi.io/packages/source/u/urllib3/urllib3-1.25.7.tar.gz Already downloaded: /Users/rooter/Library/Caches/Homebrew/downloads/04dc027e49125d42a130fd408cde60c9d9a87ce021683a3e49bf067a62316261--urllib3-1.25.7.tar.gz ==> Downloading https://pypi.io/packages/source/r/requests/requests-2.22.0.tar.gz Already downloaded: /Users/rooter/Library/Caches/Homebrew/downloads/4253f7dff3c4f4a5a7fe142af689d95ed2e77979f696451a78d96412e90b0f94--requests-2.22.0.tar.gz ==> Downloading https://virt-manager.org/download/sources/virt-manager/virt-manager-2.2.1.tar.gz Already downloaded: /Users/rooter/Library/Caches/Homebrew/downloads/77e22463a35b2e2bde8d02253c10129aabb1e5dfbfe2e6f33ef87bd35955dcf2--virt-manager-2.2.1.tar.gz ==> Installing virt-manager from jeffreywildman/virt-manager ==> Installing dependencies for jeffreywildman/virt-manager/virt-manager: harfbuzz, pango, adwaita-icon-theme, libass, libvpx and srtp ==> Installing jeffreywildman/virt-manager/virt-manager dependency: harfbuzz ==> Pouring harfbuzz--2.9.1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/harfbuzz/2.9.1: 68 files, 7.2MB ==> Installing jeffreywildman/virt-manager/virt-manager dependency: pango ==> Pouring pango--1.48.10.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/pango/1.48.10: 65 files, 3.0MB ==> Installing jeffreywildman/virt-manager/virt-manager dependency: adwaita-icon-theme ==> Pouring adwaita-icon-theme--41.0.all.bottle.tar.gz 🍺 /usr/local/Cellar/adwaita-icon-theme/41.0: 6,051 files, 22.7MB ==> Installing jeffreywildman/virt-manager/virt-manager dependency: libass ==> Pouring libass--0.15.2.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libass/0.15.2: 11 files, 579.7KB ==> Installing jeffreywildman/virt-manager/virt-manager dependency: libvpx ==> Pouring libvpx--1.10.0_1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/libvpx/1.10.0_1: 20 files, 5.2MB ==> Installing jeffreywildman/virt-manager/virt-manager dependency: srtp ==> Pouring srtp--2.4.1.big_sur.bottle.tar.gz 🍺 /usr/local/Cellar/srtp/2.4.1: 14 files, 481.5KB ==> Installing jeffreywildman/virt-manager/virt-manager ==> Patching ==> python3 -m venv --system-site-packages /usr/local/Cellar/virt-manager/2.2.1_3/libexec ==> /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--libvirt-python-20210916-77745-qahoyt/libvirt Last 15 lines from /Users/rooter/Library/Logs/Homebrew/virt-manager/02.pip: Running setup.py install for libvirt-python: started Running command /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-77k_3pk0/setup.py'"'"'; file='"'"'/private/tmp/pip-req-build-77k_3pk0/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-izoiq628/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/2.2.1_3/libexec/include/site/python3.9/libvirt-python running install running build /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config --print-errors --atleast-version=0.9.11 libvirt /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 generator.py libvirt /usr/local/Cellar/libvirt/7.7.0/share/libvirt/api/libvirt-api.xml Found 487 functions in /usr/local/Cellar/libvirt/7.7.0/share/libvirt/api/libvirt-api.xml Found 0 functions in libvirt-override-api.xml Generated 397 wrapper functions Missing type converters: char * :1 ERROR: failed virDomainGetMessages error: command '/usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9' failed with exit code 1 Running setup.py install for libvirt-python: finished with status 'error' ERROR: Command errored out with exit status 1: /usr/local/Cellar/virt-manager/2.2.1_3/libexec/bin/python3.9 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-77k_3pk0/setup.py'"'"'; file='"'"'/private/tmp/pip-req-build-77k_3pk0/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-izoiq628/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/2.2.1_3/libexec/include/site/python3.9/libvirt-python Check the logs for full command output.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/jeffreywildman/homebrew-virt-manager/issues
These open issues may also help: virt-manager crashed when opening a VM on remote host https://github.com/jeffreywildman/homebrew-virt-manager/issues/180 virt-manager: command not found https://github.com/jeffreywildman/homebrew-virt-manager/issues/177 bump virt-manager/view-viewer and deps https://github.com/jeffreywildman/homebrew-virt-manager/pull/166 virt-manager: command not found https://github.com/jeffreywildman/homebrew-virt-manager/issues/169 virt-manager broken on Big Sur after minor update https://github.com/jeffreywildman/homebrew-virt-manager/issues/170 Error installing virt-manager https://github.com/jeffreywildman/homebrew-virt-manager/issues/145 cannot install virt-manager, error with python version despite having python 3.9 installed https://github.com/jeffreywildman/homebrew-virt-manager/issues/172 Assertion Error When Running Virt-Manager on MacOS BigSur https://github.com/jeffreywildman/homebrew-virt-manager/issues/174 osx virt-manager console screen is black https://github.com/jeffreywildman/homebrew-virt-manager/issues/113 Virt-manager wont build. Update to libvirt-python https://github.com/jeffreywildman/homebrew-virt-manager/pull/171 virt-manager crashing with Python quit unexpectedly while using the libgdk-3.0.dylib https://github.com/jeffreywildman/homebrew-virt-manager/issues/62