elsloo opened a new issue, #8799:
URL: https://github.com/apache/trafficserver/issues/8799

   AuTest is not working on macOS with Apple Silicon (ARM). This is due, at 
least in part, to the dependency on `proxy-verifier` that is downloaded from a 
static location ([here](https://ci.trafficserver.apache.org/bintray/)) and 
contains builds for Linux and macOS but only on the x86-64 architecture. 
Because this is all executed via the command line, it appears to circumvent 
Rosetta 2 emulation.
   
   Additionally, the build process for `proxy-verifier` may need some attention 
to support a different architecture. I attempted to download and build this 
myself, but it still had references to x86-64 (see below) and the build failed. 
I had to add a `.env` file to allow the build process to locate `autoreconf` 
installed via `brew`, but there are likely other changes required to build 
successfully.
   
   Note in the following that the `-arch` is correct, but the build directory 
and target both mention `darwin-x86_64`.
   
   ```
   ${LDCMD:-/usr/bin/clang} -arch arm64  -L. -Wl,-search_paths_first 
-L/Users/username/workspace/proxy-verifier/_build/build_release_darwin-x86_64/openssl
 \
           -o fuzz/client-test fuzz/client.o fuzz/test-corpus.o \
            -lssl -lcrypto  
   ${LDCMD:-/usr/bin/clang} -arch arm64  -L. -Wl,-search_paths_first 
-L/Users/username/workspace/proxy-verifier/_build/build_release_darwin-x86_64/openssl
 \
           -o fuzz/server-test fuzz/server.o fuzz/test-corpus.o \
            -lssl -lcrypto  
   scons: building terminated because of errors.
   Parts: Error!: Summary: 1 build failure detected during build
    Part:"nghttp3"
    Target:"darwin-x86_64"
    Config:"release"
    Node:"_build/build_release_darwin-x86_64/nghttp3/build/Makefile"
   ```
   
   


-- 
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