package perl-mod_perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <pdupre@xxxxxxx> 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: pdupre@xxxxxxx
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===========================================================================
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux