MasterPatricko wrote:
Robert Schweikert wrote:
Hi,
I am having a version resolution problem in that my spec file triggers the following error message:
Building perl-Test-ClassAPI.spec for openSUSE_11.1/x86_64 Getting buildinfo from server buildinfo is broken... it says: expansion error: nothing provides perl-Class-Inspector >= 1.23
The project is home:rjschwei:perl-test-classapi
The spec file contains the following tags:
Requires: perl-Class-Inspector >= 1.23 ... BuildRequires: perl-Class-Inspector >= 1.23
I have added <path repository="openSUSE_11.1" project="devel:languages:perl"/>
to the meta data and according to https://build.opensuse.org/package/view_file?file=perl-Class-Inspector.spec&package=perl-Class-Inspector&project=openSUSE%3AFactory
the Class-Inspector package is at version 1.23, something confirmed based on the package installed on my system:
-> rpm -qa | grep perl | grep Class-Inspector perl-Class-Inspector-1.23-2.1
What am I missing here?
Help is much appreciated.
Thanks, Robert
Looking at your spec file you actually seem to have two lines: BuildRequires: perl-Class-Inspector >= 1.23 BuildRequires: perl-Class-Inspector >= 2.12
I did notice this and had fixed it in my local copy prior to posting my original message. Thus, this was not the root cause. I have committed my changes thus the server now reflects my latest copy.
and of course the second one cannot be satisfied. Try removing that second line and see what the build system says.
As an aside your repository layout seems odd, IIRC you are building all these packages to eventually be able to build perlcritic. Dependencies should ideally be also in the same project as the final perlcritic package, otherwise you will end up linking to them again to build perlcritic. Having one package per repository seems exceedingly inefficient ...
Thanks for the info. How would I organize this if instead of a project all the things perlcritic depends on would be part of the perlcritic project? home:rjschwei:perl-perlcritic/ perl-Test-ClassAPI perl-Test-Object perl-Test-SubCalls ..... i.e. each dependency is a directory containing the spec file and the source tarball? Thanks, Robert
Regards,
MasterPatricko
-- Robert Schweikert MAY THE SOURCE BE WITH YOU Software Engineer Consultant LINUX rschweikert@novell.com 781-464-8147 Novell Making IT Work As One -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org