Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2017 12:35:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220827] net/mosquitto: fails to build with websockets support enabled
Message-ID:  <bug-220827-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220827

            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@FreeBSD.org
          Reporter: stl@koffein.net
                CC: joe@thrallingpenguin.com
             Flags: maintainer-feedback?(joe@thrallingpenguin.com)
                CC: joe@thrallingpenguin.com

Building net/mosquitto with websockets support enabled now fails with the b=
elow
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=20
/usr/bin/cc -DCMAKE -DTIMESTAMP=3D"\"2017-07-18 14:28:16+0200\""
-DVERSION=3D\"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=
=20
-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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220827-13>