Mailinglist Archive: opensuse-buildservice (85 mails)

< Previous Next >
Re: [opensuse-buildservice] Build : Kiwi + obs -> vagrant box
  • From: Florian Leparoux <florian.leparoux@xxxxxxxxx>
  • Date: Fri, 26 Dec 2014 09:00:56 +0100
  • Message-id: <549D15B8.7060505@gmail.com>
Hi,

I found the problem, it seems to be the kiwi.spec and precisely when obs try to parse this :
%(eval "`%{__perl} -V:version`"; echo $version)
or
%if 0%{?centos}
%define mysystems %(echo `VER=%{centos} echo "centos-0${VER:0:1}.${VER:1:2}"`)
%endif

If I set the version manually, I able to fix my errors.

The build error :

[ 14s] Warning: spec file parser line 78: can't expand %(...)
[ 14s] Warning: spec file parser line 349: can't expand %(...)
[ 14s] Warning: spec file parser line 423: can't expand %(...)
[ 14s] Warning: spec file parser line 478: can't expand %(...)
[ 14s] Warning: spec file parser line 537: can't expand %(...)

Regards.

Le 23/12/2014 17:27, Robert Schweikert a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/23/2014 10:45 AM, Florian Leparoux wrote:
Hi,

Thanks for your reply.

If I change zypper by yum I get : unresolvable: nothing provides
kiwi-packagemanager:yum
This needs to be set in the project config

Substritute: kiwi-packagemanager:yum yum

Later,
Robert

- -- Robert Schweikert MAY THE SOURCE BE WITH YOU
Public Cloud Architect LINUX
rjschwei@xxxxxxxx
781-464-8147
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJUmZfWAAoJEE4FgL32d2Uk3m8H/313tvJjqbfHFrBSYJlii606
I2DrWJ4Ipcs7Z6ioLmRUSziWUkbyfYM83lPkVhFMWFsxI6nEeFfaH3e6XXiRY6PO
EhMEEcsV8FcKVlHmTfNaG+Kzu8iaAA24FjN3wtjBiPou32diLx50p281hktEuWf6
T9QC7XkrNngvCEXe9Zc4YO1V7uOpPimub9Co30Hn8Tp7gR96md3hhXNSCEHaiqWj
dJIedlFuX/X1ILdjdq+1DcqnrpK17CQsRythvIFND+sBR7tMKzEl0NGiublrAWAL
lTKN9DJPUDmq17gpgErg4HmrkxTi+VdjKFhVZeCh/nixDw7mgQM8bVuI2g696oI=
=r/ii
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >