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

MacPorts noreply at macports.org
Tue Oct 26 11:43:04 UTC 2021


#63669: rsync-hfscomp: fix compile error on Big Sur, 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 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.

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

--

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


More information about the macports-tickets mailing list