Opened 20 months ago

Last modified 20 months 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

Description


Attachments (1)

main.log (4.3 KB) - added by galen.oneil@… 20 months ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-html-parser/p5.22-html-parser/main.log

Download all attachments as: .zip

Change History (3)

Changed 20 months ago by galen.oneil@…

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-html-parser/p5.22-html-parser/main.log

comment:1 Changed 20 months 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 20 months 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.