Red Hat Bugzilla – Bug 1474442
crypto-policies rawhide builds fail
Last modified: 2017-07-25 03:16:05 EDT
Description of problem:
crypto-policies is currently failling builds on rawhide.
I believe this is due to the newer version in Perl that was added.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. koji build --scratch rawhide crypto-policies-20170606-1.git7c32281.fc27.src.rpm
install -p -m 644 default-config /builddir/build/BUILDROOT/crypto-policies-20170606-1.git7c32281.fc27.noarch//usr/share/crypto-policies
Can't locate back-ends//gnutls.pl in @INC (@INC contains: back-ends/ /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5) at ./generate-policies.pl line 23.
make: *** [Makefile:16: install] Error 2
rpm to build
Here is an example of a failed scratch build.
I believe this is due to the setting of libdir in generate-policies.pl
It needs to be ./back-ends/ instead of just back-ends/
Created attachment 1303772 [details]
Patch to fix crypto-policies libdir path
I have attached a patch to fix the libdir path for the new perl.
Here is a successful rawhide scratch build with the patch applied.
But this failed build is blocking some automated building for the bootstrap and module team.
I understand that time is important and that not everyone has time to work on failed builds.
If you are unable to update the rpm within two weeks, we will have a proven packager apply the patch in this bug.
If you know you will be too busy and wouldn't mind us applying it sooner, just let us know.
Sent build to koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=20719411