Bug 1134732 - amanda-3.3.6-4.fc22: FTBFS with perl 5.20
Summary: amanda-3.3.6-4.fc22: FTBFS with perl 5.20
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: amanda
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Hracek
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/t...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-28 08:10 UTC by Jitka Plesnikova
Modified: 2014-09-03 10:15 UTC (History)
2 users (show)

Fixed In Version: amanda-3.3.6-5.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-03 10:15:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.