Created attachment 891015 [details, diff] the proposed patch `deb-libs/protobuf` checks whether the filename of lib matches the `libprotobuf.so.${SLOT#*/}` pattern. However, in a prefix of an `arm64-macos` system, the corresponding filename would be `libprotobuf.${SLOT#*/}.dylib`, which will cause a failure. The package itself compiles well. I propose a patch here to check the `CHOST` variable, and set the corresponding filename accordingly. It will help emerge this file. This bug report may also serve as a keywording request for `protobuf` :)
Created attachment 891016 [details] the build.log
Created attachment 891017 [details] the emerge --info output
it could use libprotobuf$(get_libname(${SLOT})) which is made for this purpose