FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 08-04-2008, 07:31 PM
 
Default mock x86_64 running pungi i368

I have tried to be careful to run as specified.
I attempted to go back through the mailing list, but nothing quite like this jumped out ...


2.6.25.11-97.fc9.x86_64
mock-0.9.9-1.fc9.noarch.rpm

commands attempted:

# mock -r fedora-devel-i386 --init
# mock -r fedora-devel-i386 --no-clean --install pungi

# cp dev-9 /var/lib/mock/fedora-rawhide-i386/root/tmp

# mock -r fedora-devel-i386 --chroot "/usr/bin/pungi -c /tmp/dev-9 --ver=F9 --flavor=FJ --nosource"


Result:

Pungi.ERROR: Got an error from /usr/lib/anaconda-runtime/buildinstall
Pungi.ERROR: error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/repoquery", line 853, in <module>
main(sys.argv)
File "/usr/bin/repoquery", line 750, in main
repoq.doConfigSetup(fn=opts.conffile, debuglevel=initnoise, init_plugins=opts.plugins)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 134, in doConfigSetup
errorlevel=errorlevel)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 182, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 732, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 802, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yumdownloader", line 277, in <module>
util = YumDownloader()
File "/usr/bin/yumdownloader", line 42, in __init__
self.main()
File "/usr/bin/yumdownloader", line 51, in main
opts = self.doUtilConfigSetup()
File "/usr/share/yum-cli/utils.py", line 69, in doUtilConfigSetup
errorlevel=opts.errorlevel)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 182, in _getConfig
self._conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 732, in readMainConfig
yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.5/site-packages/yum/config.py", line 802, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 08-04-2008, 08:08 PM
Jesse Keating
 
Default mock x86_64 running pungi i368

On Mon, 2008-08-04 at 13:31 -0600, Phil Meyer wrote:
>
> I have tried to be careful to run as specified.
> I attempted to go back through the mailing list, but nothing quite
> like this jumped out ...

The rpm used to create the buildroot is 64bit, the rpm used inside the
buildroot is 32bit. You'll need to remove the cached database files
from /var/lib/rpm/__db* inside the chroot.

--
Jesse Keating
Fedora -- Freedom˛ is a feature!
identi.ca: http://identi.ca/jkeating
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 08-04-2008, 08:28 PM
jeff
 
Default mock x86_64 running pungi i368

Jesse Keating wrote:

On Mon, 2008-08-04 at 13:31 -0600, Phil Meyer wrote:

I have tried to be careful to run as specified.
I attempted to go back through the mailing list, but nothing quite
like this jumped out ...


The rpm used to create the buildroot is 64bit, the rpm used inside the
buildroot is 32bit. You'll need to remove the cached database files
from /var/lib/rpm/__db* inside the chroot.


mock -r fedora-9-i386 --shell "rm -rf /var/lib/rpm/__db.00*"

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 

Thread Tools




All times are GMT. The time now is 03:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org