Mailinglist Archive: opensuse-buildservice (272 mails)

< Previous Next >
Re: [opensuse-buildservice] Problem with "build" dependency resolver
  • From: Rolf Offermanns <roffermanns@xxxxxxxxx>
  • Date: Tue, 30 Nov 2010 17:56:36 +0100
  • Message-id: <4CF52CC4.2020102@xxxxxxxxx>
On 11/30/2010 05:43 PM, Michael Schroeder wrote:
sudo /usr/bin/build \
--repository http://linuxdownload.adobe.com/linux/i386/ \
--repository
http://repo.meego.com/MeeGo/updates/1.0/core/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/updates/1.0/extra/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/updates/1.0/netbook/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/updates/1.0/non-oss/repos/ia32/packages \
--repository
http://repo.meego.com/MeeGo/releases/1.0.1/core/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/releases/1.0.1/extra/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/releases/1.0.1/netbook/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/releases/1.0.1/non-oss/repos/ia32/packages \
--repository
http://repo.meego.com/MeeGo/releases/1.0/core/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/releases/1.0/extra/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/releases/1.0/netbook/repos/ia32/packages/ \
--repository
http://repo.meego.com/MeeGo/releases/1.0/non-oss/repos/ia32/packages \
--arch i686 \
--target i686 \
--root /mnt/pool/meego/build-root/ \
--cachedir /mnt/pool/meego/build-cache \
kernel-test.spec

[...]

Is the older version also in the 1.0/core repo? Unlike the build service which
always uses the best version of a package in a repo, the build script is a bit
stupid and uses the first one it sees.
(The repos itself are priorized, e.g. if a package is in 1.0/core, all versions
in 1.0/extra and the following repos are ignored. This is by design.)

It looks like this:

releases/1.0/core
-----------------
kernel-netbook-2.6.33.3-11.1.i586.rpm

updates/1.0/core
----------------
kernel-netbook-devel-2.6.33.3-19.1.i586.rpm
kernel-netbook-devel-2.6.33.5-20.1.i586.rpm
kernel-netbook-devel-2.6.33.5-22.1.i586.rpm
kernel-netbook-devel-2.6.33.5-23.1.i586.rpm
kernel-netbook-devel-2.6.33.5-24.1.i586.rpm
kernel-netbook-devel-2.6.33.5-25.1.i586.rpm
kernel-netbook-devel-2.6.33.5-26.1.i586.rpm
kernel-netbook-devel-2.6.33.5-27.1.i586.rpm

releases/1.0.1/core
-------------------
kernel-netbook-devel-2.6.33.3-11.1.i586.rpm
kernel-netbook-devel-2.6.33.3-19.1.i586.rpm
kernel-netbook-devel-2.6.33.5-20.1.i586.rpm
kernel-netbook-devel-2.6.33.5-22.1.i586.rpm
kernel-netbook-devel-2.6.33.5-23.1.i586.rpm


The one picked is: 2.6.33.5-24.1

When you say the repos itself are priorized, do you mean by order of build cmdline arguments, or by some metadata in the repositories?


I'll fix the code ASAP so that build script behaves the same as the build
service.

Thank you. Shall I open a bug for this? Or is there one I can track?

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

< Previous Next >
List Navigation
Follow Ups