From nobody@FreeBSD.org  Thu May  8 21:11:14 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C09EF106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  8 May 2008 21:11:14 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id AE0ED8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  8 May 2008 21:11:14 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m48LAHd0008172
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 8 May 2008 21:10:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m48LAH19008171;
	Thu, 8 May 2008 21:10:17 GMT
	(envelope-from nobody)
Message-Id: <200805082110.m48LAH19008171@www.freebsd.org>
Date: Thu, 8 May 2008 21:10:17 GMT
From: Harry Kane <harry.kane@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: FTP-PROXY Version 4.3p1 doesn't build on FreeBSD 6.3 i386
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: chrissicool@chrissicool.net

>Number:         123531
>Category:       ports
>Synopsis:       ftp/FTP-PROXY Version 4.3p1 doesn't build on FreeBSD 6.3 i386
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 08 21:20:03 UTC 2008
>Closed-Date:    Sun May 18 22:45:59 UTC 2008
>Last-Modified:  Sun May 18 22:50:02 UTC 2008
>Originator:     Harry Kane
>Release:        FreeBSD 6.3 i386
>Organization:
>Environment:
FreeBSD kane.example.net 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #2: Thu May  8 18:02:30 CEST 2008     harry@kane.example.net:/usr/obj/usr/src/sys/KANE  i386
>Description:
harry@kane:/usr/ports/ftp/ftp-proxy# make install
===>  Extracting for ftp-proxy-4.3p1
=> MD5 Checksum OK for ftp-proxy-4.3p1.tar.gz.
=> SHA256 Checksum OK for ftp-proxy-4.3p1.tar.gz.
===>  Patching for ftp-proxy-4.3p1
===>   ftp-proxy-4.3p1 depends on shared library: event-1.3e - found
===>  Configuring for ftp-proxy-4.3p1
===>  Building for ftp-proxy-4.3p1
Warning: Object directory not changed from original /usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.3p1
cc -O2 -fno-strict-aliasing -pipe -march=c3-2 -I/usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.3p1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -Wno-uninitialized  -c ftp-proxy.c
ftp-proxy.c:32:19: event.h: No such file or directory
ftp-proxy.c: In function `client_error':
ftp-proxy.c:141: error: `EVBUFFER_EOF' undeclared (first use in this function)
ftp-proxy.c:141: error: (Each undeclared identifier is reported only once
ftp-proxy.c:141: error: for each function it appears in.)
ftp-proxy.c:143: error: `EVBUFFER_ERROR' undeclared (first use in this function)
ftp-proxy.c:143: error: `EVBUFFER_READ' undeclared (first use in this function)
ftp-proxy.c:145: error: `EVBUFFER_TIMEOUT' undeclared (first use in this function)
ftp-proxy.c:147: error: `EVBUFFER_WRITE' undeclared (first use in this function)
ftp-proxy.c: In function `client_parse_anon':
ftp-proxy.c:198: warning: implicit declaration of function `bufferevent_write'
ftp-proxy.c: In function `client_read':
ftp-proxy.c:251: warning: implicit declaration of function `bufferevent_read'
ftp-proxy.c: In function `end_session':
ftp-proxy.c:305: warning: implicit declaration of function `bufferevent_free'
ftp-proxy.c: In function `handle_connection':
ftp-proxy.c:505: warning: implicit declaration of function `bufferevent_new'
ftp-proxy.c:506: warning: assignment makes pointer from integer without a cast
ftp-proxy.c:511: warning: implicit declaration of function `bufferevent_settimeout'
ftp-proxy.c:512: warning: implicit declaration of function `bufferevent_enable'
ftp-proxy.c:512: error: `EV_READ' undeclared (first use in this function)
ftp-proxy.c:512: error: `EV_TIMEOUT' undeclared (first use in this function)
ftp-proxy.c:515: warning: assignment makes pointer from integer without a cast
ftp-proxy.c: In function `main':
ftp-proxy.c:604: error: storage size of 'ev' isn't known
ftp-proxy.c:604: error: storage size of 'ev_sighup' isn't known
ftp-proxy.c:604: error: storage size of 'ev_sigint' isn't known
ftp-proxy.c:604: error: storage size of 'ev_sigterm' isn't known
ftp-proxy.c:786: warning: implicit declaration of function `event_init'
ftp-proxy.c:790: warning: implicit declaration of function `signal_set'
ftp-proxy.c:793: warning: implicit declaration of function `signal_add'
ftp-proxy.c:797: warning: implicit declaration of function `event_set'
ftp-proxy.c:797: error: `EV_READ' undeclared (first use in this function)
ftp-proxy.c:797: error: `EV_PERSIST' undeclared (first use in this function)
ftp-proxy.c:798: warning: implicit declaration of function `event_add'
ftp-proxy.c:803: warning: implicit declaration of function `event_dispatch'
ftp-proxy.c:604: warning: unused variable `ev'
ftp-proxy.c:604: warning: unused variable `ev_sighup'
ftp-proxy.c:604: warning: unused variable `ev_sigint'
ftp-proxy.c:604: warning: unused variable `ev_sigterm'
ftp-proxy.c: In function `server_error':
ftp-proxy.c:922: error: `EVBUFFER_EOF' undeclared (first use in this function)
ftp-proxy.c:924: error: `EVBUFFER_ERROR' undeclared (first use in this function)
ftp-proxy.c:924: error: `EVBUFFER_READ' undeclared (first use in this function)
ftp-proxy.c:926: error: `EVBUFFER_WRITE' undeclared (first use in this function)
ftp-proxy.c:928: error: `EVBUFFER_TIMEOUT' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.3p1.
*** Error code 1

Stop in /usr/ports/ftp/ftp-proxy.
>How-To-Repeat:
cd /usr/ports/ftp/ftp-proxy/ ; make install clean
>Fix:
harry@kane:/usr/ports/ftp/ftp-proxy# find /usr/ports/ftp/ftp-proxy/work -type f | xargs grep event.h
/usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.3p1/ftp-proxy.c:#include <event.h>

Changing the line to #include <sys/event.h> helps make to find event.h but the build fails too:

harry@kane:/usr/ports/ftp/ftp-proxy# make install
===>  Extracting for ftp-proxy-4.3p1

Stop in /usr/ports/ftp/ftp-proxy.
=> MD5 Checksum OK for ftp-proxy-4.3p1.tar.gz.
=> SHA256 Checksum OK for ftp-proxy-4.3p1.tar.gz.
===>  Patching for ftp-proxy-4.3p1
===>   ftp-proxy-4.3p1 depends on shared library: event-1.3e - found
===>  Configuring for ftp-proxy-4.3p1
===>  Building for ftp-proxy-4.3p1
Warning: Object directory not changed from original /usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.3p1
cc -O2 -fno-strict-aliasing -pipe -march=c3-2 -I/usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.3p1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -Wno-uninitialized  -c ftp-proxy.c
ftp-proxy.c:32:19: event.h: No such file or directory
ftp-proxy.c: In function `client_error':
ftp-proxy.c:141: error: `EVBUFFER_EOF' undeclared (first use in this function)
ftp-proxy.c:141: error: (Each undeclared identifier is reported only once
ftp-proxy.c:141: error: for each function it appears in.)
ftp-proxy.c:143: error: `EVBUFFER_ERROR' undeclared (first use in this function)
ftp-proxy.c:143: error: `EVBUFFER_READ' undeclared (first use in this function)
ftp-proxy.c:145: error: `EVBUFFER_TIMEOUT' undeclared (first use in this function)
ftp-proxy.c:147: error: `EVBUFFER_WRITE' undeclared (first use in this function)
ftp-proxy.c: In function `client_parse_anon':
ftp-proxy.c:198: warning: implicit declaration of function `bufferevent_write'
ftp-proxy.c: In function `client_read':
ftp-proxy.c:251: warning: implicit declaration of function `bufferevent_read'
ftp-proxy.c: In function `end_session':
ftp-proxy.c:305: warning: implicit declaration of function `bufferevent_free'
ftp-proxy.c: In function `handle_connection':
ftp-proxy.c:505: warning: implicit declaration of function `bufferevent_new'
ftp-proxy.c:506: warning: assignment makes pointer from integer without a cast
ftp-proxy.c:511: warning: implicit declaration of function `bufferevent_settimeout'
ftp-proxy.c:512: warning: implicit declaration of function `bufferevent_enable'
ftp-proxy.c:512: error: `EV_READ' undeclared (first use in this function)
ftp-proxy.c:512: error: `EV_TIMEOUT' undeclared (first use in this function)
ftp-proxy.c:515: warning: assignment makes pointer from integer without a cast
ftp-proxy.c: In function `main':
ftp-proxy.c:604: error: storage size of 'ev' isn't known
ftp-proxy.c:604: error: storage size of 'ev_sighup' isn't known
ftp-proxy.c:604: error: storage size of 'ev_sigint' isn't known
ftp-proxy.c:604: error: storage size of 'ev_sigterm' isn't known
ftp-proxy.c:786: warning: implicit declaration of function `event_init'
ftp-proxy.c:790: warning: implicit declaration of function `signal_set'
ftp-proxy.c:793: warning: implicit declaration of function `signal_add'
ftp-proxy.c:797: warning: implicit declaration of function `event_set'
ftp-proxy.c:797: error: `EV_READ' undeclared (first use in this function)
ftp-proxy.c:797: error: `EV_PERSIST' undeclared (first use in this function)
ftp-proxy.c:798: warning: implicit declaration of function `event_add'
ftp-proxy.c:803: warning: implicit declaration of function `event_dispatch'
ftp-proxy.c:604: warning: unused variable `ev'
ftp-proxy.c:604: warning: unused variable `ev_sighup'
ftp-proxy.c:604: warning: unused variable `ev_sigint'
ftp-proxy.c:604: warning: unused variable `ev_sigterm'
ftp-proxy.c: In function `server_error':
ftp-proxy.c:922: error: `EVBUFFER_EOF' undeclared (first use in this function)
ftp-proxy.c:924: error: `EVBUFFER_ERROR' undeclared (first use in this function)
ftp-proxy.c:924: error: `EVBUFFER_READ' undeclared (first use in this function)
ftp-proxy.c:926: error: `EVBUFFER_WRITE' undeclared (first use in this function)
ftp-proxy.c:928: error: `EVBUFFER_TIMEOUT' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.3p1.
*** Error code 1

