Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2018 20:33:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225581] net/mosquitto: Fails to compile
Message-ID:  <bug-225581-13-vpUshOBpHN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225581-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225581-13@https.bugs.freebsd.org/bugzilla/>

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

Oleg <supportsobaka@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |supportsobaka@mail.ru

--- Comment #2 from Oleg <supportsobaka@mail.ru> ---
I have the same problem

 make install clean MAKE_JOBS_UNSAFE=3Dyes
=3D=3D=3D>  Building for mosquitto-1.4.14_1
[1/12] /usr/bin/cc -DCMAKE -DTIMESTAMP=3D"\"2018-03-21 22:25:22+0200\""
-DVERSION=3D\"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_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
FAILED: src/CMakeFiles/mosquitto.dir/__/lib/read_handle_shared.c.o
/usr/bin/cc -DCMAKE -DTIMESTAMP=3D"\"2018-03-21 22:25:22+0200\""
-DVERSION=3D\"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_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: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.
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


I'm sure it is related with libwebsockets.

--=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-225581-13-vpUshOBpHN>