Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 21:12:25 GMT
From:      "Aaron D. Gifford" <agifford@infowest.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163838: Port www/pound fails to build - PATCH linked to
Message-ID:  <201201052112.q05LCPpT068715@red.freebsd.org>
Resent-Message-ID: <201201052120.q05LK9o3052726@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163838
>Category:       ports
>Synopsis:       Port www/pound fails to build - PATCH linked to
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 05 21:20:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Aaron D. Gifford
>Release:        FreeBSD 8.2-RELEASE-p5
>Organization:
>Environment:
FreeBSD myfreebsdhost.example.com 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #5: Fri Dec 23 15:36:42 MST 2011     root@myfreebsdhost.example.com:/usr/obj/usr/src/sys/MYCUSTOMIZEDKERNEL  amd64
>Description:
In attempting to build the www/pound port from the port tree updated on 29 Dec. 2011, the following error occurs:


===>  Building for pound-2.5
cc -DF_CONF=\"/usr/local/etc/pound.cfg\" -DVERSION=\""2.5"\" -DC_SSL=\"""\" -DC_T_RSA=\""0"\"  -DC_MAXBUF=\""0"\" -DC_OWNER=\"""\" -DC_GROUP=\"""\" -DC_SUPER=\""0"\"  -DC_CERT1L=\"""\" -O2 -pipe -I/usr/local/include -fno-strict-aliasing -D_THREAD_SAFE -pthread -DUPER -DNEED_STACK -DHAVE_SYSLOG_H=1 -D_THREAD_SAFE -pthread -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c pound.c
In file included from pound.c:28:
pound.h:341: error: expected specifier-qualifier-list before 'LHASH'
*** Error code 1

Stop in /var/ports/usr/ports/www/pound/work/Pound-2.5.
*** Error code 1

Stop in /usr/ports/www/pound.


A quick Google search turns up this forum thread with a proposed patch:
  http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000

By splitting the supplied patch file and renaming the portions according to the FreeBSD ports /usr/ports/www/pound/files/patch-FILENAME format, then rebuilding, the build worked as expected.

The patches from the forum thread can be directly downloaded here:

http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000/1266065107756.octet-stream/download

I did merge the existing FreeBSD patch for the pound.h file with the patches from the aforementioned post.

Is there someone who can do this for the port so this problem will not affect FreeBSD users like myself?

Thank you.

Aaron out.
>How-To-Repeat:
Attempt to build pound from ports as of 29 Dec. 2011
>Fix:
See above description.  PATCHES are here: http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000/1266065107756.octet-stream/download


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201052112.q05LCPpT068715>