[MacPorts] #48682: libedit build fails because is opportunistically uses gawk which links with readline which is still linked with libncurses.5

MacPorts noreply at macports.org
Sat Sep 5 15:38:48 PDT 2015


#48682: libedit build fails because is opportunistically uses gawk which links with
readline which is still linked with libncurses.5
------------------------------+--------------------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  closed
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:  wontfix          |   Keywords:
      Port:  libedit          |
------------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Replying to [comment:2 mail_commercial@…]:
 > It seems that the tree of dependencies is wrong : when I typed "port
 upgrade outdated", the first port to be built was libedit whereas readline
 was also outdated and libedit depends on readline.

 libedit does not depend on readline. But libedit, like thousands of other
 ports, uses a configure script. And part of the boilerplate that autotools
 bakes into every configure script is to locate a gawk implementation. The
 first one it checks for is gawk, so if the gawk port happens to be
 installed, a configure script will try to use that. gawk depends on
 readline, and if you have upgraded ncurses but haven't upgraded readline
 to use the new ncurses, then gawk will be broken.

 I don't know of a good way to fix this. We don't really want to add
 unnecessary gawk dependencies to thousands of ports. So I think we'll
 handle this as a user education issue for now and not make any change to
 the ports, though I may add a ProblemHotlist entry.

-- 
Ticket URL: <https://trac.macports.org/ticket/48682#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list