Re: rpmbuild

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

 



> Sent: Sunday, September 17, 2017 at 10:49 PM
> From: "Michael Schwendt" <mschwendt@xxxxxxxxx>
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: rpmbuild
>
> On Sun, 17 Sep 2017 22:42:47 +0200, Patrick Dupre wrote:
> 
> > > > Can somebody tell me whatis wrong in the spec file  
> > >   
> > > > I get:
> > > > rpmbuild -bb perl-Graphics-Primitive.spec 
> > > > error: Failed build dependencies:
> > > > 	perl(Forest) >= 0.06 is needed by perl-Graphics-Primitive-0.67-1.fc26.noarch
> > > > 	perl(Geometry::Primitive) >= 0.16 is needed by perl-Graphics-Primitive-0.67-1.fc26.noarch
> > > > 	perl(Graphics::Color) >= 0.20 is needed by perl-Graphics-Primitive-0.67-1.fc26.noarch
> > > > 
> > > > while
> > > > rpm -q perl-Forest
> > > > perl-Forest-0.10-1.fc26.noarch
> > > > rpm -q perl-Geometry-Primitive
> > > > perl-Geometry-Primitive-0.24-1.fc26.noarch
> > > > rpm -q perl-Graphics-Color
> > > > perl-Graphics-Color-0.31-1.fc26.noarch  
> > > 
> > > Your query is insufficient. Query what the installed packages provide,
> > > so you can check that they provide what's needed to satisfy the
> > > BuildRequires in the spec file. You can use the --whatprovides option
> > > to test against the local RPM DB. Or you can list a package's full
> > > Provides like
> > > 
> > >   rpm -q --provides perl-Forest
> > > 
> > > and if "perl(Forest)" is not in the output, the perl-Forest package does
> > > not provide what's needed.  
> > 
> > It seems to me that every thing is provided:
> > 
> > rpm -q --provides perl-Forest
> > perl-Forest = 0.10-1.fc26
> > 
> > rpm -q --provides perl-Geometry-Primitive
> > perl-Geometry-Primitive = 0.24-1.fc26
> > 
> > rpm -q --provides perl-Graphics-Color
> > perl-Graphics-Color = 0.31-1.fc26
> 
> Read the error message more carefully. Pay attention to the spelling of
> what's needed. Your query does not show what's needed. Where do you
> see 'perl(Forest)' in the output, for example?

If you go on rpmfind.net

perl-Forest 
is supposed to provides
perl-Forest
perl(Forest)

Since fedora does not offer perl-Forest, I have to build it from the tar file Forest-0.10
There is probably an issue with the spec? because it does not say that it will provide
perl(Forest)

Actually it would be good if somedoby decided to generate the perl for the fedora distribution.
I generate the file by myself but there are plenty of issues with the dependences. It is not
professional.

> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@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