==> Retrieving sources... -> Updating arptools git repo... ==> Generating checksums for source files... ==> Making package: arptools 13.41cdb23-2 (Wed 20 Nov 2024 11:27:49 PM UTC) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (6) New Version Net Change extra/cppdap 1.58.0-2 1.55 MiB extra/hicolor-icon-theme 0.18-1 0.05 MiB extra/jsoncpp 1.9.6-3 0.77 MiB extra/libuv 1.49.2-1 0.61 MiB extra/rhash 1.4.4-1 0.32 MiB extra/cmake 3.31.0-1 77.86 MiB Total Installed Size: 81.17 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing cppdap... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Updating arptools git repo... ==> Validating source files with sha512sums... arptools ... Skipped ==> Extracting sources... -> Creating working copy of arptools git repo... Switched to a new branch 'makepkg' ==> Starting pkgver()... ==> Starting build()... CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/sbin/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: /usr/sbin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (1.0s) -- Generating done (0.0s) -- Build files have been written to: /src/packages/pentesting/arptools/src/arptools [ 33%] Building CXX object CMakeFiles/ARPtools.dir/mydns.cpp.o [ 33%] Building CXX object CMakeFiles/ARPtools.dir/main.cpp.o [ 66%] Building CXX object CMakeFiles/ARPtools.dir/mycli.cpp.o [ 66%] Building CXX object CMakeFiles/ARPtools.dir/myarpt.cpp.o In file included from /src/packages/pentesting/arptools/src/arptools/mycli.hpp:4, from /src/packages/pentesting/arptools/src/arptools/mycli.cpp:2: /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:78:99: error: ‘std::atomic’ has not been declared 78 | void ARPBroadcastMultiThread(EtherPack arpPack, IMMAP *mapp, byte beginIndex, byte endIndex, std::atomic & count); | ^~~~~~ /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:78:105: error: expected ‘,’ or ‘...’ before ‘<’ token 78 | void ARPBroadcastMultiThread(EtherPack arpPack, IMMAP *mapp, byte beginIndex, byte endIndex, std::atomic & count); | ^ /src/packages/pentesting/arptools/src/arptools/mycli.cpp: In function ‘void attack(IMMAP*)’: /src/packages/pentesting/arptools/src/arptools/mycli.cpp:8:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%d", &victim); | ~~~~~^~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/ARPtools.dir/build.make:93: CMakeFiles/ARPtools.dir/mycli.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /src/packages/pentesting/arptools/src/arptools/myarpt.cpp:1: /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:78:99: error: ‘std::atomic’ has not been declared 78 | void ARPBroadcastMultiThread(EtherPack arpPack, IMMAP *mapp, byte beginIndex, byte endIndex, std::atomic & count); | ^~~~~~ /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:78:105: error: expected ‘,’ or ‘...’ before ‘<’ token 78 | void ARPBroadcastMultiThread(EtherPack arpPack, IMMAP *mapp, byte beginIndex, byte endIndex, std::atomic & count); | ^ In file included from /usr/include/c++/14.2.1/thread:45, from /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:13: /usr/include/c++/14.2.1/bits/std_thread.h: In instantiation of ‘std::thread::thread(_Callable&&, _Args&& ...) [with _Callable = void (&)(EtherPack, IMMAP*, unsigned char, unsigned char, int); _Args = {EtherPack&, IMMAP*&, unsigned char, unsigned char, std::reference_wrapper >}; = void]’: /src/packages/pentesting/arptools/src/arptools/myarpt.cpp:22:103: required from here 22 | std::thread t(ARPBroadcastMultiThread, request, mapp, byte(i * 16), byte(i * 16 + 15), std::ref(c)); | ^ /usr/include/c++/14.2.1/bits/std_thread.h:166:72: error: static assertion failed: std::thread arguments must be invocable after conversion to rvalues 166 | typename decay<_Args>::type...>::value, | ^~~~~ /usr/include/c++/14.2.1/bits/std_thread.h:166:72: note: ‘std::integral_constant::value’ evaluates to false /usr/include/c++/14.2.1/bits/std_thread.h: In instantiation of ‘struct std::thread::_Invoker > > >’: /usr/include/c++/14.2.1/bits/std_thread.h:245:13: required from ‘struct std::thread::_State_impl > > > >’ 245 | _Callable _M_func; | ^~~~~~~ /usr/include/c++/14.2.1/bits/std_thread.h:173:29: required from ‘std::thread::thread(_Callable&&, _Args&& ...) [with _Callable = void (&)(EtherPack, IMMAP*, unsigned char, unsigned char, int); _Args = {EtherPack&, IMMAP*&, unsigned char, unsigned char, std::reference_wrapper >}; = void]’ 173 | _M_start_thread(_State_ptr(new _State_impl<_Wrapper>( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | std::forward<_Callable>(__f), std::forward<_Args>(__args)...)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /src/packages/pentesting/arptools/src/arptools/myarpt.cpp:22:103: required from here 22 | std::thread t(ARPBroadcastMultiThread, request, mapp, byte(i * 16), byte(i * 16 + 15), std::ref(c)); | ^ /usr/include/c++/14.2.1/bits/std_thread.h:300:11: error: no type named ‘type’ in ‘struct std::thread::_Invoker > > >::__result > > >’ 300 | _M_invoke(_Index_tuple<_Ind...>) | ^~~~~~~~~ /usr/include/c++/14.2.1/bits/std_thread.h:304:9: error: no type named ‘type’ in ‘struct std::thread::_Invoker > > >::__result > > >’ 304 | operator()() | ^~~~~~~~ In file included from /src/packages/pentesting/arptools/src/arptools/mydns.hpp:4, from /src/packages/pentesting/arptools/src/arptools/mydns.cpp:3: /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:78:99: error: ‘std::atomic’ has not been declared 78 | void ARPBroadcastMultiThread(EtherPack arpPack, IMMAP *mapp, byte beginIndex, byte endIndex, std::atomic & count); | ^~~~~~ /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:78:105: error: expected ‘,’ or ‘...’ before ‘<’ token 78 | void ARPBroadcastMultiThread(EtherPack arpPack, IMMAP *mapp, byte beginIndex, byte endIndex, std::atomic & count); | ^ /src/packages/pentesting/arptools/src/arptools/mydns.cpp: In function ‘bytestr addrToDnsFormat()’: /src/packages/pentesting/arptools/src/arptools/mydns.cpp:65:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 65 | scanf("%s", addr); | ~~~~~^~~~~~~~~~~~ make[2]: *** [CMakeFiles/ARPtools.dir/build.make:121: CMakeFiles/ARPtools.dir/mydns.cpp.o] Error 1 /src/packages/pentesting/arptools/src/arptools/myarpt.cpp: In function ‘void selectDataTransmitTarget(IMMAP*)’: /src/packages/pentesting/arptools/src/arptools/myarpt.cpp:189:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 189 | scanf("%d", &victim); | ~~~~~^~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/ARPtools.dir/build.make:107: CMakeFiles/ARPtools.dir/myarpt.cpp.o] Error 1 In file included from /src/packages/pentesting/arptools/src/arptools/mycli.hpp:4, from /src/packages/pentesting/arptools/src/arptools/main.cpp:2: /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:78:99: error: ‘std::atomic’ has not been declared 78 | void ARPBroadcastMultiThread(EtherPack arpPack, IMMAP *mapp, byte beginIndex, byte endIndex, std::atomic & count); | ^~~~~~ /src/packages/pentesting/arptools/src/arptools/myarpt.hpp:78:105: error: expected ‘,’ or ‘...’ before ‘<’ token 78 | void ARPBroadcastMultiThread(EtherPack arpPack, IMMAP *mapp, byte beginIndex, byte endIndex, std::atomic & count); | ^ make[2]: *** [CMakeFiles/ARPtools.dir/build.make:79: CMakeFiles/ARPtools.dir/main.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/ARPtools.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> Removing installed dependencies... checking dependencies... Package (6) Old Version Net Change cmake 3.31.0-1 -77.86 MiB cppdap 1.58.0-2 -1.55 MiB hicolor-icon-theme 0.18-1 -0.05 MiB jsoncpp 1.9.6-3 -0.77 MiB libuv 1.49.2-1 -0.61 MiB rhash 1.4.4-1 -0.32 MiB Total Removed Size: 81.17 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing cmake... removing rhash... removing libuv... removing jsoncpp... removing hicolor-icon-theme... removing cppdap... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...