1) copied old ebuild (2.00.15) to overlay / lvm2-2.00.17.ebuild 2) cretaed digest 3) emerge lvm2 4) works fine on my dual PIII server Reproducible: Always Steps to Reproduce: 1. 2. 3.
Yes, works fine for me too. I added a dependency on bug 54534, because lvm2 and device-mapper should be updated together. The new lvm2 also contains an lvm2create_initrd script. The ebuild doesn't install this script. It needs modification for this and this will also add an additional dependency on busybox. To create the man page for lvm2create_initrd a dependency on perl (pod2man) is needed. Here the announcement for the release: https://www.redhat.com/archives/dm-devel/2004-June/msg00082.html
Created attachment 33939 [details, diff] lvm2.patch Here a patch for the lvm2 ebuild. It adds a new 'initrd' use variable and depending on it installs the lvm2create_initrd script and it's man page and README. I have NOT tested this script but it should be a help for people with their rootfs on lvm volumes.
i'm having trouble compiling the lvm2-2.00.08.ebuild and the lvm2-2.00.15.ebuild. i am currently in the process of setting up gentoo on a p4 1.8 and have not been able to get the lvm2 tools to compile. i have an nptl enabled glibc and have the latest current kernel headers installed (sys-kernel/linux-headers-2.6.7). i think i am installing off the 2004.0 livecd. i have also compiled and installed the linux-2.6.7-gentoo-r5 kernel sources and have compiled a kernel using those sources. i am still running off the kernel on the bootdisk. In file included from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:5, from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from device/dev-io.c:34: /usr/include/asm/processor.h:406: error: syntax error before numeric constant /usr/include/asm/processor.h:406: error: `print_log' declared as function returning an array /usr/include/asm/processor.h:406: error: field `print_log' declared as a function /usr/include/asm/processor.h:494: error: syntax error before numeric constant In file included from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from device/dev-io.c:34: /usr/include/linux/list.h:64: error: conflicting types for `list_add' ../include/list.h:33: error: previous declaration of `list_add' /usr/include/linux/list.h:160: error: conflicting types for `list_del' ../include/list.h:55: error: previous declaration of `list_del' /usr/include/linux/list.h:234: error: conflicting types for `list_empty' ../include/list.h:61: error: previous declaration of `list_empty' device/dev-io.c: In function `dev_open_flags': device/dev-io.c:328: warning: passing arg 1 of `list_add' from incompatible pointer type device/dev-io.c:328: warning: passing arg 2 of `list_add' from incompatible pointer type device/dev-io.c: In function `_close': device/dev-io.c:357: warning: passing arg 1 of `list_del' from incompatible pointer type make[1]: *** [device/dev-io.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/lvm2-2.00.15/work/LVM2.2.00.15/lib' make: *** [lib] Error 2 !!! ERROR: sys-fs/lvm2-2.00.15 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! compile problem i even tried to follow the last comment in this bugreport and attempted to install the lvm2-2.00.17 but had no luck. i then patched it using the patch in the previous comment, but was still unable to compile it.
Your compile problem probably comes from the usage of sys-kernel/linux-headers-2.6.7. They are marked -* because of exactly that reason -- some software doesn't compile with them. I have no patch for you but here lvm2-2.00.17 and 2.00.15 compile both with sys-kernel/linux-headers-2.6.6-r1. I think it's a bad idea to always use the latest kernel-headers, they make things break.
2.00.18: Fixes a recently-introduced vgchange bug. Adds support for clusters over shared storage: See also CLVM and usage.txt at
Changes in 2.00.19: Add init_debug to clvmd. Reduce severity of setlocale failure message. Added --disable-selinux to configure script. LD_FLAGS->LDFLAGS & LD_DEPS->LDDEPS in configure script. Make -O2 configurable. Recognise argv[0] "initrd-lvm" (pld-linux).
1) copied old ebuild (2.00.15) to overlay / lvm2-2.00.20.ebuild 2) cretaed digest 3) emerge lvm2 4) works fine on my dual PIII server
*** Bug 54201 has been marked as a duplicate of this bug. ***
latest is 2.00.21 #54534 is fixed and closed, the latest dmapper is in cvs - so can we bump the new version?
2.00.24 worked fine as a bump of 2.00.15-r1 (with USE="static" on amd64). Also mostly does away with the need for lvm2create_initrd - I'm using only a slightly modified genkernel initrd - with root on LVM now :)
.25 is committed with a few tweaks (added optional readline support and simplified static support). I'm not including the initrd stuff for now as the last comment suggests that it's not needed. If that is not the consensus, open a new one please. Thanks for the report!