Hi, there seems to be some problem with the port, which i cannot resolve with my poor compiler knowledge. Maintainers did not answer. Any hint? regards, Beat [root at myserver:~] # uname -a FreeBSD my.server.com 10.1-STABLE FreeBSD 10.1-STABLE #0 r282210: Wed Apr 29 17:38:56 CEST 2015 [root at myserver:/usr/ports/net/mosquitto] # make ===> License BSD3CLAUSE accepted by the user ===> Found saved configuration for mosquitto-1.3.2 ===> mosquitto-1.4.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mosquitto-1.4.2 for building ===> Extracting for mosquitto-1.4.2 => SHA256 Checksum OK for mosquitto-1.4.2.tar.gz. ===> Patching for mosquitto-1.4.2 ===> Applying FreeBSD patches for mosquitto-1.4.2 /usr/bin/sed -i.bak -e '/ldconfig/d' /usr/ports/net/mosquitto/work/mosquitto-1.4.2/src/CMakeLists.txt /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/CMakeLists.txt /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/cpp/CMakeLists.txt ===> mosquitto-1.4.2 depends on executable: xsltproc - found ===> mosquitto-1.4.2 depends on file: /usr/local/bin/cmake - found ===> mosquitto-1.4.2 depends on file: /usr/local/bin/python2.7 - found ===> mosquitto-1.4.2 depends on executable: python2 - found ===> mosquitto-1.4.2 depends on shared library: libcares.so - found (/usr/local/lib/libcares.so) ===> Configuring for mosquitto-1.4.2 ===> Performing in-source build /bin/mkdir -p /usr/ports/net/mosquitto/work/mosquitto-1.4.2 -- The C compiler identification is Clang 3.4.1 -- The CXX compiler identification is Clang 3.4.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenSSL: /usr/local/lib/libssl.so;/usr/local/lib/libcrypto.so (found version "1.0.2d") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS Python_ADDITIONAL_VERSIONS THREADS_HAVE_PTHREAD_ARG -- Build files have been written to: /usr/ports/net/mosquitto/work/mosquitto-1.4.2 ===> Building for mosquitto-1.4.2 Scanning dependencies of target libmosquitto Scanning dependencies of target mosquitto [ 2%] Building C object lib/CMakeFiles/libmosquitto.dir/logging_mosq.c.o [ 4%] Building C object src/CMakeFiles/mosquitto.dir/conf.c.o /usr/ports/net/mosquitto/work/mosquitto-1.4.2/src/conf.c:1427:36: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] [ 6%] Building C object lib/CMakeFiles/libmosquitto.dir/memory_mosq.c.o if(config->message_size_limit < 0 || config->message_size_limit > MQTT_MAX_PAYLOAD){ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ [ 8%] Building C object lib/CMakeFiles/libmosquitto.dir/messages_mosq.c.o [ 10%] Building C object lib/CMakeFiles/libmosquitto.dir/mosquitto.c.o /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:555:5: warning: implicit declaration of function 'mosquitto_pub_topic_check' is invalid in C99 [-Wimplicit-function-declaration] if(mosquitto_pub_topic_check(topic) != MOSQ_ERR_SUCCESS){ ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:617:5: warning: implicit declaration of function 'mosquitto_sub_topic_check' is invalid in C99 [-Wimplicit-function-declaration] if(mosquitto_sub_topic_check(sub)) return MOSQ_ERR_INVAL; ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1009:9: error: use of undeclared identifier 'MOSQ_ERR_PROXY'; did you mean 'MOSQ_ERR_ERRNO'? case MOSQ_ERR_PROXY: ^~~~~~~~~~~~~~ MOSQ_ERR_ERRNO /usr/local/include/mosquitto.h:100:2: note: 'MOSQ_ERR_ERRNO' declared here MOSQ_ERR_ERRNO = 14, ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1011:9: error: duplicate case value 'MOSQ_ERR_ERRNO' case MOSQ_ERR_ERRNO: ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1009:9: note: previous case defined here case MOSQ_ERR_PROXY: ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1191:53: warning: declaration of 'enum mosq_opt_t' will not be visible outside of this function [-Wvisibility] int mosquitto_opts_set(struct mosquitto *mosq, enum mosq_opt_t option, void *value) ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1191:64: error: variable has incomplete type 'enum mosq_opt_t' int mosquitto_opts_set(struct mosquitto *mosq, enum mosq_opt_t option, void *value) ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1191:53: note: forward declaration of 'enum mosq_opt_t' int mosquitto_opts_set(struct mosquitto *mosq, enum mosq_opt_t option, void *value) ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1304:8: error: use of undeclared identifier 'MOSQ_ERR_PROXY'; did you mean 'MOSQ_ERR_ERRNO'? case MOSQ_ERR_PROXY: ^~~~~~~~~~~~~~ MOSQ_ERR_ERRNO /usr/local/include/mosquitto.h:100:2: note: 'MOSQ_ERR_ERRNO' declared here MOSQ_ERR_ERRNO = 14, ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1304:8: error: duplicate case value 'MOSQ_ERR_ERRNO' case MOSQ_ERR_PROXY: ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1302:8: note: previous case defined here case MOSQ_ERR_ERRNO: ^ 3 warnings and 5 errors generated. --- lib/CMakeFiles/libmosquitto.dir/mosquitto.c.o --- *** [lib/CMakeFiles/libmosquitto.dir/mosquitto.c.o] Error code 1 make[3]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 1 error make[3]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 --- lib/CMakeFiles/libmosquitto.dir/all --- *** [lib/CMakeFiles/libmosquitto.dir/all] Error code 2 make[2]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 1 warning generated. A failure has been detected in another branch of the parallel make make[3]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 --- src/CMakeFiles/mosquitto.dir/all --- *** [src/CMakeFiles/mosquitto.dir/all] Error code 2 make[2]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 2 errors make[2]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 *** [all] Error code 2 make[1]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 1 error make[1]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/net/mosquitto ######################################################################### [root at myserver:/usr/ports/net/mosquitto] # make MAKE_JOBS_UNSAFE=yes install clean ===> License BSD3CLAUSE accepted by the user ===> Found saved configuration for mosquitto-1.3.2 ===> mosquitto-1.4.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mosquitto-1.4.2 for building ===> Extracting for mosquitto-1.4.2 => SHA256 Checksum OK for mosquitto-1.4.2.tar.gz. ===> Patching for mosquitto-1.4.2 ===> Applying FreeBSD patches for mosquitto-1.4.2 /usr/bin/sed -i.bak -e '/ldconfig/d' /usr/ports/net/mosquitto/work/mosquitto-1.4.2/src/CMakeLists.txt /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/CMakeLists.txt /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/cpp/CMakeLists.txt ===> mosquitto-1.4.2 depends on executable: xsltproc - found ===> mosquitto-1.4.2 depends on file: /usr/local/bin/cmake - found ===> mosquitto-1.4.2 depends on file: /usr/local/bin/python2.7 - found ===> mosquitto-1.4.2 depends on executable: python2 - found ===> mosquitto-1.4.2 depends on shared library: libcares.so - found (/usr/local/lib/libcares.so) ===> Configuring for mosquitto-1.4.2 ===> Performing in-source build /bin/mkdir -p /usr/ports/net/mosquitto/work/mosquitto-1.4.2 -- The C compiler identification is Clang 3.4.1 -- The CXX compiler identification is Clang 3.4.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenSSL: /usr/local/lib/libssl.so;/usr/local/lib/libcrypto.so (found version "1.0.2d") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS Python_ADDITIONAL_VERSIONS THREADS_HAVE_PTHREAD_ARG -- Build files have been written to: /usr/ports/net/mosquitto/work/mosquitto-1.4.2 ===> Building for mosquitto-1.4.2 Scanning dependencies of target libmosquitto [ 2%] Building C object lib/CMakeFiles/libmosquitto.dir/logging_mosq.c.o [ 4%] Building C object lib/CMakeFiles/libmosquitto.dir/memory_mosq.c.o [ 6%] Building C object lib/CMakeFiles/libmosquitto.dir/messages_mosq.c.o [ 8%] Building C object lib/CMakeFiles/libmosquitto.dir/mosquitto.c.o /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:555:5: warning: implicit declaration of function 'mosquitto_pub_topic_check' is invalid in C99 [-Wimplicit-function-declaration] if(mosquitto_pub_topic_check(topic) != MOSQ_ERR_SUCCESS){ ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:617:5: warning: implicit declaration of function 'mosquitto_sub_topic_check' is invalid in C99 [-Wimplicit-function-declaration] if(mosquitto_sub_topic_check(sub)) return MOSQ_ERR_INVAL; ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1009:9: error: use of undeclared identifier 'MOSQ_ERR_PROXY'; did you mean 'MOSQ_ERR_ERRNO'? case MOSQ_ERR_PROXY: ^~~~~~~~~~~~~~ MOSQ_ERR_ERRNO /usr/local/include/mosquitto.h:100:2: note: 'MOSQ_ERR_ERRNO' declared here MOSQ_ERR_ERRNO = 14, ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1011:9: error: duplicate case value 'MOSQ_ERR_ERRNO' case MOSQ_ERR_ERRNO: ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1009:9: note: previous case defined here case MOSQ_ERR_PROXY: ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1191:53: warning: declaration of 'enum mosq_opt_t' will not be visible outside of this function [-Wvisibility] int mosquitto_opts_set(struct mosquitto *mosq, enum mosq_opt_t option, void *value) ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1191:64: error: variable has incomplete type 'enum mosq_opt_t' int mosquitto_opts_set(struct mosquitto *mosq, enum mosq_opt_t option, void *value) ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1191:53: note: forward declaration of 'enum mosq_opt_t' int mosquitto_opts_set(struct mosquitto *mosq, enum mosq_opt_t option, void *value) ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1304:8: error: use of undeclared identifier 'MOSQ_ERR_PROXY'; did you mean 'MOSQ_ERR_ERRNO'? case MOSQ_ERR_PROXY: ^~~~~~~~~~~~~~ MOSQ_ERR_ERRNO /usr/local/include/mosquitto.h:100:2: note: 'MOSQ_ERR_ERRNO' declared here MOSQ_ERR_ERRNO = 14, ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1304:8: error: duplicate case value 'MOSQ_ERR_ERRNO' case MOSQ_ERR_PROXY: ^ /usr/ports/net/mosquitto/work/mosquitto-1.4.2/lib/mosquitto.c:1302:8: note: previous case defined here case MOSQ_ERR_ERRNO: ^ 3 warnings and 5 errors generated. *** Error code 1 Stop. make[3]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 *** Error code 1 Stop. make[2]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/mosquitto/work/mosquitto-1.4.2 *** Error code 1 Stop. make: stopped in /usr/ports/net/mosquitto