Mailinglist Archive: opensuse-buildservice (184 mails)

< Previous Next >
Re: [opensuse-buildservice] Making the build script solve package dependencies
  • From: David Bolt <bcrafhfr-ohvyqfreivpr@xxxxxxxxxx>
  • Date: Tue, 14 Oct 2008 23:17:35 +0100
  • Message-id: <f0LVWqO$pR9IFwCc@xxxxxxxxxxxxxxxxxxx>
On Thu, 9 Oct 2008, David Bolt wrote:-

On Thu, 9 Oct 2008, Marcus Meissner wrote:-


sitescooper should just not provide the stuff. There lies the fix :)

I solved the sitescooper problem by just renaming it and specifying the
specific RPM directories. However, that didn't solve the underlying
issue where if there are two packages that would satisfy a dependency,
the latest version isn't chosen. An example is like this run:

lion:~ # build --ccache --clean --rpms
g/share/suse/i386/update/10.3 --root /local/build-root-10.3 --arch ppc
logging output to /local/build-root-10.3/.build.log...
Memory limit set to 255828KB
Using BUILD_ROOT=/local/build-root-10.3
Using BUILD_ARCH=ppc

lion started "build kslide-1.0-2.1.suse103.src.rpm" at Tue Oct 14 23:02:44 BST

processing src rpm /usr/src/packages/SOURCES/kslide-1.0-2.1.suse103.src.rpm...
init_buildsystem --clean /local/build-root-10.3/.build-srcdir/kslide.spec
ccache ...
expanding package dependencies...
expansion error
have choice for jack-devel needed by arts-devel: jack-devel libjack-devel
have choice for needed by arts: libjack libjack0
lion:~ #

In this case, libjack0 and libjack-devel provide newer versions but the
build script won't continue because it can't choose my package.

What I need help with is a way to force build to use the latest version.
Is there any way of making build prefer RPMs I've built and stored in
one path, to the distro supplied versions stored in another path?

David Bolt

Team Acorn: OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
SUSE 10.1 32 | | openSUSE 10.3 32b | openSUSE 11.0 32b
| openSUSE 10.2 64b | openSUSE 10.3 64b | openSUSE 11.0 64b
RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups