Opened 6 years ago

Last modified 6 years ago

#51153 new defect

Error: Failed to install p5.22-html-parser on Yosemite

Reported by: galen.oneil@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: p5.22-html-parser


Attachments (1)

main.log (4.3 KB) - added by galen.oneil@… 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by galen.oneil@…

Attachment: main.log added


comment:1 Changed 6 years ago by galen.oneil@…

It wont let me go back to modify the description. I'm trying to install demeter, but getting an error related to p5.22-html-parser. I attached what I think is the correct log file.

comment:2 Changed 6 years ago by ryandesign (Ryan Schmidt)

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.

Note: See TracTickets for help on using tickets.