Bug 1134732

Summary: amanda-3.3.6-4.fc22: FTBFS with perl 5.20
Product: [Fedora] Fedora Reporter: Jitka Plesnikova <jplesnik>
Component: amandaAssignee: Petr Hracek <phracek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=7468422
Whiteboard:
Fixed In Version: amanda-3.3.6-5.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-03 10:15:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jitka Plesnikova 2014-08-28 08:10:54 UTC
amanda cannot be rebuild against perl 5.20.

The files which are produced the errors with new Perl are provided by upstream. The files were generated by old swig and are part of tarball.

If the files are generated with new swig it will works.

There are two ways how to fix it

1)
use the source build with new swig provided by upstream
http://downloads.sourceforge.net/amanda/amanda-3.3.6-with-swig-3.0.2.tar.gz


2)
Add following commands between %confugure and make in %build section
pushd perl
make maintainer-clean-am
popd

It causes that the old code will be regenerated.


I checked both way and they are working with Perl 5.20

Comment 1 Petr Hracek 2014-09-03 10:15:35 UTC
scm-commit for rawhide - https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140901/1369482.html

I decided to use second way.
If the upstream goes to Perl 5.20 then tarball will have probably name amanda-<version>.tar.gz. I guess.

Thanks for proposed patch.