Opened 3 years ago

Closed 2 years ago

#63669 closed defect (fixed)

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: pending 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 (5)

comment:1 Changed 3 years 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 years ago by mascguy (Christopher Nielsen)

EDIT: This is failing consistently on Big Sur, for both Intel and ARM.

Last edited 3 years ago by mascguy (Christopher Nielsen) (previous) (diff)

comment:3 Changed 3 years 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

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

Keywords: pending added

comment:5 Changed 2 years ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In 551ec967b8a3f1be934bb9d56fb89d182338578d/macports-ports (master):

rsync-hfscomp: fix gettimeofday for big sur/monterey
Fixes: #63669

Note: See TracTickets for help on using tickets.