[MacPorts] #72437: base check for noarch is misleading

MacPorts noreply at macports.org
Mon May 12 07:21:19 UTC 2025


#72437: base check for noarch is misleading
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  base          |    Version:  2.10.6
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------

Comment (by jmroot):

 Replying to [comment:5 ryandesign]:
 > Now I understand. Something in MacPorts base is recommending some ports
 be marked `noarch`, and sometimes the recommendation is wrong, and users
 follow the recommendation without realizing when it is wrong.

 The message isn't phrased as a recommendation of what to do:
 {{{
 --->  Testing testport1
 Warning: testport1 is configured to build for the architecture(s) 'arm64',
 but did not install any Mach-O files.
 }}}

 The problem could just as easily be that the build system silently failed
 to install any binaries, rather than the port needing to be marked as
 noarch. There is an option to disable the test for ports where it isn't
 applicable.

 > Replying to [comment:3 barracuda156]:
 > > Wonder how many more will be broken:
 [80f0e92b4505066dad8e0497868f8966823349e9/macports-ports]
 >
 > That one is addressed in #72466.

 And that one was done based on information from an external tool, not
 base.

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


More information about the macports-tickets mailing list