Created attachment 223201 [details] v0 Remove march=native compiler flag as it breaks building on aarch64: error: pkg-static: Unable to access file /wrkdirs/usr/ports/multimedia/arcan/work/stage/usr/local/bin/afsrv_encode:No such file or directory due to (make configure): (encode) disabled, lzma not found In CMakeError.log: Determining if the function lzma_auto_decoder exists in the /usr/lib/liblzma.so failed with the following output: c++: error: the clang compiler does not support '-march=native'
Comment on attachment 223201 [details] v0 Thanks for tracking down the cause. However, dropping -march=native breaks SSE 4.2 detection on amd64 and i386. --- CMakeCache.txt before +++ CMakeCache.txt after @@ -1093,11 +1093,9 @@ SQLite3_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: SQLite3_LIBRARY SQLite3_LIBRARY-ADVANCED:INTERNAL=1 //Test SSE_42_DETECTED -SSE_42_DETECTED:INTERNAL=1 +SSE_42_DETECTED:INTERNAL= //Result of TRY_COMPILE -SSE_42_DETECTED_COMPILED:INTERNAL=TRUE -//Result of TRY_RUN -SSE_42_DETECTED_EXITCODE:INTERNAL=0 +SSE_42_DETECTED_COMPILED:INTERNAL=FALSE Tesseract_CFLAGS:INTERNAL=-I/usr/local/include;-I/usr/local/include/leptonica Tesseract_CFLAGS_I:INTERNAL= Tesseract_CFLAGS_OTHER:INTERNAL=
A commit references this bug: Author: jbeich Date: Fri Mar 12 10:35:31 UTC 2021 New revision: 568164 URL: https://svnweb.freebsd.org/changeset/ports/568164 Log: multimedia/arcan: unbreak on aarch64 (encode) disabled, lzma not found [...] Determining if the function lzma_auto_decoder exists in the /usr/lib/liblzma.so failed with the following output: c++: error: the clang compiler does not support '-march=native' [...] ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: bin/afsrv_encode PR: 254234 Reported by: mikael Changes: head/multimedia/arcan/Makefile head/multimedia/arcan/distinfo
A commit references this bug: Author: jbeich Date: Fri Mar 12 10:37:43 UTC 2021 New revision: 568165 URL: https://svnweb.freebsd.org/changeset/ports/568165 Log: MFH: r568164 multimedia/arcan: unbreak on aarch64 (encode) disabled, lzma not found [...] Determining if the function lzma_auto_decoder exists in the /usr/lib/liblzma.so failed with the following output: c++: error: the clang compiler does not support '-march=native' [...] ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: bin/afsrv_encode PR: 254234 Reported by: mikael Changes: _U branches/2021Q1/ branches/2021Q1/multimedia/arcan/Makefile branches/2021Q1/multimedia/arcan/distinfo