Mailinglist Archive: opensuse-buildservice (145 mails)

< Previous Next >
Re: [opensuse-buildservice] prj config to get oss repo?
On Nov 22, 11 02:01:51 +1300, Volker Kuhlmann wrote:
On Tue 22 Nov 2011 01:29:32 NZDT +1300, Adrian Schröter wrote:

oss is a product.

Whatever that means in OBS.

you should have all packages already. oss is just one product build based
on
it.

Hmm, the error is

error: Failed build dependencies:
libelf0-devel is needed by avr-gcc-453-4.5.3-12.1.x86_64

oS 11.4

osc ll -b openSUSE:11.4 libelf0
standard/i586
37643 Feb 18 14:48 libelf0-0.8.13-4.1.i586.rpm
125225 Feb 18 14:48 libelf0-0.8.13-4.1.src.rpm
35367 Feb 18 14:48 libelf0-32bit-0.8.13-4.1.x86_64.rpm
65032 Feb 18 14:48 libelf0-debuginfo-0.8.13-4.1.i586.rpm
64181 Feb 18 14:48 libelf0-debuginfo-32bit-0.8.13-4.1.x86_64.rpm
64555 Feb 18 14:48 libelf0-debuginfo-x86-0.8.13-4.1.ia64.rpm
40909 Feb 18 14:48 libelf0-debugsource-0.8.13-4.1.i586.rpm
161791 Feb 18 14:48 libelf0-devel-0.8.13-4.1.i586.rpm
35605 Feb 18 14:48 libelf0-x86-0.8.13-4.1.ia64.rpm
standard/x86_64
125227 Feb 18 22:27 libelf0-0.8.13-4.1.src.rpm
36475 Feb 18 22:27 libelf0-0.8.13-4.1.x86_64.rpm
66812 Feb 18 22:27 libelf0-debuginfo-0.8.13-4.1.x86_64.rpm
40886 Feb 18 22:27 libelf0-debugsource-0.8.13-4.1.x86_64.rpm
166622 Feb 18 22:27 libelf0-devel-0.8.13-4.1.x86_64.rpm

So, a libelf0-devel (binary package) is provided by openSUSE:11.4
libelf0 (source package). And it is published in the download mirrors, e.g.
http://download.opensuse.org/distribution/11.4/repo/oss/suse/x86_64/libelf0-devel-0.8.13-4.1.x86_64.rpm

Cannot see what is wrong, so far.
Lets visit your specfile:

%if 0%(vs="%{vers}"; test ${vs:0:3} = 4.5 && echo 1)
BuildRequires: libelf0-devel
%endif

-> works when unconditional. Please check that %if ...
sh: ${4.5.3:0:3}: bad substitution

Feel free to join the book writing approach. I blogged about it.

Haven't seen/read it. I'm not saying no, but I doubt I'll be reading the
source to work out how it should be used so that that can be written up.

http://lists.opensuse.org/opensuse-buildservice/2011-01/msg00061.html

cheers,
JW-

--
o \ Juergen Weigert paint it green! __/ _=======.=======_
<V> | jw@xxxxxxx back to ascii! __/ _---|____________\/
\ | 0911 74053-508 __/ (____/ /\
(/) | _____________________________/ _/ \_ vim:set sw=2 wm=8
SUSE LINUX Products GmbH, GF: Jeff Hawn, J.Guild, F.Imendoerffer, HRB 16746
(AG Nuernberg), Maxfeldstrasse 5, 90409 Nuernberg, Germany

SuSE. Supporting Linux since 1992.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups