Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120266 - [version bump] device-mapper 1.02.02 is out.
Summary: [version bump] device-mapper 1.02.02 is out.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 120265
  Show dependency tree
 
Reported: 2006-01-25 01:17 UTC by Boyd Stephen Smith Jr.
Modified: 2006-01-26 16:20 UTC (History)
0 users

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


Attachments
device-mapper-1.02.02.ebuild (device-mapper-1.02.02.ebuild,1.23 KB, text/plain)
2006-01-25 19:09 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boyd Stephen Smith Jr. 2006-01-25 01:17:42 UTC
There's a new device-mapper available from ftp://sources.redhat.com/pub/dm and it looks like it is required for the new lvm2.  I don't know about backwards compatibility so, it may be a problem.
Comment 1 Boyd Stephen Smith Jr. 2006-01-25 01:23:17 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
Comment 2 Zac Slade 2006-01-25 01:27:52 UTC
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
Comment 3 Boyd Stephen Smith Jr. 2006-01-25 01:31:10 UTC
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.
Comment 4 Boyd Stephen Smith Jr. 2006-01-25 01:50:09 UTC
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.
Comment 5 SpanKY gentoo-dev 2006-01-25 19:09:49 UTC
Created attachment 78126 [details]
device-mapper-1.02.02.ebuild

give this ebuild a spin please
Comment 6 Boyd Stephen Smith Jr. 2006-01-26 00:51:42 UTC
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.)
Comment 7 Boyd Stephen Smith Jr. 2006-01-26 01:04:49 UTC
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.
Comment 8 Boyd Stephen Smith Jr. 2006-01-26 01:12:30 UTC
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.
Comment 9 SpanKY gentoo-dev 2006-01-26 05:31:10 UTC
> 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 :)
Comment 10 SpanKY gentoo-dev 2006-01-26 16:20:25 UTC
thanks for testing, ive added this version to cvs now