Yes (You tried using the dev branch but the problem persist)
Relevant log output
➜ Havoc git:(main) ✗ make client-build
[*] building client
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /opt/homebrew/Frameworks/Python.framework/Versions/3.13/bin/python3.13 (found suitable version "3.13.0", minimum required is "3") found components: Interpreter Development Development.Module Development.Embed
Apple - Using Python:3 - Libraries:/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/lib/libpython3.13.dylib - includeDirs: /opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13
-- Configuring done (0.8s)
-- Generating done (0.1s)
-- Build files have been written to: /tmp/Havoc/client/Build
Modules installed
[ 0%] Built target Havoc_autogen_timestamp_deps
[ 1%] Automatic MOC and UIC for target Havoc
[ 1%] Built target Havoc_autogen
[ 3%] Automatic RCC for data/Havoc.qrc
[ 11%] Building CXX object CMakeFiles/Havoc.dir/src/Main.cc.o
[ 11%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Packager.cc.o
[ 11%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Connector.cc.o
[ 11%] Building CXX object CMakeFiles/Havoc.dir/Havoc_autogen/mocs_compilation.cpp.o
In file included from /tmp/Havoc/client/Build/Havoc_autogen/mocs_compilation.cpp:2:
In file included from /tmp/Havoc/client/Build/Havoc_autogen/4B7M45MYCV/moc_SessionGraph.cpp:10:
In file included from /tmp/Havoc/client/Build/Havoc_autogen/4B7M45MYCV/../../../include/UserInterface/Widgets/SessionGraph.hpp:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/Connector.cc:1:
In file included from /tmp/Havoc/client/include/Havoc/Connector.hpp:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Main.cc:1:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/Packager.cc:1:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/Packager.cc:8:
In file included from /tmp/Havoc/client/include/UserInterface/Widgets/TeamserverTabSession.h:8:
/tmp/Havoc/client/include/UserInterface/Widgets/LootWidget.h:29:10: warning: 'resizeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
29 | void resizeEvent(QResizeEvent *);
| ^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:635:18: note: overridden virtual function is here
635 | virtual void resizeEvent(QResizeEvent *event);
| ^
In file included from /tmp/Havoc/client/src/Havoc/Packager.cc:8:
In file included from /tmp/Havoc/client/include/UserInterface/Widgets/TeamserverTabSession.h:8:
/tmp/Havoc/client/include/UserInterface/Widgets/LootWidget.h:30:10: warning: 'keyReleaseEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
30 | void keyReleaseEvent( QKeyEvent* event );
| ^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:628:18: note: overridden virtual function is here
628 | virtual void keyReleaseEvent(QKeyEvent *event);
| ^
In file included from /tmp/Havoc/client/src/Havoc/Packager.cc:8:
In file included from /tmp/Havoc/client/include/UserInterface/Widgets/TeamserverTabSession.h:8:
/tmp/Havoc/client/include/UserInterface/Widgets/LootWidget.h:32:10: warning: 'wheelEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
32 | void wheelEvent(QWheelEvent *ev);
| ^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:625:18: note: overridden virtual function is here
625 | virtual void wheelEvent(QWheelEvent *event);
| ^
1 warning generated.
[ 13%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Service.cc.o
1 warning generated.
[ 15%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/DBManger/DBManager.cc.o
1 warning generated.
[ 17%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/DBManger/Teamserver.cc.o
[ 19%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/DBManger/Scripts.cc.o
4 warnings generated.
[ 21%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Demon/ConsoleInput.cc.o
In file included from /tmp/Havoc/client/src/Havoc/DBManger/DBManager.cc:1:
In file included from /tmp/Havoc/client/include/Havoc/DBManager/DBManager.hpp:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/DBManger/Teamserver.cc:1:
In file included from /tmp/Havoc/client/include/Havoc/DBManager/DBManager.hpp:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/DBManger/Scripts.cc:1:
In file included from /tmp/Havoc/client/include/Havoc/DBManager/DBManager.hpp:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/Demon/ConsoleInput.cc:1:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
/tmp/Havoc/client/src/Havoc/Demon/ConsoleInput.cc:780:32: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
780 | if ( FilesOnly == "true" && DirsOnly == "true" )
| ^ ~~~~~~
/tmp/Havoc/client/src/Havoc/Demon/ConsoleInput.cc:780:54: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
780 | if ( FilesOnly == "true" && DirsOnly == "true" )
| ^ ~~~~~~
1 warning generated.
[ 23%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Demon/CommandSend.cc.o
1 warning generated.
[ 25%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Demon/CommandOutput.cc.o
1 warning generated.
[ 27%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/Demon/Commands.cc.o
3 warnings generated.
[ 29%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/PythonApi/PythonApi.cc.o
In file included from /tmp/Havoc/client/src/Havoc/Demon/CommandSend.cc:1:
In file included from /tmp/Havoc/client/include/Havoc/DemonCmdDispatch.h:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/Demon/CommandOutput.cc:4:
In file included from /tmp/Havoc/client/include/Havoc/DemonCmdDispatch.h:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/Demon/CommandOutput.cc:7:
In file included from /tmp/Havoc/client/include/UserInterface/Widgets/TeamserverTabSession.h:8:
/tmp/Havoc/client/include/UserInterface/Widgets/LootWidget.h:29:10: warning: 'resizeEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
29 | void resizeEvent(QResizeEvent *);
| ^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:635:18: note: overridden virtual function is here
635 | virtual void resizeEvent(QResizeEvent *event);
| ^
In file included from /tmp/Havoc/client/src/Havoc/Demon/CommandOutput.cc:7:
In file included from /tmp/Havoc/client/include/UserInterface/Widgets/TeamserverTabSession.h:8:
/tmp/Havoc/client/include/UserInterface/Widgets/LootWidget.h:30:10: warning: 'keyReleaseEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
30 | void keyReleaseEvent( QKeyEvent* event );
| ^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:628:18: note: overridden virtual function is here
628 | virtual void keyReleaseEvent(QKeyEvent *event);
| ^
In file included from /tmp/Havoc/client/src/Havoc/Demon/CommandOutput.cc:7:
In file included from /tmp/Havoc/client/include/UserInterface/Widgets/TeamserverTabSession.h:8:
/tmp/Havoc/client/include/UserInterface/Widgets/LootWidget.h:32:10: warning: 'wheelEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
32 | void wheelEvent(QWheelEvent *ev);
| ^
/opt/homebrew/opt/qt@5/lib/QtWidgets.framework/Headers/qwidget.h:625:18: note: overridden virtual function is here
625 | virtual void wheelEvent(QWheelEvent *event);
| ^
In file included from /tmp/Havoc/client/src/Havoc/Demon/Commands.cc:1:
In file included from /tmp/Havoc/client/include/Havoc/DemonCmdDispatch.h:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
1 warning generated.
[ 31%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/PythonApi/Havoc.cc.o
4 warnings generated.
[ 33%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/PythonApi/HavocUi.cc.o
In file included from /tmp/Havoc/client/src/Havoc/PythonApi/PythonApi.cc:1:
In file included from /tmp/Havoc/client/include/Havoc/PythonApi/PythonApi.h:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
1 warning generated.
[ 35%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/PythonApi/UI/PyDialogClass.cc.o
1 warning generated.
[ 37%] Building CXX object CMakeFiles/Havoc.dir/src/Havoc/PythonApi/UI/PyLoggerClass.cc.o
In file included from /tmp/Havoc/client/src/Havoc/PythonApi/Havoc.cc:1:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/PythonApi/HavocUi.cc:1:
In file included from /tmp/Havoc/client/include/Havoc/PythonApi/PythonApi.h:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/PythonApi/UI/PyDialogClass.cc:6:
In file included from /tmp/Havoc/client/include/Havoc/PythonApi/PythonApi.h:4:
In file included from /tmp/Havoc/client/include/global.hpp:36:
In file included from /tmp/Havoc/client/include/External.h:6:
In file included from /tmp/Havoc/client/external/toml/toml.hpp:32:
In file included from /tmp/Havoc/client/external/toml/toml/parser.hpp:14:
In file included from /tmp/Havoc/client/external/toml/toml/value.hpp:8:
/tmp/Havoc/client/external/toml/toml/exception.hpp:44:17: error: cannot initialize a variable of type 'const char *' with an rvalue of type 'int'
44 | const char* result = strerror_r(errnum, buf.data(), bufsize);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/Havoc/client/src/Havoc/PythonApi/UI/PyDialogClass.cc:6:
In file included from /tmp/Havoc/client/include/Havoc/PythonApi/PythonApi.h:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
In file included from /tmp/Havoc/client/src/Havoc/PythonApi/UI/PyLoggerClass.cc:6:
In file included from /tmp/Havoc/client/include/Havoc/PythonApi/PythonApi.h:4:
In file included from /tmp/Havoc/client/include/global.hpp:36:
In file included from /tmp/Havoc/client/include/External.h:6:
In file included from /tmp/Havoc/client/external/toml/toml.hpp:32:
In file included from /tmp/Havoc/client/external/toml/toml/parser.hpp:14:
In file included from /tmp/Havoc/client/external/toml/toml/value.hpp:8:
/tmp/Havoc/client/external/toml/toml/exception.hpp:44:17: error: cannot initialize a variable of type 'const char *' with an rvalue of type 'int'
44 | const char* result = strerror_r(errnum, buf.data(), bufsize);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/Havoc/client/src/Havoc/PythonApi/UI/PyLoggerClass.cc:6:
In file included from /tmp/Havoc/client/include/Havoc/PythonApi/PythonApi.h:4:
/tmp/Havoc/client/include/global.hpp:209:23: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
209 | typedef struct
| ^
| SessionItem
/tmp/Havoc/client/include/global.hpp:245:13: note: type is not C-compatible due to this member declaration
245 | void Export();
| ^~~~~~~~~~~~~
/tmp/Havoc/client/include/global.hpp:246:11: note: type is given name 'SessionItem' for linkage purposes by this typedef declaration
246 | } SessionItem;
| ^
1 warning and 1 error generated.
make[3]: *** [CMakeFiles/Havoc.dir/src/Havoc/PythonApi/UI/PyDialogClass.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
1 warning generated.
1 warning generated.
1 warning and 1 error generated.
make[3]: *** [CMakeFiles/Havoc.dir/src/Havoc/PythonApi/UI/PyLoggerClass.cc.o] Error 1
make[2]: *** [CMakeFiles/Havoc.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [client-build] Error 2
Did You Read Over Your Issue First?
[X] I declare I made an effort and provided the necessary information for replication of the issue.
Contact Details
No response
What happened?
Mac M1 compilation client error
Did You Do a Pull First?
Latest (You performed a pull first)
Did You Try With the Dev Branch?
Yes (You tried using the dev branch but the problem persist)
Relevant log output
Did You Read Over Your Issue First?