Opened 8 years ago

Closed 8 years ago

#52847 closed defect (worksforme)

p5.24-perlmagick: clang: error: unknown argument: '-fstack-protector-strong'

Reported by: FredMaris (Frédéric Maris) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: p5-perlmagick

Description

Hello,

I got this error while trying to upgrade AMC :

--->  Building p5.24-perlmagick
Error: org.macports.build for port p5.24-perlmagick returned: command execution failed
Please see the log file for port p5.24-perlmagick for details:
/opt/local/var/macport /logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-perlmagick/p5.24-perlmagick/main.log
Error: Unable to upgrade port: 1

Anybody knows what I should do ?

Thanks !

Fred

Attachments (2)

main.log (6.5 KB) - added by FredMaris (Frédéric Maris) 8 years ago.
main.log.zip (20.1 KB) - added by FredMaris (Frédéric Maris) 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by FredMaris (Frédéric Maris)

Attachment: main.log added

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign
Status: newassigned
Summary: Error: org.macports.build for port p5.24-perlmagick returnedp5.24-perlmagick: clang: error: unknown argument: '-fstack-protector-strong'

This problem does not happen for me so I suspect a problem on your system.

The log is not from a clean build. Please clean and try again.

Also please let us know what version of clang and Xcode you have.

comment:2 Changed 8 years ago by FredMaris (Frédéric Maris)

Thank you. Now, I upgraded to macOS Sierra (from Yosemite), to last version of Xcode (8.1), to last version of MacPorts (2.3.4-10.12-Sierra), then uninstall all ports. The problem with p5.24-perlmagick is now resolved (I can install!), but I have the same problem with opencv (even if I clean the port) :-(

Last edited 8 years ago by FredMaris (Frédéric Maris) (previous) (diff)

Changed 8 years ago by FredMaris (Frédéric Maris)

Attachment: main.log.zip added

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: assignedclosed

We should have a single issue in each ticket. Since you're no longer experiencing the -fstack-protector-strong issue with p5-perlmagick, I'll close this ticket.

The opencv issue is #52328.

Note: See TracTickets for help on using tickets.