Date: Tue, 04 Nov 2014 12:17:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194811] New: misc/amanda-client fails to compile with lang/perl5.20 installed Message-ID: <bug-194811-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info CC: fbsd@dylanleigh.net CC: fbsd@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@FreeBSD.org> --- Maintainers CC'd -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194811-13>