rpm needs db4-devel(x86_64) on my 32-bit machine

Jitesh Shah jitesh.1337 at gmail.com
Sat Mar 5 17:49:29 UTC 2011


I am running Fedora-14 on my 32-bit machine
$ uname -a
Linux localhost.localdomain 2.6.35.9-64.fc14.i686.PAE #1 SMP Fri Dec 3
12:28:00 UTC 2010 i686 i686 i386 GNU/Linux

I was trying to build rpm from source the other day, so I downloaded
the rpm-source using
$ yumdownloader --source rpm
which gave me : rpm-4.8.1-5.fc14.src.rpm

Doing a yum-builddep on this gives:
$ sudo yum-builddep /home/jitesh/repos/rpm-4.8.1-5.fc14.src.rpm
Loaded plugins: presto, refresh-packagekit
Getting requirements for rpm-4.8.1-5.fc14.src
Error: No Package found for db4-devel(x86-64)

Why does rpm-source need a 64-bit library for my 32-bit machine and
how can I fix it?
I tired installing the 32-bit db4-devel in the hope that it would do
some black magic to get rid of the dependency (naive optimism). It
didn't.

I asked this question on IRC and I was told I am to use mock. Is it
something mock handles gracefully?
If yes, how? Thing is, mock is heavy-weight enough for me. I don't
have that quick an internet connection. So, I'd rather emulate what
mock does.

Help appreciated!
Jitesh

-- 
Run away from difficulties to stand to fight them tomorrow.

http://aterriblewasteoflife.blogspot.com
http://nothingtechnicalaboutit.blogspot.com


More information about the devel mailing list