[opensuse-buildservice] BuildRequires --- whats available?
Hi, I'm new to OBS but quite confident with packaging. I have some Questions to usecases of BuildRequires: a) I have a package to build with a specific java version I specified "java-sdk >= 1.5.0" build build reported failed build dependencies. Is this because of: [ ] non-oss software [ ] the use of feature names instead of package names in BuildRequires b) I have a stack of independent packages, forming a dependency graph: One of them needs the xxx-devel package of the other. Unpredictably build fails sometimes because of "nothing provides xxx-devel" How can I make build to search in my home-project for the other package? Best regards Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Martin Ginkel wrote:
b) I have a stack of independent packages, forming a dependency graph: One of them needs the xxx-devel package of the other.
Unpredictably build fails sometimes because of "nothing provides xxx-devel" How can I make build to search in my home-project for the other package?
This should only happen before xxx is built, because at that time the buildservice doesn't know that xxx will produce xxx-devel. Is it your case? Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Michal Marek wrote:
Martin Ginkel wrote:
b) I have a stack of independent packages, forming a dependency graph: One of them needs the xxx-devel package of the other.
Unpredictably build fails sometimes because of "nothing provides xxx-devel" How can I make build to search in my home-project for the other package?
This should only happen before xxx is built, because at that time the buildservice doesn't know that xxx will produce xxx-devel. Is it your case?
Well I uploaded all the things yesterday, but the root of the dependency-tree was already build before the others. The third problem I just discovered: ----8<---- error: Failed build dependencies: krb5-devel is needed by kredentials-0.9.2-1.1.i586 kdesdk3 is needed by kredentials-0.9.2-1.1.i586 kdelibs3-devel is needed by kredentials-0.9.2-1.1.i586 ---->8---- Those packages are all available in the suse core. I have built this spec on 10.1-10.3 without problems here at home. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday 13 November 2007 09:13:30 wrote Martin Ginkel:
Hi,
I'm new to OBS but quite confident with packaging. I have some Questions to usecases of BuildRequires:
a) I have a package to build with a specific java version I specified "java-sdk >= 1.5.0" build build reported failed build dependencies. Is this because of: [ ] non-oss software
yes. But you can use the Java:Sun-Java-1.5 project instead of a standard distribution project, if you want to compile with closed source java.
[ ] the use of feature names instead of package names in BuildRequires
b) I have a stack of independent packages, forming a dependency graph: One of them needs the xxx-devel package of the other.
Unpredictably build fails sometimes because of "nothing provides xxx-devel" How can I make build to search in my home-project for the other package?
This should happen by default. Show me the project and package where it does fail... bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian Schröter wrote:
On Tuesday 13 November 2007 09:13:30 wrote Martin Ginkel:
Hi,
I'm new to OBS but quite confident with packaging. I have some Questions to usecases of BuildRequires:
a) I have a package to build with a specific java version I specified "java-sdk >= 1.5.0" build build reported failed build dependencies. Is this because of: [ ] non-oss software
yes.
But you can use the Java:Sun-Java-1.5 project instead of a standard distribution project, if you want to compile with closed source java.
This means I have to include the package from the other Project into my workspace?
[ ] the use of feature names instead of package names in BuildRequires
b) I have a stack of independent packages, forming a dependency graph: One of them needs the xxx-devel package of the other.
Unpredictably build fails sometimes because of "nothing provides xxx-devel" How can I make build to search in my home-project for the other package?
This should happen by default. Show me the project and package where it does fail...
The root is home:martin_ginkel/lwp The dependent packages are .../rpc2 and .../rvm Both fail due to expansion errors. Martin --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tuesday 13 November 2007 10:41:07 wrote Martin Ginkel:
Adrian Schröter wrote:
On Tuesday 13 November 2007 09:13:30 wrote Martin Ginkel:
Hi,
I'm new to OBS but quite confident with packaging. I have some Questions to usecases of BuildRequires:
a) I have a package to build with a specific java version I specified "java-sdk >= 1.5.0" build build reported failed build dependencies. Is this because of: [ ] non-oss software
yes.
But you can use the Java:Sun-Java-1.5 project instead of a standard distribution project, if you want to compile with closed source java.
This means I have to include the package from the other Project into my workspace?
When you build against Java:Sun-Java-1.5/openSUSE_10.3 repository, the system
takes rpms for this repo (the Java rpms) and all other packages, which do not
exist there from the openSUSE_10.3/standard repo.
You can change this easily via
osc meta prj -e
[ ] the use of feature names instead of package names in BuildRequires
b) I have a stack of independent packages, forming a dependency graph: One of them needs the xxx-devel package of the other.
Unpredictably build fails sometimes because of "nothing provides xxx-devel" How can I make build to search in my home-project for the other package?
This should happen by default. Show me the project and package where it does fail...
The root is home:martin_ginkel/lwp The dependent packages are .../rpc2 and .../rvm
Both fail due to expansion errors.
Both fail to find lvm-devel, this package is not provided in your home project as well. There is also no -devel package for any lvm package in our distries, so I do not know, what kind of package you really need here (neither the OBS ;) -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Martin Ginkel
-
Michal Marek