Closed chenrui333 closed 7 months ago
👋 trying to build the latest release, but run into some build issue. The error log is as below:
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/8761298494/job/24055951515?pr=169587 relates to Homebrew/homebrew-core#169587
updating to newer ncurses works for me.
👋 trying to build the latest release, but run into some build issue. The error log is as below:
error build log
``` [ 76%] Building CXX object userspace/sysdig/CMakeFiles/csysdig.dir/csysdig.cpp.o cd /tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/build/userspace/sysdig && /opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -DCHISEL_TOOL_LIBRARY_NAME=\"sysdig\" -DHAVE_STRLCPY -DPLATFORM_NAME=\"Darwin\" -I/opt/homebrew/include/tbb -I/opt/homebrew/include/luajit-2.1 -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/build/userspace/sinspui -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/userspace/sysdig/../sinspui -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/build/userspace/sysdig -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/userspace/sysdig/. -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/userspace/sysdig/../chisel -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/userspace/sysdig/.. -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/build/driver/src -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/falcosecurity-libs/userspace/libsinsp -I/private/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/falcosecurity-libs/userspace -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/falcosecurity-libs/userspace/libscap -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/build/libscap -I/private/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/falcosecurity-libs -I/tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/build -Wall -ggdb -DMINIMAL_BUILD -std=c++17 -O3 -fno-strict-aliasing -DNDEBUG -std=c++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -MD -MT userspace/sysdig/CMakeFiles/csysdig.dir/csysdig.cpp.o -MF CMakeFiles/csysdig.dir/csysdig.cpp.o.d -o CMakeFiles/csysdig.dir/csysdig.cpp.o -c /tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/userspace/sysdig/csysdig.cpp /tmp/sysdig-20240420-4812-bo4lqz/sysdig-0.36.1/userspace/sysdig/csysdig.cpp:798:14: error: no matching function for call to 'newterm' screen = newterm(term.c_str(), stdout, stdin); ^~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/curses.h:721:33: note: candidate function not viable: 1st argument ('const value_type *' (aka 'const char *')) would lose const qualifier extern NCURSES_EXPORT(SCREEN *) newterm (NCURSES_CONST char *,FILE *,FILE *); /* implemented */ ^ ```full build log, https://github.com/Homebrew/homebrew-core/actions/runs/8761298494/job/24055951515?pr=169587 relates to Homebrew/homebrew-core#169587