[MacPorts] #68662: Ensure the default dependency is active, not a path-based alternative

MacPorts noreply at macports.org
Wed Nov 8 22:48:10 UTC 2023


#68662: Ensure the default dependency is active, not a path-based alternative
---------------------------+---------------------
 Reporter:  ryandesign     |      Owner:  admin@…
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  buildbot/mpbb  |    Version:
 Keywords:                 |       Port:
---------------------------+---------------------
 asl failed to build:

 https://build.macports.org/builders/ports-
 11_arm64-builder/builds/107433/steps/install-port/logs/stdio

 {{{
 dyld: Library not loaded: /opt/local/lib/libicui18n.73.dylib
   Referenced from: /opt/local/lib/libxml2.2.dylib
   Reason: image not found
 }}}

 icu-devel was just updated to 74.1. icu is still at version 73.2.

 Nothing in asl's dependency chain depends on icu-devel. (I can't find any
 port that does.) Yet apparently icu-devel, not icu, was active.

 [https://build.macports.org/builders/ports-11_arm64-builder/builds/107431
 The build preceding this one] is where the commit that updated icu-devel
 was handled. icu was deactivated, icu-devel was built.

 Is this a bug in mpbb? libxml2 depends on `path:lib/pkgconfig/icu-
 uc.pc:icu` so icu-devel satisfies it but since icu's install_name keeps
 changing with each major release it's not really a drop-in replacement.
 Maybe mpbb should ensure that the default dependency (in this case icu) is
 active, and not one of the path-based alternatives?

 Or is the bug that ports like icu whose install_name keeps changing should
 not be depended upon using `path:`-based depspecs?

-- 
Ticket URL: <https://trac.macports.org/ticket/68662>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list