Varnish 4 - VCL Compilation failed - Valid VCL

Hugues Alary hugues at betabrand.com
Wed May 21 04:34:33 CEST 2014


Hi there,

I believe Mac OS X is not officially supported, but I figured that since it
has always worked, I would ask my question.

I just switched to varnish 4 from varnish 3.0.5.

After a few trial-error I finally got a VCL that varnish 4 likes.

However, I now get this error when trying to start varnish:

$ sudo varnishd -a 127.0.0.1:80 -T 127.0.0.1 -s malloc,256M -p
http_req_hdr_len=32768 -f /usr/local/etc/varnish/magento.vcl

Message from C-compiler:
ld: can't open output file for writing './vcl.Qw7naIoS.so.ld_FCIJx5',
errno=13 for architecture x86_64
clang: error: unable to remove file: Permission denied
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Running C-compiler failed, exit 1

VCL compilation failed

After fiddling for a bit I discovered that doing a chmod 333 on the
directory where vcl.Qw7naIoS.so.ld_FCIJx5 is written would allow varnish to
start.

Here's the output of dtruss which made me think of doing the chmod.

$ sudo dtruss "varnishd -a 127.0.0.1:80 -T 127.0.0.1 -s malloc,256M -p
http_req_hdr_len=32768 -f /usr/local/etc/varnish/magento.vcl"

