Varnish-2.1.4 Compiling Error

Renato Farias renato at luren.com.br
Fri Oct 22 20:59:25 CEST 2010


Hi Darvin,

Can you send you source?

I want to try it.

hugs

Att,

Renato Farias

>---- Original Message ----
>From: Darvin Denmian <darvin.denmian at gmail.com>
>To: "Jorge Díaz" <jdzstz at gmail.com>
>Cc: varnish-bugs at varnish-cache.org
>Sent: Fri, Oct 22, 2010, 2:56 PM
>Subject: Re: Varnish-2.1.4 Compiling Error
>
>Jorge,
>
>I'll try the proposed solution ! Thanks for your reply.
>
>On Fri, Oct 22, 2010 at 2:52 PM, Jorge Díaz <jdzstz at gmail.com> wrote:
>>
>> Hello,
>>
>> In the past I had the same problem in a Solaris instaled in 10.255.255.255 network, I think I changed the IP from varnish source and changed to other bad ip (255.255.255.255).
>>
>> I cannot send my fix, because I have not the sources of that installation.
>>
>> 2010/10/22 Darvin Denmian <darvin.denmian at gmail.com>
>>>
>>> Hello,
>>>
>>> I'm trying to generate a RPM package of varnish-2.1.4 in a CentOS-5.5 OS, 64bits.
>>> When I execute the command:
>>>
>>>    rpmbuild -ba redhat/varnish.spec
>>>
>>> I got the following message:
>>>
>>> #### top  macro def tmpdir=/tmp/vtc.23005.6b8b4567
>>> #### top  macro def bad_ip=10.255.255.255
>>> #    top  TEST ././tests/v00017.vtc starting
>>> #    top  TEST VCL compiler coverage test: vcc_acl.c
>>> ##   v1   Launch
>>> ###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/vtc.23005.6b8b4567/v1 -p auto_restart=off -p syslog_cli_traffic=off -a '127.0.0.1:0' -S /tmp/vtc.23005.6b8b4567/v1/_S -M '127.0.0.1 33880' -P /tmp/vtc.23005.6b8b4567/v1/varnishd.pid -sfile,/tmp/vtc.23005.6b8b4567/v1,10M
>>> ###  v1   debug| storage_file: filename: /tmp/vtc.23005.6b8b4567/v1/varnish.PkiJW9 size 10 MB.\n
>>> ###  v1   debug| Creating new SHMFILE\n
>>> ###  v1   debug| Varnish on Linux,2.6.18-194.el5,x86_64,-sfile,-hcritbit\n
>>> ###  v1   debug| 200 239     \n
>>> ###  v1   debug| -----------------------------\n
>>> ###  v1   debug| Varnish HTTP accelerator CLI.\n
>>> ###  v1   debug| -----------------------------\n
>>> ###  v1   debug| Linux,2.6.18-194.el5,x86_64,-sfile,-hcritbit\n
>>> ###  v1   debug| \n
>>> ###  v1   debug| Type 'help' for command list.\n
>>> ###  v1   debug| Type 'quit' to close CLI session.\n
>>> ###  v1   debug| Type 'start' to launch worker process.\n
>>> ###  v1   debug| \n
>>> ###  v1   CLI connection fd = 4
>>> ###  v1   CLI RX  107
>>> #### v1   CLI RX| ukncxlgzzoupwmsbtoxfavbapdvsnxoj\n
>>> #### v1   CLI RX| \n
>>> #### v1   CLI RX| Authentication required.\n
>>> #### v1   CLI TX| auth 5bd6fb73ae081b54a8f6324801f50f9536e8981a9b6594fb22b496ef8b069ae7\n
>>> ###  v1   CLI RX  200
>>> #### v1   CLI RX| -----------------------------\n
>>> #### v1   CLI RX| Varnish HTTP accelerator CLI.\n
>>> #### v1   CLI RX| -----------------------------\n
>>> #### v1   CLI RX| Linux,2.6.18-194.el5,x86_64,-sfile,-hcritbit\n
>>> #### v1   CLI RX| \n
>>> #### v1   CLI RX| Type 'help' for command list.\n
>>> #### v1   CLI RX| Type 'quit' to close CLI session.\n
>>> #### v1   CLI RX| Type 'start' to launch worker process.\n
>>> #### v1   CLI TX| vcl.inline vcl1 "\n\tbackend b { .host = \"127.0.0.1\"; }\n\tacl a { \"10.1.2.3\"/33; }\n\tsub vcl_recv { if (client.ip ~ a) { return(pass); } }\n"
>>> ###  v1   CLI RX  106
>>> #### v1   CLI RX| Message from VCC-compiler:\n
>>> #### v1   CLI RX| Too wide mask (33) for IPv4 address(input Line 3 Pos 28)\n
>>> #### v1   CLI RX|         acl a { "10.1.2.3"/33; }\n
>>> #### v1   CLI RX| ---------------------------##---\n
>>> #### v1   CLI RX| Running VCC-compiler failed, exit 1\n
>>> #### v1   CLI RX| VCL compilation failed
>>> ##   v1   VCL compilation failed (as expected)
>>> #### v1   CLI TX| vcl.inline vcl2 "\n\tbackend b { .host = \"127.0.0.1\"; }\n\tacl a { \"1::2\"/129; }\n\tsub vcl_recv { if (client.ip ~ a) { return(pass); } }\n"
>>> ###  v1   CLI RX  106
>>> #### v1   CLI RX| Message from VCC-compiler:\n
>>> #### v1   CLI RX| Too wide mask (129) for IPv6 address(input Line 3 Pos 24)\n
>>> #### v1   CLI RX|         acl a { "1::2"/129; }\n
>>> #### v1   CLI RX| -----------------------###---\n
>>> #### v1   CLI RX| Running VCC-compiler failed, exit 1\n
>>> #### v1   CLI RX| VCL compilation failed
>>> ##   v1   VCL compilation failed (as expected)
>>> #### v1   CLI TX| vcl.inline vcl3 "\n\tbackend b { .host = \"127.0.0.1\"; }\n\tacl a {\n\t\t\"1.2.3.4\"/31;\n\t\t\"1.2.3.4\"/31;\n\t}\n\tsub vcl_recv { if (client.ip ~ a) { return(pass); } }\n"
>>> ###  v1   CLI RX  200
>>> #### v1   CLI RX| VCL compiled.
>>> #### v1   CLI TX| vcl.use vcl3
>>> ###  v1   CLI RX  200
>>> #### v1   CLI TX| vcl.inline vcl4 "\n\tbackend b { .host = \"127.0.0.1\"; }\n\tacl a {\n\t\t\"1.2.3.4\";\n\t\t!\"1.2.3.4\";\n\t}\n\tsub vcl_recv { if (client.ip ~ a) { return(pass); } }\n"
>>> ###  v1   CLI RX  106
>>> #### v1   CLI RX| Message from VCC-compiler:\n
>>> #### v1   CLI RX| Conflicting ACL entries:\n
>>> #### v1   CLI RX| (input Line 4 Pos 17)\n
>>> #### v1   CLI RX|                 "1.2.3.4";\n
>>> #### v1   CLI RX| ----------------#########-\n
>>> #### v1   CLI RX| vs:\n
>>> #### v1   CLI RX| (input Line 5 Pos 18)\n
>>> #### v1   CLI RX|                 !"1.2.3.4";\n
>>> #### v1   CLI RX| -----------------#########-\n
>>> #### v1   CLI RX| Running VCC-compiler failed, exit 1\n
>>> #### v1   CLI RX| VCL compilation failed
>>> ##   v1   VCL compilation failed (as expected)
>>> #### v1   CLI TX| vcl.inline vcl5 "\n\tbackend b { .host = \"127.0.0.1\"; }\n\tacl a { \"...com\"; }\n\tsub vcl_recv { if (client.ip ~ a) { return(pass); } }\n"
>>> ###  v1   CLI RX  106
>>> #### v1   CLI RX| Message from VCC-compiler:\n
>>> #### v1   CLI RX| DNS lookup(...com): Name or service not known\n
>>> #### v1   CLI RX| (input Line 3 Pos 17)\n
>>> #### v1   CLI RX|         acl a { "...com"; }\n
>>> #### v1   CLI RX| ----------------########---\n
>>> #### v1   CLI RX| Running VCC-compiler failed, exit 1\n
>>> #### v1   CLI RX| VCL compilation failed
>>> ##   v1   VCL compilation failed (as expected)
>>> #### v1   CLI TX| vcl.inline vcl6 "\n\tbackend b { .host = \"127.0.0.1\"; }\n\tacl a { \"10.1.2.\"; }\n\tsub vcl_recv { if (client.ip ~ a) { return(pass); } }\n"
>>> ###  v1   CLI RX  200
>>> #### v1   CLI RX| VCL compiled.
>>> ---- v1   VCL compilation got 200 expected 106
>>> #    top  Test timed out
>>> #    top  TEST ././tests/v00017.vtc FAILED
>>> FAIL: ./tests/v00017.vtc
>>> #    top  TEST ././tests/v00018.vtc passed (2.138s)
>>>
>>> ...
>>>
>>> ==============================================
>>> 1 of 192 tests failed
>>> Please report to varnish-dev at varnish-cache.org
>>> ==============================================
>>>
>>> Can somebody help me with this?
>>>
>>> Thanks !
>>>
>>> _______________________________________________
>>> varnish-bugs mailing list
>>> varnish-bugs at varnish-cache.org
>>> http://lists.varnish-cache.org/mailman/listinfo/varnish-bugs
>>
>
>_______________________________________________
>varnish-bugs mailing list
>varnish-bugs at varnish-cache.org
>http://lists.varnish-cache.org/mailman/listinfo/varnish-bugs





More information about the varnish-bugs mailing list