[MacPorts] #71326: aircrack-ng @1.7: error: macro names must be identifiers (was: aircrack-ng fails to build, picking wrong SIMD)
MacPorts
noreply at macports.org
Sat Nov 16 18:06:03 UTC 2024
#71326: aircrack-ng @1.7: error: macro names must be identifiers
---------------------------+------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.4
Resolution: | Keywords: powerpc
Port: aircrack-ng |
---------------------------+------------------------
Changes (by ryandesign):
* cc: i0ntempest (added)
Comment:
Replying to [ticket:71326 barracuda156]:
> {{{
> :info:build /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-
ng-1.7/include/aircrack-ng/ce-wpa/pseudo_intrinsics.h:165:9: error: macro
names must be identifiers
> :info:build 165 | #define (i > 0 ?
(vtype)vsliq_n_u32(vshrq_n_u32((x).v32, 32 - ((i) & 31)), (x).v32, (i) &
31) : \
> :info:build | ^
> :info:build /opt/local/var/macports/build
/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-
ng-1.7/include/aircrack-ng/ce-wpa/pseudo_intrinsics.h:167:9: error: macro
names must be identifiers
> :info:build 167 | #define (i > 0 ?
(vtype)vsliq_n_u64(vshrq_n_u64((x).v64, 64 - ((i) & 63)), (x).v64, (i) &
63) : \
> :info:build | ^
> }}}
The code that's failing here is not in the upstream repository. It is
being added by [source:macports-ports/security/aircrack-ng/files/patch-
psedo_intrinsics.patch a patch] that was supposed to be a backport of
[https://github.com/openwall/john/commit/c9825e688d1fb9fdd8942ceb0a6b4457b0f9f9b4
this John the Ripper commit] to fix an arm64 problem, but the patch has
not been backported properly and instead of fixing arm64 code, it has
introduced this syntax error into the ppc code.
--
Ticket URL: <https://trac.macports.org/ticket/71326#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list