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

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

 



On Thu, Jun 02, 2011 at 05:48:39AM -0600, Eric Blake wrote:
> 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.

There's no special makefile rules for locking.html - all the
HTML stuff is wildcarded. The same error hits command.html
here too.

> 
> >   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.

Yep, you can already just run  MAKEFLAGS="-j1" ./autobuild.sh

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]