Date: Mon, 5 Nov 2012 22:50:52 GMT From: Ari Maniatis <ari@ish.com.au> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/173409: netatalk3 fails to compile on event2 library Message-ID: <201211052250.qA5Moq4w083478@red.freebsd.org> Resent-Message-ID: <201211052300.qA5N01BF051449@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173409 >Category: ports >Synopsis: netatalk3 fails to compile on event2 library >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 05 23:00:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ari Maniatis >Release: 9.0 >Organization: ish >Environment: 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Cannot compile the netatalk3 port. Note that I have to use DISABLE_VULNERABILITIES=yes to compile it. gmake[3]: Leaving directory `/usr/ports/net/netatalk3/work/netatalk-3.0.1/etc/cnid_dbd' Making all in netatalk gmake[3]: Entering directory `/usr/ports/net/netatalk3/work/netatalk-3.0.1/etc/netatalk' CC netatalk-netatalk.o netatalk.c:36:26: error: event2/event.h: No such file or directory netatalk.c: In function 'libevent_logmsg_cb': netatalk.c:62: error: '_EVENT_LOG_DEBUG' undeclared (first use in this function) netatalk.c:62: error: (Each undeclared identifier is reported only once netatalk.c:62: error: for each function it appears in.) netatalk.c:65: error: '_EVENT_LOG_MSG' undeclared (first use in this function) netatalk.c:68: error: '_EVENT_LOG_WARN' undeclared (first use in this function) netatalk.c:71: error: '_EVENT_LOG_ERR' undeclared (first use in this function) netatalk.c: At top level: netatalk.c:85: error: expected ')' before 'fd' netatalk.c:113: error: expected ')' before 'fd' netatalk.c:120: error: expected ')' before 'fd' netatalk.c:153: error: expected ')' before 'fd' netatalk.c: In function 'main': netatalk.c:277: warning: implicit declaration of function 'event_set_log_callback' netatalk.c:278: warning: implicit declaration of function 'event_set_fatal_callback' netatalk.c:292: warning: implicit declaration of function 'event_base_new' netatalk.c:292: warning: assignment makes pointer from integer without a cast netatalk.c:297: warning: implicit declaration of function 'event_new' netatalk.c:297: error: 'EV_SIGNAL' undeclared (first use in this function) netatalk.c:297: error: 'sigterm_cb' undeclared (first use in this function) netatalk.c:297: warning: assignment makes pointer from integer without a cast netatalk.c:298: error: 'EV_PERSIST' undeclared (first use in this function) netatalk.c:298: error: 'sigquit_cb' undeclared (first use in this function) netatalk.c:298: warning: assignment makes pointer from integer without a cast netatalk.c:299: error: 'sigchld_cb' undeclared (first use in this function) netatalk.c:299: warning: assignment makes pointer from integer without a cast netatalk.c:300: error: 'timer_cb' undeclared (first use in this function) netatalk.c:300: warning: assignment makes pointer from integer without a cast netatalk.c:305: warning: implicit declaration of function 'event_add' netatalk.c:317: warning: implicit declaration of function 'event_base_dispatch' gmake[3]: *** [netatalk-netatalk.o] Error 1 gmake[3]: Leaving directory `/usr/ports/net/netatalk3/work/netatalk-3.0.1/etc/netatalk' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/net/netatalk3/work/netatalk-3.0.1/etc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/net/netatalk3/work/netatalk-3.0.1' gmake: *** [all] Error 2 *** Error code 1 >How-To-Repeat: # portmaster -o net/netatalk3 net/netatalk >Fix: I tried reinstalling the libevent2 port, but that did not help. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211052250.qA5Moq4w083478>