Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
[opensuse-buildservice] openSUSE: build service - osc local build and linked packages
  • From: Martin Mohring <martin.mohring@xxxxxxxxx>
  • Date: Wed, 07 Feb 2007 22:03:03 +0100
  • Message-id: <45CA3E87.9020708@xxxxxxxxx>

when trying to build a checked out package with the osc local build on a
package that is
linked, I get an error. E.g.:

$ cd Base\:build/binutils
$ osc build standard i586 binutils.spec
Error: specfile 'binutils.spec' does not exist.

This is a bit disturbing and makes the osc client local build option a
bit useless
in the sense that you would like to use it to:
a) add features to packages
b) test changes locally
c) commit to repository when the changes work

Two options were considered (when consulting Dr. Peter Poeml):
a) solve this in the buildserver (recommendation by Peter)
b) solve this in the osc client (recommendation by mine)

E.g. the above command should have the same semantics like this:

$ cd Base:build/binutils
$ cat _link && echo
<link project='openSUSE:Factory' package='binutils'/>

Then "osc build standard i586 binutils.spec" works like:

$ ln -s ../../<project>/<package> .
$ osc build standard i586 binutils.spec

including the fact that local files have priority over linked files with
the same name.

Any comments on the issue? More and more packages contain now links,
there is now
a linkable base of the Factory Packages in openSUSE:Factory. Soon there
will be tagging,
so there will be massive use of links in the future.

So I would be happy if you could fix that.

Thanks, Martin

PS: This issue has been confimed already by "Dr. Peter Poeml"

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

< Previous Next >
Follow Ups