x86-64 build problem

85 views
Skip to first unread message

Sergei Lopatin

unread,
Nov 10, 2014, 1:40:09 PM11/10/14
to kiwi-...@googlegroups.com
Hi!

I have a problem. When I build x86_64 iso image from openSUSE 13.1 repos on my new openSUSE 13.2 system, I get this error (from log):
Nov-10 23:35:17 <1> : EXEC [chroot "/home/magist3r/space/tmp/bootdisk/build/image-root" /bin/rpm --initdb &>/dev/null]
Nov-10 23:35:17 <1> : Rebuild RPM package db...
Nov-10 23:35:17 <1> : EXEC [mv /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Packages /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Packages.bak]
Nov-10 23:35:17 <1> : EXEC [mv /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Name /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Name.bak]
Nov-10 23:35:17 <1> : EXEC [db_dump /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Packages.bak | db45_load /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Packages]
Nov-10 23:35:23 <1> : EXEC [db_dump /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Name.bak | db45_load /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Name]
Nov-10 23:35:23 <1> : EXEC [rm -f /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Packages.bak]
Nov-10 23:35:23 <1> : EXEC [rm -f /home/magist3r/space/tmp/bootdisk/build/image-root/var/lib/rpm/Name.bak]
Nov-10 23:35:23 <1> : EXEC [chroot "/home/magist3r/space/tmp/bootdisk/build/image-root" /bin/rpm --rebuilddb 2>&1]
Nov-10 23:35:23 <3> : Most likely we encountered an RPM version incompatibility
Nov-10 23:35:23 <3> : rpm: rpm: --rebuilddb: unknown option

I have not this error on openSUSE 13.1. And I have not this error with i686 build with same config (I use linux32 script for this).

Any ideas?

Marcus Schäfer

unread,
Nov 11, 2014, 4:26:56 AM11/11/14
to kiwi-...@googlegroups.com
Hi,

> I have a problem. When I build x86_64 iso image from openSUSE 13.1
> repos on my new openSUSE 13.2 system, I get this error (from log):
>
> ...
>
> Nov-10 23:35:23 <1> : EXEC [chroot
> "/home/magist3r/space/tmp/bootdisk/build/image-root" /bin/rpm
> --rebuilddb 2>&1]
> Nov-10 23:35:23 <3> : Most likely we encountered an RPM version
> incompatibility
> Nov-10 23:35:23 <3> : rpm: rpm: --rebuilddb: unknown option

Oh no, you don't want to tell me that rpm in 13.2 has no longer the
--rebuilddb option ? I hate when such incompatible changes happens
in core utilities

Will reproduce this asap

for a first hack you can remove the call in

KIWIManager.pm::cleanupRPMDatabase

sorry for this one. I'm notified by such things always by accident
that sucks :(

Regards,
Marcus
--
Public Key available
http://pgp.mit.edu/pks/lookup?search=0x94302D78&op=index
-------------------------------------------------------
Marcus Schäfer (Res. & Dev.) SUSE Linux GmbH
Tel: 0911-740 53 0 Maxfeldstrasse 5
FAX: 0911-740 53 479 D-90409 Nürnberg
GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer
HRB: 21284 (GmbH Nürnberg) Germany
http://www.suse.de
-------------------------------------------------------

Marcus Schäfer

unread,
Nov 11, 2014, 8:42:08 AM11/11/14
to kiwi-...@googlegroups.com
Hi,

> > I have a problem. When I build x86_64 iso image from openSUSE 13.1
> > repos on my new openSUSE 13.2 system, I get this error (from log):
> >
> > ...
> >
> > Nov-10 23:35:23 <1> : EXEC [chroot
> > "/home/magist3r/space/tmp/bootdisk/build/image-root" /bin/rpm
> > --rebuilddb 2>&1]
> > Nov-10 23:35:23 <3> : Most likely we encountered an RPM version
> > incompatibility
> > Nov-10 23:35:23 <3> : rpm: rpm: --rebuilddb: unknown option
>
> Oh no, you don't want to tell me that rpm in 13.2 has no longer the
> --rebuilddb option ? I hate when such incompatible changes happens
> in core utilities
>
> Will reproduce this asap
>
> for a first hack you can remove the call in
>
> KIWIManager.pm::cleanupRPMDatabase
>
> sorry for this one. I'm notified by such things always by accident
> that sucks :(

all fixed now

commit 34a8ecb13024e98371446b1af708df2c56ebf4bf
Author: Marcus Schäfer <m...@suse.de>
Date: Tue Nov 11 14:17:32 2014 +0100

Fixed use of rpm tools

rpm has removed the db related options --initdb and --rebuilddb
from the master rpm command. They are only available in the rpmdb
command. Thus kiwi should better search for the rpm tool chain
and decide for the commands to use according to their existence

new kiwi packages are building at the usual place:

http://download.opensuse.org/repositories/Virtualization:/Appliances/openSUSE_13.2/
Reply all
Reply to author
Forward
0 new messages