[MacPorts] #51153: Error: Failed to install p5.22-html-parser on Yosemite
#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 Keywords: | Port: p5.22-html-parser ---------------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/51153> MacPorts <https://www.macports.org/> Ports system for OS X
#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 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. -- Ticket URL: <https://trac.macports.org/ticket/51153#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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 [https://guide.macports.org/chunked/project.html#project.tickets 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
participants (1)
-
MacPorts