Mailinglist Archive: opensuse-buildservice (255 mails)

< Previous Next >
RE: [opensuse-buildservice] How do I resolve....
  • From: Frank Lichtenheld <Frank.Lichtenheld@xxxxxxxxxx>
  • Date: Wed, 30 May 2012 22:52:45 +0000
  • Message-id: <>
-----Original Message-----
From: Robert Schweikert [mailto:rjschwei@xxxxxxxx]
Sent: Wednesday, May 30, 2012 11:59 PM
To: obs
Subject: [opensuse-buildservice] How do I resolve....


I am working on some CloudStack/Xen related stuff that happens to depend
on OCaml. I've already added a bunch of dependencies to
Virtualization:Cloud:CloudStack:Testing but am geeting stuck with a
problem that I do not know how to resolve, and help is much appreciated.

The current package I am trying to build is ocaml-ocamlnet (not
submitted to OBS yet). The code has an option to build gtk2 bindings and
I'd like to enable this. Enabling GTK2 requires lablgtk2 which I added
as a BuildRequires to my spec file. I get the following error when I try
to build for 12.1:

buildinfo is broken... it says:
unresolvable: nothing provides ocaml(runtime) = 3.12.0 needed by

The ocaml package in the project I am working on
(Virtualization:Cloud:CloudStack:Testing) is linked to
devel:languages:misc which is up to 3.12.1. When I look at
the spec file for lablgtk2 there is no explicit version requirement for
ocaml, i.e. a Requires: ocaml = X.Y.Z, yet the package obviously
requires this.

That are automatically generated dependencies similar to the linking
dependencies generated for normal binaries.

I would prefer not build a different ocaml version than we have in the
project. Obviously there is something going on that I do not understand.

Since ocaml packages depend on the exact upstream version they were built
against, if you want to use your own ocaml (i.e. a different upstream version
than the project you're building against) you will need to rebuild all your
ocaml dependencies against that ocaml. (That's not a ocaml-unique problem btw,
e.g. Perl packages have the same behavior)

So you should probably consider whether you really need your own ocaml.

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >