Hello,

I tried to build the package
mod_perl-2.0.11.tar.gz (rpmbuild -bb  perl-mod_perl.spec)
I get
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yb4y2z
+ umask 022
+ cd /home/pdupre/rpmbuild/BUILD
+ cd mod_perl-2.0.11
+ /usr/bin/perl Makefile.PL --installdirs=vendor '--optimize=-O2 -g -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 
-fexceptions -fstack-protector-strong -grecord-gcc-switches 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
Please repair your Module::CoreList at lib/Apache2/Build.pm line 50.
BEGIN failed--compilation aborted at lib/Apache2/Build.pm line 65.
Compilation failed in require at Makefile.PL line 38.
BEGIN failed--compilation aborted at Makefile.PL line 38.
error: Bad exit status from /var/tmp/rpm-tmp.yb4y2z (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.yb4y2z (%build)


Here is the .spec file

Name:           perl-mod_perl
Version:        2.0.11
Release:        1%{?dist}
Summary:        mod_perl Perl module
License:        Distributable, see LICENSE
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/mod_perl/
Source0:        
http://www.cpan.org/modules/by-module/mod_perl/mod_perl-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%description
Apache:  Dynamic mod_perl (DSO):    Apache 2.0.47 - 2.4.41.  Static
mod_perl:           Apache 2.0.51 - 2.4.41.

%prep
%setup -q -n mod_perl-%{version}

%build
%{__perl} Makefile.PL --installdirs=vendor --optimize="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc BRANCHING Changes LICENSE mod_perl.spec NOTICE README README-SVN RELEASE 
STATUS SVN-MOVE
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/mod_perl*
%{_mandir}/man3/*

%changelog
* Mon Jun 08 2020 Patrick Dupre <pdu...@gmx.com> 2.0.11-1
- Specfile autogenerated by cpanspec 1.78.


The following modules are installed:
perl-Software-License-0.103014-6.fc32.noarch
apache-commons-io-2.6-8.fc32.noarch
apache-commons-cli-1.4-8.fc32.noarch
apache-commons-codec-1.13-2.fc32.noarch
apache-commons-logging-1.2-20.fc32.noarch

===========================================================================
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===========================================================================
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to