[MacPorts] #72016: di does not build with Xcode gcc

MacPorts noreply at macports.org
Fri Feb 7 20:50:03 UTC 2025


#72016: di does not build with Xcode gcc
---------------------------+-------------------------
  Reporter:  barracuda156  |      Owner:  Schamschula
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:  powerpc
      Port:  di            |
---------------------------+-------------------------
Changes (by ryandesign):

 * keywords:   => powerpc


Comment:

 It's only a PPC issue in the sense that on PPC a gcc that evidently does
 not understand these flags is used whereas on Intel a clang that
 understands these flags is used. The issue should be reported upstream so
 that they only add flags that the compiler supports.

 I too noticed that builds fail to fail properly. This will be a
 consequence of the way that the makefile is implemented and could be
 reported upstream. It will become a nonissue once we avoid the makefile
 and call cmake directly, but currently that cannot be done without adding
 a bunch of cmake flags that the makefile sets. We can add those to the
 portfile as configure.args but then it becomes our responsibility to
 maintain the synchronization between what's in the makefile and what's in
 the portfile which is undesirable. Upstream needs to make the cmake build
 system self-contained, not reliant on a wrapper makefile, as I already
 tried to report to upstream.

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


More information about the macports-tickets mailing list