[MacPorts] #66044: ncdu: rev-upgrade still fails after three tries

MacPorts noreply at macports.org
Sat Oct 22 00:57:27 UTC 2022


#66044: ncdu: rev-upgrade still fails after three tries
-------------------------+----------------------
  Reporter:  reneeotten  |      Owner:  nerdling
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:
      Port:  ncdu        |
-------------------------+----------------------
Description changed by reneeotten:

Old description:

> The recent [changeset:eab986e41d01d3449b616782282d950b23b4b1be/macports-
> ports update] of {{{ncdu}}} broke the installation at least on 10.15.7.
> It tries to upgrade the port, then realizes it is broken when running
> {{{rev-upgrade}}}, tries to rebuild and fails in all three attempts.
>
> Error appears to be:
> {{{
> Incompatible library version: /opt/local/bin/ncdu requires version 5.40.0
> or later, but /usr/lib/libncurses.5.4.dylib provides version 5.4.0
> DEBUG: Marking /opt/local/bin/ncdu as broken
> --->  Found 1 broken file, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> DEBUG: Broken: ncdu
> DEBUG: Processing port ncdu @0:2.2_0
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt: ncdu @2.2
> }}}

New description:

 The recent [changeset:eab986e41d01d3449b616782282d950b23b4b1be/macports-
 ports update] of {{{ncdu}}} broke the installation at least on 10.15.7.
 It tries to upgrade the port, then realizes it is broken when running
 {{{rev-upgrade}}}, tries to rebuild and fails in all three attempts.

 Error appears to be:
 {{{
 Incompatible library version: /opt/local/bin/ncdu requires version 5.40.0
 or later, but /usr/lib/libncurses.5.4.dylib provides version 5.4.0
 DEBUG: Marking /opt/local/bin/ncdu as broken
 --->  Found 1 broken file, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 DEBUG: Broken: ncdu
 DEBUG: Processing port ncdu @0:2.2_0
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: ncdu @2.2
 }}}

 It links to
 {{{
 > otool -L /opt/local/bin/ncdu
 /opt/local/bin/ncdu:
         /usr/lib/libncurses.5.4.dylib (compatibility version 5.40.0,
 current version 5.40.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1292.60.1)
 }}}

 which doesn't look right - it should like use the MacPorts' version of
 {{{ncurses}}} as it declares a dependency on that port.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/66044#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list