Mailinglist Archive: opensuse-buildservice (250 mails)

< Previous Next >
Re: [opensuse-buildservice] buildinfo bug
  • From: Ruediger Oertel <ro@xxxxxxx>
  • Date: Wed, 27 Aug 2008 10:41:39 +0200
  • Message-id: <200808271041.39546.ro@xxxxxxx>
On Wednesday 27 August 2008 09:18:36 Wolfgang Rosenauer wrote:
Wolfgang Rosenauer schrieb:

I think the following is a bug:

osc build ... mozilla-xulrunner191
Getting buildinfo from server
buildinfo is broken... it says:
expansion error: nothing provides mozilla-xulrunner191

Yeah, nothing provides mozilla-xulrunner191 since I'm just going to
build it?
Probably related to the new PreReq handling since that package contains
a subpackage which PreReqs %{name}?

https://bugzilla.novell.com/show_bug.cgi?id=420577

no, actually I think I've seen this before we put the prereq handling in,
though (haven't checked) it might be triggered by a prereq in this case.

Normally, all the packages that fall out of a specfile are discarded from the
list of packages needed to set up the buildsystem. For example a specfile
foo.spec would generate foo and foo-devel, then these two packages would
not be installed during the build of foo.
Now there may be a package in BuildRequires (or in PreReq) that _requires_
foo or foo-devel.
Then packages foo and foo-devel will be discarded, but only _after_ the
expansion, so you end up with needing foo before you are building it the first
time.


--
with kind regards (mit freundlichem Grinsen),
Ruediger Oertel (ro@xxxxxxxxxx,ro@xxxxxxx,bugfinder@xxxxxxxxxxx)
----------------------------------------------------------------------
Linux MacBookRudi 2.6.26-14-default #1 SMP 2008-08-08 13:52:24 +0200 x86_64
Key fingerprint = 17DC 6553 86A7 384B 53C5 CA5C 3CE4 F2E7 23F2 B417
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG N├╝rnberg)

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

< Previous Next >