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:-

<snip>

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
/mounts/dav2/backups/backups/RPMS-10.3/ppc:/m
ounts/dav2/backups/backups/RPMS-10.3/noarch:/mounts/dav2/backups/RPMS/DISTRO/10.3/pp
c:/mounts/dav2/backups/RPMS/DISTRO/10.3/noarch:/mounts/dav2/backups/RPMS/OTHERS/10.3
/ppc:/mounts/dav2/backups/RPMS/OTHERS/10.3/noarch:/mounts/cobra-mk3/local/openSUSE-
10.3-GM/suse/ppc:/mounts/cobra-mk3/local/openSUSE-10.3-GM/suse/noarch:/mounts/playin
g/share/suse/i386/update/10.3 --root /local/build-root-10.3 --arch ppc
/usr/src/pack
ages/SOURCES/kslide-1.0-2.1.suse103.src.rpm
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_RPMS=/mounts/dav2/backups/backups/RPMS-10.3/ppc:/mounts/dav2/backups/bac
kups/RPMS-10.3/noarch:/mounts/dav2/backups/RPMS/DISTRO/10.3/ppc:/mounts/dav2/backups
/RPMS/DISTRO/10.3/noarch:/mounts/dav2/backups/RPMS/OTHERS/10.3/ppc:/mounts/dav2/back
ups/RPMS/OTHERS/10.3/noarch:/mounts/cobra-mk3/local/openSUSE-10.3-GM/suse/ppc:/mount
s/cobra-mk3/local/openSUSE-10.3-GM/suse/noarch:/mounts/playing/share/suse/i386/updat
e/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
2008.


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 libjack.so.0 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?


Regards,
David Bolt

--
Team Acorn: http://www.distributed.net/ 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