Opportunistic (broken) build dependencies? (gdbm)

Ryan Schmidt ryandesign at macports.org
Tue Apr 25 22:41:07 UTC 2017


> On Apr 25, 2017, at 04:57, Mojca Miklavec <mojca at macports.org> wrote:
> 
> 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?

So far we've decided to do neither.

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

This is what we've recommended so far.



More information about the macports-dev mailing list