[libvirt] [PATCH] build: avoid corrupting / in RHEL 5

Eric Blake eblake at redhat.com
Thu Jun 2 11:48:39 UTC 2011


On 06/02/2011 05:26 AM, Daniel P. Berrange wrote:
> 
> I've seen a strange build error from autobuild.sh which I'm thinking
> may be related to this patch
> 
> Generating drivers.html.tmp
> Stubbing todo.html.in
> Generating internals/locking.html.tmp
> Generating internals/command.html.tmp

There's no locking.html.in yet (except in your patch series), so this
points to a bug in at least the VPATH rules for your conversion from
locking.html.in to locking.html.

You need to generate locking.html in $(srcdir), since it will be
distributed pre-built as part of the tarball.

>   GEN    ../../docs/libvirt-api.xml
> /bin/sh: line 3: internals/locking.html.tmp: No such file or directory
> /bin/sh: line 3: internals/command.html.tmp: No such file or directory
> Validating architecture.html
> Validating contact.html
> rm: cannot remove `internals/command.html.tmp': No such file or directory
> make[2]: *** [internals/command.html.tmp] Error 1
> make[2]: *** Waiting for unfinished jobs....

Sometimes, it helps to use make -j1 to ensure that interleaved output
from parallel rules isn't causing further confusion, although I don't
know if it's easy to do that as an autobuild.sh parameter or if it
requires an actual script tweak.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110602/d7830d67/attachment-0001.sig>


More information about the libvir-list mailing list