Opportunistic (broken) build dependencies? (gdbm)
Marius Schamschula
lists at schamschula.com
Wed Apr 26 00:32:34 UTC 2017
I just added ac_cv_prog_AWK=awk to the configure.args for gdbm, as I did for gawk yesterday.
However, gdbm is not in the dependency chain of gawk, so I don’t know why MacPorts wants to install it before gawk.
> On Apr 25, 2017, at 5:41 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
>>
>> 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.
Marius
--
Marius Schamschula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20170425/1773fb11/attachment.html>
More information about the macports-dev
mailing list