Summary: | [version bump] device-mapper 1.02.02 is out. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Boyd Stephen Smith Jr. <bss03> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 120265 | ||
Attachments: | device-mapper-1.02.02.ebuild |
Description
Boyd Stephen Smith Jr.
2006-01-25 01:17:42 UTC
Renaming the existing ebuild and digestesting results in a clean install on my box. emerge --info: Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 x86_64) ================================================================= System uname: 2.6.15-gentoo-r1 x86_64 Dual Core AMD Opteron(tm) Processor 275 Gentoo Base System version 1.12.0_pre15 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=opteron -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=opteron -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acl acpi alsa apm arts async audiofile avi bash-completion berkdb bidi bitmap-fonts bl browserplugin bzip2 cdda cdparanoia cdr crypt cscope css cups curl dbus dga directfb dts dv dvb dvd dvdr dvdread edl eds elf emacs emboss encode esd exif expat fam fame fbcon ffmpeg flac foomaticdb fortran fuse gd gdbm gif gimp gimpprint glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal howl idn ieee1394 imagemagick imlib ipv6 jack java javascript jpeg junit kde kdeenablefinal kerberos lcms ldap lesstif libcaca libg++ libwww lm_sensors logitech-mouse lua lzo lzw lzw-tiff mad matroska mikmod mjpeg mng motif mozilla mp3 mpeg mplayer musepack musicbrainz mysql nas ncurses nls nptl nsplugin ntlm_unsupported_patch odbc ogg oggvorbis opengl oss pam pcre pda pdflib perl png postgres ppds python qt quicktime rdesktop readline real rtc samba sasl sblive scanner screen sdl slang slp smp sndfile snmp speex spell sqlite ssl stream subtitles svg syslog tcltk tcpd tetex tga theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vlm vorbis wifi wmf xanim xine xinerama xml xml2 xmms xpm xprint xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS This is a me too on ~x86. Ebuild version bump works as expected. emerge --info Portage 2.1_pre2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.13-mm1 i686) ================================================================= System uname: 2.6.13-mm1 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.0_pre12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -m32" 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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -m32" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac aalib acl alsa apm arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdparanoia cdr crypt cscope css cups curl dba divx4linux dpms dts dvd dvdr dvdread eds emboss encode esd ethereal exif expat faad fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gmp gnutls gphoto2 gpm gstreamer gtkhtml guile hal idn ieee1394 imagemagick imap imlib java jpeg jpeg2k junit kde kdexdeltas lcms libcaca libg++ libwww mad mhash mikmod mmap mmx mmx2 mmxext mng motif mozilla mp3 mpeg musepack mysql nas ncurses nptl nptlonly nvidia offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl png postgres povray python qt quicktime rdesktop readline real recode ruby samba sasl sblive scripting sdl slang slp snmp speex spell sse ssl svg svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode urandom usb vhosts vorbis win32codecs xine xml xml2 xmms xscreensaver xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS lvm appears to link against the minor version of the device-mapper library. So, this does break the existing lvm binary vis a vis: # pvs;vgs;lvs pvs: error while loading shared libraries: libdevmapper.so.1.01: cannot open shared object file: No such file or directory vgs: error while loading shared libraries: libdevmapper.so.1.01: cannot open shared object file: No such file or directory lvs: error while loading shared libraries: libdevmapper.so.1.01: cannot open shared object file: No such file or directory It can be solved with a simple revdep-rebuild, but it does need to be noted. Perhaps someone with more ebuild skills can add some magic to either the lvm or device-mapper ebuild to fix that issue. Just to be absolutely sure, I compiled the latest portage version of lvm2 (2.01.14) with this new device mapper and it compiles, installs, and runs cleanly. I can test other versions on my system, as well as other utilities that directly use device-mapper, if anyone is concerned with them. Created attachment 78126 [details]
device-mapper-1.02.02.ebuild
give this ebuild a spin please
Works for me, but I had already updated device-mapper and lvm2 using renamed ebuilds (+ patch given in bug 120265). So, I don't think I'm testing what you wanted me to. Since your changes appear to be trying to deal with comment #3, I'll now do a test to see if this fixes that comment. (It'll require a few minutes, I'll have to downgrade and re-upgrade some packages.) Using your ebuild, the old libdevmapper.so.1.01 is saved, so lvm2 continues to function AND I get some enotify text that gives the correct revdep-rebuild command to use to rebuild programs that use the old library. After running the revdep-rebuild, lvm2 continues to function and is linked against the new libdevmapper.so.1.02. So, I'd say this ebuild definitely covers comment #3. For some users, saving libdevmapper.so.1.01 is unecessary. For example /sbin/lvm is the only binary I have that is linked against that library, and normally /sbin/lvm is statically linked. Mine's not because I have the nolvmstatic USE flag. > For some users, saving libdevmapper.so.1.01 is unecessary.
maybe, but portage offers no way currently to detect that fact
considering the size of the lib and the severity of *not* saving it temporarily, the few who dont need it can suffer :)
thanks for testing, ive added this version to cvs now |