Open julianlaibach opened 1 year ago
Edit: Reinstalled everything and getting this Error on installing the virt-viewer:
Last 15 lines from /Users/x/Library/Logs/Homebrew/virt-viewer/01.configure:
checking for glib-compile-resources... /usr/local/opt/glib/bin/glib-compile-resources
checking for LIBXML2... yes
checking for LIBVIRT... yes
checking for virDomainOpenGraphicsFD in -lvirt... yes
checking for GTK... no
configure: error: Package requirements (gtk+-3.0 >= 3.12) were not met:
Package 'pthread-stubs', required by 'xcb', 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 GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details
Same here. I wanted to install virt-viewer and received exactly the same error :-(
I have the second error
I also have the second error.
`==> Fetching jeffreywildman/virt-manager/virt-viewer ==> Downloading https://virt-manager.org/download/sources/virt-viewer/virt-viewer-8.0.tar.gz Already downloaded: /Users/arunabhabanerjee/Library/Caches/Homebrew/downloads/0daaa768f148a86e56367e58ce0e49c09df31344fa7aac0cbbd9446f4fb4be8c--virt-viewer-8.0.tar.gz ==> Installing virt-viewer from jeffreywildman/virt-manager ==> ./configure --disable-update-mimedb --with-gtk-vnc --with-spice-gtk --prefix=/usr/local/Cellar/virt-viewer/8.0 Last 15 lines from /Users/arunabhabanerjee/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!
These open issues may also help: M1 Macbook Pro with Monterey | Error with installing virt-viewer https://github.com/jeffreywildman/homebrew-virt-manager/issues/197 bump virt-manager/view-viewer and deps https://github.com/jeffreywildman/homebrew-virt-manager/pull/166 New MacBook Air with fresh Big Sur| Error with installing virt-viewer https://github.com/jeffreywildman/homebrew-virt-manager/issues/165`
Hi @jeffreywildman, I have the same error. And found a workaround https://gitlab.gnome.org/GNOME/gtk-vnc/-/issues/17, using -Dwith-coroutine=gthread to install gtk-vnc is work for me.
brew reinstall -s gtk-vnc -i
meson setup build -Dwith-vala=disabled -Dwith-coroutine=gthread --prefix=/usr/local/Cellar/gtk-vnc/1.3.1 --libdir=/usr/local/Cellar/gtk-vnc/1.3.1/lib --buildtype=release --wrap-mode=nofallback
meson compile -C build --verbose
meson install -C build
Process: Python [25981] Path: /usr/local/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python Identifier: org.python.python Version: 3.11.4 (3.11.4) Code Type: X86-64 (Native) Parent Process: zsh [1814] Responsible: Terminal [801] User ID: 501
Date/Time: 2023-07-01 11:18:11.188 +0800
OS Version: macOS 11.6.3 (20G415)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: 6A651952-CF00-954C-3E98-2C366F3A60C2
Sleep/Wake UUID: 7DBDB29C-4D0F-410F-8A6E-A7CE41C9BB05
Time Awake Since Boot: 490000 seconds Time Since Wake: 430000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information: abort() called Python(25981,0x10ffe3e00) malloc: *** error for object 0x1193a0750: pointer being freed was not allocated
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff2085e92e __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff2088d5bd pthread_kill + 263 2 libsystem_c.dylib 0x00007fff207e2406 abort + 125 3 libsystem_malloc.dylib 0x00007fff206c2165 malloc_vreport + 548 4 libsystem_malloc.dylib 0x00007fff206c52aa malloc_report + 151 5 libgvnc-1.0.0.dylib 0x000000011938e820 vnc_connection_close + 583 6 libgvnc-1.0.0.dylib 0x0000000119390abb vnc_connection_coroutine + 8800 7 libgvnc-1.0.0.dylib 0x00000001193974e5 coroutine_trampoline + 16
Hey there, the virt-manager crashes on my m1 macbook pro (2021) when i start a new vm. It starts showing the Black Screen, then it crashes and shows me the Error Message below. I hope someone can help me troubleshoot this! Thanks a lot.