Bug 198029

Summary: mail/spamassassin : fails to configure with gcc-5
Product: Ports & Packages Reporter: John Marino <marino>
Component: Individual Port(s)Assignee: Adam Weinberger <adamw>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (adamw)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
spamassassin build log (all gcc5) none

Description John Marino freebsd_committer freebsd_triage 2015-02-25 12:20:50 UTC
Created attachment 153518 [details]
spamassassin build log (all gcc5)

Using gcc-5 that is in DragonFly base (dev branch), spamassassin fails to configure with this message:

spamc/configure.pl: version.h.pl: Failed to get the version from Mail::SpamAssassin.
Please use the --with-version= switch to specify it manually.

The error was:
version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: "ENOENT" is not exported by the Errno module
 "EACCES" is not exported by the Errno module
 "EEXIST" is not exported by the Errno module


The entire log is attached.
Presumably this can be reproduced in ports by overridding CC with gcc5 but I can't confirm that.

Most perl builds fine.
I don't have a patch yet.  This is basically "fyi, there is a probably somewhere"
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-25 12:20:50 UTC
Auto-assigned to maintainer adamw@FreeBSD.org
Comment 2 John Marino freebsd_committer freebsd_triage 2015-03-01 21:01:46 UTC
looks like all branches of perl are busted with gcc-5:

https://rt.perl.org/Public/Bug/Display.html?id=123784

I would assume the next update of perl would fix spamassassin and the other perl ports with similar errno failures.