Stop in /usr/ports/ftp/ftp-proxy.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 8 23:48:29 UTC 2008 
Responsible-Changed-Why:  
beech@ wants this category PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123531 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu May 8 23:48:34 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123531 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: chrissicool@chrissicool.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/123531: ftp/FTP-PROXY Version 4.3p1 doesn't build on FreeBSD 6.3 i386
Date: Thu, 8 May 2008 23:48:31 UT

 Maintainer of ftp/ftp-proxy,
 
 Please note that PR ports/123531 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123531
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Christian Ludwig <chrissicool@chrissicool.net>
To: bug-followup@FreeBSD.ORG
Cc:  
Subject: Re: ports/123531: ftp/FTP-PROXY Version 4.3p1 doesn't build on
	FreeBSD 6.3 i386
Date: Mon, 12 May 2008 19:01:58 +0200

 --=-gq0fMWGDWEbmq+lmMCEX
 Content-Type: multipart/mixed; boundary="=-ncjRv58gZf/BHxi6olAa"
 
 
 --=-ncjRv58gZf/BHxi6olAa
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 Hello,
 
 I could verify this problem here. The problem shows up when you set the
 CFLAGS environment variable in your /etc/make.conf file. The fix is
 included as attachment in this mail. Please test the patch.
 
 I am looking forward to your results. Thanks in advance.
 
 --=20
 
   Christian
 
 --=-ncjRv58gZf/BHxi6olAa
 Content-Disposition: attachment; filename=ftp-proxy-4.3p1_cflags.patch
 Content-Type: text/x-patch; name=ftp-proxy-4.3p1_cflags.patch; charset=utf-8
 Content-Transfer-Encoding: base64
 
 ZGlmZiAtTnVyIC91c3IvcG9ydHMvZnRwL2Z0cC1wcm94eS9NYWtlZmlsZS5vcmlnIC91c3IvcG9y
 dHMvZnRwL2Z0cC1wcm94eS9NYWtlZmlsZQ0KLS0tIC91c3IvcG9ydHMvZnRwL2Z0cC1wcm94eS9N
 YWtlZmlsZS5vcmlnCTIwMDgtMDMtMzAgMTE6NTM6NDIuMDAwMDAwMDAwICswMjAwDQorKysgL3Vz
 ci9wb3J0cy9mdHAvZnRwLXByb3h5L01ha2VmaWxlCTIwMDgtMDUtMTIgMTg6Mjg6MzIuMDAwMDAw
 MDAwICswMjAwDQpAQCAtMjEsNyArMjEsNyBAQA0KIFBMSVNUX0ZJTEVTPQlzYmluL2Z0cC1wcm94
 eQ0KIFVTRV9SQ19TVUJSPQlmdHAtcHJveHkNCiANCi1DRkxBR1MrPQktSSR7UFJFRklYfS9pbmNs
 dWRlDQorQ0ZMQUdTPQkJLUkke0xPQ0FMQkFTRX0vaW5jbHVkZQ0KIA0KIC5pbmNsdWRlIDxic2Qu
 cG9ydC5wcmUubWs+DQogDQo=
 
 
 --=-ncjRv58gZf/BHxi6olAa--
 
 --=-gq0fMWGDWEbmq+lmMCEX
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: Dies ist ein digital signierter Nachrichtenteil
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQBIKHgGFSDmBlzEd2kRApLvAJ4+LlZnXRIEp6Z7HhVFA5aDRUKr+gCghwPq
 HmY/KYChPMZiFDspO1E6RIc=
 =w9Wm
 -----END PGP SIGNATURE-----
 
 --=-gq0fMWGDWEbmq+lmMCEX--
 
State-Changed-From-To: feedback->closed 
State-Changed-By: beech 
State-Changed-When: Sun May 18 22:45:36 UTC 2008 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123531 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123531: commit references a PR
Date: Sun, 18 May 2008 22:43:41 +0000 (UTC)

 beech       2008-05-18 22:43:36 UTC
 
   FreeBSD ports repository
 
   Modified files:
     ftp/ftp-proxy        Makefile 
   Log:
   - Change CFLAGS to: CFLAGS+= -I${LOCALBASE}/include
   
   PR:             ports/123531
   Submitted by:   Harry Kane <harry.kane@gmail.com>
   Approved by:    Christian Ludwig <chrissicool@chrissicool.net> (maintainer)
   
   Revision  Changes    Path
   1.12      +1 -1      ports/ftp/ftp-proxy/Makefile
 _______________________________________________
 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"
 
>Unformatted:
