[Varnish] #1851: Varnish 4.1.1 fails to build on i386

Varnish varnish-bugs at varnish-cache.org
Mon Feb 1 16:36:44 CET 2016


#1851: Varnish 4.1.1 fails to build on i386
-------------------+--------------------
 Reporter:  feld   |       Type:  defect
   Status:  new    |   Priority:  normal
Milestone:         |  Component:  build
  Version:  4.1.1  |   Severity:  normal
 Keywords:         |
-------------------+--------------------
 Varnish 4.1.1 fails to build on FreeBSD i386. Varnish 4.1.0 built
 successfully.


 {{{
   CCLD     varnishncsa_opt2rst
 gmake[4]: Leaving directory
 '/wrkdirs/usr/ports/www/varnish4/work/varnish-4.1.1/bin/varnishncsa'
 Making all in varnishstat
 gmake[4]: Entering directory
 '/wrkdirs/usr/ports/www/varnish4/work/varnish-4.1.1/bin/varnishstat'
   CC       varnishstat.o
   CC       varnishstat_curses.o
 varnishstat_curses.c:544:6: error: format specifies type 'unsigned long'
 but the argument has type 'int' [-Werror,-Wformat]
             t / 86400, (t % 86400) / 3600, (t % 3600) / 60, t % 60);
             ^~~~~~~~~
 varnishstat_curses.c:544:17: error: format specifies type 'unsigned long'
 but the argument has type 'int' [-Werror,-Wformat]
             t / 86400, (t % 86400) / 3600, (t % 3600) / 60, t % 60);
                        ^~~~~~~~~~~~~~~~~~
 varnishstat_curses.c:544:37: error: format specifies type 'unsigned long'
 but the argument has type 'int' [-Werror,-Wformat]
             t / 86400, (t % 86400) / 3600, (t % 3600) / 60, t % 60);
                                            ^~~~~~~~~~~~~~~
 varnishstat_curses.c:544:54: error: format specifies type 'unsigned long'
 but the argument has type 'int' [-Werror,-Wformat]
             t / 86400, (t % 86400) / 3600, (t % 3600) / 60, t % 60);
                                                             ^~~~~~
 4 errors generated.
 Makefile:478: recipe for target 'varnishstat_curses.o' failed
 gmake[4]: *** [varnishstat_curses.o] Error 1
 gmake[4]: Leaving directory
 '/wrkdirs/usr/ports/www/varnish4/work/varnish-4.1.1/bin/varnishstat'
 Makefile:400: recipe for target 'all-recursive' failed
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory
 '/wrkdirs/usr/ports/www/varnish4/work/varnish-4.1.1/bin'
 Makefile:533: recipe for target 'all-recursive' failed
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory
 '/wrkdirs/usr/ports/www/varnish4/work/varnish-4.1.1'
 Makefile:419: recipe for target 'all' failed
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory
 '/wrkdirs/usr/ports/www/varnish4/work/varnish-4.1.1'
 *** Error code 1

 Stop.
 make: stopped in /usr/ports/www/varnish4
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1851>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list