[Bug 194811] New: misc/amanda-client fails to compile with lang/perl5.20 installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 4 12:17:40 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194811
Bug ID: 194811
Summary: misc/amanda-client fails to compile with lang/perl5.20
installed
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: Trond.Endrestol at ximalas.info
CC: fbsd at dylanleigh.net
CC: fbsd at dylanleigh.net
Created attachment 149027
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149027&action=edit
Patch to apply when lang/perl5.20 is installed
Error messages such as:
Amanda/Application.c: In function 'SWIG_AsCharPtrAndSize':
Amanda/Application.c:1580: error: 'bool' undeclared (first use in this
function)
Amanda/Application.c:1580: note: each undeclared identifier is reported only
once for each function it appears in
Amanda/Application.c:1580: error: expected ':' before numeric constant
appears only when lang/perl5.20 is installed, it compiles flawlessly when
lang/perl5.16 is installed. I have yet to try lang/perl5.18.
I have good reason to believe this bug also affects misc/amanda-server under
the same conditions.
Workaround:
Remove the three lines:
#ifdef bool
#undef bool
#endif
from these 17 files:
perl/Amanda/Application.c
perl/Amanda/Archive.c
perl/Amanda/Cmdline.c
perl/Amanda/Config.c
perl/Amanda/Debug.c
perl/Amanda/Device.c
perl/Amanda/Disklist.c
perl/Amanda/Feature.c
perl/Amanda/Header.c
perl/Amanda/Logfile.c
perl/Amanda/MainLoop.c
perl/Amanda/NDMP.c
perl/Amanda/Tapelist.c
perl/Amanda/Tests.c
perl/Amanda/Util.c
perl/Amanda/Xfer.c
perl/Amanda/XferServer.c
See attached patch.
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainers CC'd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list