-
Notifications
You must be signed in to change notification settings - Fork 266
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
installation failure for virt-manager #72
Comments
Same issue. Sierra 10.12.4. |
@ vi /usr/local/Homebrew/Library/Taps/jeffreywildman/homebrew-virt-manager/virt-manager.rb change: and and it will then install however it will crash when you run it, unless you run with the argument --debug |
--debug works, as it implies --no-fork as it spews debugging info to stdout. |
My copy of the file resource "libvirt-python" do
url "https://libvirt.org/sources/python/libvirt-python-3.4.0.tar.gz"
sha256 "afa77781f518988f164dd5f99d1844034ca807a8e731e07cbae18474d250b511"
end ==> Installing jeffreywildman/virt-manager/virt-manager
==> Downloading https://virt-manager.org/download/sources/virt-manager/virt-manager-1.4.1.tar.gz
==> Downloading from https://releases.pagure.org/virt-manager/virt-manager-1.4.1.tar.gz
######################################################################## 100.0%
==> Patching
patching file virt-clone
patching file virt-convert
patching file virt-install
patching file virt-manager
patching file virt-xml
==> Downloading https://libvirt.org/sources/python/libvirt-python-3.4.0.tar.gz
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/virt-manager/1.4.1/libexec/vendor --single-version-externally-managed --record=installed.txt
Last 15 lines from /Users/vlaurenza/Library/Logs/Homebrew/virt-manager/01.python:
--prefix=/usr/local/Cellar/virt-manager/1.4.1/libexec/vendor
--single-version-externally-managed
--record=installed.txt
running install
running build
/usr/local/opt/pkg-config/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/bin/python generator.py libvirt /usr/local/Cellar/libvirt/4.0.0/share/libvirt/api/libvirt-api.xml
Found 429 functions in /usr/local/Cellar/libvirt/4.0.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 349 wrapper functions
Missing type converters:
unsigned long long *:1
ERROR: failed virDomainMigrateGetMaxDowntime
error: command '/usr/bin/python' failed with exit status 1
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:
brew install virt-manager issue https://github.com/jeffreywildman/homebrew-virt-manager/issues/58
installation failure for virt-manager https://github.com/jeffreywildman/homebrew-virt-manager/issues/72
virt-manager silently quits at launch https://github.com/jeffreywildman/homebrew-virt-manager/issues/78
virt-manager crashing with Python quit unexpectedly while using the libgdk-3.0.dylib https://github.com/jeffreywildman/homebrew-virt-manager/issues/62
Error: jeffreywildman/virt-manager/libvirt-glib 1.0.0 did not build https://github.com/jeffreywildman/homebrew-virt-manager/issues/79 |
I should add: |
@veetow what good timing, I just ran into this bug as well :) (now i want to know what you're using it for) |
I've tried updating to virt-manager-1.5.0.tar.gz and libvirt-python-4.0.0.tar.gz, which gets different results, but I haven't gotten everything to work after poking around for a few minutes. |
I think the real issue here is that the the install should NOT be using |
FYI, this fixed it for me: #85 |
Also, this after installing: #73 |
Looks like a duplicate of #90 caused by mismatch of libvirt-python and libvirt versions. Should be addressed by pull request #83 and updates in master which now match versions at 4.0.0. Closing for now, but please open a new issue if it persists. @veetow FYI, homebrew conventions prefer using system Python over a homebrewed Python. The updated |
$ brew install virt-manager virt-viewer
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (caskroom/cask).
No changes to formulae.
==> Installing virt-manager from jeffreywildman/virt-manager
==> Downloading https://virt-manager.org/download/sources/virt-manager/virt-manager-1.4.1.tar.gz
Already downloaded: /Users/jonathangilpin/Library/Caches/Homebrew/virt-manager-1.4.1.tar.gz
==> Patching
patching file virt-clone
patching file virt-convert
patching file virt-install
patching file virt-manager
patching file virt-xml
==> Downloading https://libvirt.org/sources/python/libvirt-python-3.0.0.tar.gz
Already downloaded: /Users/jonathangilpin/Library/Caches/Homebrew/virt-manager--libvirt-python-3.0.0.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/virt-manager/1.4.1/libexec/vendor --single-version-externally-managed --record=installed.txt
Last 15 lines from /Users/jonathangilpin/Library/Logs/Homebrew/virt-manager/01.python:
running install
running build
/usr/local/opt/pkg-config/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt
/usr/local/opt/python/bin/python2.7 generator.py libvirt /usr/local/Cellar/libvirt/3.4.0/share/libvirt/api/libvirt-api.xml
Found 425 functions in /usr/local/Cellar/libvirt/3.4.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 348 wrapper functions
Missing type converters:
virStreamSinkFunc:1
long long *:1
virStreamSourceFunc:1
ERROR: failed virStreamRecvHole
ERROR: failed virStreamSparseRecvAll
ERROR: failed virStreamSparseSendAll
error: command '/usr/local/opt/python/bin/python2.7' failed with exit status 1
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:
brew install virt-manager issue #58
virt-manager crashing with Python quit unexpectedly while using the libgdk-3.0.dylib #62
The text was updated successfully, but these errors were encountered: