Install amavisd-new fails to build pre-req p5.12-mail-clamav

Ryan Schmidt ryandesign at macports.org
Sat Mar 29 03:09:34 PDT 2014


On Mar 29, 2014, at 01:53, Horst Simon wrote:

> I try to install amavisd-new and when it is building p5.12-mail-clamav in the pre requisites, it fails with the make command, with an invalid option
> 
> :info:build clang: error: unknown argument: '-R/opt/local/lib' [-Wunused-command-line-argument-hard-error-in-future]
> :info:build clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
> 
> Is there a possible workaround to disable or change it to the new option.
> 
> I am using OS/X Maverick 10.9.2 witch latest Xcode and command line tools from March 2014. I am too have attached the log file main.log for this error.

The latest command line tools include a newer version of clang that’s stricter about unused arguments. Where before it was only a warning, now it is an error.

You should file a bug report in the issue tracker.



More information about the macports-users mailing list