Opened 2 years ago

Last modified 2 years ago

#66044 closed defect

ncdu: rev-upgrade still fails after three tries — at Version 1

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 (1)

comment:1 Changed 2 years ago by reneeotten (Renee Otten)

Description: modified (diff)
Note: See TracTickets for help on using tickets.