Bug 206778

Summary: www/varnish4: Fails to link (error: format specifies type 'unsigned long' but the argument has type 'int')
Product: Ports & Packages Reporter: Ivan Klymenko <fidaj>
Component: Individual Port(s)Assignee: Mark Felder <feld>
Status: Closed FIXED    
Severity: Affects Only Me CC: dewayne
Priority: --- Keywords: needs-patch, needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (feld)
koobs: merge-quarterly?
Hardware: i386   
OS: Any   
Attachments:
Description Flags
varnish4-4.1.1.log none

Description Ivan Klymenko 2016-01-31 09:10:59 UTC
Created attachment 166324 [details]
varnish4-4.1.1.log
Comment 1 dewayne 2016-02-01 08:25:52 UTC
(In reply to Ivan Klymenko from comment #0)
Concur on FreeBSD 10.3-prerelease i386.  www/varnish4 does successfully build on amd64 using CPUTYPE?= CORE2
Comment 2 Mark Felder freebsd_committer freebsd_triage 2016-02-01 16:35:57 UTC
I've opened a PR upstream as well. This cannot be solved just by changing %lu to %d as that in turn breaks the amd64 build :-)

https://www.varnish-cache.org/trac/ticket/1851
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-02-01 19:10:55 UTC
A commit references this bug:

Author: feld
Date: Mon Feb  1 19:10:00 UTC 2016
New revision: 407729
URL: https://svnweb.freebsd.org/changeset/ports/407729

Log:
  www/varnish4: Fix build on i386

  Pull in patch from upstream

  https://www.varnish-cache.org/trac/ticket/1851

  PR:		206778

Changes:
  head/www/varnish4/Makefile
  head/www/varnish4/files/patch-bin_varnishstat_varnishstat__curses.c