[MacPorts] #66163: muniversal does not work properly with the new /usr/bin/diff that ships with Ventura

MacPorts noreply at macports.org
Fri Nov 11 16:25:28 UTC 2022


#66163: muniversal does not work properly with the new /usr/bin/diff that ships
with Ventura
------------------------+---------------------------------
  Reporter:  Zeta-0x00  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.0
Resolution:             |   Keywords:  ventura
      Port:  gmp        |
------------------------+---------------------------------

Comment (by kencu):

 installing diffutils and editing the two muniversal portgroups takes 30
 seconds and you're on your way for the moment, if this is mission-critical
 for you.

 the permanent fix requires some admin decisions.

 Should all systems use the new diff, or just Ventura+? Best to have
 everything the same, but why change something that has been working all
 these years... so probably just Ventura+.

 The current diffutils port has way too many deps due to a reliance on
 "xz". Can we eliminate all those if we assume we're building on Ventura+,
 where xz is presumably available and new enough?
 {{{
 % port rdeps diffutils
 The following ports are dependencies of diffutils @3.8_0:
   xz
     gettext
       libiconv
         gperf
       libtextstyle
         ncurses
       gettext-runtime
       gettext-tools-libs
 }}}

 Even if xz is removed somehow, we need a sequestered gettext as well to
 build diffutils, which brings in another ton of deps -- that is a pain.
 Can we somehow eliminate that dependency, perhaps by using the system
 libs?

 {{{
 % port rdeps diffutils
 The following ports are dependencies of diffutils @3.8_0:
   gettext
     libiconv
       gperf
     libtextstyle
       ncurses
     gettext-runtime
     gettext-tools-libs
 }}}

 Should we install all of diffutils, or just "diff" which is all we
 currently require? Just diff would be much smaller and simpler to manage.

-- 
Ticket URL: <https://trac.macports.org/ticket/66163#comment:23>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list