Bug 1071777 - No rule to make target `test_libvirt_lockd.aug', needed by `all-am'
Summary: No rule to make target `test_libvirt_lockd.aug', needed by `all-am'
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Mac OS
unspecified
medium
Target Milestone: ---
Assignee: Eric Blake
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-03 07:13 UTC by redhat
Modified: 2014-03-14 14:42 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-14 14:42:31 UTC
Embargoed:


Attachments (Terms of Use)

Description redhat 2014-03-03 07:13:17 UTC
Description of problem:
Build fails 

Version-Release number of selected component (if applicable):
1.2.2

How reproducible:
Always

Steps to Reproduce:
1. ./configure --without-qemu
2. make

Actual results:
make[3]: *** No rule to make target `test_libvirt_lockd.aug', needed by `all-am'.  Stop.

Expected results:
successful build

Additional info:
I am the maintainer of libvirt in the MacPorts package management system, trying to update our package from 1.2.1 (which builds fine).

Comment 1 Eric Blake 2014-03-04 21:28:45 UTC
In fact, I got an earlier failure with './configure --without-qemu; make distcheck':

make[4]: Entering directory `/home/eblake/libvirt-tmp2/libvirt-1.2.3/_build/docs'
  GEN      ../../docs/devhelp/index.html
I/O error : Permission denied
I/O error : Permission denied
runtime error: file ../../docs/devhelp/devhelp.xsl line 43 element document
xsltDocumentElem: unable to save to ../../docs/devhelp/libvirt-libvirt.html

So we definitely have some problems where configuring without qemu breaks the tarball.  I'll try and fix them before 1.2.3, but am not sure how long it will take me to get to root cause.

Comment 2 Eric Blake 2014-03-06 13:23:28 UTC
Possible fix:
https://www.redhat.com/archives/libvir-list/2014-March/msg00330.html

Comment 3 redhat 2014-03-07 03:00:25 UTC
Thanks for the suggestion. That patch allows the build to succeed, but installation now fails:

 /opt/local/bin/gmkdir -p '/opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_libvirt/libvirt/work/destroot/opt/local/share/augeas/lenses/tests'
 /usr/bin/install -c -m 644 ./test_libvirt_lockd.aug test_virtlockd.aug '/opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_libvirt/libvirt/work/destroot/opt/local/share/augeas/lenses/tests'
install: ./test_libvirt_lockd.aug: No such file or directory

Comment 4 Roman Bogorodskiy 2014-03-08 15:28:00 UTC
I think the updated version of this patch should work now:

http://svnweb.freebsd.org/ports/head/devel/libvirt/files/patch-src__Makefile.in?revision=347429&view=co

Comment 5 redhat 2014-03-09 00:28:40 UTC
Yes it does! Thanks.

Comment 6 Michal Privoznik 2014-03-14 14:42:31 UTC
I've just pushed the patch upstream:

commit d148a3e751f1990f692d4e2df87755343437d802
Author:     Roman Bogorodskiy <bogorodskiy>
AuthorDate: Sat Mar 8 20:51:45 2014 +0400
Commit:     Michal Privoznik <mprivozn>
CommitDate: Fri Mar 14 14:49:46 2014 +0100

    Fix build with qemu driver disabled
    
    Do not include test_libvirt_lockd.aug when configured without qemu
    driver.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1071777

v1.2.2-179-gd148a3e


Note You need to log in before you can comment on or make changes to this bug.