Opened 3 weeks ago

#70646 assigned defect

ripgrep @14.1.0: Missing dependency on libiconv

Reported by: Tblue (Tilman Blumenbach) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: Cc: herbygillot (Herby Gillot)
Port: ripgrep

Description

I just tried to install ripgrep on a fresh MacPorts installation, and it failed:

# port install -v ripgrep
[...trimmed...]
--->  Installing ripgrep @14.1.0_0
--->  Activating ripgrep @14.1.0_0
[...trimmed...]
--->  Scanning binaries for linking errors
Could not open /opt/local/lib/libiconv.2.dylib: Error opening or reading file (referenced from /opt/local/bin/rg)
--->  Found 1 broken file, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: ripgrep @14.1.0
Continue? [Y/n]: n

Installing the libiconv port fixed the issue, so it looks like there's a missing dependency that needs to be mentioned in the Portfile of ripgrep.


  • macOS 14.6.1
  • Xcode command-line tools only, v 15.3.0.0.1.1708646388

Change History (0)

Note: See TracTickets for help on using tickets.