When upgrading from readline-4 to readline-5 the readline-4 ebuild is unmerged which then removes all readline-4 libraries. This is anoying since I have some stuff that relies on readline-4 and cannot be recompiled at the moment. Reproducible: Always Steps to Reproduce: 1.emerge =sys-libs/readline-4.3-r5 2.emerge =sys-libs/readline-5.0-r2 3. Actual Results: readline-4.3-r5 is unmerged Expected Results: both library versions should coexist rs ~ # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.13 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.esoft.dk/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LINGUAS="da" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/esoft-portage" SYNC="rsync://mirror.esoft.dk/gentoo-portage" USE="x86 X alsa apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts bzlib calendar crypt ctype cups curl dba emboss encode exif fam flac flash foomaticdb fortran ftp gd gdbm gif gpm graphviz gtk2 iconv imagemagick imap imlib ipv6 jabber java jbig jpeg junit kde lcms libg++ libwww mad mhash mikmod mime ming mmxmotif mozilla mozsvg mp3 mpeg msn mysql ncurses nls odbc ogg oggvorbis opengl oss pam pcntl pcre pdflib perl php png posix postgres python qt quicktime readline samba sdl session slang snmp soap sockets spell spl sse sse2 ssl svga tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb vorbis wmf xine xml xml2 xmmsxsl xv zlib linguas_da userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
you dont just arbitrarily SLOT packages readline-4 and readline-5 have no API changes so packages build fine against either, the ABI just changed the readline-5 ebuild should copy over the previous libreadline.so.4 library for you
Well, then don't slot the package. >the readline-5 ebuild should copy over the >previous libreadline.so.4 library for you That might be true, but the libreadline.so.4 is still deleted when readline-4 ebuild is unmerged, and this is what I have a problem with.
(In reply to comment #2) > That might be true, but the libreadline.so.4 is still deleted when readline-4 > ebuild is unmerged, > and this is what I have a problem with. No, it is not. <snip> # Backwards compatibility #29865 if [[ -e ${ROOT}/$(get_libdir)/libreadline.so.4 ]] ; then cp -a "${ROOT}"/$(get_libdir)/libreadline.so.4* "${D}"/$(get_libdir)/ touch "${D}"/$(get_libdir)/libreadline.so.4* fi </snip>
yeah, you're gonna have to provide some usage info because the ebuild looks correct and it upgraded my readline-4 to readline-5 systems just fine ...