Fedora Account System
Red Hat Associate
Red Hat Customer
cpanspec version is 1.78-25.fc25. If I do 'cpanspec Mojo::SQLite' followed by 'rpmbuild -ba perl-Mojo-SQLite.spec' ... + cd Mojo-SQLite-2.001 + rm -rf /home/speech/bradyc/rpms/BUILDROOT/perl-Mojo-SQLite-2.001-1.fc25.x86_64 + ./Build install destdir=/home/speech/bradyc/rpms/BUILDROOT/perl-Mojo-SQLite-2.001-1.fc25.x86_64 create_packlist=0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/local/share/man/man3' Do not have write permissions on '/usr/local/share/man/man3' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at /usr/share/perl5/vendor_perl/Module/Build/Tiny.pm line 119. error: Bad exit status from /var/tmp/rpm-tmp.Xa08Ob (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Xa08Ob (%install) bash-4.3$ ... The problem can be fixed via these changes in the generated spec file: --- perl-Mojo-SQLite.spec 2017-05-29 12:53:13.916904000 -0400 +++ perl-Mojo-SQLite.spec.fixed 2017-05-29 12:52:29.284925000 -0400 @@ -45,13 +45,13 @@ %setup -q -n Mojo-SQLite-%{version} %build -%{__perl} Build.PL installdirs=vendor +%{__perl} Build.PL --installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* This is a known problem upstream, and a fix has been provided. https://github.com/silug/cpanspec/pull/5/files There are other bugfixes available here as well: https://github.com/silug/cpanspec/commits/
Somehow I thought this one's been in already :) We bundle several of post-1.78 patches but not all of them. It might be worth rebasing to upstream master HEAD at some point. I'm including just this patch for now.
cpanspec-1.78-27.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6e9a4e80d0
cpanspec-1.78-27.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b094945c06
cpanspec-1.78-27.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b094945c06
cpanspec-1.78-27.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6e9a4e80d0
cpanspec-1.78-27.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
cpanspec-1.78-27.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.