Mailinglist Archive: opensuse-buildservice (206 mails)

< Previous Next >
Re: [opensuse-buildservice] --prefer-pkgs and requires and provides
You just missed a thread on a patch to do just what you're asking. I
was called "inject local rpm data for buildinfo
calculation" if you want to look up the thread/patch in the archive.

On Wed, 2009-03-04 at 18:27 +0100, Petr Mladek wrote:

are there any plans to take the provides and requires of the preferred
packages in account?

I get the following error:

--- cut ---
$> osc build --local-package --prefer-pkgs=/tmp/prefer-rpms-5993 SLED_10 i586
Building OpenOffice_org-ure.spec for SLED_10/i586
Getting buildinfo from server
buildinfo is broken... it says:
expansion error: nothing provides OpenOffice_org-bootstrap =
--- cut ---

even when the package OpenOffice_org-bootstrap- is available in
the /tmp/prefer-rpms-5993.

I see that this feature was mentioned at
but probably newer implemented ;-)

Heh, I would be happy even for a workaround. It might help when the server
mentions the valid dependencies (bdep tags) in the buildinfo together with
the error. I could locally hack osc to ignore the expansion errors of OOo

JFYI, here is my workflow:

The build is currently split into 19 spec files. I have some
helper scripts that allow to rebuild everything on a local machine. I have
just updated the scripts to use "osc build" instead of "abuild". It does not
work because of the above mentioned problem. Note that I update the package
version quite often because of API/ABI changes.

The local building is important for me because I needed to get full rebuilds
in a predictable time. It is especially important for factory where the
normal build might be blocked several days. Also the local build trees are
very useful for debugging and testing of new changes.

Thanks in advance.

Best Regards,

Petr Mladek
software developer
SUSE LINUX, s. r. o. e-mail: pmladek@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 952
190 00 Prague 9 fax: +420 284 028 951
Czech Republic
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >