Mailing List Archive

#1851: Varnish 4.1.1 fails to build on i386
#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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1851: Varnish 4.1.1 fails to build on i386 [ In reply to ]
#1851: Varnish 4.1.1 fails to build on i386
--------------------+---------------------------------------------
Reporter: feld | Owner: Federico G. Schwindt <fgsch@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: build | Version: 4.1.1
Severity: normal | Resolution: fixed
Keywords: |
--------------------+---------------------------------------------
Changes (by Federico G. Schwindt <fgsch@…>):

* status: new => closed
* owner: => Federico G. Schwindt <fgsch@…>
* resolution: => fixed


Comment:

In [6694bea3b2c0c4e6ef0cc723f03e07b1d9731502]:
{{{
#!CommitTicketReference repository=""
revision="6694bea3b2c0c4e6ef0cc723f03e07b1d9731502"
Cast time_t to work with 32 bit time_t

Fixes #1851.
}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1851: Varnish 4.1.1 fails to build on i386 [ In reply to ]
#1851: Varnish 4.1.1 fails to build on i386
--------------------+---------------------------------------------
Reporter: feld | Owner: Federico G. Schwindt <fgsch@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: build | Version: 4.1.1
Severity: normal | Resolution: fixed
Keywords: |
--------------------+---------------------------------------------

Comment (by Lasse Karstensen <lkarsten@…>):

In [c1ed9e1f7187f6a6c85f388a861247774f32e243]:
{{{
#!CommitTicketReference repository=""
revision="c1ed9e1f7187f6a6c85f388a861247774f32e243"
Cast time_t to work with 32 bit time_t

Fixes #1851.
}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs