On Fri, 2016-05-27 at 08:24 -0600, Eric Blake wrote:
On 05/27/2016 04:33 AM, Michal Privoznik wrote:
>
> > Pushed under gnulib maintenance rule, since RC1 still hasn't been tagged.
>
> Unfortunately, this breaks build on my system:
>
> make[2]: Entering directory '/home/zippy/work/libvirt/libvirt.git/tests'
CCLD virpcimock.la
> ../gnulib/lib/.libs/libgnu.a(canonicalize-lgpl.o): In function
`rpl_canonicalize_file_name':
> /home/zippy/work/libvirt/libvirt.git/gnulib/lib/canonicalize-lgpl.c:400: multiple
definition of
> `rpl_canonicalize_file_name'
>
.libs/virpcimock_la-virpcimock.o:/home/zippy/work/libvirt/libvirt.git/tests/virpcimock.c:939:
first defined here
> collect2: error: ld returned 1 exit status
>
> Worse, I have no idea how to fix this.
Was this an incremental or a clean build? If incremental, I suspect that
it may just be stale files left behind as gnulib shuffles things between
normal use and testsuite use. I'm trying to reproduce now...
I ran into the same error with a completely clean
build[1] on my fully up-to-date Fedora 23 system.
[1] git clean -xdf && \
git submodule foreach 'git clean -xdf'
--
Andrea Bolognani
Software Engineer - Virtualization Team