Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 151703

Summary: rpm 4.4.6(-r1) is broken
Product: Gentoo Linux Reporter: apost1
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description apost1 2006-10-17 07:30:31 UTC
Finalizing emerge, an error message is displayed. The same error message occurs, when using rpm. Looks like a (ba)sh variable not beeing replaced by it's content, but beeing hardcoded somewhere in rpm. Tested on x86, x86 SMP and amd64 (all 2006.1).
Some additional outputs:

 * rpm-4.4.6.tar.gz MD5 ;-) ...
 * [ ok ]
 * rpm-4.4.6.tar.gz size ;-) ...
 * [ ok ]
 * checking ebuild checksums ;-) ...
 * [ ok ]
 * checking auxfile checksums ;-) ...
 * [ ok ]
 * checking miscfile checksums ;-) ...
 * [ ok ]
 * checking rpm-4.4.6.tar.gz ;-) ...
 * [ ok ]
 * [ ok ]
 * checking miscfile checksums ;-) ...
 * [ ok ]
 * checking rpm-4.4.6.tar.gz ;-) ...
 * [ ok ]
>>> Unpacking source...
>>> Unpacking rpm-4.4.6.tar.gz to /var/tmp/portage/rpm-4.4.6-r1/work
 * Applying rpm-4.4.6-with-sqlite.patch ...
 * [ ok ]
 * Applying rpm-4.4.6-stupidness.patch ...
 * [ ok ]
 * Running eautoreconf in '/var/tmp/portage/rpm-4.4.6-r1/work/rpm-4.4.6' ...
 * Running aclocal ...
 * [ ok ]
 * Running libtoolize --copy --force --automake ...
 * [ ok ]
 * Running aclocal ...
 * [ ok ]
 * Running autoconf ...
 * [ ok ]
 * Running autoheader ...
 * [ ok ]
 * Running automake --add-missing --copy --foreign ...
 * Running elibtoolize in: rpm-4.4.6
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.5.6.patch ...
 * Running elibtoolize in: rpm-4.4.6/db/dist
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/rpm-4.4.6-r1/work/rpm-4.4.6 ...
 * econf: updating rpm-4.4.6/config.guess with
 * /usr/share/gnuconfig/config.guess
 * econf: updating rpm-4.4.6/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating rpm-4.4.6/db/dist/config.guess with
 * /usr/share/gnuconfig/config.guess
 * econf: updating rpm-4.4.6/db/dist/config.sub with
 * /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-posixmutexes --without-javaglue
--without-selinux --without-python --without-apidocs --without-perl
--without-sqlite --enable-nls --build=i686-pc-linux-gnu

...

>>> /usr/bin/rpmverify -> ../lib/rpm/rpmv
>>> /usr/bin/rpme -> ../lib/rpm/rpme
>>> /usr/bin/rpmu -> ../lib/rpm/rpmu
 * RPM database found... Rebuilding database (may take a while)...
Fehler: Kann ${exec_prefix}/lib/rpm/rpmrc nicht zum Lesen oeffnen: Datei oder Verzeichnis nicht gefunden.
 * Byte compiling python modules for python-2.4 .. ...                                                               [ ok ]
>>> Regenerating /etc/ld.so.cache...
>>> app-arch/rpm-4.4.6-r1 merged.
>>> Recording app-arch/rpm in "world" favorites file...

>>> No packages selected for removal by clean.

>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

XXX ~ # uname -a
Linux XXX 2.6.17-gentoo-r4 #1 SMP Thu Jul 27 10:01:16 CEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux

XXX ~ # rpm -qa
Fehler: Kann ${exec_prefix}/lib/rpm/rpmrc nicht zum Lesen oeffnen: Datei oder Verzeichnis nicht gefunden.


Translation:
------------

Error: Can' open ${exec_prefix}/lib/rpm/rpmrc for reading: File or Directory not found.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-17 11:43:18 UTC

*** This bug has been marked as a duplicate of 151025 ***