[MacPorts] #57134: autogen @5.18.14: build fails on 10.13 due to error: no member named 'st_mtim' in 'struct stat'

MacPorts noreply at macports.org
Mon Sep 17 13:44:15 UTC 2018


#57134: autogen @5.18.14: build fails on 10.13 due to error: no member named
'st_mtim' in 'struct stat'
----------------------+------------------------
  Reporter:  kencu    |      Owner:  ryandesign
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:  fixed    |   Keywords:
      Port:  autogen  |
----------------------+------------------------

Comment (by ryandesign):

 Replying to [comment:5 kencu]:
 > for `5.18.16` the guile patch doesn't apply, so I disabled it for now.

 5.18.16 includes guile 2.2 support so our patch and our `notes` are no
 longer needed.

 > re: the `mktemp` issue, I see we already have `gmktemp` in `coreutils`,
 and this port already depends on `coreutils`, so the trick is to force it
 to use `gmktemp` instead of `mktemp`. Unfortunately it looks like there is
 no way to do that in a simple configure force, as `mktemp` is not tested
 the way other applications like `SED` are tested, and you can't just
 override it. So I just batch replaced them all in the port.

 Oh, I didn't notice that the port already depended on coreutils. In that
 case, we can certainly use `gmktemp` until upstream sorts out their
 portability issues. It should only be necessary to patch those invocations
 of `mktemp` that use `--suffix`.

 > Sadly, even after that, `5.18.16` fails to build:
 > {{{
 > make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_autogen/autogen/work/autogen-5.18.16/columns'
 > top_builddir=.. \
 >
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_autogen/autogen/work/autogen-5.18.16/agen5/autogen
 -L../autoopts/tpl -L../autoopts/tpl -MFstamp-agtexi -Tagtexi-cmd.tpl
 -DLEVEL=section --timeout=`expr 16 '*' 3` ./opts.def
 > Could not decipher Guile version: n
 > }}}

 I don't see that problem. Do you have guile @2.2.4_0 installed? Try
 [https://github.com/macports/macports-ports/pull/2589 this PR]?

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


More information about the macports-tickets mailing list