Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151025 - app-arch/rpm-4.4.6 Unable to open ${exec_prefix}/%{_lib}/rpm/rpmrc
Summary: app-arch/rpm-4.4.6 Unable to open ${exec_prefix}/%{_lib}/rpm/rpmrc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 151303 151562 151703 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-12 08:33 UTC by Giovanni
Modified: 2012-03-22 12:22 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giovanni 2006-10-12 08:33:55 UTC
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
Comment 1 Giovanni 2006-10-12 08:36:23 UTC
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.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2006-10-15 17:49:23 UTC
*** Bug 151303 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2006-10-15 20:14:57 UTC
fixed in cvs and pushed with 4.4.6-r1
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-10-16 03:46:33 UTC
*** Bug 151562 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-16 03:46:57 UTC
<snip>
error: Unable to open ${exec_prefix}/lib/rpm/rpmrc for reading: No such file or
directory.
</snip>

Reopening.
Comment 6 Lars Langhans 2006-10-17 04:07:05 UTC
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.
Comment 7 Lars Langhans 2006-10-17 04:14:54 UTC
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.
Comment 8 Peter Volkov (RETIRED) gentoo-dev 2006-10-17 06:47:19 UTC
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 :)
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-10-17 11:43:18 UTC
*** Bug 151703 has been marked as a duplicate of this bug. ***
Comment 10 Nikos Chantziaras 2012-03-22 12:22:12 UTC
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.