#63760 closed defect (duplicate)
aircrack-ng-1.6 Failed to Build on macOS Monterey
Reported by: | YKPCLN | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | monterey | Cc: | |
Port: | aircrack-ng |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
main.log details like below
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.6" && /opt/local/bin/gmake -j4 -w all
I got some errors when I run that command manually.
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/cstddef:37: ./version:1:1: error: expected unqualified-id In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/initializer_list:46: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/cstddef:49:9: error: no member named 'ptrdiff_t' in the global namespace In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/type_traits:421: ./version:1:1: error: expected unqualified-id In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/utility:205: ./version:1:1: error: expected unqualified-id In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/exception:85: ./version:1:1: error: expected unqualified-id In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/new:95: ./version:1:1: error: expected unqualified-id In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/limits:121: ./version:1:1: error: expected unqualified-id In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/iterator:424: ./version:1:1: error: expected unqualified-id In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/memory:676: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/iterator:559:13: error: unknown type name 'ptrdiff_t' typedef ptrdiff_t difference_type; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/iterator:620:56: error: unknown type name 'ptrdiff_t' template<class _Category, class _Tp, class _Distance = ptrdiff_t, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/iterator:986:66: error: unknown type name 'ptrdiff_t' class _Traits = char_traits<_CharT>, class _Distance = ptrdiff_t> ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/iterator:986:54: error: template parameter missing a default argument class _Traits = char_traits<_CharT>, class _Distance = ptrdiff_t> ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/iterator:986:27: note: previous default template argument defined here class _Traits = char_traits<_CharT>, class _Distance = ptrdiff_t> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/tuple:154: ./version:1:1: error: expected unqualified-id 1.6.0 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__memory/allocator_traits.h:15: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__memory/pointer_traits.h:63:34: error: unknown type name 'ptrdiff_t' typedef _LIBCPP_NODEBUG_TYPE ptrdiff_t type; ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__memory/pointer_traits.h:139:13: error: unknown type name 'ptrdiff_t' typedef ptrdiff_t difference_type; ^ In file included from src/aircrack-ng/linecount.cpp:58: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/algorithm:653: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/memory:687: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/atomic:579: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/__threading_support:15: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/chrono:832: ./version:1:1: error: expected unqualified-id 1.6.0 In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/memory:687: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/atomic:1055:73: error: unknown type name 'ptrdiff_t' _Tp* __cxx_atomic_fetch_add(__cxx_atomic_base_impl<_Tp*> volatile* __a, ptrdiff_t __delta, memory_order __order) _NOEXCEPT { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/c++/v1/atomic:1060:65: error: unknown type name 'ptrdiff_t' _Tp* __cxx_atomic_fetch_add(__cxx_atomic_base_impl<_Tp*> * __a, ptrdiff_t __delta, memory_order __order) _NOEXCEPT { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=]
Change History (3)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | monterey added; #aircrack-ng removed |
Owner: | set to ryandesign |
Status: | new → assigned |
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Duplicate of #63754 which I've already fixed. Run
sudo port selfupdate
to receive the fix.