Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#9480 - lvm --enable-readline
Attached to Project:
Arch Linux
Opened by Adam Vogt (vogt) - Thursday, 07 February 2008, 05:00 GMT
Last edited by Greg (dolby) - Saturday, 31 May 2008, 07:09 GMT
Opened by Adam Vogt (vogt) - Thursday, 07 February 2008, 05:00 GMT
Last edited by Greg (dolby) - Saturday, 31 May 2008, 07:09 GMT
|
DetailsDescription: Please enable readline for lvm2
Just adding it to the current (2.02.33) gives this error: lvmcmdline.o: In function `lvm2_main': lvmcmdline.c:(.text+0x4a79): undefined reference to `lvm_shell' collect2: ld returned 1 exit status make[1]: *** [lvm] Error 1 make[1]: *** Waiting for unfinished jobs.... ../lib/liblvm.a(sharedlib.o): In function `load_shared_library': sharedlib.c:(.text+0x141): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking It looks like our readline is not exactly like the one expected? |
This task depends upon
options=('!makeflags')
to the PKGBUILD to disable SMP building. That might fix the build issue.
Obviously I don't want a broken build, but adding readline makes using it more convenient. Clearly it is too much trouble for something you only use twice.
@Eric: This isn't a smp machine (no -j2 in makepkg.conf)
make[1]: *** Waiting for unfinished jobs....
error message indicates a SMP problem. Can you still give the !makeflags option a try?
So either make clean before the second configure, or use --enable-readline on the static binary too.
That works regardless of the makeflags setting.