is Varnish 2.0 beta1 supposed to compile/test on sol10?

Theo Schlossnagle jesus at omniti.com
Fri Sep 5 04:56:43 CEST 2008


I get the same errors on the beta1.

On Sep 4, 2008, at 6:38 PM, Keith J Paulson wrote:

> Theo,
>
> I had used a slightly different line, but did have the -mt; I repeated
> the config/build with your example and still have 61 FAILs.
>
> Keith
>
> Theo Schlossnagle wrote:
>> You likely need to specify -mt in your CFLAGS as Varnish is
>> multi-threaded.  You'd need to do that with gcc too.
>>
>> My build looks like:
>>
>> CFLAGS="$CFLAGS -m64 -mt" \
>> LDFLAGS="$LDFLAGS -L/usr/sfw/lib/amd64 -R/usr/sfw/lib/amd64" \
>> CC=cc CXX=CC \
>> ./configure [typical args]
>>
>> On Sep 4, 2008, at 6:04 PM, Keith J Paulson wrote:
>>
>>>
>>> I have tried Feature complete Varnish 2.0 Beta 1 on sol10 with  
>>> gcc, and
>>> sun's studio 12 compiler, and in neither case does it work.  With  
>>> sun
>>> cc, latest results are:
>>>
>>> ===============================================
>>> 61 of 73 tests failed
>>> Please report to varnish-dev at projects.linpro.no
>>> ===============================================
>>>
>>> for which
>>>
>>> Assert error in varnish_ask_cli(), vtc_varnish.c line 97:
>>> Condition(i == 0) not true.
>>>
>>> seems a significant cause (response not recieved?)
>>>
>>> One complete test:
>>>
>>> ./varnishtest -v  tests/b00002.vtc
>>> #    TEST tests/b00002.vtc starting
>>> #    TEST Check that a pass transaction works
>>> ##   s1   Starting server
>>> ###  s1   listen on 127.0.0.1:9080 (fd 3)
>>> ##   v1   Launch
>>> ###  v1   CMD: cd ../varnishd && ./varnishd -d -d -n /tmp/__v1 -a
>>> '127.0.0.1:9081' -T 127.0.0.1:9001
>>> ##   s1   Started on 127.0.0.1:9080
>>> ###  v1   opening CLI connection
>>> #### v1   debug| storage_file: filename: ./varnish.sUaWlN (unlinked)
>>> size 166 MB.\n
>>> #### v1   debug| mgt_child_inherit(4, storage_file)\n
>>> #### v1   debug| Using old SHMFILE\n
>>> #### v1   debug| Notice: locking SHMFILE in core failed: Not owner
>>> #### v1   debug| \n
>>> #### v1   debug| Debugging mode, enter "start" to start child\n
>>> ###  v1   CLI connection fd = 4
>>> #### v1   CLI TX| vcl.inline vcl1 "backend s1 { .host =  
>>> \"127.0.0.1\";
>>> .port = \"9080\"; }\n\n\tsub vcl_recv {\n\t\tpass;\n\t}\n"
>>> #### v1   CLI RX| VCL compiled.
>>> ###  v1   CLI STATUS 200
>>> #### v1   CLI TX| vcl.use vcl1
>>> ###  v1   CLI STATUS 200
>>> ##   v1   Start
>>> #### v1   CLI TX| start
>>> #### v1   debug| mgt_child_inherit(9, sock)\n
>>> #### v1   debug| mgt_child_inherit(10, cli_in
>>> #### v1   debug| )\n
>>> #### v1   debug| mgt_child_inherit(13, cli_out)\n
>>> #### v1   debug| child (20083
>>> #### v1   debug| ) Started\n
>>> #### v1   debug| mgt_child_inherit(
>>> Assert error in varnish_ask_cli(), vtc_varnish.c line 97:
>>> Condition(i == 0) not true.
>>> Abort
>>>
>>>
>>>
>>> Any suggestions?
>>>
>>> Keith
>>>
>>>
>>> _______________________________________________
>>> varnish-dev mailing list
>>> varnish-dev at projects.linpro.no
>>> http://projects.linpro.no/mailman/listinfo/varnish-dev
>>
>> -- 
>> Theo Schlossnagle
>> Principal/CEO
>> OmniTI Computer Consulting, Inc.
>> Web Applications & Internet Architectures
>> w: http://omniti.com   p: +1.443.325.1357 x201   f: +1.410.872.4911
>>
>>
>>
>>
>
>
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-dev

--
Theo Schlossnagle
Principal/CEO
OmniTI Computer Consulting, Inc.
Web Applications & Internet Architectures
w: http://omniti.com   p: +1.443.325.1357 x201   f: +1.410.872.4911







More information about the varnish-dev mailing list