-
Notifications
You must be signed in to change notification settings - Fork 265
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
Install error: failed virConnectNodeDeviceEventRegisterAny #57
Comments
Same issue here, seemed to have occurred after I ran a clear and fresh install on brew. Some more of the error
|
Pretty much tried everything I can on this one. Completely cleared every brew package. Tried suggestions from #39 , no dice.
|
I am experiencing same issue. I am using the latest python distributed by home brew (2.7.2) The install of virt-viewer works, btw. ` running install |
I was able to install this just fine, but that seems to be because I generally don't update brew (or anything else, unless it's broken). My build was from july 11th. I have been able to get this to work on a clean system, starting from a clean brew install, with the following commands: (Do these after you install, after you brew tap the virt-manager keg, but BEFORE you do anything else.) cd /usr/local/Library/Taps/homebrew/homebrew-core/ cd /usr/local/Library/Taps/jeffreywildman/homebrew-virt-manager/ cd /usr/local This updates those three locations to roughly around the time of july 11th, which is where my build came from. It will get you a lot of old stuff, though. I haven't yet tried to do a brew upgrade of things on my system, and I wouldn't be surprised if that makes things explode. But, if you've got an emergency where you need virt-manager RTFN, this will hopefully help. The trouble seems to come from something which is separate from the virt manager packages, because nuking your cache and running these commands, AFTER you see the failure, does not improve things. I've attached two brew list outputs, one from the clean VM with the above commands run (virt-working), and one from brew latest where it failed. I suspect somewhere in the diff of the two is the package that's hosing us, assuming it's not libvirt itself. |
Thank you for the script and instructions. They work! I had to uninstall and untap all virt packages, re-tap and re-install. |
Combining the advice of @tomgagnier with what I had, this sequence of commands seems to work even after you've tried and failed, and as far as I can tell, doesn't leave brew in a wonky state. These commands are intended to be run after you've already tried the brew install virt-manager and had it fail. It will install several older versions alongside what you have, and should get to the end ok. After it finishes, and you're back on
After that, optionally:
Edit: A few people here have tried this, and are getting an error on virt-manager startup, but after that it does seem to be working properly. I'm guessing (with precisely zero evidence) this is what was fixed by some of the more recent changes to this repo, so hopefully once this issue is resolved, we can rebuild and get rid of that. |
@tomgagnier @wparam-fox awesome stuff, works here, no more errors. |
If I follow your workaround I get an error, that there is a libtiff patch not available which is because of that older version of homebrew core I guess. |
I followed steps above (wparam-fox ) and it worked. Thanks. |
With latest Xcode and after
I tried the workaround above, no success. BTW, what's the directory where to |
|
Thanks @Nethe works :) |
Fails for me with ==> Installing jeffreywildman/virt-manager/virt-manager dependency: libtiff curl: (22) The requested URL returned error: 404 Not Found curl: (22) The requested URL returned error: 404 Not Found |
Same here. Workaround not working anymore with above errors. |
Same here no solutions found yet. |
I just tested again the steps shown above, and I must say it is working. I am working on OSX Sierra.
I also had to do (it was Homebrew's request): Once steps above are finished, you can start the virt-manager and virt-viewer installation using command below:
It should work. If not, please paste the output with errors. |
@Nethe "==> Downloading https://mirrors.ocf.berkeley.edu/debian/pool/main/t/tiff/tiff_4.0.6-1.debian.tar.xz curl: (22) The requested URL returned error: 404 Not Found curl: (22) The requested URL returned error: 404 Not Found |
I'm having the same trouble as above after trying the same thing on OSX Sierra. |
Fixed that last libtiff error using git checkout d58f19cfe052ee357ad6885d62ee7fca8c264cf3 on homebrew-core |
I resolved that issue by install jpeg brew install jpeg |
@p0ns No package 'libxml-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you Alternatively, you may set the environment variables CROCO_CFLAGS READ THIS: https://git.io/brew-troubleshooting Warning: You are using OS X 10.12. |
This ^ doesn't work for me.
Any suggestions? Thanks |
Original issue looks like a duplicate of #90 and shows a mismatch of libvirt-python and libvirt versions. Should be addressed on master now. Please try to reinstall and open a new issue if it reoccurs. |
On installing virt-manager, I get the error:
MacBook:Downloads mark$ brew doctor
Your system is ready to brew.
MacBook:Downloads mark$ brew install virt-manager
==> Installing virt-manager from jeffreywildman/virt-manager
==> Downloading https://fedorahosted.org/released/virt-manager/virt-manager-1.4.0.tar.gz
Already downloaded: /Users/mark/Library/Caches/Homebrew/virt-manager-1.4.0.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-2.1.0.tar.gz
Already downloaded: /Users/mark/Library/Caches/Homebrew/virt-manager--libvirt-python-2.1.0.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/virt-manager/1.4.0/libexec/vendor --single-version-externally-managed --record=installed.
Last 15 lines from /Users/mark/Library/Logs/Homebrew/virt-manager/01.python:
--prefix=/usr/local/Cellar/virt-manager/1.4.0/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/2.2.0/share/libvirt/api/libvirt-api.xml
Found 415 functions in /usr/local/Cellar/libvirt/2.2.0/share/libvirt/api/libvirt-api.xml
Found 0 functions in libvirt-override-api.xml
Generated 344 wrapper functions
Missing type converters:
virConnectNodeDeviceEventGenericCallback:1
ERROR: failed virConnectNodeDeviceEventRegisterAny
error: command '/usr/bin/python' failed with exit status 1
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/jeffreywildman/homebrew-virt-manager/issues
The text was updated successfully, but these errors were encountered: