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

Bug 146456

Summary: app-arch/rpm: rpm2cpio builds against previous librpm*.so
Product: Gentoo Linux Reporter: Hugo Herbelin <Hugo.Herbelin>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED NEEDINFO    
Severity: normal CC: ahlx
Priority: High    
Version: 2004.3   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hugo Herbelin 2006-09-05 13:50:04 UTC
After app-arch/rpm upgrade from 4.2.1 to 4.4.6, newly built /usr/bin/rpm2cpio still links against librpm*-4.2.so, instead of against the new librpm*-4.4.so (it is hence not usable as the 4.2 libs get unmerged after installation of the new package). Re-emerging rpm a second time solved the problem.

I unfortunately can't locate more precisely the reason of the failure.

------------------
emerge --info
Portage 2.1-r2 (default-linux/ppc/2004.3, gcc-3.4.1, glibc-2.3.6-r4, 2.6.16-gentoo-r5 ppc)
=================================================================
System uname: 2.6.16-gentoo-r5 ppc 7447A, altivec supported
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.3, 2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://mir.zyrianes.net/gentoo/ http://194.117.143.71 http://194.117.143.72 http://194.117.143.69"
LANG="fr_FR"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac aalib alsa altivec berkdb bitmap-fonts bl cjk cli cpudetection crypt cups dga directfb divx4linux dlloader dri dts dvb dvd dvdread edl emacs emboss esd fbcon font-server fortran ggi gif gnome gpm gtk gtk2 ide ipv6 isdnlog jpeg leim libcaca libwww lzo matroska motif mp3 mpeg ncurses network nls oggvorbis opengl pam pcre pdflib perl png pppd python qt3 qt4 readline reflection sdl session sheep spell spl ssl tcpd tga theora truetype truetype-fonts type1-fonts unicode vorbis xanim xinerama xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2006-10-15 20:34:00 UTC
i cant reproduce that over here ... post a full log of the build process

i get:
powerpc-unknown-linux-gnu-gcc -O2 -mcpu=970 -pipe -fPIC -DPIC -D_GNU_SOURCE -D_R
EENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-cha
r-subscripts -Wl,-O1 -Wl,-z -Wl,relro -o .libs/rpm2cpio -Wl,-O1 -Wl,-z -Wl,relro
 rpm2cpio.o  ./lib/.libs/librpm.so /var/tmp/portage/app-arch/rpm-4.4.6/work/rpm-
4.4.6/rpmdb/.libs/librpmdb.so ./rpmdb/.libs/librpmdb.so /var/tmp/portage/app-arc
h/rpm-4.4.6/work/rpm-4.4.6/rpmio/.libs/librpmio.so -lelf ./rpmio/.libs/librpmio.
so /usr/lib/libbeecrypt.so /usr/lib/libneon.so -lssl -lcrypto /usr/lib/libexpat.
so -lm -ldl /usr/lib/libmagic.so -lresolv /usr/lib/libpopt.so -lrt -lpthread -lz
 -lbz2