Arch Linux

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!
Tasklist

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
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: 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

Closed by  Greg (dolby)
Saturday, 31 May 2008, 07:09 GMT
Reason for closing:  Won't implement
Comment by Thomas Bächler (brain0) - Friday, 08 February 2008, 08:26 GMT
So, your request is that we add readline support to lvm (why??), despite the fact that is breaks the build?
Comment by Eric Belanger (Snowman) - Friday, 15 February 2008, 07:37 GMT
Add:
options=('!makeflags')
to the PKGBUILD to disable SMP building. That might fix the build issue.
Comment by Greg (dolby) - Tuesday, 13 May 2008, 21:10 GMT
@vogt: Can you reply to brain0's question above?
Comment by Adam Vogt (vogt) - Tuesday, 13 May 2008, 23:10 GMT
I remember lvm having its subshell awhile back.

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)
Comment by Eric Belanger (Snowman) - Tuesday, 13 May 2008, 23:32 GMT
I'm a bit surprised by that. In my experience, the :
make[1]: *** Waiting for unfinished jobs....
error message indicates a SMP problem. Can you still give the !makeflags option a try?
Comment by Aaron Griffin (phrakture) - Thursday, 29 May 2008, 16:55 GMT
Ping?
Comment by Adam Vogt (vogt) - Thursday, 29 May 2008, 23:07 GMT
I should have seen this: the second make of lvm, the static binary being built was using .o built with --enable-readline, while that configure didn't have --enable-readline.

So either make clean before the second configure, or use --enable-readline on the static binary too.

That works regardless of the makeflags setting.

Loading...