#66044 closed defect (fixed)

ncdu: rev-upgrade still fails after three tries

Reported by: reneeotten (Renee Otten) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: judaew (Vadym-Valdis Yudaiev)
Port: ncdu

Description (last modified by reneeotten (Renee Otten))

The recent 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.

Change History (2)

comment:1 Changed 18 months ago by reneeotten (Renee Otten)

Description: modified (diff)

comment:2 Changed 18 months ago by Vadym-Valdis Yudaiev <judaew@…>

Resolution: fixed
Status: assignedclosed

In 806e8e2cb77322e1c1c7d013307ac70a99c6afff/macports-ports (master):

ncdu: Use MacPorts' version of ncurses

Closed: #66044

Note: See TracTickets for help on using tickets.