macOS has a recent-enough shared-library version of libarchive (used by the client) as part of the macOS standard distribution. In order to compile, we need the include files that match this version, specifically archive.h and archive_entry.h. The build file srcML/src/client/macos-libarchive.cmake handles this by mapping from the macOS version to the libarchive version. There needs to be an entry for Sonoma.
The client tests have specific tests for dependencies needed by the client tests. One of these, srcML/test/client/testsuite/dependency_iconv.sh is for iconv. The test is just the command iconv --help. In macOS previous to Sonoma, this worked fine, and it appears that macOS may have used the GNU version. However, in Sonoma they seem to have changed to the BSD version. Replacing this test with another option, i.e., iconv -l, would work.
This is due to 2 problems:
iconv
. The test is just the commandiconv --help
. In macOS previous to Sonoma, this worked fine, and it appears that macOS may have used the GNU version. However, in Sonoma they seem to have changed to the BSD version. Replacing this test with another option, i.e.,iconv -l
, would work.