[Spice-devel] phodav build/run on OSX

John Paul Morrison jmorrison at bogomips.com
Tue Oct 26 21:45:23 UTC 2021


Hi

This change is for building phodav on OSX/Darwin

I am able to build and run spice-webdavd on Catalina/Xcode using brew for
meson, glib etc.

- meson defaults to clang and it builds with a warning. Clang
spice-webdav runs but there are more warnings with G_MESSAGES_DEBUG=all.
After a few file/folder operations my Spice client  (Fedora 34,
remote-viewer 9.0) crashed

- Using CC=gcc-11 (homebrew) for meson builds without warnings.
gcc spice-webdav logs fewer warnings at runtime and also works better.  I
can copy files, extract archives etc.  It seems more robust than the clang
build but I got a timeout trying to clone a repository into the webdav
folder.

John Paul


https://gitlab.gnome.org/jpmorrison/phodav/-/commit/ae9ac98c1b3db26070111661aba02594c62d2cef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20211026/a7a54774/attachment.htm>


More information about the Spice-devel mailing list