From owner-freebsd-stable@freebsd.org Sun Jul 19 18:25:17 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06AA99A697D for ; Sun, 19 Jul 2015 18:25:17 +0000 (UTC) (envelope-from SRS0=rQ3BvDez=H3=beatsnet.com=beat.siegenthaler@beatsnet.com) Received: from vulcan.beatsnet.com (vulcan.beatsnet.com [IPv6:2001:470:1f0b:102::bea1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vulcan.beatsnet.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8ECC618E0; Sun, 19 Jul 2015 18:25:16 +0000 (UTC) (envelope-from SRS0=rQ3BvDez=H3=beatsnet.com=beat.siegenthaler@beatsnet.com) Received: from beatsnetcom-MBP15ret.local ([IPv6:2001:1620:f14:0:3417:4e06:64f8:4471]) (authenticated bits=0) by vulcan.beatsnet.com (8.14.9/8.14.9) with ESMTP id t6JIORJp002796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL); Sun, 19 Jul 2015 20:24:42 +0200 (CEST) (envelope-from beat.siegenthaler@beatsnet.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beatsnet.com; s=VULCAN_DKIM; t=1437330313; bh=jw0gdakuQ7PCIfhgtGhRrpzqyPuyb/ztrcD3K66sf7s=; h=From:Subject:To:Date; b=IBBZJ2yBZZOfHHV1xoX2xyaAXPGul4Iwlh43gJVcTbUgb2WFVdGHB2RrNQ1C4K036 1HGoxDqLdzZmTXyxiBlzEvUcTzvvZkniYONobDiTv1rJfxzCv3DcTXM/ydj+d0x+7J OBE2LDx6dG8IaYVpNUfICmlaPJDAsnRPFJlqRPvQ= From: Beat Siegenthaler Subject: cannot compile net/mosquitto port 10.1-STABLE Cc: joe@thrallingpenguin.com, ohauer@FreeBSD.org X-Enigmail-Draft-Status: N1110 To: "freebsd-stable@freebsd.org >> FreeBSD-STABLE Mailing List" Message-ID: <55ABEB59.2040000@beatsnet.com> Date: Sun, 19 Jul 2015 20:24:25 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (vulcan.beatsnet.com [IPv6:2001:470:1f0b:102::bea1]); Sun, 19 Jul 2015 20:24:42 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.98.7 at vulcan.beatsnet.com X-Virus-Status: Clean X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jul 2015 18:25:17 -0000 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@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@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@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