slawekjaranowski opened a new pull request, #1958:
URL: https://github.com/apache/maven-mvnd/pull/1958

   `make native-all` fails on arm64 hosts (e.g. Apple Silicon) for the 
`mac-arm64` target:
   
       docker: no matching manifest for linux/arm64/v8 in the manifest list 
entries
   
   All cross-compilation images are amd64 only. `mcandre/snek` publishes a
   multi-platform manifest without an arm64 entry, so docker refuses to fall 
back
   to amd64; the other images just print a platform mismatch warning.
   
   Changes:
   - request `--platform linux/amd64` for every `docker run` in 
`native/Makefile`,
     including the generated dockcross wrapper scripts (via their `--args` 
option)
   - regenerate the Mac x86_64 library: the previous binary was built before the
     Jansi leftovers were removed from `mvndnative.h`, when the macOS branch 
did not
     include `<stdlib.h>`, so `free`/`setenv`/`unsetenv` were called through 
implicit
     declarations. The only difference in the code is 5 removed `xor %eax,%eax`
     before those calls. All other rebuilt libraries are byte-identical.
   - add the missing trailing newline to `mvndnative.c` (FreeBSD compiler 
warning)
   
   Note: existing `native/target/dockcross/dockcross-*` scripts must be removed
   (or `mvn clean`) to pick up the change.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to