[lvm-devel] [PATCH 04/11] debian: fix implicit pointer

Fabio M. Di Nitto fdinitto at redhat.com
Mon Oct 12 08:07:54 UTC 2009


On Sun, 2009-10-11 at 22:20 +0200, Bastian Blank wrote:
> On Sun, Oct 11, 2009 at 07:29:36PM +0200, Fabio M. Di Nitto wrote:
> > Bastian, I'd like to investigate this further. Can you please me provide
> > me with details of your test machine? Debian SID? x86? x86_64? tool
> > chain version? etc.
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516867
> https://buildd.debian.org/fetch.cgi?&pkg=lvm2&ver=2.02.44-1&arch=ia64&stamp=1235444991&file=log
> 
> Actually configure was not able to find rl_completion_matches but it was
> usable.

This seems to be a bug introduced by Debian autoreconf.

Using upstream configure:

configure:13440: checking for rl_completion_matches
configure:13496: gcc -o conftest    -Wl,--export-dynamic conftest.c
-lreadline -lrt -lselinux -lsepol  -ldl -lncurses  >&5
configure:13503: $? = 0
configure:13525: result: yes

Using Debian regenerated configure:

configure:8220: checking for rl_completion_matches
configure:8220: gcc -o conftest -g -O2   conftest.c -ldl  >&5
/tmp/ccUvvocx.o: In function `main':
/root/lvm2-2.02.53/debian/build/build-deb/conftest.c:142: undefined
reference to
 `rl_completion_matches'
collect2: ld returned 1 exit status
configure:8220: $? = 1

Maybe it's a regression introduced by autoconf 2.64 that's not available
in Fedora yet.

Fabio




More information about the lvm-devel mailing list