Re: [MacPorts] #65034: rsync fails to upgrade to @3.2.4 on 10.6.8 when building as ppc error: pointer targets in passing argument 2 of ‘getgroups’ differ in signedness
MacPorts
noreply at macports.org
Sat Jul 16 19:19:36 UTC 2022
#65034: rsync fails to upgrade to @3.2.4 on 10.6.8 when building as ppc error:
pointer targets in passing argument 2 of ‘getgroups’ differ in signedness
---------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, snowleopard, rosetta
Port: rsync |
---------------------------+-------------------------------------------
Comment (by ryandesign):
Replying to [comment:8 barracuda156]:
> Any idea how to fix it?
I was hoping to see some kind of compiler error or warning in the
config.log relating to the "checking type of array argument to getgroups"
test in the config.log, but I don't see anything like that in there, so
no, I don't have any ideas.
As I said earlier, the check for `getgroups` is implemented in a standard
autoconf macro `AC_TYPE_GETGROUPS`, so if it's giving the wrong value,
then that's where the fix is needed (in
[https://www.gnu.org/software/autoconf/ autoconf]); it's not something
specific to rsync.
We can of course apply a band-aid over the problem in MacPorts by forcing
the correct value of this check in the rsync port, but any other ports
that use the same check would be affected as well and would then need that
same band-aid.
--
Ticket URL: <https://trac.macports.org/ticket/65034#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list