Opened 3 months ago

Last modified 3 months ago

#63669 assigned defect

rsync-hfscomp: fix compile error on Big Sur, due to gettimeofday() detection in configure script

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: rsync-hfscomp

Description (last modified by mascguy (Christopher Nielsen))

This new port is failing to build on Big Sur, as the configure script is failing to detect the two-arg version of gettimeofday()

Example configure output, from one of the Big Sur builders:

[...]
checking if gettimeofday takes tz argument... no
[...]

With the result being a later compilation error, due to attempted use of gettimeofday() with a single argument.

https://build.macports.org/builders/ports-11_arm64-builder/builds/31657/steps/install-port/logs/stdio

Still reviewing configure.ac from later upstream releases, to see what I'm missing.

Change History (3)

comment:1 Changed 3 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)
Summary: rsync-hfscomp: fix compile error on Big Sur, due to faulty gettimeofday() detection in configure scriptrsync-hfscomp: fix compile error on Big Sur ARM, due to gettimeofday() detection in configure script

comment:2 Changed 3 months ago by mascguy (Christopher Nielsen)

Does anyone have any idea why this would be failing exclusively on ARM?

Based on past tickets, gettimeofday() detection typically fails consistently.

Version 0, edited 3 months ago by mascguy (Christopher Nielsen) (next)

comment:3 Changed 3 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)
Summary: rsync-hfscomp: fix compile error on Big Sur ARM, due to gettimeofday() detection in configure scriptrsync-hfscomp: fix compile error on Big Sur, due to gettimeofday() detection in configure script
Note: See TracTickets for help on using tickets.