[MacPorts] #66103: muniversal portgroup header merging doesn't work on Ventura: diff: unrecognized option `--old-group-format=#ifdef __arm64__

MacPorts noreply at macports.org
Tue Nov 8 16:20:39 UTC 2022


#66103: muniversal portgroup header merging doesn't work on Ventura: diff:
unrecognized option `--old-group-format=#ifdef __arm64__
--------------------------------+---------------------
  Reporter:  Morpheus-HH        |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.8.0
Resolution:                     |   Keywords:  ventura
      Port:  libffi, ossp-uuid  |
--------------------------------+---------------------

Comment (by kencu):

 We don't have the source code that Apple has used for diff in Ventura yet;
 I'm not sure why they would have removed this functionality from diff -- I
 can't think of a reason.

 This feature of diff is used in muniversal to branch in different files
 based on arch. It might be hard to get along without it... there are
 hundreds if not thousands of ports that use this now, and who knows what
 breakage there might be without this feature? So we might need gnudiff.

 As diff is used in the muniversal PortGroup, if we're going to dep
 muniversal on diffutils, then nothing in the build tree for diffutils can
 use muniversal or there will be a bootstrap conflict.

 And there are a few things in the rdeps to worry about:

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

 perhaps that list could be trimmed up with some looking for an option that
 doesn't use "xz".

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


More information about the macports-tickets mailing list