Migration to Cygwin plataform

Jorge Díaz jdzstz at gmail.com
Wed Jul 21 19:48:56 CEST 2010


After one small change in configure.ac (I have added file
"varnishd-cache_vrt_re.o" to VCC_C command) the VCL compilation problem has
disappear and now regression tests problems are only 9:

*9 of 174 tests failed*

I attach the new version.

I continue having problems of "bind(): Address already in use"

*Which ports does regression tests need to be free?? perhaps I have to stop
some software of my machine *
Assert error in server_start(), vtc_server.c line 181:
  Condition(s->sock >= 0) not true.
  errno = 112 (Address already in use)
/bin/sh: line 5:  3376 Aborted                 (core dumped) ./varnishtest
${dir}$tst
FAIL: ./tests/v00014.vtc

*I also need somebody to test script modifications in Linux. I have tested
in my Solaris enviroment and it is ok.*

Thank you.

2010/7/21 Jorge Díaz <jdzstz at gmail.com>

> Hello,
>
> After some problems launching regression tests, I have changed VCC_CC
> definition in configure.ac for Cygwin platform, and now cc_command
> parameter is not needed for varnishd.
>
> Now, I am able to execute all regression tests, with some errors.
>
> I have executed the tests and this is the result:
>
> *14 of 174 tests failed*
>
> I have some problems with in-use ports:
>
> bind(): Address already in use
> Assert error in server_start(), vtc_server.c line 181:
>   Condition(s->sock >= 0) not true.
>   errno = 112 (Address already in use)
>
> /bin/sh: line 5:  5836 Aborted                 (core dumped) ./varnishtest
>
>
> *Which ports does regression tests need to be free?? perhaps I have to
> stop some software of my machine *
>
> I have also detected some problems with VCL compilation for complex
> configuration files:
>
> #### v1   CLI RX| /tmp/ccA54nFN.o:vcl.hfK6_VaS.c:(.text+0x59): undefined reference to `_VRT_re_match'\n
> #### v1   CLI RX| /tmp/ccA54nFN.o:vcl.hfK6_VaS.c:(.text+0xc0): undefined reference to `_VRT_re_match'\n
>
> #### v1   CLI RX| /tmp/ccA54nFN.o:vcl.hfK6_VaS.c:(.text+0x628): undefined reference to `_VRT_re_init'\n
> #### v1   CLI RX| /tmp/ccA54nFN.o:vcl.hfK6_VaS.c:(.text+0x63c): undefined reference to `_VRT_re_init'\n
>
> #### v1   CLI RX| /tmp/ccA54nFN.o:vcl.hfK6_VaS.c:(.text+0x667): undefined reference to `_VRT_re_fini'\n
> #### v1   CLI RX| /tmp/ccA54nFN.o:vcl.hfK6_VaS.c:(.text+0x674): undefined reference to `_VRT_re_fini'\n
>
>
> I think I have to add some dependencies to VCC_CC.
>
> The final results are:
>
>     - Solaris - Varnish 2.1.2 release : 20 of 174 tests failed
>    - Solaris - Varnish 2.1.2 + conditional cygwin modifications : 20 of
>    174 tests failed
>    - Cygwin - Varnish 2.1.2 + conditional cygwin modifications : 14 of 174
>    tests failed
>
>
> I attach to the email and Trac ticket last version of my modifications.
>
>
>
>
>  2010/7/21 Poul-Henning Kamp <phk at phk.freebsd.dk>
>
>> In message <AANLkTinVE1zQvFBRIcTCEyNz-SKg5J2GFq1SK0cgr6hU at mail.gmail.com>,
>> =?IS
>>
>> O-8859-1?Q?Jorge_D=EDaz?= writes:
>>
>> >But I have to change it and recompile all Varnish, or is there any
>> parameter
>> >for regression tests like varnishd?
>>
>> You have to compile it in from the start.
>>
>> The regression test assume that you have a functioning varnishd binary.
>>
>> --
>>  Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>> phk at FreeBSD.ORG         | TCP/IP since RFC 956
>> FreeBSD committer       | BSD since 4.3-tahoe
>> Never attribute to malice what can adequately be explained by
>> incompetence.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20100721/bd621dba/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin_changes_v3.zip
Type: application/zip
Size: 12260 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20100721/bd621dba/attachment-0003.zip>


More information about the varnish-dev mailing list