Closed n-taka closed 3 months ago
Hmm:
E:\vcpkg_cache\boost-core-org>cmake -E sha512sum boostorg-core-boost-1.85.0.tar.gz
3a7be75e52f5c20830fccb9e7391a1e4556ebb072e6324df95b1ba38bed46e24f4c9f27a62a1099eddc90f2ac1ede083f0c850e2dc27fd42375d028516f675b3 boostorg-core-boost-1.85.0.tar.gz
E:\vcpkg_cache\boost-core-org>cmake -E sha512sum core-boost-1.85.0.tar.gz
a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009 core-boost-1.85.0.tar.gz
Hmm:
diff --git a/core-boost-1.85.0-org/include/boost/core/allocator_access.hpp b/core-boost-1.85.0/include/boost/core/allocator_access.hpp
index 8e33ebb..0f0ed32 100644
--- a/core-boost-1.85.0-org/include/boost/core/allocator_access.hpp
+++ b/core-boost-1.85.0/include/boost/core/allocator_access.hpp
@@ -43,9 +43,17 @@ _LIBCPP_SUPPRESS_DEPRECATED_PUSH
#if defined(_STL_DISABLE_DEPRECATED_WARNING)
_STL_DISABLE_DEPRECATED_WARNING
#endif
-#if defined(_MSC_VER)
-#pragma warning(push)
-#pragma warning(disable:4996)
+#if defined(__clang__) && defined(__has_warning)
+# if __has_warning("-Wdeprecated-declarations")
+# pragma clang diagnostic push
+# pragma clang diagnostic ignored "-Wdeprecated-declarations"
+# endif
+#elif defined(_MSC_VER)
+# pragma warning(push)
+# pragma warning(disable: 4996)
+#elif defined(BOOST_GCC) && BOOST_GCC >= 40600
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
namespace boost {
@@ -807,9 +815,15 @@ using allocator_rebind_t = typename allocator_rebind<A, T>::type;
} /* boost */
-#if defined(_MSC_VER)
-#pragma warning(pop)
-#endif
+#if defined(__clang__) && defined(__has_warning)
+# if __has_warning("-Wdeprecated-declarations")
+# pragma clang diagnostic pop
+# endif
+#elif defined(_MSC_VER)
+# pragma warning(pop)
+#elif defined(BOOST_GCC) && BOOST_GCC >= 40600
+# pragma GCC diagnostic pop
+#endif
#if defined(_STL_RESTORE_DEPRECATED_WARNING)
_STL_RESTORE_DEPRECATED_WARNING
#endif
diff --git a/core-boost-1.85.0-org/test/Jamfile.v2 b/core-boost-1.85.0/test/Jamfile.v2
index 2bc6a4b..0051ec2 100644
--- a/core-boost-1.85.0-org/test/Jamfile.v2
+++ b/core-boost-1.85.0/test/Jamfile.v2
@@ -265,6 +265,7 @@ run allocator_destroy_test.cpp ;
run allocator_construct_n_test.cpp ;
run allocator_destroy_n_test.cpp ;
run allocator_traits_test.cpp ;
+compile allocator_pmr_test.cpp ;
lib lib_typeid : lib_typeid.cpp : <link>shared:<define>LIB_TYPEID_DYN_LINK=1 ;
diff --git a/core-boost-1.85.0/test/allocator_pmr_test.cpp b/core-boost-1.85.0/test/allocator_pmr_test.cpp
new file mode 100644
index 0000000..96def03
--- /dev/null
+++ b/core-boost-1.85.0/test/allocator_pmr_test.cpp
@@ -0,0 +1,22 @@
+//
+// Testing stdlib polymorphic allocators
+//
+// Copyright 2024 Braden Ganetsky
+//
+// Distributed under the Boost Software License, Version 1.0.
+// See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt
+//
+
+#include <boost/core/allocator_access.hpp>
+#include <boost/config.hpp>
+
+#ifndef BOOST_NO_CXX17_HDR_MEMORY_RESOURCE
+#include <memory_resource>
+
+void pmr_allocator_destroy_compiles(std::pmr::polymorphic_allocator<int>& alloc, int* p)
+{
+ boost::allocator_destroy(alloc, p);
+}
+
+#endif // !defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
cc @pdimov: Is it normal that boost is retagging released versions?
Confirmed that the issue has been reproduced locally.
boost-describe
[DEBUG] 1000: execute_process(curl --fail -L https://github.com/boostorg/describe/archive/boost-1.85.0.tar.gz --create-dirs --output /builds/cp/code/external/vcpkg/downloads/boostorg-describe-boost-1.85.0.tar.gz.9332.part)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 0 after 2942167 us
[DEBUG] Trying to hash /builds/cp/code/external/vcpkg/downloads/boostorg-describe-boost-1.85.0.tar.gz.9332.part
[DEBUG] /builds/cp/code/external/vcpkg/downloads/boostorg-describe-boost-1.85.0.tar.gz.9332.part has hash b1f39b2c5481a6de75bc5a77c03227fef3a889cc04b9512fadc3e689259fe4c367dec665b1f132267cf0cbe1b1d1908f521a7e9c4c622e22701b015be44f89ca
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/boostorg/describe/archive/boost-1.85.0.tar.gz
File: /builds/cp/code/external/vcpkg/downloads/boostorg-describe-boost-1.85.0.tar.gz.9332.part
Expected hash: 19047106756e869163812439aaf2720924f1aa1e06a7cc40093330fa0260eae764ff08de57500faf49e128d3f4ebd63448c2272206e6cee77a2248ce098ccade
Actual hash: b1f39b2c5481a6de75bc5a77c03227fef3a889cc04b9512fadc3e689259fe4c367dec665b1f132267cf0cbe1b1d1908f521a7e9c4c622e22701b015be44f89ca
update_hash_in_portfile() {
local portfile="$1"
local new_hash="$2"
if [ -f "$portfile" ]; then
sed -i "s/SHA512 .*/SHA512 $new_hash/" "$portfile"
echo "Updated SHA512 hash in $portfile"
else
echo "portfile.cmake not found at $portfile"
exit 1
fi
}
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-asio/portfile.cmake" "bbde7c60f208733d48713d2dcfe5be0e18b8372ecaae51055225e5da6bf3e4671e53da8917d27c17f84e34be858d3002c3ac62cdecfd8e3e3861edf365256bee"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-beast/portfile.cmake" "c7d168338a175035e1aca95ea282f6a8b08b0c4444f7736f9b8777ea30ad242f08f600761f4b8f22413b1f17a4c20a237dfefefba3854cde990a9440614f68b5"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-bimap/portfile.cmake" "7165c94e2e4f7c12220fd71d877eb981f56b9218d1bbe34f09634faec1f4df604fcfe031dbd4bfb808181dba522b57b2d76850f29d5e1cf044bbb4b372129470"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-cobalt/portfile.cmake" "805c9ddadf2f66adb2b594c234bfd1f69d398dacdbef3b0d3d03f7e4d4110d8bf8fc5fa3fb707eb9f2c41d039ffd77c27df17185ea94be4a172419c82f642b3a"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-compat/portfile.cmake" "27190048f40f9ec57754e4781ca5e04034688d1a12c027e563d1170a565866c4f5f0ed0d1f62918238c8338c119112a81bb8d7090e0da364645e99123edbe704"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-core/portfile.cmake" "a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-describe/portfile.cmake" "b1f39b2c5481a6de75bc5a77c03227fef3a889cc04b9512fadc3e689259fe4c367dec665b1f132267cf0cbe1b1d1908f521a7e9c4c622e22701b015be44f89ca"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-filesystem/portfile.cmake" "629b6c0d2dd1aab590d3af3c64427b61c3a6dd09f53026439aa508c9c15a2390d6f24cf80a64d6598a7ae85b35cf1584985d3d380556fb854bd394bf600a67d6"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-geometry/portfile.cmake" "8d53b80aad31ad9012c22a6471f06aeb9048b9178a7f5e626025c926f082257a3edb2f162032eb541818646953973f95a09a57871b61b379cd56f5cd1f4cbf8e"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-intrusive/portfile.cmake" "f7d48b367130ae056a39de141f8c1890832e5dbef98341dd3206e0413e8154a036860a2382e90215819ec06fcff094bfc87da5e966da3109cf9d0de764df961d"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-json/portfile.cmake" "c8b76b2e14fbb73d47d8f6fd952423c827804192f2dbf9758f90f5a41b538c6a6a5cff29c8406671dddd3c8ea7ab1002fdf3a2094feb6940b7a01c297beeb480"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-locale/portfile.cmake" "fbf99c34f0d409f8ac0464f71b66c0dbf2a372230d79aeef816c670abbc495327ce69b2218ccacbb4b4b183350dd717ca30c8f53ddd3642c8a38ce6983cc2bad"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-log/portfile.cmake" "aaae39126ae047721f71b7a55dc7a325af78c9af0b4e2d6f6d0cd7a440a0dc839acfa683c6dcb736434819e205e9d95ead56364dec60d069367d9976a45c4d17"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-math/portfile.cmake" "760b9c45ccf79209505cb028dbd70ae78c5d46f1b8bc422c453035ef50b438a13cfc9352b6efeb9ca5fa0b10f305bfa59f8aecc93fed080ef47ffd124eff2a78"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-msm/portfile.cmake" "c056eaa50bca05a61a71dce81bcb89c9a334813d5c97162faf49b70cb1ac13aec4b3f0e4253ec7761222f59273c70656208bed456e44a45defefda2e56a25090"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-multi-index/portfile.cmake" "ea1cc2bab0ae24474ad4d4db5976653ce47df6d50917e2965bacd2b0a3025c25c19b393d781ff0f3d720f959375f8d13d77fabfaa717203ace8e9686827341ff"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-multiprecision/portfile.cmake" "b96d2d805bc2e6d25145059de6d800d53ad6021a190896acba4f209a5cea2cd63f51a4e791dbcdba30ddaa91b2f22a4367507920cd8e1ad6b073013dba9684d4"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-mysql/portfile.cmake" "28089b2fb3a6f5dfb538f2363f7292138732b4e4ef1d45ba26b0a92124d2222d6217d4dc9532195d087fcb3f98e86528f666d3281ce806806e0a5eb8f1d41e60"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-nowide/portfile.cmake" "154cb9fd8daefb1c1d361a61ebf16b3e1dff0458065d687b284b346f2b3ac9e90d3c87ca3064e45ce20c309e4e425bd65d05ab050cb1afd5e3e6e6d0bb958811"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-outcome/portfile.cmake" "de45c745eb7aa76fce86e0eb20ee1b629143973d420cfee46fe36ec74ac8a407bea231fe4dffe12f503fad636c13b599bb088f3258cbee2a92f6874b622ce066"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-pfr/portfile.cmake" "246ccff9ecd278c938b791f3e9b9cabe92dee7f5ba033aa12c1c6a7b56f89948e2f1e839724aae7336a5c4b23cb9ab82d370fc09f2c44852c08381054e2be740"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-process/portfile.cmake" "f8a5d146d07aad83a2aff1e565026836c833b77daa9697f7680956423e7d8b450b41831c77047afff1e9f716c87d2f9ade6194c21e80cfec33d686a608241c32"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-program-options/portfile.cmake" "3f1695387e38148d60fc702daadcf07002aa6b89c8cccb47570568416ba8edf6b3f7990501758f1d602dc7e8987ee95b5a45f04542fd7116c5b7b9b75182b451"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-redis/portfile.cmake" "f22e3a59999056456d1a2706dfbff8c43000ed09f2df18988bf51d2ce99f58520d57f508c1026f978dab4a98a06f7b17d7b277821cb74afb468fd6364694d80e"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-stacktrace/portfile.cmake" "21ce1826c064f04e077f9095b3c129d1d39a9aa0c7b22200990c33207dae59a80baaa6d04b7e9bb88039dc038d6f5d69fbd932b4fa3bd5cd94fd46c6f03c201c"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-timer/portfile.cmake" "9b0e462bc03c08f4b6c5761957e781a1af7f7a8a36e64d73c5ae71c569a7c8abfec91de89feda5ac1f4cfd15d322fc3fe08ca9b32bf2106a6bf37976dace25f8"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-unordered/portfile.cmake" "0eade183775073f66cbe0cd772790a1f09f5eafd1e8e60035978a3286dfaa8d6d9f3cb8b37b74e4516a1f10979b647b866cbf64a380721984795e0c3e436c412"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-variant2/portfile.cmake" "f4f79ab208c534a7e7a285e2722dbe14c7d810a8ad9e73dd2a6de51862b3b08928802251e8661815e5bf9f82eefd10125a984724ae4670823307edc93cd679a8"
update_hash_in_portfile "$VCPKG_ROOT/ports/boost-wave/portfile.cmake" "4514128df8fde022183db34d211271673c84dffa249dddbe9d05634e0d2cb5c28cb007341d329fb94bbed65ae4c7ec0146f8dfa8c1bc436a8b695f0edc82ad55"
It's not normal, but the tags in 1.85.0 were wrong. :-/
I have a same problem with boost-core.
[vcpkg\buildtrees\boost-core\stdout-x64-windows.txt] -- Downloading https://github.com/boostorg/core/archive/boost-1.85.0.tar.gz -> boostorg-core-boost-1.85.0.tar.gz... [DEBUG] To include the environment variables in debug output, pass --debug-env [DEBUG] Trying to load bundleconfig from c:\vcpkg\vcpkg-bundle.json [DEBUG] Failed to open: c:\vcpkg\vcpkg-bundle.json [DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt [DEBUG] Metrics enabled. [DEBUG] Feature flag 'binarycaching' unset [DEBUG] Feature flag 'compilertracking' unset [DEBUG] Feature flag 'registries' unset [DEBUG] Feature flag 'versions' unset [DEBUG] Feature flag 'dependencygraph' unset Downloading https://github.com/boostorg/core/archive/boost-1.85.0.tar.gz [DEBUG] Trying to hash C:\vcpkg\downloads\boostorg-core-boost-1.85.0.tar.gz.7816.part [DEBUG] C:\vcpkg\downloads\boostorg-core-boost-1.85.0.tar.gz.7816.part has hash a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009 error: Failed to download from mirror set error: File does not have the expected hash: url: https://github.com/boostorg/core/archive/boost-1.85.0.tar.gz File: C:\vcpkg\downloads\boostorg-core-boost-1.85.0.tar.gz.7816.part Expected hash: 3a7be75e52f5c20830fccb9e7391a1e4556ebb072e6324df95b1ba38bed46e24f4c9f27a62a1099eddc90f2ac1ede083f0c850e2dc27fd42375d028516f675b3 Actual hash: a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009 [DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(997): [DEBUG] Time in subprocesses: 0us [DEBUG] Time in parsing JSON: 3us [DEBUG] Time in JSON reader: 0us [DEBUG] Time in filesystem: 700us [DEBUG] Time in loading ports: 0us [DEBUG] Exiting after 477 ms (468531us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
Failed to download file with error: 1 If you are using a proxy, please check your proxy setting. Possible causes are:
You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
to https://address:port
. This is not correct, because https://
prefix
claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
, etc..) is an HTTP proxy. Try setting http://address:port
to both
HTTP_PROXY and HTTPS_PROXY instead.
If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
The value set by your proxy might be wrong, or have same https://
prefix issue.
Your proxy's remote server is out of service.
If you've tried directly download the link, and believe this is not a temporary download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues to report this upstream download server failure. Call Stack (most recent call first): scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail) scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile) ports/boost-core/portfile.cmake:3 (vcpkg_from_github) scripts/ports.cmake:175 (include)
Same issue on boost-core
This PR 38979 is fixing this issue.
This PR 38979 is fixing this issue.
Thanks for the info. The checks started more than 21h ago. Do you have an idea of the total duration please?
Probably not more than 1d 10h 46m 52s
(+- some variance) since that was the last full rebuild time for x64-osx
Probably not more than
1d 10h 46m 52s
(+- some variance) since that was the last full rebuild time for x64-osx
Thank you for your quick reply. (I didn't succeed in finding the link to the last x64-osx rebuild - not yet familiar with Azure pipelines)
(I didn't succeed in finding the link to the last x64-osx rebuild - not yet familiar with Azure pipelines)
You just click on commits in github and find the commit with the running/completed CI
I have latest version. Already up to date. But still have the same problem. I attached log.file logfile.txt
error: Failed to download from mirror set
error: https://github.com/boostorg/boost/archive/boost-1.85.0.tar.gz: WinHttpReceiveResponse failed with exit code 12029
error: https://github.com/boostorg/boost/archive/boost-1.85.0.tar.gz: WinHttpReceiveResponse failed with exit code 12029
error: https://github.com/boostorg/boost/archive/boost-1.85.0.tar.gz: WinHttpReceiveResponse failed with exit code 12029
error: https://github.com/boostorg/boost/archive/boost-1.85.0.tar.gz: WinHttpReceiveResponse failed with exit code 12029
is a completely different error
@Neumann-A How can I resolve that error?
Error "12029" is a WinHTTP error code that indicates that a socket connection failed because encrypted communication could not be established.
To resolve this problem, enable TLS 1.2 support on Windows 7.
Looks like you are running Win7?
Same error was observed here: https://github.com/microsoft/vcpkg/issues/15532
Do I need to do something to have github actions pick up this fix, or will that happen automatically in the next couple days?
never mind, I'm an idiot, I did git pull on vcpkg module instead of system-wide install
For anyone doing the same:
- name: update port recipes
working-directory: C:\vcpkg\
run: git pull
- name: Restore vcpkg packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: vcpkg update && vcpkg upgrade --no-dry-run && vcpkg integrate install
Still having the issue right now on macOS
url: https://github.com/boostorg/core/archive/boost-1.85.0.tar.gz
File: /Users/guillaume/dev/client/vcpkg/downloads/boostorg-core-boost-1.85.0.tar.gz.76101.part
Expected hash: 3a7be75e52f5c20830fccb9e7391a1e4556ebb072e6324df95b1ba38bed46e24f4c9f27a62a1099eddc90f2ac1ede083f0c850e2dc27fd42375d028516f675b3
Actual hash: a1e774c98b537dd42018742af68f5889af1afd4e6c9809399987124e56a3b9ae2f20e8173170bc6fc0ad76fb95e2da7b9d385a4037e9ee12011fc02bf8f7e009
Am I misunderstanding that the PR isn't merged yet ?
Am I misunderstanding that the PR isn't merged yet ?
Looks more like you forgot to update.
Am I misunderstanding that the PR isn't merged yet ?
Looks more like you forgot to update.
My apologies indeed, somehow despite being a fresh install the submodule wasn't up to date ! Thanks for pointing me in the right direction
Operating system
Windows 11 Pro 23H2
Compiler
MSVC, Visual Studio 2022 Community
Steps to reproduce the behavior
Failure logs
Additional context
First, I don't use extra proxy setting in Windows.
I guess that the expected SHA512 hash value in this commit is incorrect.
I manually download
core-boost-1.85.0.tar.gz
from git repository for boost, and check its SHA512 hash value and it results in;This value
a1e774c98b5...
is the exact value in the failure logs above.