vtest status

Frederic Lecaille flecaille at haproxy.com
Thu Jan 10 09:21:15 UTC 2019


On 1/10/19 6:49 AM, Willy TARREAU wrote:
> Hi Poul-Henning!
> 
> On Wed, Jan 09, 2019 at 10:09:15PM +0000, Poul-Henning Kamp wrote:
>> --------
>> In message <1ca72b15-d581-4556-713a-a95106aa2d09 at haproxy.com>, Frederic Lecaille writes:
>>
>> Try the stuff I just committed.
>>
>> If you say "make vtest" you get no varnishsupport
>>
>> If you say "make varnishtest" and point the variable at your
>> varnish source tree, you get varnish support.
> 
> Indeed, it's much easier now :-)  It's the first time I can build it.
> I had to use this since there are probably still options that the user
> has to tune :
> 
>        make CC='gcc -DHAVE_SYS_VFS_H'

with
      make CC='gcc -O2 -s -D_GNU_SOURCE -DHAVE_SYS_VFS_H'

we do not have anymore these warnings:


src/vtc_process.c:652:11: warning: implicit declaration of function 
‘posix_openpt’ [-Wimplicit-function-declaration]
   master = posix_openpt(O_RDWR|O_NOCTTY);
            ^~~~~~~~~~~~
In file included from src/vtc.h:41:0,
                  from src/vtc_process.c:49:
src/vtc_process.c:654:5: warning: implicit declaration of function 
‘grantpt’ [-Wimplicit-function-declaration]
   AZ(grantpt(master));
      ^
lib/vas.h:61:8: note: in definition of macro ‘assert’
   if (!(e)) {       \
         ^
src/vtc_process.c:654:2: note: in expansion of macro ‘AZ’
   AZ(grantpt(master));
   ^~
src/vtc_process.c:655:5: warning: implicit declaration of function 
‘unlockpt’ [-Wimplicit-function-declaration]
   AZ(unlockpt(master));
      ^
lib/vas.h:61:8: note: in definition of macro ‘assert’
   if (!(e)) {       \
         ^
src/vtc_process.c:655:2: note: in expansion of macro ‘AZ’
   AZ(unlockpt(master));
   ^~
src/vtc_process.c:656:14: warning: implicit declaration of function 
‘ptsname’ [-Wimplicit-function-declaration]
   slavename = ptsname(master);
               ^~~~~~~
src/vtc_process.c:656:12: warning: assignment makes pointer from integer 
without a cast [-Wint-conversion]
   slavename = ptsname(master);
             ^
lib/vfil.c: In function ‘VFIL_fsinfo’:
lib/vfil.c:198:16: error: storage size of ‘fsst’ isn’t known
   struct statfs fsst;


More information about the varnish-dev mailing list