[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
Sun Sep 16 16:41:26 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 kencu):
Thanks for the background. Something must have changed with `5.18.12` on
High Sierra, because it builds now. But anyway, that fix for `5.18.14` is
just what we needed, and now that works great. Seems I have seen that fix
before, but just didn't recall it yesterday...
for `5.18.16` the guile patch doesn't apply, so I disabled it for now.
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.
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
}}}
so autogen 5.18.16 vs guile will need some more sorting out.
I'll attach the patch I used to replace mktemp with gmktemp pending some
upstream addressing of the issue, if they do.
--
Ticket URL: <https://trac.macports.org/ticket/57134#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list