Opened 8 years ago

Closed 3 years ago

#52175 closed defect (fixed)

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

Reported by: simon.malinowski@… Owned by: astricker@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: p5-perlmagick

Description (last modified by larryv (Lawrence Velázquez))

Hello,

I got this error while trying to install AMC :

Error: org.macports.build for port p5.22-perlmagick returned: command execution failed
Error: Failed to install p5.22-perlmagick

Anybody knows what I should do ?

Thanks !

Simon

Attachments (2)

main.log (6.4 KB) - added by simon.malinowski@… 8 years ago.
main.2.log (137.4 KB) - added by simon.malinowski@… 8 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to astricker@…
Port: p5-perlmagick added

Please run sudo port clean p5.22-perlmagick, try installing again, and attach the main.log file if it fails. (The path to main.log should be printed in the error output.)

comment:2 Changed 8 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)

Changed 8 years ago by simon.malinowski@…

Attachment: main.log added

comment:3 Changed 8 years ago by simon.malinowski@…

Hello,

I have run sudo port clean p5.22-perlmagick, then reinstall. But still get an error about perlmagick. See attached log file.

Thanks

Simon

comment:4 Changed 8 years ago by dbevans (David B. Evans)

Cc: ryandesign@… added

comment:5 Changed 8 years ago by mf2k (Frank Schima)

The main.log file you attached is not complete. You need to clean just before install.

comment:6 Changed 8 years ago by simon.malinowski@…

Hello,

See below the commands I have run (clean p5.24-perlmagick, then clean auto-multiple-choice, then install p5.24-perlmagick) But still the same error. I attach the new log file.

Thanks a lot, sorry for disturbance,

Simon

impedimenta-wifi:~ smalinow$ sudo port clean p5.24-perlmagick
--->  Cleaning p5.24-perlmagick
impedimenta-wifi:~ smalinow$ sudo port clean auto-multiple-choice
--->  Cleaning auto-multiple-choice
impedimenta-wifi:~ smalinow$ sudo port install p5.24-perlmagick
--->  Computing dependencies for p5.24-perlmagick
--->  Fetching archive for p5.24-perlmagick
--->  Attempting to fetch p5.24-perlmagick-6.9.5-8_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/p5.24-perlmagick
--->  Attempting to fetch p5.24-perlmagick-6.9.5-8_0.darwin_15.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.24-perlmagick
--->  Attempting to fetch p5.24-perlmagick-6.9.5-8_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/p5.24-perlmagick
--->  Fetching distfiles for p5.24-perlmagick
--->  Verifying checksums for p5.24-perlmagick
--->  Extracting p5.24-perlmagick
--->  Configuring p5.24-perlmagick
--->  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/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-perlmagick/p5.24-perlmagick/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port p5.24-perlmagick failed
Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 8 years ago by simon.malinowski@…

Attachment: main.2.log added

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

Summary: Failed to install p5.22-perlmagickp5.24-perlmagick @6.9.5-8: clang: error: unknown argument: '-fstack-protector-strong'

The log shows you're using clang 600.0.57, which is from Xcode 6.2, which is for Yosemite, but the log shows you're on El Capitan. Can you please try upgrading to Xcode 7.3.1, which is for El Capitan? You could also try Xcode 8 which was just released.

Also, please run sudo port selfupdate; I updated ImageMagick and p5-perlmagick to 6.9.5-9.

comment:8 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Current versions appear to have built OK on all platforms. Please reopen if this is still an issue.

Note: See TracTickets for help on using tickets.