Summary: | sys-fs/lvm2-2.02.109[lvm1] configure: error: --with-lvm1 parameter invalid | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brian Evans (RETIRED) <grknight> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | agk, ssuominen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log
build.log |
Created attachment 383420 [details]
build.log
Fixed in Portage by a 1-liner sed: sed -i -e 's:|share):|shared):' configure.in || die #520640 The fix was: --- configure.in +++ configure.in @@ -271,7 +271,7 @@ AC_MSG_RESULT($LVM1) case "$LVM1" in - none|share) ;; + none|shared) ;; internal) AC_DEFINE([LVM1_INTERNAL], 1, [Define to 1 to include built-in support for LVM1 metadata.]) ;; *) AC_MSG_ERROR([--with-lvm1 parameter invalid]) ;; Alasdair, can you fix this in LVM2 upstream repository? Will be fixed in 2.02.110 |
Created attachment 383418 [details] config.log checking default name mangling... auto checking whether to enable lvm1 fallback... no checking whether to include support for lvm1 metadata... shared configure: error: --with-lvm1 parameter invalid !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sys-fs/lvm2-2.02.109/work/LVM2.2.02.109/config.log * ERROR: sys-fs/lvm2-2.02.109::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 3876: Called econf '--enable-readline' '--disable-selinux' '--enable-pkgconfig' '--with-confdir=/etc' '--exec-prefix=' '--sbindir=/sbin' '--with-staticdir=/sbin' '--libdir=/lib64' '--with-usrlibdir=/usr/lib64' '--with-default-dm-run-dir=/run' '--with-default-run-dir=/run/lvm' '--with-default-locking-dir=/run/lock/lvm' '--with-default-pid-dir=/run' '--enable-udev_rules' '--enable-udev_sync' '--with-udevdir=/lib/udev/rules.d' '--disable-udev-systemd-background-jobs' '--with-systemdsystemunitdir=/usr/lib/systemd/system' '--enable-dmeventd' '--enable-cmdlib' '--enable-applib' '--enable-fsadm' '--enable-lvmetad' '--with-mirrors=internal' '--with-snapshots=internal' '--with-thin=internal' '--with-cache=internal' '--with-thin-check=/sbin/thin_check' '--with-cache-check=/sbin/cache_check' '--with-thin-dump=/sbin/thin_dump' '--with-cache-dump=/sbin/cache_dump' '--with-thin-repair=/sbin/thin_repair' '--with-cache-repair=/sbin/cache_repair' '--with-thin-restore=/sbin/thin_restore' '--with-cache-restore=/sbin/cache_restore' '--with-lvm1=shared' '--with-clvmd=none' '--with-cluster=none' 'CLDFLAGS=-Wl,-O1 -Wl,--as-needed' * phase-helpers.sh, line 584: Called die * The specific snippet of code: * die "econf failed"