Date: Tue, 21 Feb 2012 10:49:12 GMT From: ildar Hizbulin <hizel@vyborg.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/165358: sysutils/policykit do not build while installed devel/libinotify Message-ID: <201202211049.q1LAnCqY069400@red.freebsd.org> Resent-Message-ID: <201202211050.q1LAoA5Q031016@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 165358 >Category: ports >Synopsis: sysutils/policykit do not build while installed devel/libinotify >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: Tue Feb 21 10:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: ildar Hizbulin >Release: 9.0-RELEASE >Organization: Ariadna-Link JSC >Environment: FreeBSD doom 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: While installed devel/libinotify - sysutils/policykit do not build >How-To-Repeat: before sysutils/policykit install devel/libinotify /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR=\""/usr/local/libexec"\" -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/var"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/local/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DPOLKIT_COMPILATION -DTEST_DATA_DIR=\"../../test/\" -DTEST_BUILD_DIR=\"../..\" -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -MT polkit-context.lo -MD -MP -MF .deps/polkit-context.Tpo -c -o polkit-context.lo polkit-context.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR=\"/usr/local/libexec\" -DPACKAGE_SYSCONF_DIR=\"/usr/local/etc\" -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_BIN_DIR=\"/usr/local/bin\" -DPACKAGE_LOCALSTATE_DIR=\"/var\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_LIB_DIR=\"/usr/local/lib\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DPOLKIT_COMPILATION -DTEST_DATA_DIR=\"../../test/\" -DTEST_BUILD_DIR=\"../..\" -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -MT polkit-context.lo -MD -MP -MF .deps/polkit-context.Tpo -c polkit-context.c -fPIC -DPIC -o .libs/polkit-context.o polkit-context.c: In function 'polkit_context_init': polkit-context.c:167: error: storage size of 'ev' isn't known polkit-context.c:232: error: 'PolKitContext' has no member named 'kqueue_fd' polkit-context.c:232: warning: implicit declaration of function 'kqueue' polkit-context.c:232: warning: nested extern declaration of 'kqueue' polkit-context.c:233: error: 'PolKitContext' has no member named 'kqueue_fd' polkit-context.c:240: error: 'PolKitContext' has no member named 'kqueue_config_fd' polkit-context.c:240: warning: implicit declaration of function 'open' polkit-context.c:240: warning: nested extern declaration of 'open' polkit-context.c:240: error: 'O_RDONLY' undeclared (first use in this function) polkit-context.c:240: error: (Each undeclared identifier is reported only once polkit-context.c:240: error: for each function it appears in.) polkit-context.c:241: error: 'PolKitContext' has no member named 'kqueue_config_fd' polkit-context.c:248: warning: implicit declaration of function 'EV_SET' polkit-context.c:248: warning: nested extern declaration of 'EV_SET' polkit-context.c:248: error: 'PolKitContext' has no member named 'kqueue_config_fd' polkit-context.c:248: error: 'EVFILT_VNODE' undeclared (first use in this function) polkit-context.c:249: error: 'EV_ADD' undeclared (first use in this function) polkit-context.c:249: error: 'EV_ENABLE' undeclared (first use in this function) polkit-context.c:249: error: 'EV_CLEAR' undeclared (first use in this function) polkit-context.c:250: error: 'NOTE_DELETE' undeclared (first use in this function) polkit-context.c:250: error: 'NOTE_EXTEND' undeclared (first use in this function) polkit-context.c:250: error: 'NOTE_WRITE' undeclared (first use in this function) polkit-context.c:250: error: 'NOTE_RENAME' undeclared (first use in this function) polkit-context.c:252: warning: implicit declaration of function 'kevent' polkit-context.c:252: warning: nested extern declaration of 'kevent' polkit-context.c:252: error: 'PolKitContext' has no member named 'kqueue_fd' polkit-context.c:255: error: 'PolKitContext' has no member named 'kqueue_config_fd' polkit-context.c:261: error: 'PolKitContext' has no member named 'kqueue_policy_fd' polkit-context.c:262: error: 'PolKitContext' has no member named 'kqueue_policy_fd' polkit-context.c:269: error: 'PolKitContext' has no member named 'kqueue_policy_fd' polkit-context.c:273: error: 'PolKitContext' has no member named 'kqueue_fd' polkit-context.c:276: error: 'PolKitContext' has no member named 'kqueue_policy_fd' polkit-context.c:283: error: 'PolKitContext' has no member named 'kqueue_grant_perm_fd' polkit-context.c:284: error: 'PolKitContext' has no member named 'kqueue_grant_perm_fd' polkit-context.c:291: error: 'PolKitContext' has no member named 'kqueue_grant_perm_fd' polkit-context.c:293: error: 'NOTE_ATTRIB' undeclared (first use in this function) polkit-context.c:295: error: 'PolKitContext' has no member named 'kqueue_fd' polkit-context.c:298: error: 'PolKitContext' has no member named 'kqueue_grant_perm_fd' polkit-context.c:304: error: 'PolKitContext' has no member named 'kqueue_fd_watch_id' polkit-context.c:304: error: 'PolKitContext' has no member named 'kqueue_fd' polkit-context.c:305: error: 'PolKitContext' has no member named 'kqueue_fd_watch_id' polkit-context.c:167: warning: unused variable 'ev' polkit-context.c: In function 'polkit_context_io_func': polkit-context.c:546: error: 'PolKitContext' has no member named 'kqueue_fd' polkit-context.c:547: error: array type has incomplete element type polkit-context.c:564: error: dereferencing pointer to incomplete type polkit-context.c:564: error: dereferencing pointer to incomplete type polkit-context.c:564: error: dereferencing pointer to incomplete type polkit-context.c:564: error: dereferencing pointer to incomplete type polkit-context.c:547: warning: unused variable 'ev' gmake[3]: *** [polkit-context.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/src/polkit' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/sysutils/policykit. >Fix: in src/polkit/polkit-context.c fix #ifdef/#elif for HAVE_KQUEUE and HAVE_INOTIFY or deinstall devel/libinotify solve problem. libinotify depend gamin, with option: LIBINOTIFY "Use libinotify as the FAM backend" off >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202211049.q1LAnCqY069400>