[Varnish] #1418: Makefile race for vcc_if.h

Varnish varnish-bugs at varnish-cache.org
Tue Jan 28 16:30:34 CET 2014


#1418: Makefile race for vcc_if.h
----------------------+-------------------
 Reporter:  lkarsten  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  build     |    Version:  trunk
 Severity:  minor     |   Keywords:
----------------------+-------------------
 In current master, when building in parallel, the first attempt is halted
 because libvmod_debug/vcc_if.h isn't ready yet.

 Re-running make after it fails resumes compilation.


 {{{
   CC     libvgz_la-uncompr.lo
   CC     libvgz_la-zutil.lo
   CCLD   libvgz.la
 make[3]: Leaving directory `/home/lkarsten/varnish-4.0.0-tp2/lib/libvgz'
 Making all in libvmod_debug
 make[3]: Entering directory
 `/home/lkarsten/varnish-4.0.0-tp2/lib/libvmod_debug'
 python2 ../../lib/libvcc/vmodtool.py ../../lib/libvmod_debug/vmod.vcc
 python2 ../../lib/libvcc/vmodtool.py ../../lib/libvmod_debug/vmod.vcc
   CC     vmod_debug_obj.lo
 vmod_debug_obj.c:36:20: error: vcc_if.h: No such file or directory
 make[3]: *** [vmod_debug_obj.lo] Error 1
 make[3]: *** Waiting for unfinished jobs....
 Warning:
 $Init description is not included in .rst:
 Warning:
 $Init description is not included in .rst:
 ('\t', '')
 ('\t', 'Call this whenever a VCL is loaded which imports this vmod.')
 ('\t', '')
 ('\t', '')
 ('\t', 'Call this whenever a VCL is loaded which imports this vmod.')
 ('\t', '')
 make[3]: Leaving directory
 `/home/lkarsten/varnish-4.0.0-tp2/lib/libvmod_debug'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/lkarsten/varnish-4.0.0-tp2/lib'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/lkarsten/varnish-4.0.0-tp2'
 make: *** [all] Error 2
 }}}

 (output says 4.0.0-tp2, but it is master from jenkins tarball due to non-
 working autoconf on el5)

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1418>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list