[Varnish] #1735: Changes to varnishapi.pc.in break module compilation.

Varnish varnish-bugs at varnish-cache.org
Tue May 12 19:54:43 CEST 2015


#1735: Changes to varnishapi.pc.in break module compilation.
---------------------+----------------------
 Reporter:  drogers  |       Type:  defect
   Status:  new      |   Priority:  normal
Milestone:           |  Component:  varnishd
  Version:  4.0.3    |   Severity:  normal
 Keywords:           |
---------------------+----------------------
 The removal of 'vmodincludedir' from varnishapi.pc.in in
 61cdf24bb88a18d175c8b6e1c4dc26593728fa27 breaks the compilation of (at
 least) libmod-vsthrottle (https://github.com/varnish/libvmod-vsthrottle)
 and boltsort (https://github.com/vimeo/libvmod-boltsort).

 {{{
 make  all-recursive
 make[1]: Entering directory `/tmp/libvmod-boltsort-master'
 Making all in src
 make[2]: Entering directory `/tmp/libvmod-boltsort-master/src'
 /bin/sh ../libtool  --tag=CC   --mode=compile gcc -std=gnu99
 -DHAVE_CONFIG_H -I. -I..  -I -I/usr/include/varnish   -g -O2 -MT vcc_if.lo
 -MD -MP -MF .deps/vcc_if.Tpo -c -o vcc_if.lo vcc_if.c
 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I
 -I/usr/include/varnish -g -O2 -MT vcc_if.lo -MD -MP -MF .deps/vcc_if.Tpo
 -c vcc_if.c  -fPIC -DPIC -o .libs/vcc_if.o
 vcc_if.c:8:17: fatal error: vrt.h: No such file or directory
  #include "vrt.h"
                  ^
 compilation terminated.
 make[2]: *** [vcc_if.lo] Error 1
 make[2]: Leaving directory `/tmp/libvmod-boltsort-master/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/tmp/libvmod-boltsort-master'
 make: *** [all] Error 2

 }}}

 Note the empty -I option, which confuses gcc.

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



More information about the varnish-bugs mailing list