[Bug 225581] net/mosquitto: Fails to compile

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 31 10:51:48 UTC 2018


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

            Bug ID: 225581
           Summary: net/mosquitto: Fails to compile
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: tim at timmcc.co.uk
                CC: joe at thrallingpenguin.com
             Flags: maintainer-feedback?(joe at thrallingpenguin.com)
                CC: joe at thrallingpenguin.com

Attempting to compile mosquitto 1.4.14 from net/mosquitto fails on FreeBSD
11.1-RELEASE-p4:

FAILED: src/CMakeFiles/mosquitto.dir/__/lib/read_handle_shared.c.o
/usr/bin/cc -DCMAKE -DTIMESTAMP="\"2018-01-31 08:54:39+0000\""
-DVERSION=\"1.4.14\" -DWITH_BRIDGE -DWITH_BROKER -DWITH_EC
-DWITH_MEMORY_TRACKING -DWITH_PERSISTENCE -DWITH_SOCKS -DWITH_SYS_TREE
-DWITH_THREADING -DWITH_TLS -DWITH_TLS_PSK -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:153:
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:239:28: error: use of undeclared identifier '__mutex'
                    __requires_unlocked(*__mutex);
                                         ^
/usr/include/pthread.h:242:28: error: use of undeclared identifier '__mutex'
                    __requires_unlocked(*__mutex);
                                         ^
/usr/include/pthread.h:244:26: error: use of undeclared identifier '__mutex'
                    __locks_exclusive(*__mutex);
                                       ^
/usr/include/pthread.h:251:18: error: use of undeclared identifier '__mutex'
                    __unlocks(*__mutex);
                               ^
4 errors generated.

This seems similar to 220827, but that was fixed some time ago. I'm also
building with websocket support.

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


More information about the freebsd-ports-bugs mailing list