[MacPorts] #59973: cmake-1.1 portgroup debug variant adds -fno-limit-debug-info before port has a chance to specify compiler

MacPorts noreply at macports.org
Thu Jan 16 23:58:02 UTC 2020


#59973: cmake-1.1 portgroup debug variant adds -fno-limit-debug-info before port
has a chance to specify compiler
------------------------------+------------------------
  Reporter:  TheLastLovemark  |      Owner:  ryandesign
      Type:  defect           |     Status:  accepted
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.2
Resolution:                   |   Keywords:  haspatch
      Port:                   |
------------------------------+------------------------

Comment (by ryandesign):

 Replying to [comment:3 TheLastLovemark]:
 > I was going to ask how to do the {{{pre-configure { ... }}}} block
 solution,

 Well you can look at the PR if you want to know how I did that.

 > but if it could cause problems later on, I'll wait for a more permanent
 solution.

 I don't know if there is any other more permanent solution. It's just that
 portgroups can interact with each other in unexpected ways, such as the
 unexpected way in which the cmake 1.1 portgroup's debug variant here did
 interact unexpectedly with the way that the compilers 1.0 portgroup works.
 I simply don't know if making this change will cause problems for other
 combinations of portgroup or esoteric portfiles. Unless somebody looks at
 my change and can immediately see some way in which it will cause a
 problem, we probably won't know until we merge it and then later get bug
 reports.

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


More information about the macports-tickets mailing list