[Mageia-dev] Help on a particular spec pkg (perl)
Hi there! I've made a complicated perl pkg today (instead of sepc file that's very simple). I've got a build error and I'm mailing here for help :) In PJ, the spec file and the error here: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20111203113946.kharec.valstar.31298/log/perl-Search-Tools-0.650.0-1.mga2/build.0.20111203114002.log Maybe a missing BR? Thanks :) %define upstream_nameSearch-Tools %define upstream_version 0.65 Name: perl-%{upstream_name} Version:%perl_convert_version %{upstream_version} Release:%mkrel 1 Summary:High-performance tools for building search applications License:GPL+ or Artistic Group: Development/Perl Url:http://search.cpan.org/dist/%{upstream_name} Source0:http://cpan.metacpan.org/authors/id/K/KA/KARMAN/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Data::Dump) BuildRequires: perl(Encode) BuildRequires: perl(Encoding::FixLatin) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Slurp) BuildRequires: perl(Rose::ObjectX::CAF) BuildRequires: perl(Search::Query) BuildRequires: perl(Test::More) BuildArch: noarch %description This distribution is a set of utilities for building search applications. Rather than adhering to a particular search application or framework, the goal of Search::Tools is to provide general-purpose methods for common search application features. Think of Search::Tools like a toolbox rather than a hammer. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc META.yml Changes README MANIFEST /usr/src/debug/* %{_libdir}/debug/.build-id/* %{_libdir}/debug/* %{_mandir}/man3/* %perl_vendorlib/*
Re: [Mageia-dev] Help on a particular spec pkg (perl)
make: *** No rule to make target `/usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE/EXTERN.h', needed by `Tools.o'. Stop. You should add perl-devel into buildRequires. 2011/12/3 Sandro CAZZANIGA cazzaniga.san...@gmail.com: Hi there! I've made a complicated perl pkg today (instead of sepc file that's very simple). I've got a build error and I'm mailing here for help :) In PJ, the spec file and the error here: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20111203113946.kharec.valstar.31298/log/perl-Search-Tools-0.650.0-1.mga2/build.0.20111203114002.log Maybe a missing BR? Thanks :)
Re: [Mageia-dev] Help on a particular spec pkg (perl)
YES! Thanks :) -Original Message- From: Funda Wang fundaw...@gmail.com Sender: mageia-dev-boun...@mageia.org Date: Sat, 3 Dec 2011 21:05:35 To: Mageia development mailing-listmageia-dev@mageia.org Reply-To: Mageia development mailing-list mageia-dev@mageia.org Subject: Re: [Mageia-dev] Help on a particular spec pkg (perl) make: *** No rule to make target `/usr/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE/EXTERN.h', needed by `Tools.o'. Stop. You should add perl-devel into buildRequires. 2011/12/3 Sandro CAZZANIGA cazzaniga.san...@gmail.com: Hi there! I've made a complicated perl pkg today (instead of sepc file that's very simple). I've got a build error and I'm mailing here for help :) In PJ, the spec file and the error here: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20111203113946.kharec.valstar.31298/log/perl-Search-Tools-0.650.0-1.mga2/build.0.20111203114002.log Maybe a missing BR? Thanks :)