SYSCALL(args)  = return
getdtablesize(0xB, 0x7FFF59051AC0, 0x7FFF59051B20) = 256 0
close(0x100) = -1 Err#9
close(0xFF) = -1 Err#9
close(0xFE) = -1 Err#9
close(0xFD) = -1 Err#9
close(0xFC) = -1 Err#9
close(0xFB) = -1 Err#9
close(0xFA) = -1 Err#9
close(0xF9) = -1 Err#9
close(0xF8) = -1 Err#9
close(0xF7) = -1 Err#9
close(0xF6) = -1 Err#9
close(0xF5) = -1 Err#9
close(0xF4) = -1 Err#9
close(0xF3) = -1 Err#9
close(0xF2) = -1 Err#9
close(0xF1) = -1 Err#9
close(0xF0) = -1 Err#9
close(0xEF) = -1 Err#9
close(0xEE) = -1 Err#9
close(0xED) = -1 Err#9
close(0xEC) = -1 Err#9
close(0xEB) = -1 Err#9
close(0xEA) = -1 Err#9
close(0xE9) = -1 Err#9
close(0xE8) = -1 Err#9
close(0xE7) = -1 Err#9
close(0xE6) = -1 Err#9
close(0xE5) = -1 Err#9
close(0xE4) = -1 Err#9
close(0xE3) = -1 Err#9
close(0xE2) = -1 Err#9
close(0xE1) = -1 Err#9
close(0xE0) = -1 Err#9
close(0xDF) = -1 Err#9
close(0xDE) = -1 Err#9
close(0xDD) = -1 Err#9
close(0xDC) = -1 Err#9
close(0xDB) = -1 Err#9
close(0xDA) = -1 Err#9
close(0xD9) = -1 Err#9
close(0xD8) = -1 Err#9
close(0xD7) = -1 Err#9
close(0xD6) = -1 Err#9
close(0xD5) = -1 Err#9
close(0xD4) = -1 Err#9
close(0xD3) = -1 Err#9
close(0xD2) = -1 Err#9
close(0xD1) = -1 Err#9
close(0xD0) = -1 Err#9
close(0xCF) = -1 Err#9
close(0xCE) = -1 Err#9
close(0xCD) = -1 Err#9
close(0xCC) = -1 Err#9
close(0xCB) = -1 Err#9
close(0xCA) = -1 Err#9
close(0xC9) = -1 Err#9
close(0xC8) = -1 Err#9
close(0xC7) = -1 Err#9
close(0xC6) = -1 Err#9
close(0xC5) = -1 Err#9
close(0xC4) = -1 Err#9
close(0xC3) = -1 Err#9
close(0xC2) = -1 Err#9
close(0xC1) = -1 Err#9
close(0xC0) = -1 Err#9
close(0xBF) = -1 Err#9
close(0xBE) = -1 Err#9
close(0xBD) = -1 Err#9
close(0xBC) = -1 Err#9
close(0xBB) = -1 Err#9
close(0xBA) = -1 Err#9
close(0xB9) = -1 Err#9
close(0xB8) = -1 Err#9
close(0xB7) = -1 Err#9
close(0xB6) = -1 Err#9
close(0xB5) = -1 Err#9
close(0xB4) = -1 Err#9
close(0xB3) = -1 Err#9
close(0xB2) = -1 Err#9
close(0xB1) = -1 Err#9
close(0xB0) = -1 Err#9
close(0xAF) = -1 Err#9
close(0xAE) = -1 Err#9
close(0xAD) = -1 Err#9
close(0xAC) = -1 Err#9
close(0xAB) = -1 Err#9
close(0xAA) = -1 Err#9
close(0xA9) = -1 Err#9
close(0xA8) = -1 Err#9
close(0xA7) = -1 Err#9
close(0xA6) = -1 Err#9
close(0xA5) = -1 Err#9
close(0xA4) = -1 Err#9
close(0xA3) = -1 Err#9
close(0xA2) = -1 Err#9
close(0xA1) = -1 Err#9
close(0xA0) = -1 Err#9
close(0x9F) = -1 Err#9
close(0x9E) = -1 Err#9
close(0x9D) = -1 Err#9
close(0x9C) = -1 Err#9
close(0x9B) = -1 Err#9
close(0x9A) = -1 Err#9
close(0x99) = -1 Err#9
close(0x98) = -1 Err#9
close(0x97) = -1 Err#9
close(0x96) = -1 Err#9
close(0x95) = -1 Err#9
close(0x94) = -1 Err#9
close(0x93) = -1 Err#9
close(0x92) = -1 Err#9
close(0x91) = -1 Err#9
close(0x90) = -1 Err#9
close(0x8F) = -1 Err#9
close(0x8E) = -1 Err#9
close(0x8D) = -1 Err#9
close(0x8C) = -1 Err#9
close(0x8B) = -1 Err#9
close(0x8A) = -1 Err#9
close(0x89) = -1 Err#9
close(0x88) = -1 Err#9
close(0x87) = -1 Err#9
close(0x86) = -1 Err#9
close(0x85) = -1 Err#9
close(0x84) = -1 Err#9
close(0x83) = -1 Err#9
close(0x82) = -1 Err#9
close(0x81) = -1 Err#9
close(0x80) = -1 Err#9
close(0x7F) = -1 Err#9
close(0x7E) = -1 Err#9
close(0x7D) = -1 Err#9
close(0x7C) = -1 Err#9
close(0x7B) = -1 Err#9
close(0x7A) = -1 Err#9
close(0x79) = -1 Err#9
close(0x78) = -1 Err#9
close(0x77) = -1 Err#9
close(0x76) = -1 Err#9
close(0x75) = -1 Err#9
close(0x74) = -1 Err#9
close(0x73) = -1 Err#9
close(0x72) = -1 Err#9
close(0x71) = -1 Err#9
close(0x70) = -1 Err#9
close(0x6F) = -1 Err#9
close(0x6E) = -1 Err#9
close(0x6D) = -1 Err#9
close(0x6C) = -1 Err#9
close(0x6B) = -1 Err#9
close(0x6A) = -1 Err#9
close(0x69) = -1 Err#9
close(0x68) = -1 Err#9
close(0x67) = -1 Err#9
close(0x66) = -1 Err#9
close(0x65) = -1 Err#9
close(0x64) = -1 Err#9
close(0x63) = -1 Err#9
close(0x62) = -1 Err#9
close(0x61) = -1 Err#9
close(0x60) = -1 Err#9
close(0x5F) = -1 Err#9
close(0x5E) = -1 Err#9
close(0x5D) = -1 Err#9
close(0x5C) = -1 Err#9
close(0x5B) = -1 Err#9
close(0x5A) = -1 Err#9
close(0x59) = -1 Err#9
close(0x58) = -1 Err#9
close(0x57) = -1 Err#9
close(0x56) = -1 Err#9
close(0x55) = -1 Err#9
close(0x54) = -1 Err#9
close(0x53) = -1 Err#9
close(0x52) = -1 Err#9
close(0x51) = -1 Err#9
close(0x50) = -1 Err#9
close(0x4F) = -1 Err#9
close(0x4E) = -1 Err#9
close(0x4D) = -1 Err#9
close(0x4C) = -1 Err#9
close(0x4B) = -1 Err#9
close(0x4A) = -1 Err#9
close(0x49) = -1 Err#9
close(0x48) = -1 Err#9
close(0x47) = -1 Err#9
close(0x46) = -1 Err#9
close(0x45) = -1 Err#9
close(0x44) = -1 Err#9
close(0x43) = -1 Err#9
close(0x42) = -1 Err#9
close(0x41) = -1 Err#9
close(0x40) = -1 Err#9
close(0x3F) = -1 Err#9
close(0x3E) = -1 Err#9
close(0x3D) = -1 Err#9
close(0x3C) = -1 Err#9
close(0x3B) = -1 Err#9
close(0x3A) = -1 Err#9
close(0x39) = -1 Err#9
close(0x38) = -1 Err#9
close(0x37) = -1 Err#9
close(0x36) = -1 Err#9
close(0x35) = -1 Err#9
close(0x34) = -1 Err#9
close(0x33) = -1 Err#9
close(0x32) = -1 Err#9
close(0x31) = -1 Err#9
close(0x30) = -1 Err#9
close(0x2F) = -1 Err#9
close(0x2E) = -1 Err#9
close(0x2D) = -1 Err#9
close(0x2C) = -1 Err#9
close(0x2B) = -1 Err#9
close(0x2A) = -1 Err#9
close(0x29) = -1 Err#9
close(0x28) = -1 Err#9
close(0x27) = -1 Err#9
close(0x26) = -1 Err#9
close(0x25) = -1 Err#9
close(0x24) = -1 Err#9
close(0x23) = -1 Err#9
close(0x22) = -1 Err#9
close(0x21) = -1 Err#9
close(0x20) = -1 Err#9
close(0x1F) = -1 Err#9
close(0x1E) = -1 Err#9
close(0x1D) = -1 Err#9
close(0x1C) = -1 Err#9
close(0x1B) = -1 Err#9
close(0x1A) = -1 Err#9
close(0x19) = -1 Err#9
close(0x18) = -1 Err#9
close(0x17) = -1 Err#9
close(0x16) = -1 Err#9
close(0x15) = -1 Err#9
close(0x14) = -1 Err#9
close(0x13) = -1 Err#9
close(0x12) = -1 Err#9
close(0x11) = -1 Err#9
close(0x10) = -1 Err#9
close(0xF) = -1 Err#9
close(0xE) = -1 Err#9
close(0xD) = -1 Err#9
close(0xC) = -1 Err#9
close(0xB) = -1 Err#9
close(0xA) = -1 Err#9
close(0x9) = -1 Err#9
close(0x8) = -1 Err#9
close(0x7) = -1 Err#9
close(0x6) = -1 Err#9
close(0x5) = -1 Err#9
close(0x4) = -1 Err#9
close(0x3) = -1 Err#9
open("/dev/urandom\0", 0x0, 0xFFFFFFFFFFFFFFFF) = 3 0
read(0x3, "\a\003\v!\017\376\275\350\0", 0x8) = 8 0
close(0x3) = 0 0
__sysctl(0x7FFF59051438, 0x2, 0x7FFF59051570) = 0 0
__sysctl(0x7FFF59051438, 0x2, 0x7FFF59051670) = 0 0
__sysctl(0x7FFF59051438, 0x2, 0x7FFF59051770) = 0 0
__sysctl(0x7FFF59051438, 0x2, 0x7FFF59051870) = 0 0
__sysctl(0x7FFF59051438, 0x2, 0x7FFF59051970) = 0 0
pipe(0x7FFF59051438, 0x7FFF8CF217CE, 0x7FFF59050E38) = 3 0
fcntl_nocancel(0x3, 0x3, 0x0) = 0 0
getrlimit(0x1008, 0x7FFF59051280, 0x7FFF8CEC8E7C) = 0 0
posix_spawn(0x7FFF59051434, 0x7FFF8CF205A3, 0x7FFF59051370) = 0 0
close_nocancel(0x4) = 0 0
fstat64(0x3, 0x7FFF590512F8, 0x7FFF590513BC) = 0 0
__sysctl(0x7FFF59050BE8, 0x2, 0x7FFF59050BB0) = 0 0
__sysctl(0x7FFF59050BB0, 0x2, 0x7FFF729CF430) = 0 0
socket(0x20, 0x2, 0x2) = 3 0
setsockopt(0x3, 0xFFFF, 0x1022) = 0 0
ioctl(0x3, 0xC0644E03, 0x7FFF59050B20) = 0 0
connect(0x3, 0x7FFF59050B90, 0x20) = 0 0
setsockopt(0x3, 0xFFFF, 0x1002) = 0 0
fcntl(0x3, 0x3, 0x0) = 2 0
fcntl(0x3, 0x4, 0x6) = 0 0
sendto(0x3, 0x7FFF59050CC0, 0x24) = -1 Err#22
open("/Library/Preferences/com.apple.networkd.plist\0", 0x0, 0x2060) = -1
Err#2
socket(0x20, 0x2, 0x2) = 4 0
setsockopt(0x4, 0xFFFF, 0x1022) = 0 0
ioctl(0x4, 0xC0644E03, 0x7FFF590508F0) = 0 0
connect(0x4, 0x7FFF59050960, 0x20) = 0 0
setsockopt(0x4, 0xFFFF, 0x1002) = 0 0
fcntl(0x4, 0x3, 0x0) = 2 0
fcntl(0x4, 0x4, 0x6) = 0 0
sendto(0x4, 0x7FFF59050A50, 0x50) = 80 0
recvfrom(0x4, 0x7FFF59050A50, 0x50) = 24 0
sendto(0x4, 0x7FFF59050AA0, 0x14) = 20 0
recvfrom(0x4, 0x7FFF59050AA0, 0x74) = 116 0
sendto(0x4, 0x7FFF59050B20, 0x14) = 20 0
recvfrom(0x4, 0x7FFF59050B20, 0x8C) = 140 0
close(0x4) = 0 0
sendto(0x3, 0x7FFF59050CC0, 0x24) = -1 Err#22
socket(0x20, 0x2, 0x2) = 4 0
setsockopt(0x4, 0xFFFF, 0x1022) = 0 0
ioctl(0x4, 0xC0644E03, 0x7FFF590508F0) = 0 0
connect(0x4, 0x7FFF59050960, 0x20) = 0 0
setsockopt(0x4, 0xFFFF, 0x1002) = 0 0
fcntl(0x4, 0x3, 0x0) = 2 0
fcntl(0x4, 0x4, 0x6) = 0 0
sendto(0x4, 0x7FFF59050A50, 0x50) = 80 0
recvfrom(0x4, 0x7FFF59050A50, 0x50) = 20 0
close(0x4) = 0 0
open("/usr/local/etc/varnish/magento.vcl\0", 0x0, 0x0) = 4 0
fstat64(0x4, 0x7FFF59050F70, 0x0) = 0 0
read(0x4, "vcl 4;\n\ninclude
\"/usr/local/etc/varnish/identify_device.vcl\";\n\nimport std;\nimport
directors;\n\nbackend local {\n\t.host = \"127.0.0.1\";\n\t.port =
\"8080\";\n\t.connect_timeout = 300s;\n\t.first_byte_timeout =
300s;\n\t.between_bytes_timeout = 300s;\n/*\t.probe = { \n\t\t.re", 0x336B) =
13163 0
close(0x4) = 0 0
__sysctl(0x7FFF59050AF0, 0x2, 0x7FFF59051040) = 0 0
read_nocancel(0x3, "\0", 0x4000) = 0 0
close_nocancel(0x3) = 0 0
wait4_nocancel(0x9B06, 0x7FFF59051454, 0x0) = 39686 0
issetugid(0x7FCFEBE000B3, 0x7FCFED000000, 0x7FFF59051030) = 0 0
open_nocancel("/usr/share/zoneinfo/UTC\0", 0x0, 0x0) = 3 0
fstat64(0x3, 0x7FFF59050F60, 0x0) = 0 0
read_nocancel(0x3, "TZif\0", 0x2A64) = 56 0
close_nocancel(0x3) = 0 0
shm_open(0x7FFF827E0CE4, 0x0, 0x0) = 3 0
mmap(0x0, 0x1000, 0x1, 0x1, 0x3, 0x0) = 0x106C51000 0
close_nocancel(0x3) = 0 0
issetugid(0x7FFF8CF1EAE9, 0x7FCFED003C00, 0x7FFF59050620) = 0 0
fork() = 39688 0
close(0x5) = 0 0
fork() = 39689 0
close(0x5) = 0 0
getuid(0x0, 0x1503, 0x7FFF730EA4E0) = 0 0
getgid(0x0, 0x1503, 0x0) = 0 0
geteuid(0x830000008403, 0x840000008400, 0x106C501F8) = 0 0
mkdir("/usr/local/var/varnish/Hugues-Alarys-MacBook-Pro.local/\0", 0x1ED,
0x7FFF730EA5A8) = -1 Err#17
chdir("/usr/local/var/varnish/Hugues-Alarys-MacBook-Pro.local/\0", 0x1ED,
0xFFFFFFFFFFFFFFFF) = 0 0
open("_.testfile\0", 0xA02, 0x180) = 4 0
close(0x4) = 0 0
unlink("_.testfile\0", 0xA02, 0x0) = 0 0
open("./vcl.UERNcbe6.c\0", 0xA02, 0x180) = 4 0
fchown(0x4, 0xFFFFFFFE, 0xFFFFFFFF) = 0 0
close(0x4) = 0 0
pipe(0x7FFF59050F48, 0x106BF892A, 0x7FFF59050F98) = 4 0
thread_selfid(0x0, 0x1DC0, 0x7FFF65FF8550) = 945954 0
csops(0x0, 0x0, 0x7FFF590511B4) = 0 0
issetugid(0x0, 0x0, 0x0) = 0 0
shared_region_check_np(0x7FFF5904F0E8, 0x106BAE000, 0x4) = 0 0
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF59050298,
0x7FFF590511D0) = 0 0
open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0) = 3 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x1000) = 4096 0
fcntl(0x3, 0x3D, 0x7FFF5904E600) = 0 0
mmap(0x106C36000, 0x2000, 0x5, 0x12, 0x3, 0x1000) = 0x106C36000 0
mmap(0x106C38000, 0x1000, 0x3, 0x12, 0x3, 0x3000) = 0x106C38000 0
mmap(0x106C39000, 0x2050, 0x1, 0x12, 0x3, 0x4000) = 0x106C39000 0
close(0x3) = 0 0
stat64("/usr/local/Cellar/varnish/4.0.0/lib/varnish/libvarnish.dylib\0",
0x7FFF59050048, 0x7FFF59050EE0) = 0 0
open("/usr/local/Cellar/varnish/4.0.0/lib/varnish/libvarnish.dylib\0", 0x0,
0x0) = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0) = 4096 0
mmap(0x106C3C000, 0xF000, 0x5, 0x12, 0x3, 0x0) = 0x106C3C000 0
mmap(0x106C4B000, 0x1000, 0x3, 0x12, 0x3, 0xF000) = 0x106C4B000 0
mmap(0x106C4C000, 0x2CCC, 0x1, 0x12, 0x3, 0x10000) = 0x106C4C000 0
fcntl(0x3, 0x2C, 0x7FFF5904E388) = 0 0
close(0x3) = 0 0
stat64("/usr/local/Cellar/varnish/4.0.0/lib/varnish/libvarnishcompat.dylib\0",
0x7FFF59050048, 0x7FFF59050EE0) = 0 0
open("/usr/local/Cellar/varnish/4.0.0/lib/varnish/libvarnishcompat.dylib\0",
0x0, 0x0) = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0) = 4096 0
mmap(0x106C55000, 0x1000, 0x5, 0x12, 0x3, 0x0) = 0x106C55000 0
mmap(0x106C56000, 0x1000, 0x3, 0x12, 0x3, 0x1000) = 0x106C56000 0
mmap(0x106C57000, 0x268, 0x1, 0x12, 0x3, 0x2000) = 0x106C57000 0
fcntl(0x3, 0x2C, 0x7FFF5904E548) = 0 0
close(0x3) = 0 0
stat64("/usr/local/Cellar/varnish/4.0.0/lib/varnish/libvcc.dylib\0",
0x7FFF59050048, 0x7FFF59050EE0) = 0 0
open("/usr/local/Cellar/varnish/4.0.0/lib/varnish/libvcc.dylib\0", 0x0, 0x0) =
3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0) = 4096 0
mmap(0x106C5B000, 0x18000, 0x5, 0x12, 0x3, 0x0) = 0x106C5B000 0
mmap(0x106C73000, 0x2000, 0x3, 0x12, 0x3, 0x18000) = 0x106C73000 0
mmap(0x106C75000, 0x20E8, 0x1, 0x12, 0x3, 0x1A000) = 0x106C75000 0
fcntl(0x3, 0x2C, 0x7FFF5904E418) = 0 0
close(0x3) = 0 0
stat64("/usr/local/Cellar/varnish/4.0.0/lib/varnish/libvgz.dylib\0",
0x7FFF59050048, 0x7FFF59050EE0) = 0 0
open("/usr/local/Cellar/varnish/4.0.0/lib/varnish/libvgz.dylib\0", 0x0, 0x0) =
3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0) = 4096 0
mmap(0x106C7E000, 0xF000, 0x5, 0x12, 0x3, 0x0) = 0x106C7E000 0
mmap(0x106C8D000, 0x1000, 0x3, 0x12, 0x3, 0xF000) = 0x106C8D000 0
mmap(0x106C8E000, 0x129C, 0x1, 0x12, 0x3, 0x10000) = 0x106C8E000 0
fcntl(0x3, 0x2C, 0x7FFF5904E418) = 0 0
close(0x3) = 0 0
stat64("/usr/local/lib/libpcre.1.dylib\0", 0x7FFF59050048, 0x7FFF59050EE0) =
0 0
open("/usr/local/lib/libpcre.1.dylib\0", 0x0, 0x0) = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0) = 4096 0
mmap(0x106C93000, 0x63000, 0x5, 0x12, 0x3, 0x0) = 0x106C93000 0
mmap(0x106CF6000, 0x1000, 0x3, 0x12, 0x3, 0x63000) = 0x106CF6000 0
mmap(0x106CF7000, 0x2518, 0x1, 0x12, 0x3, 0x64000) = 0x106CF7000 0
fcntl(0x3, 0x2C, 0x7FFF5904E378) = 0 0
close(0x3) = 0 0
stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF59050048, 0x7FFF59050EE0) = 0 0
stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF5904FAB8, 0x7FFF59050950) =
0 0
stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF5904FAB8, 0x7FFF59050950) =
0 0
stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF5904FAB8, 0x7FFF59050950) =
0 0
stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF5904FAB8, 0x7FFF59050950) =
0 0
stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF5904FAB8, 0x7FFF59050950) =
0 0
stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_asl.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_configuration.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_malloc.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_platform.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_pthread.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libsystem_stats.dylib\0", 0x7FFF5904FAB8,
0x7FFF59050950) = 0 0
stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF5904FAB8, 0x7FFF59050950) =
0 0
stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF5904FAB8, 0x7FFF59050950) =
0 0
stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF5904FAB8, 0x7FFF59050950) =
0 0
stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFF5904ECF8, 0x7FFF5904FB90) = 0 0
stat64("/usr/lib/libauto.dylib\0", 0x7FFF5904ECF8, 0x7FFF5904FB90) = 0 0
stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF5904E7A8, 0x7FFF5904F640) = 0 0
stat64("/usr/lib/libc++.1.dylib\0", 0x7FFF5904E7A8, 0x7FFF5904F640) = 0 0
stat64("/usr/lib/libDiagnosticMessagesClient.dylib\0", 0x7FFF5904E688,
0x7FFF5904F520) = 0 0
getpid(0x7FFF59050FA8, 0x106C33004, 0xEA60) = 39685 0
__sysctl(0x7FFF590509C8, 0x2, 0x7FFF590509D8) = 0 0
thread_selfid(0x7FFF71B1C310, 0x7FFF71B1C258, 0x10101) = 945954 0
bsdthread_register(0x7FFF82403FBC, 0x7FFF82403FAC, 0x2000) = 0 0
mprotect(0x106C34000, 0x88, 0x1) = 0 0
mprotect(0x106CFA000, 0x1000, 0x0) = 0 0
mprotect(0x106D10000, 0x1000, 0x0) = 0 0
mprotect(0x106D11000, 0x1000, 0x0) = 0 0
mprotect(0x106D27000, 0x1000, 0x0) = 0 0
mprotect(0x106C4F000, 0x1000, 0x1) = 0 0
mprotect(0x106C34000, 0x88, 0x3) = 0 0
mprotect(0x106C34000, 0x88, 0x1) = 0 0
issetugid(0x7FFF71C44480, 0x7FFFFFE00034, 0x7FFFFFE00036) = 0 0
getpid(0x1, 0x106C50000, 0x49656E69) = 39685 0
__mac_syscall(0x7FFF86BD6E3F, 0x2, 0x7FFF59050848) = 0 0
stat64("/AppleInternal\0", 0x7FFF590508C8, 0x0) = -1 Err#2
audit_session_self(0x7FFF59050780, 0x7FFF590505B8, 0x4) = 4099 0
geteuid(0x7FFF59050780, 0x7FFF590505B8, 0x0) = 0 0
getegid(0x7FFF59050780, 0x7FFF590505B8, 0x0) = 0 0
getaudit_addr(0x7FFF59050858, 0x30, 0x0) = 0 0
csops(0x9B05, 0x7, 0x7FFF59050440) = -1 Err#22
open("/dev/dtracehelper\0", 0x2, 0x7FFF590510A0) = 3 0
ioctl(0x3, 0x80086804, 0x7FFF59051028) = 0 0
close(0x3) = 0 0
open_nocancel("/usr/share/zoneinfo/UTC\0", 0x0, 0x0) = 3 0
fstat64(0x3, 0x7FFF59050530, 0x0) = 0 0
read_nocancel(0x3, "TZif\0", 0x2A64) = 56 0
close_nocancel(0x3) = 0 0
issetugid(0x7FFF85DADA90, 0x7FFF59051314, 0x7FCFEBE00000) = 0 0
issetugid(0x7FFF72387678, 0x0, 0x0) = 0 0
read(0x4, "\0", 0x3FF) = 0 0
close(0x4) = 0 0
wait4(0x9B08, 0x7FFF59050F44, 0x0) = 39688 0
open("./vcl.UERNcbe6.so\0", 0x601, 0x180) = 4 0
fchown(0x4, 0xFFFFFFFE, 0xFFFFFFFF) = 0 0
close(0x4) = 0 0
pipe(0x7FFF59050F48, 0x106BF8BBF, 0x7FCFEBF010D0) = 4 0
Message from C-compiler:
ld: can't open output file for writing './vcl.UERNcbe6.so.ld_qBYRde',
errno=13 for architecture x86_64
clang: error: unable to remove file: Permission denied
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
Running C-compiler failed, exit 1

VCL compilation failed
read(0x4, "ld: can't open output file for writing
'./vcl.UERNcbe6.so.ld_qBYRde', errno=13 for architecture x86_64\n\0", 0x3FF) =
103 0
read(0x4, "\006\233\0", 0x3FF) = 0 0
close(0x4) = 0 0
wait4(0x9B09, 0x7FFF59050F44, 0x0) = 39689 0
unlink("./vcl.UERNcbe6.c\0", 0x1FF, 0x128) = 0 0
unlink("./vcl.UERNcbe6.so\0", 0xEBF00021, 0xFB540) = 0 0
write_nocancel(0x2, "Message from C-compiler:\nld: can't open output file
for writing './vcl.UERNcbe6.so.ld_qBYRde', errno=13 for architecture
x86_64\nclang: error: unable to remove file: Permission denied\nclang:
error: linker command failed with exit code 1 (use -v to see invoc", 0x129) =
297 0
write_nocancel(0x2, "\nVCL compilation failed\n\0", 0x18) = 24 0
read(0x4, "clang: error\0", 0x3FF) = 12 0
read(0x4, ": unable to remove file: Permission denied\nclang: error: linker
command failed with exit code 1 (use -v to see invocation)\n\0", 0x3F3) =
123 0

Any chance anybody knows what's happening?

Thanks,
-Hugues
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140520/6a148ff1/attachment-0001.html>


More information about the varnish-misc mailing list