-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compute/detail/sha1.hpp fails to compile with boost 1.86 #889
Comments
You'll probably have to cross post this to boostorg/uuid and the boost developers mailing list in order to get some movement on it. |
Fixed by #888 |
Also fixed (perhaps in a better way) by #887 |
yeah, it's nice that it's in PRs, but it doesn't matter until it's in a proper point release. a new volunteer stepped up this summer to maintain |
Thanks for the report! #887 has been merged to |
That is great. Can we have a point release to fix this, since it breaks existing software. |
@bredelings would official patches on https://www.boost.org/patches/ against 1.86 for both UUID and Compute suffice? |
Do we need to patch UUID too? It seemed like patching Compute would be sufficient. Hmm. I guess what I would hope is that
A new point release would accomplish all of these goals, but maybe only (1) is really essential. Without that all the CI infrastructure using SHA1 from Compute needs to be updated to compile boost 1.85 from scratch. (2) is helpful so that CI infrastructure that already compiles boost can use the same code for 1.86 as for 1.85 -- download a tarball and compile. I don't know hard hard spinning a new release is -- for my projects it is mostly automated. I see on the mailing lists that you all have a lot going on right now. |
And obviously a test would be nice, to make sure this doesn't happen again. But Rome wasn't built in a day... |
Also, I tried to join the mailing list yesterday, but haven't been approved yet :-P I see a thread of discussion about this has already been started though. |
The test is here: #892 |
They generally do as they maintain a collection of patches anyway. But the issue needs to be reported to them. |
@glenfe A point release would be preferred over patch files.
In other words, patch discovery is terrible. One has to be "in the know" already. Release discovery is easy. One just has to visit https://boost.org. |
@nega0 @bredelings We typically do a point release only for critical bugs, or if several libraries are affected and do not build. The release managers discussed this case and voted in favor of a patch. But you make a good point about patch discovery being bad. We will correct that on https://boost.org and if the https://boost.io layout is adopted, we will make sure that patches are prominently featured there too. In the meantime, can the relevant commits be merged to master? |
That's disappointing.
That's great. Speaking of the website, is the patch vs release decision making process documented there? If not, can it be? A paragraph or two at https://www.boost.org/patches/ would be a good location once its discoverability has been elevated
You're welcome to... I'm subscribed but can't seem to post. That's a "me" issue. Once I have that worked out I can jump into the discussion there. |
Just out of interest: will there be a an official patch on the website as suggested by the conversation in the mailing list Boost.Compute broken in 1.86.0 because of UUID changes, 1.86.1?? This would be nice to know! So I can simply wait for that before upgrading boost to 1.86. |
My impression is that there is an official patch. However, it has been put in a secret place where nobody can find it. |
The change in question still hasn't been merged to master, so I have to assume the maintainer of Compute (@kylelutz) does not desire an official patch on the Boost website. |
This issue appears not to be fixed in version 1.87 beta1. I've sent an e-mail to the mailing list. |
I didn't know this was broken, there wasn't a notice in the documentation. Do we have a workaround for it? I can downgrade from 1.86 if need be but that'd be frustrating. |
It looks like the fix will be in 1.87 which will be out soon... |
1.87 has just been released. |
When compiling files that include
<boost/compute/detail/sha1.hpp>
, I see the following error:This is because
boost::uuids::detail::sha1::digest_type
has changed fromtypedef unsigned int(digest_type)[5];
totypedef unsigned char digest_type[ 20 ];
.The text was updated successfully, but these errors were encountered: