Comments (14)
Thanks for reporting. However, homebrew has official virt-manager package support and it works perfect well on my m1 machine. Would you give it a try?
from homebrew-virt-manager.
Hi, I face the same issue, I installed the virt-manager
package but i still don't have virt-viewer
command.
from homebrew-virt-manager.
@mariusmotea @jaydhary14 Updated. Try?
from homebrew-virt-manager.
virt-manager worked but virt-viewer no . I tried again
got bellow error
==> Installing damenly/virt-manager/virt-viewer
==> ./configure --disable-update-mimedb --with-gtk-vnc --with-spice-gtk --prefix=/usr/local/Cellar/virt-viewer/9.0
Last 15 lines from /Users/jaydeep/Library/Logs/Homebrew/virt-viewer/01.configure:
checking for virDomainOpenGraphicsFD in -lvirt... yes
checking for GTK... yes
checking for GTK_VNC... yes
checking for SPICE_GTK... no
configure: error: Package requirements (spice-client-gtk-3.0 >= 0.35
spice-client-glib-2.0 >= 0.35) were not met:
Package 'gobject-introspection-1.0', required by 'spice-client-glib-2.0', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables SPICE_GTK_CFLAGS
and SPICE_GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Do not report this issue to Homebrew/brew or Homebrew/core!
from homebrew-virt-manager.
Same issue also
configure: error: Package requirements (spice-client-gtk-3.0 >= 0.35
spice-client-glib-2.0 >= 0.35) were not met:
Package 'gobject-introspection-1.0', required by 'spice-client-glib-2.0', not found
from homebrew-virt-manager.
The same issue on x86 Mac on upgrade
√ ~ % brew upgrade
==> Upgrading 1 outdated package:
damenly/virt-manager/virt-manager HEAD-4dbfdd1_7 -> HEAD-4dbfdd1
^[==> Downloading https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/86e8e1766c3528acc8bf98587c92ef116261087678a6158e4719100a9a30f3ac--certifi-2021.10.8.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ee/2d/9cdc2b527e127b4c9db64b86647d567985940ac3698eeabc7ffaccb4ea61/chardet-4.0.0.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/51522c1f11159adb9f042370134bd27b149ad2fbc237e8110785b0beccd23444--chardet-4.0.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/57/b1/b880503681ea1b64df05106fc7e3c4e3801736cf63deffc6fa7fc5404cf5/docutils-0.18.1.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/380ca42ca42704373fcd53d35f0aa6aa9ad070c11e7b8239370d5cb2e81c4489--docutils-0.18.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/b61bd327cd7a0ba298cc7cdb6f314f028e8547bef2f814156ce50702a6faf562--idna-3.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2a/74/919462bed158ccc2a8061f31d82c157740c2e597ff50490526336e8aa688/libvirt-python-8.1.0.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/b84204b167be60a2ecea2a3e9cdf9d5c6d519ec5acc3a33e078c6a5e5d5cdad6--libvirt-python-8.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77/requests-2.27.1.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/90c145252a2965e7f1248b97f07c92f2ef64d0908ff175de0a85c9b644725c4c--requests-2.27.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da/urllib3-1.26.9.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/46070dbeb340b88a19ed03844bb26f61f9925802ff4d837ebb966a22e12b5cbf--urllib3-1.26.9.tar.gz
==> Cloning https://github.com/virt-manager/virt-manager.git
Updating /Users/k0ste/Library/Caches/Homebrew/virt-manager--git
==> Checking out branch main
Already on 'main'
Your branch is up to date with 'origin/main'.
HEAD is now at 8ca7c916 Prep for release 4.1.0
==> Upgrading damenly/virt-manager/virt-manager
HEAD-4dbfdd1_7 -> HEAD-8ca7c91
==> python3 -m venv --system-site-packages /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec
==> python3 -m venv --upgrade-deps /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--certifi-20220809-37744-n8s3nw/certifi-2021.10.8
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--chardet-20220809-37744-1tppy8c/chardet-4.0.0
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--docutils-20220809-37744-1tefacl/docutils-0.18.1
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--idna-20220809-37744-1f02fjw/idna-3.3
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--libvirt-python-20220809-37744-lx3418/libvirt-python-8.1.0
Last 15 lines from /Users/k0ste/Library/Logs/Homebrew/virt-manager/07.pip:
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/private/tmp/virt-manager--libvirt-python-20220809-37744-lx3418/libvirt-python-8.1.0/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' install --record /private/tmp/pip-record-b7irscio/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/include/site/python3.9/libvirt-python
cwd: /private/tmp/virt-manager--libvirt-python-20220809-37744-lx3418/libvirt-python-8.1.0/
Running setup.py install for libvirt-python: finished with status 'error'
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> libvirt-python
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Do not report this issue to Homebrew/brew or Homebrew/core!
from homebrew-virt-manager.
OK. virt-viewer.rb was updated. I copied it from https://github.com/jouve/homebrew-virt-manager
from homebrew-virt-manager.
Now seems virt-viewer fixed, but virt-manager nope
√ ~ % brew upgrade
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
==> Updated Homebrew from 8e49be58b to de6e848db.
Updated 4 taps (homebrew/core, homebrew/cask, peak/s5cmd and damenly/virt-manager).
==> Deleted Formulae
damenly/virt-manager/virt-manager ✘
You have 2 outdated formulae installed.
You can upgrade them with brew upgrade
or list them with brew outdated.
==> Upgrading 2 outdated packages:
damenly/virt-manager/virt-viewer 9.0 -> 11.0
virt-manager HEAD-4dbfdd1_7 -> HEAD-4dbfdd1
==> Downloading https://ghcr.io/v2/homebrew/core/glib-utils/manifests/2.72.3
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/glib-utils/blobs/sha256:b944e164376801f4f695457b9638fb6da2d330422d8d48b59cb26faaa771cb5b
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:b944e164376801f4f695457b9638fb6da2d330422d8d48b59cb26faaa771cb5b?se=2022-08-09T11%3A15%3A00Z&sig=BrGZ7yUgEfqRDeZVTozJD%2BuYF7
######################################################################## 100.0%
==> Downloading https://virt-manager.org/download/sources/virt-viewer/virt-viewer-11.0.tar.xz
==> Downloading from https://releases.pagure.org/virt-viewer/virt-viewer-11.0.tar.xz
######################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f/certifi-2021.10.8.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/86e8e1766c3528acc8bf98587c92ef116261087678a6158e4719100a9a30f3ac--certifi-2021.10.8.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ee/2d/9cdc2b527e127b4c9db64b86647d567985940ac3698eeabc7ffaccb4ea61/chardet-4.0.0.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/51522c1f11159adb9f042370134bd27b149ad2fbc237e8110785b0beccd23444--chardet-4.0.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/57/b1/b880503681ea1b64df05106fc7e3c4e3801736cf63deffc6fa7fc5404cf5/docutils-0.18.1.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/380ca42ca42704373fcd53d35f0aa6aa9ad070c11e7b8239370d5cb2e81c4489--docutils-0.18.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436/idna-3.3.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/b61bd327cd7a0ba298cc7cdb6f314f028e8547bef2f814156ce50702a6faf562--idna-3.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2a/74/919462bed158ccc2a8061f31d82c157740c2e597ff50490526336e8aa688/libvirt-python-8.1.0.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/b84204b167be60a2ecea2a3e9cdf9d5c6d519ec5acc3a33e078c6a5e5d5cdad6--libvirt-python-8.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77/requests-2.27.1.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/90c145252a2965e7f1248b97f07c92f2ef64d0908ff175de0a85c9b644725c4c--requests-2.27.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/1b/a5/4eab74853625505725cefdf168f48661b2cd04e7843ab836f3f63abf81da/urllib3-1.26.9.tar.gz
Already downloaded: /Users/k0ste/Library/Caches/Homebrew/downloads/46070dbeb340b88a19ed03844bb26f61f9925802ff4d837ebb966a22e12b5cbf--urllib3-1.26.9.tar.gz
==> Cloning https://github.com/virt-manager/virt-manager.git
Updating /Users/k0ste/Library/Caches/Homebrew/virt-manager--git
==> Checking out branch main
Already on 'main'
Your branch is up to date with 'origin/main'.
HEAD is now at 8ca7c916 Prep for release 4.1.0
==> Upgrading damenly/virt-manager/virt-viewer
9.0 -> 11.0
==> Installing dependencies for damenly/virt-manager/virt-viewer: glib-utils
==> Installing damenly/virt-manager/virt-viewer dependency: glib-utils
==> Pouring glib-utils--2.72.3.monterey.bottle.tar.gz
🍺 /usr/local/Cellar/glib-utils/2.72.3: 24 files, 999.4KB
==> Installing damenly/virt-manager/virt-viewer
==> Patching
==> meson setup builddir --prefix=/usr/local/Cellar/virt-viewer/11.0 --libdir=/usr/local/Cellar/virt-viewer/11.0/lib --buildtype=release --wrap-mode=nofallback
==> ninja -C builddir install -v
==> /usr/local/opt/shared-mime-info/bin/update-mime-database /usr/local/share/mime
==> /usr/local/opt/gtk+3/bin/gtk3-update-icon-cache /usr/local/share/icons/hicolor
==> /usr/local/opt/desktop-file-utils/bin/update-desktop-database /usr/local/share/applications
🍺 /usr/local/Cellar/virt-viewer/11.0: 58 files, 1.2MB, built in 33 seconds
==> Running `brew cleanup virt-viewer`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /usr/local/Cellar/virt-viewer/9.0... (117 files, 1.7MB)
==> Upgrading virt-manager
HEAD-4dbfdd1_7 -> HEAD-8ca7c91
==> python3 -m venv --system-site-packages /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--certifi-20220809-44854-1dmycdn/certifi-2021.10.8
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--chardet-20220809-44854-pp2pya/chardet-4.0.0
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--docutils-20220809-44854-u0tuwi/docutils-0.18.1
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--idna-20220809-44854-1p9mfxw/idna-3.3
==> /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/virt-manager--libvirt-python-20220809-44854-oyfspu/libvirt-python-8.1.0
Last 15 lines from /Users/k0ste/Library/Logs/Homebrew/virt-manager/06.pip:
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/private/tmp/virt-manager--libvirt-python-20220809-44854-oyfspu/libvirt-python-8.1.0/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' install --record /private/tmp/pip-record-jyyroayq/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/virt-manager/HEAD-8ca7c91/libexec/include/site/python3.9/libvirt-python
cwd: /private/tmp/virt-manager--libvirt-python-20220809-44854-oyfspu/libvirt-python-8.1.0/
Running setup.py install for libvirt-python: finished with status 'error'
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> libvirt-python
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip available: 22.2.1 -> 22.2.2
[notice] To update, run: python3.9 -m pip install --upgrade pip
Do not report this issue to Homebrew/brew or Homebrew/core!
from homebrew-virt-manager.
Also, here 4978be6 seems we lost spice
support, now my virt-viewer useless 🤒
@Damenly can you please revert spice
-related build options?
from homebrew-virt-manager.
I am getting this error
(virt-viewer:12665): virt-viewer-WARNING **: 07:04:54.719: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)
from homebrew-virt-manager.
Actually, I have deleted virt-manager from this repo. brew update
seems not delete the package. Can you call brew uninstall
brew untap
brew tap
then install virt-manager from homebrew-core and virt-viewer from my repo?
from homebrew-virt-manager.
I am getting this error
(virt-viewer:12665): virt-viewer-WARNING **: 07:04:54.719: (../src/virt-viewer-window.c:831):accel_key_to_keys: runtime check failed: ((accel_mods & ~(GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)) == 0)
No idea. Better to call brew update
and brew upgarde
.
from homebrew-virt-manager.
Can you call
brew uninstall
brew untap
brew tap
then install virt-manager from homebrew-core and virt-viewer from my repo?
This do the trick
Now for me left only the spice
issue
from homebrew-virt-manager.
@jaydhary14 Would you close the issue if it fixed your problem?
from homebrew-virt-manager.
Related Issues (12)
- Empty Box HOT 3
- How to run in 'Retina' mode on MacBook Air M1
- virt-manager crashes when showing VM console/details
- Error in installing virt-viewer on Monterey HOT 1
- `glib-utils` replaced by `glib` HOT 1
- Error in installing virt-manager on Monterey HOT 1
- Error in installing virt-manager on Monterey HOT 9
- After last formula changes virt-viewer lost spice protocol support HOT 2
- when Install virt-manager, Operation not permitted HOT 2
- remote-viewer crashes
- URI is <null> when opening proxmox vv file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-virt-manager.