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#39324 - [lvm2] build fails

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Monday, 10 March 2014, 21:18 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 19 March 2014, 06:10 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

gcc -c -I. -I../include -DLVM_SHARED_PATH=\"/usr/sbin/lvm\" -DHAVE_CONFIG_H -DDM_IOCTLS -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security -Wredundant-decls -Wpointer-arith -Wuninitialized -Wmissing-include-dirs -Wfloat-equal -Wstrict-prototypes -Wold-style-definition -Wmissing-format-attribute -Wjump-misses-init -Wclobbered -Wempty-body -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -Woverride-init -Wtype-limits -Wsync-nand -Wlogical-op -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fPIC -O2 -fPIE -DPIE lvm.c -o lvm.o
lvm.c: In function 'lvm_shell':
lvm.c:188:38: error: 'CPPFunction' undeclared (first use in this function)
rl_attempted_completion_function = (CPPFunction *) _completion;
^
lvm.c:188:38: note: each undeclared identifier is reported only once for each function it appears in
lvm.c:188:51: error: expected expression before ')' token
rl_attempted_completion_function = (CPPFunction *) _completion;
^
lvm.c: At top level:
lvm.c:124:15: warning: '_completion' defined but not used [-Wunused-function]
static char **_completion(const char *text, int start_pos,
^
../make.tmpl:357: recipe for target 'lvm.o' failed
make[1]: *** [lvm.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/lvm2/src/LVM2.2.02.105/tools'
make.tmpl:267: recipe for target 'tools' failed
make: *** [tools] Error 2
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 19 March 2014, 06:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in trunk
Comment by Doug Newgard (Scimmia) - Tuesday, 11 March 2014, 03:57 GMT
Looks like another readline 6.3 issue.

Loading...