[MacPorts] #63669: rsync-hfscomp: fix compile error on Big Sur ARM, due to gettimeofday() detection in configure script (was: rsync-hfscomp: fix compile error on Big Sur, due to faulty gettimeofday() detection in configure script)

MacPorts noreply at macports.org
Mon Oct 25 11:00:16 UTC 2021


#63669: rsync-hfscomp: fix compile error on Big Sur ARM, due to gettimeofday()
detection in configure script
----------------------------+----------------------
  Reporter:  mascguy        |      Owner:  mascguy
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  rsync-hfscomp  |
----------------------------+----------------------
Description changed by mascguy:

Old description:

> 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 the ARM builder:
>
> {{{
> [...]
> 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.

New description:

 This new port is failing to build on Big Sur ARM, as the configure script
 is failing to detect the two-arg version of gettimeofday(). Interestingly
 enough, though, this is ONLY occurring for Big Sur ARM; Intel is working
 just fine, though.

 Example configure output, from the builder:

 {{{
 [...]
 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.

--

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


More information about the macports-tickets mailing list