[MacPorts] #51153: Error: Failed to install p5.22-html-parser on Yosemite

MacPorts noreply at macports.org
Thu Apr 14 16:57:23 PDT 2016

#51153: Error: Failed to install p5.22-html-parser on Yosemite
  Reporter:  galen.oneil@…      |      Owner:  macports-tickets@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.4
Resolution:                     |   Keywords:
      Port:  p5.22-html-parser  |

Comment (by ryandesign@…):

 The log shows the error is:

 clang: error: unknown argument: '-fstack-protector-strong'

 But the log is also
 incomplete]. Please `sudo port clean p5.22-html-parser`, then try again.

 If you get the same error again, what version of Xcode do you have? The
 `-fstack-protector-strong` flag is coming not from the HTML::Parser module
 but from the perl5.22 port. I assume the compiler used to build the
 perl5.22 port supports that flag, and it was therefore added to the list
 of flags used to compile all modules. But the compiler you are using now
 does not support that flag. This implies that either you built perl5.22,
 then downgraded Xcode (seems unlikely), or you got perl5.22 from our
 Yosemite build server (which is running Xcode 6.4) but are now building
 p5.22-html-parser with an older version of Xcode. If so, the solution is
 to upgrade Xcode and the command line developer tools.

Ticket URL: <https://trac.macports.org/ticket/51153#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X

More information about the macports-tickets mailing list