From owner-freebsd-ports@FreeBSD.ORG Sun Sep 30 15:30:19 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F6C816A41B for ; Sun, 30 Sep 2007 15:30:18 +0000 (UTC) (envelope-from lists@socruel.nu) Received: from nairobi.socruel.nu (nairobi.socruel.nu [217.140.4.88]) by mx1.freebsd.org (Postfix) with ESMTP id B12C513C468 for ; Sun, 30 Sep 2007 15:30:17 +0000 (UTC) (envelope-from lists@socruel.nu) Received: from localhost (localhost.socruel.nu [127.0.0.1]) by nairobi.socruel.nu (Postfix) with ESMTP id 99ADE2E0B9; Sun, 30 Sep 2007 17:30:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at socruel.nu Received: from nairobi.socruel.nu ([127.0.0.1]) by localhost (nairobi.socruel.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bdEs-jh77M4m; Sun, 30 Sep 2007 17:30:13 +0200 (CEST) Received: from imeel.socruel.nu (localhost.socruel.nu [127.0.0.1]) by nairobi.socruel.nu (Postfix) with ESMTP id 72B2A2E0B6; Sun, 30 Sep 2007 17:30:13 +0200 (CEST) Received: from 80.127.130.242 (SquirrelMail authenticated user lists@socruel.nu) by imeel.socruel.nu with HTTP; Sun, 30 Sep 2007 17:30:13 +0200 (CEST) Message-ID: <53472.80.127.130.242.1191166213.squirrel@imeel.socruel.nu> In-Reply-To: <1190981550.6103.9.camel@weasel.chrissicool.shacknet.nu> References: <53969.80.127.130.242.1190785632.squirrel@imeel.socruel.nu> <1190981550.6103.9.camel@weasel.chrissicool.shacknet.nu> Date: Sun, 30 Sep 2007 17:30:13 +0200 (CEST) From: lists@socruel.nu To: "Christian Ludwig" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-ports@freebsd.org Subject: Re: Error code 1 when upgrading ftp-proxy port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2007 15:30:19 -0000 Hi, Thanx for your reply. libevent is installed: root@host /root # pkg_version -Iv | grep libevent libevent-1.3d = up-to-date with index and event.h does exist in /usr/local/include: root@host /root # ll /usr/local/include/event.h -r--r--r-- 1 root wheel 10944 Sep 30 16:41 /usr/local/include/event.h I just installed libevent again, therefore the date of today 30 september. I have deleted the ftp-proxy package, it was not usable anyway. Now an install gives me the same result root@host /root # cd /usr/ports/ftp/ftp-proxy/ root@host ftp-proxy # make ===> Vulnerability check disabled, database not found ===> Extracting for ftp-proxy-4.1p2_1 => MD5 Checksum OK for ftp-proxy-4.1p2.tar.gz. => SHA256 Checksum OK for ftp-proxy-4.1p2.tar.gz. ===> Patching for ftp-proxy-4.1p2_1 ===> ftp-proxy-4.1p2_1 depends on shared library: event-1.3d - found ===> Configuring for ftp-proxy-4.1p2_1 ===> Building for ftp-proxy-4.1p2_1 Warning: Object directory not changed from original /usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.1p2 cc -O -pipe -I/usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.1p2 -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:140: error: `EVBUFFER_EOF' undeclared (first use in this function) ftp-proxy.c:140: error: (Each undeclared identifier is reported only once ftp-proxy.c:140: error: for each function it appears in.) ftp-proxy.c:142: error: `EVBUFFER_ERROR' undeclared (first use in this function) ftp-proxy.c:142: error: `EVBUFFER_READ' undeclared (first use in this function) ftp-proxy.c:144: error: `EVBUFFER_TIMEOUT' undeclared (first use in this function) ftp-proxy.c:146: error: `EVBUFFER_WRITE' undeclared (first use in this function) ftp-proxy.c: In function `client_parse_anon': ftp-proxy.c:186: warning: implicit declaration of function `bufferevent_write' ftp-proxy.c: In function `client_read': ftp-proxy.c:239: warning: implicit declaration of function `bufferevent_read' ftp-proxy.c: In function `end_session': ftp-proxy.c:293: warning: implicit declaration of function `bufferevent_free' ftp-proxy.c: In function `handle_connection': ftp-proxy.c:493: warning: implicit declaration of function `bufferevent_new' ftp-proxy.c:494: warning: assignment makes pointer from integer without a cast ftp-proxy.c:499: warning: implicit declaration of function `bufferevent_settimeout' ftp-proxy.c:500: warning: implicit declaration of function `bufferevent_enable' ftp-proxy.c:500: error: `EV_READ' undeclared (first use in this function) ftp-proxy.c:500: error: `EV_TIMEOUT' undeclared (first use in this function) ftp-proxy.c:503: warning: assignment makes pointer from integer without a cast ftp-proxy.c: In function `main': ftp-proxy.c:592: error: storage size of 'ev' isn't known ftp-proxy.c:592: error: storage size of 'ev_sighup' isn't known ftp-proxy.c:592: error: storage size of 'ev_sigint' isn't known ftp-proxy.c:592: error: storage size of 'ev_sigterm' isn't known ftp-proxy.c:768: warning: implicit declaration of function `event_init' ftp-proxy.c:772: warning: implicit declaration of function `signal_set' ftp-proxy.c:775: warning: implicit declaration of function `signal_add' ftp-proxy.c:779: warning: implicit declaration of function `event_set' ftp-proxy.c:779: error: `EV_READ' undeclared (first use in this function) ftp-proxy.c:779: error: `EV_PERSIST' undeclared (first use in this function) ftp-proxy.c:780: warning: implicit declaration of function `event_add' ftp-proxy.c:785: warning: implicit declaration of function `event_dispatch' ftp-proxy.c:592: warning: unused variable `ev' ftp-proxy.c:592: warning: unused variable `ev_sighup' ftp-proxy.c:592: warning: unused variable `ev_sigint' ftp-proxy.c:592: warning: unused variable `ev_sigterm' ftp-proxy.c: In function `server_error': ftp-proxy.c:904: error: `EVBUFFER_EOF' undeclared (first use in this function) ftp-proxy.c:906: error: `EVBUFFER_ERROR' undeclared (first use in this function) ftp-proxy.c:906: error: `EVBUFFER_READ' undeclared (first use in this function) ftp-proxy.c:908: error: `EVBUFFER_WRITE' undeclared (first use in this function) ftp-proxy.c:910: error: `EVBUFFER_TIMEOUT' undeclared (first use in this function) *** Error code 1 Stop in /usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.1p2. *** Error code 1 Stop in /usr/ports/ftp/ftp-proxy. I looked up the Makefile in work/ftp-proxy-4.1p2 and saw CFLAGS+= -I${.CURDIR} CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \ -Wno-uninitialized LDADD+= -levent -L${PREFIX}/lib DPADD+= ${LIBEVENT} which means that /usr/local/include is not referenced in CFLAGS as is mentioned in the Makefile of the port. After linking /usr/local/include/event.h to work/ftp-proxy-4.1p2/event.h all is OK! Cheers, Lars. > Hello, > > your errors seem to be related to libevent. From your logs portmaster > shows that you have libevent-1.3d installed. Is that really the case? > Does /usr/local/include/event.h exist? Because this file could not be > found by the compiler. > > Try reinstalling libevent and after that try to update ftp-proxy again. > > > - Christian > > >