[MacPorts] #32641: Build of gdbm fails
MacPorts
noreply at macports.org
Fri Dec 23 06:18:37 PST 2011
#32641: Build of gdbm fails
-------------------------------+--------------------------------------------
Reporter: j.renz@… | Owner: cal@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: gdbm
-------------------------------+--------------------------------------------
Changes (by cal@…):
* status: new => assigned
* owner: macports-tickets@… => cal@…
Old description:
> This error happens with both compilers
>
> sudo port install gdbm configure.compiler=llvm-gcc-4.2
> ---> Computing dependencies for gdbm
> ---> Fetching archive for gdbm
> ---> Attempting to fetch gdbm-1.10_1.darwin_11.x86_64.tbz2 from
> http://packages.macports.org/gdbm
> ---> Fetching gdbm
> ---> Verifying checksum(s) for gdbm
> ---> Extracting gdbm
> ---> Configuring gdbm
> Error: Target org.macports.configure returned: configure failure: shell
> command failed (see log for details)
> Log for gdbm is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_gdbm/gdbm/main.log
> Error: Status 1 encountered during processing.
New description:
This error happens with both compilers
{{{
sudo port install gdbm configure.compiler=llvm-gcc-4.2
---> Computing dependencies for gdbm
---> Fetching archive for gdbm
---> Attempting to fetch gdbm-1.10_1.darwin_11.x86_64.tbz2 from
http://packages.macports.org/gdbm
---> Fetching gdbm
---> Verifying checksum(s) for gdbm
---> Extracting gdbm
---> Configuring gdbm
Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)
Log for gdbm is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_gdbm/gdbm/main.log
Error: Status 1 encountered during processing.
}}}
--
Comment:
Please remember to use WikiFormatting when pasting shell output into a
ticket.
The problem is apparently caused by gdbm's configure script detecting your
nawk install, which it prefers over /usr/bin/awk. However, I cannot
reproduce your problem with the current nawk from MacPorts installed,
although configure picks it up correctly. Can you attach the config.log?
A quickfix for your problem would probably be to uninstall nawk or install
mawk or gawk, because those are preferred over nawk in gdbm's configure.
--
Ticket URL: <https://trac.macports.org/ticket/32641#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list