[MacPorts] #57955: gawk: Library not loaded: /opt/local/lib/libreadline.7.dylib
MacPorts
noreply at macports.org
Sun Jan 27 15:46:51 UTC 2019
#57955: gawk: Library not loaded: /opt/local/lib/libreadline.7.dylib
-----------------------+--------------------
Reporter: similate | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: wontfix | Keywords:
Port: gawk |
-----------------------+--------------------
Comment (by Schamschula):
Replying to [comment:14 ryandesign]:
> Replying to [comment:13 Schamschula]:
> > The problem seems to be with the rebuild order. As previously
mentioned, {{{gawk}}} was revision bumped after the {{{readline}}} update.
> >
> > However, if any other package is rebuilt that uses {{{gawk}}} anywhere
in the process, before {{{gawk}}} itself is updated, we run into this
problem.
>
> Yes, that's correct.
>
> > When using {{{postmaster}}} in FreeBSD the rebuild/update is done
recursively, insuring that build dependencies and dependencies are all up
to date.
>
> I am not familiar with FreeBSD ports, but the point is that in MacPorts,
gawk is ''not'' a declared dependency of the ports where this problem is
encountered. These ports use gawk opportunistically, as a consequence of
the fact that they use an autotools build system.
Indeed, most {{{./configure}}} scripts will favor {{{gawk}}} over macOS
{{{awk}}}, as the script will discover {{{gawk}}} first and go with it.
Right now FreeBSD is still using {{{readline}}} 7.0.5, but has already
upgraded {{{bash}}} to 5.0.2. As I have {{{gawk}}} installed, I will
observe how the update proceeds, when they do update {{{readline}}}.
It looks like they do something to deal with {{{awk}}} vs {{{gawk}}}. This
morning I upgraded {{{pkgconf}}} and saw
{{{checking for gawk... (cached) /usr/bin/awk}}}
Nothing in the package's {{{Makefile}}} (yes, they use Makefiles instead
of Portfiles...), or any global config file I could find.
--
Ticket URL: <https://trac.macports.org/ticket/57955#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list