Open jorbuedo opened 5 months ago
I tried adding the object manually, seems to pass that line, but then fails at https://github.com/socketsupply/socket/blob/ddaf5094c1cac6b2a91e4381554c6ff029be6e55/api/internal/init.js#L253
With Unhandled Promise Rejection: SecurityError: The operation is insecure.
So I'm guessing worker support is not gonna be a thing for now.
@jorbuedo we have actually reworked how the protocol works to work with web workers which is present in the dev
branch if you'd like to try it out
cc @heapwolf
Unfortunately dev
doesn't build 😞
$ NO_ANDROID=1 NO_IOS=1 VERBOSE=1 ./bin/install.sh
# using cores: 16
warn - using '/home/jorbuedo/.local/share/socket' as SOCKET_HOME
warn - Installing to '/usr/local'
command -v sudo
/usr/bin/sudo
command -v make
/usr/bin/make
command -v autoconf
/usr/bin/autoconf
command -v pkg-config
/usr/bin/pkg-config
command -v libtoolize
/usr/bin/libtoolize
command -v curl
/usr/bin/curl
# preparing directories...
ok - directories prepared
# building libuv for desktop (x86_64) on Linux...
ok - built libuv for desktop (x86_64)
ok - copied headers
# checking compiler features
# building runtime library
# building runtime static libary (x86_64-desktop)
# compiling object (x86_64-desktop) bluetooth.cc
# compiling object (x86_64-desktop) app.cc
# compiling object (x86_64-desktop) fs.cc
# compiling object (x86_64-desktop) core.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/bluetooth.cc -o /home/jorbuedo/Code/socket/bui# compiling object (x86_64-desktop) child_process.cc
ld/x86_64-desktop/core/bluetooth.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/app/app.cc -o /home/jorbuedo/Code/socket/build/x86_/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/core.cc -o /home/jorbuedo/Code/socket/build/x8/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/fs.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/app/app.o
6_64-desktop/core/core.o
64-desktop/core/fs.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/child_process.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/child_process.o
# compiling object (x86_64-desktop) config.cc
# compiling object (x86_64-desktop) dns.cc
# compiling object (x86_64-desktop) codec.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/config.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/config.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/codec.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/codec.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/dns.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/dns.o
# compiling object (x86_64-desktop) env.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/env.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/env.o
# compiling object (x86_64-desktop) json.cc
# compiling object (x86_64-desktop) headers.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/json.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/json.o
# compiling object (x86_64-desktop) javascript.cc
# compiling object (x86_64-desktop) io.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/headers.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/headers.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/javascript.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/javascript.o
# compiling object (x86_64-desktop) ini.cc
# compiling object (x86_64-desktop) file_system_watcher.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/io.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/io.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/file_system_watcher.cc -o /home/jorbuedo/Code//usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/ini.cc -o /home/jorbuedo/Code/socket/build/x86socket/build/x86_64-desktop/core/file_system_watcher.o
_64-desktop/core/ini.o
# compiling object (x86_64-desktop) peer.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/peer.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/peer.o
# compiling object (x86_64-desktop) os.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/os.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/os.o
ok - built core/env.cc -> core/env.o (x86_64-desktop)
ok - built core/codec.cc -> core/codec.o (x86_64-desktop)
ok - built core/ini.cc -> core/ini.o (x86_64-desktop)
ok - built core/io.cc -> core/io.o (x86_64-desktop)
ok - built core/json.cc -> core/json.o (x86_64-desktop)
ok - built app/app.cc -> app/app.o (x86_64-desktop)
ok - built core/config.cc -> core/config.o (x86_64-desktop)
ok - built core/javascript.cc -> core/javascript.o (x86_64-desktop)
ok - built core/bluetooth.cc -> core/bluetooth.o (x86_64-desktop)
ok - built core/dns.cc -> core/dns.o (x86_64-desktop)
ok - built core/file_system_watcher.cc -> core/file_system_watcher.o (x86_64-desktop)
ok - built core/core.cc -> core/core.o (x86_64-desktop)
ok - built core/headers.cc -> core/headers.o (x86_64-desktop)
ok - built core/peer.cc -> core/peer.o (x86_64-desktop)
ok - built core/os.cc -> core/os.o (x86_64-desktop)
ok - built core/child_process.cc -> core/child_process.o (x86_64-desktop)
ok - built core/fs.cc -> core/fs.o (x86_64-desktop)
# compiling object (x86_64-desktop) platform.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/platform.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/platform.o
# compiling object (x86_64-desktop) bridge.cc
# compiling object (x86_64-desktop) service_worker_container.cc
# compiling object (x86_64-desktop) preload.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/ipc/bridge.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/ipc/bridge.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/service_worker_container.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/service_worker_container.o
# compiling object (x86_64-desktop) timers.cc
# compiling object (x86_64-desktop) string.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/preload.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/preload.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/timers.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/timers.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/string.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/core/string.o
# compiling object (x86_64-desktop) context.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/extension/context.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/extension/context.o
# compiling object (x86_64-desktop) udp.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/core/udp.cc -o /home/jorbuedo/Code/socket/build/x86# compiling object (x86_64-desktop) javascript.cc
_64-desktop/core/udp.o
# compiling object (x86_64-desktop) env.cc
# compiling object (x86_64-desktop) ipc.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/extension/javascript.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/extension/javascript.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/extension/env.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/extension/env.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/ipc/ipc.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/ipc/ipc.o
# compiling object (x86_64-desktop) json.cc
# compiling object (x86_64-desktop) process.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/extension/json.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/extension/json.o
# compiling object (x86_64-desktop) ipc.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/extension/process.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/extension/process.o
# compiling object (x86_64-desktop) extension.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/extension/extension.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/extension/extension.o
# compiling object (x86_64-desktop) dialog.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/window/dialog.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/window/dialog.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/extension/ipc.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/extension/ipc.o
# compiling object (x86_64-desktop) hotkey.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/window/hotkey.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/window/hotkey.o
# compiling object (x86_64-desktop) linux.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/window/linux.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/window/linux.o
/home/jorbuedo/Code/socket/src/window/linux.cc:598:7: warning: non-void lambda does not return a value in all control paths [-Wreturn-type]
598 | }),
| ^
/home/jorbuedo/Code/socket/src/window/linux.cc:850:20: error: too many arguments provided to function-like macro invocation
850 | {"data", w->index}
| ^
/usr/include/glib-2.0/gobject/gclosure.h:73:9: note: macro 'G_CALLBACK' defined here
73 | #define G_CALLBACK(f) ((GCallback) (f))
| ^
/home/jorbuedo/Code/socket/src/window/linux.cc:846:7: note: parentheses are required around macro argument containing braced initializer list
846 | G_CALLBACK(+[](GtkWidget*, gpointer arg) {
| ^
| (
/home/jorbuedo/Code/socket/src/window/linux.cc:1100:5: warning: 'gtk_widget_override_background_color' is deprecated [-Wdeprecated-declarations]
1100 | gtk_widget_override_background_color(
| ^
/usr/include/gtk-3.0/gtk/gtkwidget.h:1147:1: note: 'gtk_widget_override_background_color' has been explicitly marked deprecated here
1147 | GDK_DEPRECATED_IN_3_16
| ^
/usr/include/gtk-3.0/gdk/gdkversionmacros.h:370:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_16'
370 | # define GDK_DEPRECATED_IN_3_16 GDK_DEPRECATED
| ^
/usr/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED'
48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN
| ^
/usr/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED'
1262 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
/home/jorbuedo/Code/socket/src/window/linux.cc:1106:61: error: use of undeclared identifier 'widget'
1106 | GtkStyleContext *context = gtk_widget_get_style_context(widget);
| ^
/home/jorbuedo/Code/socket/src/window/linux.cc:1109:80: error: use of undeclared identifier 'widget'
1109 | gtk_style_context_get_background_color(context, gtk_widget_get_state_flags(widget), &color);
| ^
/home/jorbuedo/Code/socket/src/window/linux.cc:1127:37: error: no matching function for call to 'webkit_web_view_get_inspector'
1127 | WebKitWebInspector *inspector = webkit_web_view_get_inspector(this->webview);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/webkitgtk-4.1/webkit/WebKitWebView.h:573:1: note: candidate function not viable: no known conversion from 'GtkWidget *' (aka '_GtkWidget *') to 'WebKitWebView *' (aka '_WebKitWebView *') for 1st argument
573 | webkit_web_view_get_inspector (WebKitWebView *web_view);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jorbuedo/Code/socket/src/window/linux.cc:1458:20: warning: 'gtk_status_icon_new_from_file' is deprecated [-Wdeprecated-declarations]
1458 | trayIcon = gtk_status_icon_new_from_file(trayIconPath.c_str());
| ^
/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:87:1: note: 'gtk_status_icon_new_from_file' has been explicitly marked deprecated here
87 | GDK_DEPRECATED_IN_3_14
| ^
/usr/include/gtk-3.0/gdk/gdkversionmacros.h:356:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_14'
356 | # define GDK_DEPRECATED_IN_3_14 GDK_DEPRECATED
| ^
/usr/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED'
48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN
| ^
/usr/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED'
1262 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
/home/jorbuedo/Code/socket/src/window/linux.cc:1460:20: warning: 'gtk_status_icon_new_from_icon_name' is deprecated [-Wdeprecated-declarations]
1460 | trayIcon = gtk_status_icon_new_from_icon_name("utilities-terminal");
| ^
/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:91:1: note: 'gtk_status_icon_new_from_icon_name' has been explicitly marked deprecated here
91 | GDK_DEPRECATED_IN_3_14
| ^
/usr/include/gtk-3.0/gdk/gdkversionmacros.h:356:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_14'
356 | # define GDK_DEPRECATED_IN_3_14 GDK_DEPRECATED
| ^
/usr/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED'
48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN
| ^
/usr/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED'
1262 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
/home/jorbuedo/Code/socket/src/window/linux.cc:1464:9: warning: 'gtk_status_icon_set_tooltip_text' is deprecated [-Wdeprecated-declarations]
1464 | gtk_status_icon_set_tooltip_text(trayIcon, userConfig["tray_tooltip"].c_str());
| ^
/usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:136:1: note: 'gtk_status_icon_set_tooltip_text' has been explicitly marked deprecated here
136 | GDK_DEPRECATED_IN_3_14
| ^
/usr/include/gtk-3.0/gdk/gdkversionmacros.h:356:47: note: expanded from macro 'GDK_DEPRECATED_IN_3_14'
356 | # define GDK_DEPRECATED_IN_3_14 GDK_DEPRECATED
| ^
/usr/include/gtk-3.0/gdk/gdkversionmacros.h:48:24: note: expanded from macro 'GDK_DEPRECATED'
48 | #define GDK_DEPRECATED G_DEPRECATED _GDK_EXTERN
| ^
/usr/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro 'G_DEPRECATED'
1262 | #define G_DEPRECATED __attribute__((__deprecated__))
| ^
ok - built extension/env.cc -> extension/env.o (x86_64-desktop)
ok - built core/platform.cc -> core/platform.o (x86_64-desktop)
ok - built window/dialog.cc -> window/dialog.o (x86_64-desktop)
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3031:23: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3031 | uri.starts_with(bundleIdentifier)
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3032:22: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3032 | ? uri.substr(bundleIdentifier.size())
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3042:26: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3042 | if (!uri.starts_with(bundleIdentifier)) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3048:27: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3048 | uri = "socket://" + bundleIdentifier + "/" + path;
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3090:67: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3090 | auto contentLocation = replace(redirectURL, "socket://" + bundleIdentifier, "");
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3123:65: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3123 | auto contentLocation = replace(redirectURL, "socket://" + bundleIdentifier, "");
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3031:23: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3031 | uri.starts_with(bundleIdentifier)
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: in instantiation of function template specialization 'registerSchemeHandler(Router *)::(anonymous class)::operator()<_WebKitURISchemeRequest *, void *>' requested here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_ur5 warningi_scs and heme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_conte4 errorxts generated_regis.
ter_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3032:22: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3032 | ? uri.substr(bundleIdentifier.size())
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_schok - built extension/javascript.cc -> extension/javascript.o (x86_64-desktop)
eme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3042:26: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3042 | if (!uri.starts_with(bundleIdentifier)) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3048:27: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3048 | uri = "socket://" + bundleIdentifier + "/" + path;
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3090:67: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3090 | auto contentLocation = replace(redirectURL, "socket://" + bundleIdentifier, "");
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {ok - built extension/context.cc -> extension/context.o (x86_64-desktop)
| ^
| &
ok - built core/preload.cc -> core/preload.o (x86_64-desktop)
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3123:65: error: variable 'bundleIdentifier' cannot be implicitly captured in a lambda with no capture-default specified
3123 | auto contentLocation = replace(redirectURL, "socket://" + bundleIdentifier, "");
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:2932:8: note: 'bundleIdentifier' declared here
2932 | auto bundleIdentifier = userConfig["meta_bundle_identifier"];
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: lambda expression begins here
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:57: note: capture 'bundleIdentifier' by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &bundleIdentifier
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by value
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| =
/home/jorbuedo/Code/socket/src/ipc/bridge.cc:3015:58: note: default capture by reference
3015 | webkit_web_context_register_uri_scheme(ctx, "socket", [](auto request, auto ptr) {
| ^
| &
# compiling object (x86_64-desktop) unix.cc
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464639 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/process/unix.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/process/unix.o
12 errors generated.
ok - built process/unix.cc -> process/unix.o (x86_64-desktop)
ar: /home/jorbuedo/Code/socket/build/x86_64-desktop/ipc/bridge.o: No such file or directory
failed to build /home/jorbuedo/Code/socket/build/x86_64-desktop/lib/libsocket-runtime.a
arch: x86_64
# precompiling main program for desktop
# building cli for desktop (x86_64)...
# cli libs: -luv, Linux
/usr/bin/clang++ -DSSC_CLI -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464655 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/cli/cli.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/cli/cli.o
/usr/bin/clang++ -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464655 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -c /home/jorbuedo/Code/socket/src/desktop/main.cc -o /home/jorbuedo/Code/socket/build/x86_64-desktop/objects/desktop/main.o
/home/jorbuedo/Code/socket/src/desktop/main.cc:403:5: warning: 'G_APPLICATION_FLAGS_NONE' is deprecated: Use 'G_APPLICATION_DEFAULT_FLAGS' instead [-Wdeprecated-declarations]
403 | G_APPLICATION_FLAGS_NONE
| ^
/usr/include/glib-2.0/gio/gioenums.h:1540:28: note: 'G_APPLICATION_FLAGS_NONE' has been explicitly marked deprecated here
1540 | G_APPLICATION_FLAGS_NONE GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS),
| ^
/usr/include/glib-2.0/gio/gio-visibility.h:858:50: note: expanded from macro 'GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR'
858 | #define GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
| ^
/usr/include/glib-2.0/glib/gmacros.h:1312:43: note: expanded from macro 'GLIB_DEPRECATED_ENUMERATOR_FOR'
1312 | #define GLIB_DEPRECATED_ENUMERATOR_FOR(f) G_DEPRECATED_FOR(f)
| ^
/usr/include/glib-2.0/glib/gmacros.h:1272:44: note: expanded from macro 'G_DEPRECATED_FOR'
1272 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
| ^
1 warning generated.
ok - precompiled main program for desktop
/usr/bin/clang++ /home/jorbuedo/Code/socket/build/x86_64-desktop/cli/cli.o /home/jorbuedo/Code/socket/build/x86_64-desktop/lib/libuv.a /home/jorbuedo/Code/socket/build/x86_64-desktop/lib/libsocket-runtime.a -DSSC_CLI -Wno-unused-command-line-argument -stdlib=libstdc++ -std=c++2a -fvisibility=hidden -I/home/jorbuedo/Code/socket/include -I/home/jorbuedo/Code/socket/build/uv/include -I/home/jorbuedo/Code/socket/build/include -DSSC_BUILD_TIME=1710464655 -DSSC_VERSION_HASH=2e3b373c -DSSC_VERSION=0.5.4 -I/usr/include/webkitgtk-4.1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libsoup-3.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -DLZMA_API_STATIC -DXML_STATIC -fPIC -Os -ldl -ldbus-1 -lwebkit2gtk-4.1 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lsoup-3.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgio-2.0 -ljavascriptcoregtk-4.1 -lgobject-2.0 -lglib-2.0 -L/home/jorbuedo/Code/socket/build/x86_64-desktop/lib -luv -lsocket-runtime -o /home/jorbuedo/Code/socket/build/x86_64-desktop/bin/ssc
clang++: error: no such file or directory: '/home/jorbuedo/Code/socket/build/x86_64-desktop/lib/libsocket-runtime.a'
not ok - unable to build. See trouble shooting guide in the README.md file:\n/usr/bin/clang++ -DSSC_CLI - please report (https://discord.gg/YPV32gKCsH)
not ok - unable to build. See trouble shooting guide in the README.md file - please report (https://discord.gg/YPV32gKCsH)
PS. Master builds fine PS2. Changed it for the verbose version, seems like a clang linker issue
dev should work again :)
Dev does work now, thanks! Unfortunately, app is not getting clicks now, not sure why. Left click for navigation isn't picked up, but navigating via keyboard works. Can't check on the status of socket:network on the worker because I can't open the inspector without right click.
@heapwolf it looks like app crashed after a short time as well
Inside the web worker,
globalThis.process
isundefined
, and trying to accesswindow
is an error.https://github.com/socketsupply/socket/blob/ddaf5094c1cac6b2a91e4381554c6ff029be6e55/api/stream-relay/index.js#L36C46-L36C52
Is this something that should be supported, or should the app manually copy over the values from
window.__args
to the worker'sglobalThis.process
before importingsocket:network
?