chase / awrit

A full graphical web browser for Kitty terminal with mouse and keyboard support
Other
502 stars 19 forks source link

Build fails on Void Linux (musl) #48

Open fearlessgeekmedia opened 2 weeks ago

fearlessgeekmedia commented 2 weeks ago

cmake --build build gives me

[207/216] Building CXX object awrit/CMakeFiles/awrit.dir/tui.cc.o FAILED: awrit/CMakeFiles/awrit.dir/tui.cc.o /usr/bin/c++ -DCEF_USE_SANDBOX -DNDEBUG -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -I/home/fearlessgeek/repos/awrit -I/home/fearlessgeek/repos/awrit/awrit -I/home/fearlessgeek/repos/awrit/build/_deps/cef_src-src -I/home/fearlessgeek/repos/awrit/awrit/string -I/home/fearlessgeek/repos/awrit/awrit/tty -O3 -DNDEBUG -std=gnu++20 -fno-strict-aliasing -fPIC -fstack-protector -funwind-tables -fvisibility=hidden --param=ssp-buffer-size=4 -pipe -pthread -Wall -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-error=comment -Wno-comment -Wno-deprecated-declarations -m64 -march=x86-64 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -Wno-undefined-var-template -Wno-literal-suffix -Wno-narrowing -Wno-attributes -std=c++20 -O2 -fdata-sections -ffunction-sections -fno-ident -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MD -MT awrit/CMakeFiles/awrit.dir/tui.cc.o -MF awrit/CMakeFiles/awrit.dir/tui.cc.o.d -o awrit/CMakeFiles/awrit.dir/tui.cc.o -c /home/fearlessgeek/repos/awrit/awrit/tui.cc In file included from /home/fearlessgeek/repos/awrit/awrit/tui.cc:7: /usr/include/sys/fcntl.h:1:2: error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp] 1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> | ^~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-undefined-var-template' may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors [212/216] Building CXX object awrit/CMakeFiles/awrit.dir/awrit.cc. ninja: build stopped: subcommand failed.

fearlessgeekmedia commented 2 weeks ago

Also tried building it in Arch Linux under Distrobox. It built, but when I run it, I get Trace/breakpoint trap and it prints out codes every time I move my mouse cursor, as if it's tracking my mouse. I'm not getting to any website.

fearlessgeekmedia commented 2 weeks ago

Also getting the trace/breakpoint trap on my Ubuntu distrobox.