Opened 10 years ago
Closed 9 years ago
#44444 closed defect (fixed)
gnutls fails to build when nawk is installed
Reported by: | dhelrod@… | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | gnutls |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Just got a new MacBook Air for work. It is running OSX 10.9.4.
I tried to install various packages which failed due to gnutls problem. I did a "port clean gnutls" followed by "port install gnutls" and got:
...
---> Attempting to fetch gnutls-3.3.5_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnutls ---> Fetching distfiles for gnutls ---> Verifying checksums for gnutls ---> Extracting gnutls ---> Applying patches to gnutls ---> Configuring gnutls Error: Failed to configure gnutls, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.3.5/config.log Error: org.macports.configure for port gnutls returned: configure failure: command execution failed Please see the log file for port gnutls for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gnutls failed
I have attached the log file mentioned above.
I was surprised to not see other tickets related to this problem...
Attachments (2)
Change History (9)
Changed 10 years ago by dhelrod@…
comment:1 Changed 10 years ago by dhelrod@…
The whole install attempt was:
bash-3.2# port install gnutls ---> Computing dependencies for gnutls ---> Configuring gnutls Error: Failed to configure gnutls, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.3.5/config.log Error: org.macports.configure for port gnutls returned: configure failure: command execution failed Please see the log file for port gnutls for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gnutls failed bash-3.2# port clean Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/delrod"). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. bash-3.2# port clean gnutls ---> Cleaning gnutls bash-3.2# port install gnutls ---> Computing dependencies for gnutls ---> Fetching archive for gnutls ---> Attempting to fetch gnutls-3.3.5_1.darwin_13.x86_64.tbz2 from http://packages.macports.org/gnutls ---> Attempting to fetch gnutls-3.3.5_1.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/gnutls ---> Attempting to fetch gnutls-3.3.5_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnutls ---> Fetching distfiles for gnutls ---> Verifying checksums for gnutls ---> Extracting gnutls ---> Applying patches to gnutls ---> Configuring gnutls Error: Failed to configure gnutls, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.3.5/config.log Error: org.macports.configure for port gnutls returned: configure failure: command execution failed Please see the log file for port gnutls for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gnutls/gnutls/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gnutls failed bash-3.2#
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dhelrod@… removed |
---|---|
Description: | modified (diff) |
Keywords: | clang removed |
Owner: | changed from macports-tickets@… to mschamschula@… |
The log says:
:info:configure nawk: syntax error at source line 1 source file ./confqlsb2a/subs.awk :info:configure context is :info:configure >>> BEGIN <<< { :info:configure nawk: bailing out at source line 1105
Many ports fail to configure when nawk is installed but gawk is not installed. nawk doesn't seem to be a very competent awk implementation... Please either install gawk or uninstall nawk. We should add conflicts_build nawk
to this port, as we've done to many other ports already.
comment:3 Changed 10 years ago by neverpanic (Clemens Lang)
You can also build in trace mode, using sudo port -t install gnutls
, to work around this issue.
comment:4 Changed 10 years ago by dhelrod@…
That works! It is amazing the number of ports that depend on gnutls.
Thank you! David
comment:5 Changed 10 years ago by neverpanic (Clemens Lang)
Summary: | Failed to install gnutls → gnutls fails to build when nawk is installed |
---|
We should use the conflicts_build
PortGroup and add a build-time conflict with nawk
.
comment:6 Changed 10 years ago by danielluke (Daniel J. Luke)
or maybe force the build to use system awk? (like we do for apr).
comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
main.log for gnutls install failure