#62746 closed defect (fixed)
gnutls @3.6.15 Failed to configure gnutls: autoreconf failure
Reported by: | nhchan | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | Schamschula (Marius Schamschula) | |
Port: | gnutls |
Description
Intalling gnutls
failed with the following error message:
Error: Failed to configure gnutls: autoreconf failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gnutls/gnutls/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port gnutls failed
It initially showed up during an update, but after a lot of issues, I decided to try installing on a blank slate (i.e., just running sudo port install gnutls
with no other ports installed on the machine). It installed a bunch a dependencies, but when it arrives at gnutls
, it failed with the same error.
The main.log
is attached.
Thanks!
Attachments (1)
Change History (6)
Changed 4 years ago by nhchan
comment:1 Changed 4 years ago by Schamschula (Marius Schamschula)
comment:2 follow-up: 5 Changed 4 years ago by Schamschula (Marius Schamschula)
It looks like trace mode does not hide gtkdocize
during autoreconf
. Thus, I never ran into this issue.
gtk-doc
needs to be present for autoreconf
to work, even for the -doc
variant. That, on the other hand causes a possibly unneeded package to be installed.
I'm not sure if autoreconf
is still needed at this point.
comment:3 Changed 4 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 4 years ago by jmroot (Joshua Root)
Port: | gnutls added |
---|
comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to Schamschula:
I'm not sure if
autoreconf
is still needed at this point.
It was originally added in 2013 because at that time the glibtool bundled with gnutls did not pass on the -stdlib
flag, so builds would fail if we were building for a different stdlib than the default (e.g. with libc++ on Mac OS X 10.6-10.8).
Looking at the log now, I see that the -stdlib
flag is being passed on, even without autoreconf, so I guess gnutls has updated its bundled glibtool to a fixed version since then.
It looks like
autoreconf
does not know that thedoc
variant is unselected.I will need to further investigate.