Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2008 21:10:17 GMT
From:      Harry Kane <harry.kane@gmail.rip>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123531: FTP-PROXY Version 4.3p1 doesn't build on FreeBSD 6.3 i386
Message-ID:  <200805082110.m48LAH19008171@www.freebsd.org>
Resent-Message-ID: <200805082120.m48LK3GV064897@freefall.freebsd.org>

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

>Number:         123531
>Category:       ports
>Synopsis:       FTP-PROXY Version 4.3p1 doesn't build on FreeBSD 6.3 i386
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 08 21:20:03 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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