Opportunistic (broken) build dependencies? (gdbm)

Mojca Miklavec mojca at macports.org
Tue Apr 25 09:45:24 UTC 2017


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?

Mojca


More information about the macports-dev mailing list