FreeBSD Bugzilla – Attachment 223213 Details for
Bug 254241
net/mosquitto 2.0.8 Fails to build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
build log
log (text/plain), 27.43 KB, created by
Paul Boehmer
on 2021-03-12 17:06:20 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
Paul Boehmer
Created:
2021-03-12 17:06:20 UTC
Size:
27.43 KB
patch
obsolete
>===> License EPL accepted by the user >===> mosquitto-2.0.8 depends on file: /usr/local/sbin/pkg - found >===> Fetching all distfiles required by mosquitto-2.0.8 for building >===> Extracting for mosquitto-2.0.8 >=> SHA256 Checksum OK for mosquitto-2.0.8.tar.gz. >===> Patching for mosquitto-2.0.8 >===> Applying FreeBSD patches for mosquitto-2.0.8 from /usr/ports/net/mosquitto/files >===> mosquitto-2.0.8 depends on executable: xsltproc - found >===> mosquitto-2.0.8 depends on package: docbook-xsl>0 - found >===> mosquitto-2.0.8 depends on file: /usr/local/bin/cmake - found >===> mosquitto-2.0.8 depends on executable: ninja - found >===> mosquitto-2.0.8 depends on shared library: libuuid.so - found (/usr/local/lib/libuuid.so) >===> mosquitto-2.0.8 depends on shared library: libcjson.so - found (/usr/local/lib/libcjson.so) >===> mosquitto-2.0.8 depends on shared library: libcares.so - found (/usr/local/lib/libcares.so) >===> Configuring for mosquitto-2.0.8 >===> Performing out-of-source build >/bin/mkdir -p /usr/ports/net/mosquitto/work/.build >-- The C compiler identification is Clang 10.0.1 >-- The CXX compiler identification is Clang 10.0.1 >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /usr/bin/cc - skipped >-- Detecting C compile features >-- Detecting C compile features - done >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - done >-- Check for working CXX compiler: /usr/bin/c++ - skipped >-- Detecting CXX compile features >-- Detecting CXX compile features - done >-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1j") >-- WITH_DLT = OFF >-- Found cJSON: /usr/local/include >-- TRUE >-- Looking for getaddrinfo_a in anl >-- Looking for getaddrinfo_a in anl - not found >-- Configuring done >-- Generating done >-- Build files have been written to: /usr/ports/net/mosquitto/work/.build >===> Building for mosquitto-2.0.8 >[1/185] /usr/bin/cc -DCMAKE -DVERSION=\"2.0.8\" -DWITH_EC -DWITH_SOCKS -DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -DWITH_UNIX_SOCKETS -I/usr/local/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8 -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/lib -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MD -MT apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/mosquitto_passwd.c.o -MF apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/mosquitto_passwd.c.o.d -o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/mosquitto_passwd.c.o -c /usr/ports/net/mosquitto/work/mosquitto-2.0.8/apps/mosquitto_passwd/mosquitto_passwd.c >[2/185] /usr/bin/cc -DCMAKE -DVERSION=\"2.0.8\" -DWITH_EC -DWITH_SOCKS -DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -DWITH_UNIX_SOCKETS -I/usr/local/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8 -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/lib -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MD -MT apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/get_password.c.o -MF apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/get_password.c.o.d -o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/get_password.c.o -c /usr/ports/net/mosquitto/work/mosquitto-2.0.8/apps/mosquitto_passwd/get_password.c >[3/185] /usr/bin/cc -DCMAKE -DVERSION=\"2.0.8\" -DWITH_EC -DWITH_SOCKS -DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -DWITH_UNIX_SOCKETS -I/usr/local/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8 -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/lib -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MD -MT apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/lib/memory_mosq.c.o -MF apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/lib/memory_mosq.c.o.d -o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/lib/memory_mosq.c.o -c /usr/ports/net/mosquitto/work/mosquitto-2.0.8/lib/memory_mosq.c >[4/185] /usr/bin/cc -DCMAKE -DVERSION=\"2.0.8\" -DWITH_EC -DWITH_SOCKS -DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -DWITH_UNIX_SOCKETS -I/usr/local/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8 -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/lib -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MD -MT apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/src/memory_public.c.o -MF apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/src/memory_public.c.o.d -o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/src/memory_public.c.o -c /usr/ports/net/mosquitto/work/mosquitto-2.0.8/src/memory_public.c >[5/185] /usr/bin/cc -DCMAKE -DVERSION=\"2.0.8\" -DWITH_EC -DWITH_SOCKS -DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -DWITH_UNIX_SOCKETS -I/usr/local/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8 -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/lib -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MD -MT apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/lib/misc_mosq.c.o -MF apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/lib/misc_mosq.c.o.d -o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/lib/misc_mosq.c.o -c /usr/ports/net/mosquitto/work/mosquitto-2.0.8/lib/misc_mosq.c >[6/185] /usr/bin/cc -DCMAKE -DVERSION=\"2.0.8\" -DWITH_EC -DWITH_SOCKS -DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -DWITH_UNIX_SOCKETS -I/usr/local/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8 -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/lib -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MD -MT apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/src/password_mosq.c.o -MF apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/src/password_mosq.c.o.d -o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/src/password_mosq.c.o -c /usr/ports/net/mosquitto/work/mosquitto-2.0.8/src/password_mosq.c >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src/password_mosq.c:117:13: warning: implicit declaration of function 'mosquitto_calloc' is invalid in C99 [-Wimplicit-function-declaration] > *decoded = mosquitto_calloc(slen, 1); > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src/password_mosq.c:117:11: warning: incompatible integer to pointer conversion assigning to 'unsigned char *' from 'int' [-Wint-conversion] > *decoded = mosquitto_calloc(slen, 1); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src/password_mosq.c:126:3: warning: implicit declaration of function 'mosquitto_free' is invalid in C99 [-Wimplicit-function-declaration] > mosquitto_free(*decoded); > ^ >3 warnings generated. >[7/185] : && /usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/mosquitto_passwd.c.o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/get_password.c.o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/lib/memory_mosq.c.o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/src/memory_public.c.o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/lib/misc_mosq.c.o apps/mosquitto_passwd/CMakeFiles/mosquitto_passwd.dir/__/__/src/password_mosq.c.o -o apps/mosquitto_passwd/mosquitto_passwd -L/usr/local/lib -Wl,-rpath,/usr/local/lib: -lssl -lcrypto && : >[8/185] /usr/bin/cc -DCMAKE -DVERSION=\"2.0.8\" -DWITH_CJSON -DWITH_EC -DWITH_SOCKS -DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -DWITH_UNIX_SOCKETS -Dmosquitto_dynamic_security_EXPORTS -I/usr/local/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8 -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -MD -MT plugins/dynamic-security/CMakeFiles/mosquitto_dynamic_security.dir/acl.c.o -MF plugins/dynamic-security/CMakeFiles/mosquitto_dynamic_security.dir/acl.c.o.d -o plugins/dynamic-security/CMakeFiles/mosquitto_dynamic_security.dir/acl.c.o -c /usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c >FAILED: plugins/dynamic-security/CMakeFiles/mosquitto_dynamic_security.dir/acl.c.o >/usr/bin/cc -DCMAKE -DVERSION=\"2.0.8\" -DWITH_CJSON -DWITH_EC -DWITH_SOCKS -DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -DWITH_UNIX_SOCKETS -Dmosquitto_dynamic_security_EXPORTS -I/usr/local/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8 -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/include -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps -I/usr/ports/net/mosquitto/work/mosquitto-2.0.8/src -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -MD -MT plugins/dynamic-security/CMakeFiles/mosquitto_dynamic_security.dir/acl.c.o -MF plugins/dynamic-security/CMakeFiles/mosquitto_dynamic_security.dir/acl.c.o.d -o plugins/dynamic-security/CMakeFiles/mosquitto_dynamic_security.dir/acl.c.o -c /usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:26:43: warning: declaration of 'struct mosquitto_evt_acl_check' will not be visible outside of this function [-Wvisibility] >typedef int (*MOSQ_FUNC_acl_check)(struct mosquitto_evt_acl_check *, struct dynsec__rolelist *); > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:36:44: warning: declaration of 'struct mosquitto_evt_acl_check' will not be visible outside of this function [-Wvisibility] >static int acl_check_publish_c_recv(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:44:46: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > mosquitto_topic_matches_sub(acl->topic, ed->topic, &result); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:36:44: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_publish_c_recv(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:64:44: warning: declaration of 'struct mosquitto_evt_acl_check' will not be visible outside of this function [-Wvisibility] >static int acl_check_publish_c_send(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:72:46: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > mosquitto_topic_matches_sub(acl->topic, ed->topic, &result); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:64:44: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_publish_c_send(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:92:39: warning: declaration of 'struct mosquitto_evt_acl_check' will not be visible outside of this function [-Wvisibility] >static int acl_check_subscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:98:17: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > len = strlen(ed->topic); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:92:39: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_subscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:101:59: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > HASH_FIND(hh, rolelist->role->acls.subscribe_literal, ed->topic, len, acl); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:179:14: note: expanded from macro 'HASH_FIND' > HASH_VALUE(keyptr, keylen, _hf_hashv); \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:161:12: note: expanded from macro 'HASH_VALUE' > HASH_FCN(keyptr, keylen, hashv); \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:662:55: note: expanded from macro 'HASH_JEN' > unsigned const char *_hj_key=(unsigned const char*)(key); \ > ^~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:92:39: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_subscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:101:59: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > HASH_FIND(hh, rolelist->role->acls.subscribe_literal, ed->topic, len, acl); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:180:35: note: expanded from macro 'HASH_FIND' > HASH_FIND_BYHASHVALUE(hh, head, keyptr, keylen, _hf_hashv, out); \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:171:80: note: expanded from macro 'HASH_FIND_BYHASHVALUE' > HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:844:38: note: expanded from macro 'HASH_FIND_IN_BKT' > if (HASH_KEYCMP((out)->hh.key, keyptr, keylen_in) == 0) { \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:103:44: note: expanded from macro 'HASH_KEYCMP' >#define HASH_KEYCMP(a,b,n) uthash_memcmp(a,b,n) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:99:39: note: expanded from macro 'uthash_memcmp' >#define uthash_memcmp(a,b,n) memcmp(a,b,n) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:92:39: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_subscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:110:35: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > if(sub_acl_check(acl->topic, ed->topic)){ > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:92:39: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_subscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:129:41: warning: declaration of 'struct mosquitto_evt_acl_check' will not be visible outside of this function [-Wvisibility] >static int acl_check_unsubscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:135:17: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > len = strlen(ed->topic); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:129:41: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_unsubscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:138:61: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > HASH_FIND(hh, rolelist->role->acls.unsubscribe_literal, ed->topic, len, acl); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:179:14: note: expanded from macro 'HASH_FIND' > HASH_VALUE(keyptr, keylen, _hf_hashv); \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:161:12: note: expanded from macro 'HASH_VALUE' > HASH_FCN(keyptr, keylen, hashv); \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:662:55: note: expanded from macro 'HASH_JEN' > unsigned const char *_hj_key=(unsigned const char*)(key); \ > ^~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:129:41: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_unsubscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:138:61: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > HASH_FIND(hh, rolelist->role->acls.unsubscribe_literal, ed->topic, len, acl); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:180:35: note: expanded from macro 'HASH_FIND' > HASH_FIND_BYHASHVALUE(hh, head, keyptr, keylen, _hf_hashv, out); \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:171:80: note: expanded from macro 'HASH_FIND_BYHASHVALUE' > HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:844:38: note: expanded from macro 'HASH_FIND_IN_BKT' > if (HASH_KEYCMP((out)->hh.key, keyptr, keylen_in) == 0) { \ > ^~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:103:44: note: expanded from macro 'HASH_KEYCMP' >#define HASH_KEYCMP(a,b,n) uthash_memcmp(a,b,n) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/deps/uthash.h:99:39: note: expanded from macro 'uthash_memcmp' >#define uthash_memcmp(a,b,n) memcmp(a,b,n) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:129:41: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_unsubscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:147:35: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > if(sub_acl_check(acl->topic, ed->topic)){ > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:129:41: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check_unsubscribe(struct mosquitto_evt_acl_check *ed, struct dynsec__rolelist *base_rolelist) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:166:29: warning: declaration of 'struct mosquitto_evt_acl_check' will not be visible outside of this function [-Wvisibility] >static int acl_check(struct mosquitto_evt_acl_check *ed, MOSQ_FUNC_acl_check check, bool acl_default_access) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:173:41: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > username = mosquitto_client_username(ed->client); > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:166:29: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check(struct mosquitto_evt_acl_check *ed, MOSQ_FUNC_acl_check check, bool acl_default_access) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:180:14: warning: incompatible pointer types passing 'struct mosquitto_evt_acl_check *' to parameter of type 'struct mosquitto_evt_acl_check *' [-Wincompatible-pointer-types] > rc = check(ed, client->rolelist); > ^~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:186:15: warning: incompatible pointer types passing 'struct mosquitto_evt_acl_check *' to parameter of type 'struct mosquitto_evt_acl_check *' [-Wincompatible-pointer-types] > rc = check(ed, grouplist->group->rolelist); > ^~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:193:14: warning: incompatible pointer types passing 'struct mosquitto_evt_acl_check *' to parameter of type 'struct mosquitto_evt_acl_check *' [-Wincompatible-pointer-types] > rc = check(ed, dynsec_anonymous_group->rolelist); > ^~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:202:17: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > if(!strncmp(ed->topic, "$CONTROL", strlen("$CONTROL"))){ > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:166:29: note: forward declaration of 'struct mosquitto_evt_acl_check' >static int acl_check(struct mosquitto_evt_acl_check *ed, MOSQ_FUNC_acl_check check, bool acl_default_access) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:236:11: error: incomplete definition of type 'struct mosquitto_evt_acl_check' > switch(ed->access){ > ~~^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:221:9: note: forward declaration of 'struct mosquitto_evt_acl_check' > struct mosquitto_evt_acl_check *ed = event_data; > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:238:33: warning: incompatible pointer types passing 'int (struct mosquitto_evt_acl_check *, struct dynsec__rolelist *)' to parameter of type 'MOSQ_FUNC_acl_check' (aka 'int (*)(struct mosquitto_evt_acl_check *, struct dynsec__rolelist *)') [-Wincompatible-pointer-types] > return acl_check(event_data, acl_check_subscribe, default_access.subscribe); > ^~~~~~~~~~~~~~~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:166:78: note: passing argument to parameter 'check' here >static int acl_check(struct mosquitto_evt_acl_check *ed, MOSQ_FUNC_acl_check check, bool acl_default_access) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:241:33: warning: incompatible pointer types passing 'int (struct mosquitto_evt_acl_check *, struct dynsec__rolelist *)' to parameter of type 'MOSQ_FUNC_acl_check' (aka 'int (*)(struct mosquitto_evt_acl_check *, struct dynsec__rolelist *)') [-Wincompatible-pointer-types] > return acl_check(event_data, acl_check_unsubscribe, default_access.unsubscribe); > ^~~~~~~~~~~~~~~~~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:166:78: note: passing argument to parameter 'check' here >static int acl_check(struct mosquitto_evt_acl_check *ed, MOSQ_FUNC_acl_check check, bool acl_default_access) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:244:33: warning: incompatible pointer types passing 'int (struct mosquitto_evt_acl_check *, struct dynsec__rolelist *)' to parameter of type 'MOSQ_FUNC_acl_check' (aka 'int (*)(struct mosquitto_evt_acl_check *, struct dynsec__rolelist *)') [-Wincompatible-pointer-types] > return acl_check(event_data, acl_check_publish_c_send, default_access.publish_c_send); > ^~~~~~~~~~~~~~~~~~~~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:166:78: note: passing argument to parameter 'check' here >static int acl_check(struct mosquitto_evt_acl_check *ed, MOSQ_FUNC_acl_check check, bool acl_default_access) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:247:33: warning: incompatible pointer types passing 'int (struct mosquitto_evt_acl_check *, struct dynsec__rolelist *)' to parameter of type 'MOSQ_FUNC_acl_check' (aka 'int (*)(struct mosquitto_evt_acl_check *, struct dynsec__rolelist *)') [-Wincompatible-pointer-types] > return acl_check(event_data, acl_check_publish_c_recv, default_access.publish_c_recv); > ^~~~~~~~~~~~~~~~~~~~~~~~ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:166:78: note: passing argument to parameter 'check' here >static int acl_check(struct mosquitto_evt_acl_check *ed, MOSQ_FUNC_acl_check check, bool acl_default_access) > ^ >/usr/ports/net/mosquitto/work/mosquitto-2.0.8/plugins/dynamic-security/acl.c:240:8: error: use of undeclared identifier 'MOSQ_ACL_UNSUBSCRIBE' > case MOSQ_ACL_UNSUBSCRIBE: > ^ >13 warnings and 14 errors generated. >ninja: build stopped: subcommand failed. >*** Error code 1 > >Stop. >make[1]: stopped in /usr/ports/net/mosquitto >*** Error code 1 > >Stop. >make: stopped in /usr/ports/net/mosquitto
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 254241
: 223213