Opportunistic (broken) build dependencies? (gdbm)

Mojca Miklavec mojca at macports.org
Tue Apr 25 09:57:07 UTC 2017


On 25 April 2017 at 11:45, Mojca Miklavec wrote:
> Hi,
>
> I just experienced a failure to build gdbm during "port upgrade outdated".
>
> The reason: configure checks for
>      for ac_prog in gawk mawk nawk awk
> and then calls "gawk" which is temporarily broken due to readline
> which has been upgraded some seconds before (while gawk wasn't yet).
> But gawk is not listed as build dependency, so MacPorts didn't know
> that gawk should be updated first.
>
> What's the best solution in such cases?
>
> Adding:
>      configure.env-append AWK=/usr/bin/awk
>
> Or add a build dependency on gawk?

The same problem when updating clisp. At which point I just "gave up"
and update gawk before running "port upgrade outdated" again.

Mojca


More information about the macports-dev mailing list