[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]