Mailinglist Archive: opensuse-buildservice (354 mails)

< Previous Next >
[opensuse-buildservice] how to include a local build rpm while building another rpm
  • From: Richard Bos <ml@xxxxxxxxxx>
  • Date: Thu, 22 Feb 2007 20:49:15 +0100
  • Message-id: <200702222049.15976.ml@xxxxxxxxxx>
At the moment I'm trying to build twinkle (home:rbos) for suse-9.3 locally,
with:
osc build SL-9.3_i586 i586 twinkle.spec

This fails with:
checking for commoncpp2 version >= 1.4.0... no
*** An old version of CommonC++ of 1.3.21 was found.
*** You need a version of commoncpp2 newer than 1.4.0. The latest version of
*** CommonC++ is always available from ftp://ftp.gnu.org/gnu/commonc++/.
+ make
make: *** No targets specified and no makefile found. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.71850 (%build)


Therefor I build commoncpp2-1.5.3 locally with:
osc build SL-9.3_i586 i586 commoncpp2.spec
Which finishes succesfull, providing it's rpms :))

But now what? How do I get the command:
osc build SL-9.3_i586 i586 twinkle.spec
use these commoncpp2 rpms?

I copied those commoncpp2 rpms over from:
/usr/tmp/build-root-SL-9.3_i586-i586/usr/src/packages/RPMS/
to the pkgs cache:
/usr/tmp/osbuild-packagecache/SUSE:SL-9.3/standard/i586

osbuild-packagecache/SUSE:SL-9.3/standard/i586> ls comm* Comm*
CommonC++-2.1.3.0-3.i586.rpm commoncpp2-devel-1.5.3-1.i586.rpm
commoncpp2-1.5.3-1.i586.rpm

But the twinkle build still fails....? Is it possible to pull in rpms that
have been locally with 'osc build' command?

--
Richard Bos
We are borrowing the world of our children,
It is not inherited from our parents.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups