ports/120949: ftp-proxy fails to build

adipose dhulme at gmail.com
Thu Aug 21 23:32:34 UTC 2008


This is a problem I encountered as well.  After checking the port makefile I
noticed that it was correctly adding the include directory of
/usr/local/include, but this wasn't set by the time the project makefile was
called.  It turned out my make.conf file was overriding it with 

CFLAGS= -02 -pipe

After changing it to 

CFLAGS+= -02 -pipe

it began working and the compile worked.  I suspect you had the same
problem.  Most ports aren't using cflags in this way, I guess, because this
is the first time I've had this problem.

-Dan


Paul Belanger-3 wrote:
> 
> 
>>Number:         120949
>>Category:       ports
>>Synopsis:       ftp-proxy fails to build
>>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 Feb 21 16:10:02 UTC 2008
>>Closed-Date:
>>Last-Modified:
>>Originator:     Paul Belanger
>>Release:        6.3-RELEASE-p1
>>Organization:
>>Environment:
> FreeBSD hound.vopella.com 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed
> Feb 13 02:40:56 UTC 2008    
> root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>>Description:
> See below, but ftp-proxy fails to build properly.
> 
> ---
> ===>   Returning to build of ftp-proxy-4.2p2_1
> ===>  Configuring for ftp-proxy-4.2p2_1
> ===>  Building for ftp-proxy-4.2p2_1
> Warning: Object directory not changed from original
> /usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.2p2
> cc -O -pipe  -I/usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.2p2 -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.2p2.
> *** Error code 1
> 
> Stop in /usr/ports/ftp/ftp-proxy.
> 
>>How-To-Repeat:
> # portsnap fetch
> # portsnamp update
> # cd /usr/ports/ftp/ftp-proxy
> # make install clean
>>Fix:
> 
> 
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
> _______________________________________________
> freebsd-ports-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to
> "freebsd-ports-bugs-unsubscribe at freebsd.org"
> 
> 

-- 
View this message in context: http://www.nabble.com/ports-120949%3A-ftp-proxy-fails-to-build-tp15614906p19098787.html
Sent from the freebsd-ports-bugs mailing list archive at Nabble.com.




More information about the freebsd-ports-bugs mailing list