#44846: icu @53.1_1 __PREFIX__ not replaced after patch ----------------------+-------------------------------- Reporter: zan@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: haspatch Port: icu | ----------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => invalid Comment: Replying to [ticket:44846 zan@…]:
Upgrading icu to version 53.1_1 completes without error, but after activation MacPorts scans the installed binaries for link errors and the following error shows:
{{{ ---> Updating database of binaries ---> Scanning binaries for linking errors Could not open __PREFIX__/lib/libicudata.53.dylib: Error opening or reading file (referenced from /opt/local/bin/derb) Could not open __PREFIX__/lib/libicuuc.53.dylib: Error opening or reading file (referenced from /opt/local/bin/derb) Could not open __PREFIX__/lib/libicui18n.53.dylib: Error opening or reading file (referenced from /opt/local/bin/derb) Could not open __PREFIX__/lib/libicutu.53.dylib: Error opening or reading file (referenced from /opt/local/bin/derb) Could not open __PREFIX__/lib/libicuio.53.dylib: Error opening or reading file (referenced from /opt/local/bin/derb) Could not open __PREFIX__/lib/libicule.53.dylib: Error opening or reading file (referenced from /opt/local/lib/libiculx.53.1.dylib) ---> Found 85 broken file(s), matching files to ports ---> Found 1 broken port(s): icu @53.1 -doc }}}
Your log output suggests that your `icu` is not actually @53.1_1. That version of the `icu` port does //not// insert “`__PREFIX__`” into `config /mh-darwin`, so your patch would not actually do anything. Please run: {{{ % sudo port selfupdate % sudo port -f uninstall icu and installed % sudo port install icu % sudo port unsetrequested icu }}} -- Ticket URL: <https://trac.macports.org/ticket/44846#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X