aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2021-09-29 18:03:18 -0700
committerGitHub <noreply@github.com>2021-09-29 18:03:18 -0700
commitbba6b96de18482e118ee1b8883a195a232e2fdef (patch)
tree7a5c0da7c79ba807e74e437e17d7906035f6a238 /ports
parent45315bc3aaa0e718337eed13e6f6ae4e41bae04b (diff)
downloadvcpkg-bba6b96de18482e118ee1b8883a195a232e2fdef.tar.gz
vcpkg-bba6b96de18482e118ee1b8883a195a232e2fdef.zip
Build fixes from 2021-09-28's nightly build. (#20435)
https://dev.azure.com/vcpkg/public/_build/results?buildId=60445 PASSING, REMOVE FROM FAIL LIST: soundtouch:x64-windows-static Probably fixed by: https://github.com/microsoft/vcpkg/pull/19377 REGRESSION: mosquitto:x86-windows REGRESSION: mosquitto:x64-windows Probably broken by: https://github.com/microsoft/vcpkg/pull/20148/ ``` The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets. D:/packages/mosquitto_x86-windows/bin/mosquitto_ctrl.exe The following EXEs were found in /bin or /debug/bin. EXEs are not valid distribution targets. D:/packages/mosquitto_x86-windows/debug/bin/mosquitto_ctrl.exe Found 2 error(s). Please correct the portfile: C:\a\1\s\ports\mosquitto\portfile.cmake -- Performing post-build validation done ``` The upstream build system has this: ``` option(WITH_CJSON "Build with cJSON support (required for dynamic security plugin and useful for mosquitto_sub)?" ON) if (WITH_CJSON) FIND_PACKAGE(cJSON) if (CJSON_FOUND) message(STATUS ${CJSON_FOUND}) else (CJSON_FOUND) message(STATUS "Optional dependency cJSON not found. Some features will be disabled.") endif(CJSON_FOUND) endif() ``` and indeed, I repro the problem if cjson is installed first. Disable WITH_CJSON as a fix. OSX never finishing: Hopefully fixed by https://github.com/microsoft/vcpkg/pull/20388
Diffstat (limited to 'ports')
-rw-r--r--ports/mosquitto/portfile.cmake1
-rw-r--r--ports/mosquitto/vcpkg.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/ports/mosquitto/portfile.cmake b/ports/mosquitto/portfile.cmake
index 321ac137c..8994d6543 100644
--- a/ports/mosquitto/portfile.cmake
+++ b/ports/mosquitto/portfile.cmake
@@ -26,6 +26,7 @@ vcpkg_configure_cmake(
-DWITH_THREADING=ON
-DDOCUMENTATION=OFF
-DWITH_PLUGINS=OFF
+ -DWITH_CJSON=OFF
)
vcpkg_install_cmake()
diff --git a/ports/mosquitto/vcpkg.json b/ports/mosquitto/vcpkg.json
index 13ee87aca..b755eff18 100644
--- a/ports/mosquitto/vcpkg.json
+++ b/ports/mosquitto/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "mosquitto",
"version": "2.0.12",
+ "port-version": 1,
"description": "Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol versions 3.1 and 3.1.1, MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model, This makes it suitable for machine to machine messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino",
"homepage": "https://mosquitto.org/download/",
"dependencies": [