[Varnish] #1587: Can't compile VCL

Varnish varnish-bugs at varnish-cache.org
Mon Sep 1 13:17:57 CEST 2014


#1587: Can't compile VCL
--------------------------+----------------------
 Reporter:  antonbabenko  |       Type:  defect
   Status:  new           |   Priority:  normal
Milestone:                |  Component:  varnishd
  Version:  4.0.0         |   Severity:  normal
 Keywords:  vcl, compile  |
--------------------------+----------------------
 This is the minumum vcl_recv function which I can't get compile on Mac
 10.9 with Varnish installed via homebrew. varnishd (varnish-4.0.0 revision
 2acedeb)

 ---

 vcl 4.0;

 sub vcl_recv {
   if (req.http.Authenticate || req.http.Authorization) {
     return (pass);
   }
 }

 ---
 The error message is:
 Running VCC-compiler failed, exit 1

 VCL compilation failed
 Message from VCC-compiler:
 Not running as root, no priv-sep
 Syntax error at
 ('input' Line 23 Pos 1)
     return (pass);

 All other parts on that VCL works as they should. Varnish bug or specific
 to homebrew ?

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



More information about the varnish-bugs mailing list