Bug 163838 - Port www/pound fails to build - PATCH linked to
Summary: Port www/pound fails to build - PATCH linked to
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 21:20 UTC by agifford
Modified: 2012-02-11 23:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description agifford 2012-01-05 21:20:09 UTC
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.

Fix: 

See above description.  PATCHES are here: http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000/1266065107756.octet-stream/download
How-To-Repeat: Attempt to build pound from ports as of 29 Dec. 2011
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-01-05 21:20:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anders

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2012-02-08 20:23:12 UTC
Responsible Changed
From-To: anders->pgollucci

committer&maintainer timeout (anders ; 34 days) / last commit: 97 days 
ago
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2012-02-11 22:54:44 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-02-11 22:54:54 UTC
pgollucci    2012-02-11 22:54:41 UTC

  FreeBSD ports repository

  Modified files:
    www/pound/files      patch-Makefile.in patch-pound.h 
  Added files:
    www/pound/files      patch-config.c patch-svc.c 
  Log:
  - Fix pound.h:341: error: expected specifier-qualifier-list before 'LHASH'
    by applying http://www.apsis.ch/pound/pound_list/archive/2010/2010-02/1266065082000/1266065107756.octet-stream/download
  
  PR:             ports/163838
  Submitted by:   Aaron D. Gifford <agifford@infowest.com>
  Approved by:    maintainer timeout (anders ; 34 days)
  
  Revision  Changes    Path
  1.4       +2 -2      ports/www/pound/files/patch-Makefile.in
  1.1       +37 -0     ports/www/pound/files/patch-config.c (new)
  1.4       +25 -12    ports/www/pound/files/patch-pound.h
  1.1       +225 -0    ports/www/pound/files/patch-svc.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"