Mailinglist Archive: opensuse-buildservice (248 mails)

< Previous Next >
Re: [opensuse-buildservice] version resolution problem
  • From: MasterPatricko <masterpatricko@xxxxxxxxx>
  • Date: Wed, 14 Oct 2009 19:29:52 +0100
  • Message-id: <4AD618A0.40808@xxxxxxxxx>
Robert Schweikert wrote:
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?
Exactly. Each _project_ can contain many _packages_ with their own
source and spec file and history. It is common to build a package and
all its dependencies and related packages in one project rather than
having many smaller projects all linking to each other. For example all
of KDE is built in the one project KDE:43.

Also, any project can build each package for many _repositories_, e.g.
both openSUSE 11.1 and openSUSE Factory as you are already doing.
Each _repository_ can be told to fetch the required BuildRequires
packages from a different parent repository, so for example
KDE:43/openSUSE_11.1 builds against the project openSUSE:11.1/standard
while KDE:KDE4:Community/openSUSE_11.1_KDE43 builds against
KDE:43/openSUSE_11.1.

Note that KDE:KDE4:Community/openSUSE_11.1_KDE43 does not have to
separately reference openSUSE:11.1/standard because it inherits that
reference from its parent KDE:43/openSUSE_11.1.

Now if you try to build against the devel:languages:perl for each of
your repositories in your project config (e.g. for openSUSE_11.1 use
devel:languages:perl/openSUSE_11.1, for openSUSE_Factory use
devel:languages:perl/openSUSE_Factory) it should find the missing
packages (the current expansion errors) and start building ...
(hopefully!).
While adding that reference you may want to remove the redundant
references to openSUSE:11.1/standard or openSUSE:Factory/snapshot. That
should avoid any conflicts which might have been the problem you were
seeing earlier with the apparently unresolved dependency.

Regards,

MasterPatricko
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups