F1ash / homebrew-qt-virt-manager

The HomeBrew formulaes for install QtVirtManager on OS X
9 stars 12 forks source link

brew install qt-virt-manager failed, dependency spice-gtk-0.35 has build error #8

Open wildtang opened 4 years ago

wildtang commented 4 years ago

⋊> ~ brew install qt-virt-manager 17:33:29 Updating Homebrew... ==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> Updated Formulae gspell iso-codes

==> Installing qt-virt-manager from f1ash/qt-virt-manager ==> Installing dependencies for f1ash/qt-virt-manager/qt-virt-manager: spice-client-glib2 ==> Installing f1ash/qt-virt-manager/qt-virt-manager dependency: spice-client-glib2 ==> Downloading https://www.spice-space.org/download/gtk/spice-gtk-0.35.tar.bz2 Already downloaded: /Users/tangye/Library/Caches/Homebrew/downloads/f6ad6424d48ea402d6cd55d4797a2f6e3c113651b9391890bb612ec1b72f6483--spice-gtk-0.35.tar.bz2 ==> ./configure --disable-silent-rules --with-gtk=no --enable-vala=no --with-audio=no --disable-opus --with-coroutine=gthr ==> make install Last 15 lines from /Users/tangye/Library/Logs/Homebrew/spice-client-glib2/02.make: ^ generated_server_demarshallers.c:1541:22: error: use of undeclared identifier 'SPICE_TUNNEL_SERVICE_TYPE_IPP' if (out->type == SPICE_TUNNEL_SERVICE_TYPE_IPP) { ^ generated_server_demarshallers.c:1543:31: error: use of undeclared identifier 'SPICE_TUNNEL_IP_TYPE_IPv4' if (out->u.ip.type == SPICE_TUNNEL_IP_TYPE_IPv4) { ^ 4 errors generated. make[4]: [generated_server_demarshallers.lo] Error 1 make[4]: Waiting for unfinished jobs.... libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I/usr/local/Cellar/pixman/0.38.4/include/pixman-1 -I/usr/local/Cellar/libffi/3.2.1/lib/libffi-3.2.1/include -I/usr/local/Cellar/pcre/8.43/include -I/usr/local/Cellar/glib/2.60.5/include -I/usr/local/Cellar/glib/2.60.5/include/glib-2.0 -I/usr/local/Cellar/glib/2.60.5/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/openssl/1.0.2s/include -DG_LOG_DOMAIN=\"Spice\" -I/usr/local/Cellar/spice-protocol/0.14.0/include/spice-1 -g -O2 -c rop3.c -o rop3.o >/dev/null 2>&1 make[3]: [install] Error 2 make[2]: [install-recursive] Error 1 make[1]: [install-recursive] Error 1 make: [install] Error 2

F1ash commented 4 years ago

try with updated spice source version;

g3ngr33n commented 4 years ago

Either updating to spice-0.37 or if you want to stick to the version 0.35 (which does not have hard dependency of gstreamer + 15 gst plugins + vala and more...), use this patch https://raw.githubusercontent.com/g3ngr33n/emergeless/master/net-misc/spice-gtk/files/0004-demarshallers-musl.patch