To run `make packages' on macOS (cross compiling) we need a pkg(8) compiled and running on macOS.
This patch fixes a compile issue with memrchr for curl and sql long mapping.
see also
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288165
Differential D54529
macOS patches for freebsd/pkg Authored by wosch on Mon, Jan 5, 3:41 PM. Tags None Referenced Files
Subscribers None
Details
To run `make packages' on macOS (cross compiling) we need a pkg(8) compiled and running on macOS. This patch fixes a compile issue with memrchr for curl and sql long mapping. see also here is a script to test the build on macoOS on FreeBSDgit clone https://github.com/freebsd/pkg
Diff Detail
Event TimelineComment Actions there was a CI for macos, but because libatf and kyua broke, we removed mac for the ci. Note this is how we configure pkg on macos in the ci: https://github.com/freebsd/pkg/blob/main/.github/workflows/build.yaml#L143 Comment Actions I have readded the macos CI and fix the code that needs fixing, I still consider we should use the installed libcurl when building on macos so I haven't fixed the libcurl part. Comment Actions I checked the latest version of https://github.com/freebsd/pkg and it works out-of-the-box on macOS 14/15/26 (arm + intel) with all clang versions 17 (system), 19,20,21 brew install autoconf automake libtool pkg-config libarchive openssl@3 Closing the review, many thanks! |