[Bug 220827] net/mosquitto: fails to build with websockets support enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 18 12:35:37 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220827

            Bug ID: 220827
           Summary: net/mosquitto: fails to build with websockets support
                    enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: stl at koffein.net
                CC: joe at thrallingpenguin.com
             Flags: maintainer-feedback?(joe at thrallingpenguin.com)
                CC: joe at thrallingpenguin.com

Building net/mosquitto with websockets support enabled now fails with the below
error.  The port is also a few versions behind the latest mosquitto release
(1.4.10 vs 1.4.14).  At first glance, this could be an issue in
net/libwebsockets...

FAILED: src/CMakeFiles/mosquitto.dir/__/lib/read_handle_shared.c.o 
/usr/bin/cc -DCMAKE -DTIMESTAMP="\"2017-07-18 14:28:16+0200\""
-DVERSION=\"1.4.10\" -DWITH_BRIDGE -DWITH_BROKER -DWITH_EC
-DWITH_MEMORY_TRACKING -DWITH_PERSISTENCE -DWITH_SOCKS -DWITH_SYS_TREE
-DWITH_TLS -DWITH_TLS_PSK -DWITH_UUID -DWITH_WEBSOCKETS -I/usr/local/include
-I. -Isrc -Ilib -O2 -pipe  -fstack-protector -fno-strict-aliasing -O2 -pipe 
-fstack-protector -fno-strict-aliasing -MD -MT
src/CMakeFiles/mosquitto.dir/__/lib/read_handle_shared.c.o -MF
src/CMakeFiles/mosquitto.dir/__/lib/read_handle_shared.c.o.d -o
src/CMakeFiles/mosquitto.dir/__/lib/read_handle_shared.c.o   -c
lib/read_handle_shared.c
In file included from lib/read_handle_shared.c:29:
In file included from lib/util_mosq.h:25:
In file included from src/mosquitto_broker.h:24:
In file included from /usr/local/include/libwebsockets.h:209:
In file included from /usr/local/include/uv.h:62:
In file included from /usr/local/include/uv-unix.h:42:
/usr/include/pthread.h:238:38: error: use of undeclared identifier '__mutex'
                        __nonnull(1) __requires_unlocked(*__mutex);
                                                          ^
/usr/include/pthread.h:241:38: error: use of undeclared identifier '__mutex'
                        __nonnull(1) __requires_unlocked(*__mutex);
                                                          ^
/usr/include/pthread.h:243:36: error: use of undeclared identifier '__mutex'
                        __nonnull(1) __locks_exclusive(*__mutex);
                                                        ^
/usr/include/pthread.h:250:28: error: use of undeclared identifier '__mutex'
                        __nonnull(1) __unlocks(*__mutex);
                                                ^
4 errors generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list