pcpanco ~ # emerge --info Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17.6 i686) ================================================================= System uname: 2.6.17.6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.5 Last Sync: Thu, 12 Oct 2006 06:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r1, 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="C" LINGUAS="en it" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/home/tmp/portage" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X acpi alsa arts asf berkdb bitmap-fonts bluetooth cairo cdr cli crypt cups dbus dga dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode esd evo faad fam firefox fortran gcj gdbm gif gimpprint glut gnome gpm gstreamer gtk hal i8x0 imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irmc isdnlog java jpeg kde kerberos kernel_linux ldap libg++ linguas_en linguas_it mad mbox mikmod mmx mozilla mp3 mpeg musicbrainz ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcap pcre pda perl png ppds pppd python qt3 qt4 quicktime readline real reflection rtc samba sdl session spell spl sse sse2 ssl tcpd transcode truetype truetype-fonts type1-fonts udev unicode userland_GNU vhosts video_cards_fbdev video_cards_i810 video_cards_vesa video_cards_vga video_cards_vmware visualization vorbis win32codecs xanim xml xorg xv xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
error on emerge rpm pcpanco ~ # emerge rpm >>> /usr/include/rpm/header.h >>> /usr/include/rpm/rpmbuild.h >>> /usr/lib/librpm.so -> librpm-4.4.so >>> /usr/lib/librpmio.so -> librpmio-4.4.so >>> /usr/bin/rpme -> ../lib/rpm/rpme >>> /usr/bin/rpmi -> ../lib/rpm/rpmi >>> /usr/bin/rpmu -> ../lib/rpm/rpmu >>> /usr/bin/rpmdb -> ../lib/rpm/rpmd >>> /usr/bin/rpmsign -> ../lib/rpm/rpmk >>> /usr/bin/rpmverify -> ../lib/rpm/rpmv >>> /usr/bin/rpmbuild -> ../lib/rpm/rpmb >>> /usr/bin/rpmquery -> ../lib/rpm/rpmq >>> /usr/lib/rpm/rpme -> rpmi >>> /usr/lib/rpm/rpmt -> rpmb >>> /usr/lib/rpm/rpmu -> rpmi >>> /usr/lib/rpm/rpmv -> rpmq * RPM database found... Rebuilding database (may take a while)... error: Unable to open ${exec_prefix}/%{_lib}/rpm/rpmrc for reading: No such file or directory.
*** Bug 151303 has been marked as a duplicate of this bug. ***
fixed in cvs and pushed with 4.4.6-r1
*** Bug 151562 has been marked as a duplicate of this bug. ***
<snip> error: Unable to open ${exec_prefix}/lib/rpm/rpmrc for reading: No such file or directory. </snip> Reopening.
I try to get the content of the openoffice*.rpm # rpm -qlp openoffice.org-core05u-2.1.0-188.i586.rpm error: Unable to open ${exec_prefix}/lib/rpm/rpmrc for reading: No such file or directory. As we all know, we (Gentoo) have no DB, we need a fix, fast.
Due to the fact, rpm-4.2.1 is removed out of the portage tree, there exists no alternative to stupid rpm-4.4.6. I want my rpm-4.2.1 back! I can't change the prio of this bug to P1, but I recommend it, because the rpm 4.4.6 hinders me to work. Currently I use an OVERLAY of rpm-4.2.1.ebuild from portage-20061015.tar.bz2.
The problem was that on x86 system portage does not pass --libdir to ./configure. I've modified rpm-4.4.6-stupidness.patch a little bit so it should substitute the right value. Hopefully bug is fixed in rpm-4.4.6-r2 :)
*** Bug 151703 has been marked as a duplicate of this bug. ***
This is still a problem with rpm-4.9.1.2-r1: >>> Installing (1 of 1) app-arch/rpm-4.9.1.2-r1 * RPM database found... Rebuilding database (may take a while)... error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory. There's also a QA warning: * QA Notice: Automake "maintainer mode" detected: * * cd . && /bin/sh /var/tmp/portage/app-arch/rpm-4.9.1.2-r1/work/rpm-4.9.1.2/missing --run automake-1.11 --foreign Makefile * * If you patch Makefile.am, configure.in, or configure.ac then you * should use autotools.eclass and eautomake or eautoreconf. Exceptions * are limited to system packages for which it is impossible to run * autotools during stage building. See * http://www.gentoo.org/proj/en/qa/autofailure.xml for more information.