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 20:21:17 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 barracuda156):

 Replying to [comment:10 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.

 Thank you for checking!

 > 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.

 For w/e reason, `rsync` 3.2.3 builds fine though. Nothing else changed, I
 just took an earlier portfile.

-- 
Ticket URL: <https://trac.macports.org/ticket/65034#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list