Skip to content
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

Carry MBedTLS patch that works around CMake 3.18.2 bug. #38933

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

Sacha0
Copy link
Member

@Sacha0 Sacha0 commented Dec 17, 2020

MBedTLS fails to build with CMake 3.18.2, due to a bug in
CMake 3.18.2 causing failure to find python3. For more information,
please see https://github.com/ARMmbed/mbedtls/issues/3690 and
https://gitlab.kitware.com/cmake/cmake/-/issues/21204.

This pull request applies the MBedTLS patch that works around this
issue from https://github.com/ARMmbed/mbedtls/pull/3691, which
has been merged into MBedTLS's development branch but not
yet into a tagged release.

Chances are this pull request still needs a round of iteration; I haven't finished testing yet. Hence the draft status. Best! :)

@Sacha0 Sacha0 added building Build system, or building Julia or its dependencies bugfix This change fixes an existing bug backport 1.6 Change should be backported to release-1.6 labels Dec 17, 2020
@staticfloat
Copy link
Member

Looks like it was merged upstream; can we get a comment in here around what version of MbedTLS should contain it, allowing us to drop the patch?

deps/mbedtls.mk Outdated Show resolved Hide resolved
@Sacha0
Copy link
Member Author

Sacha0 commented Dec 21, 2020

Looks like it was merged upstream; can we get a comment in here around what version of MbedTLS should contain it, allowing us to drop the patch?

Yes, the patch was merged upstream shortly after I put up this pull request and now lives on their development branch. Their most recent minor tag was a few days ago (2.25.0); I imagine this patch will go into at least their next minor release (2.26.0 I assume), but I'm not familiar with their release processes so I don't know whether it will land earlier on a patch release for any relevant earlier minor versions (2.24.x, 2.25.x). I will add a comment noting that the patch should go into 2.26.0; if you would like me to note anything else, please let me know.

MBedTLS fails to build with CMake 3.18.2, due to a bug in
CMake 3.18.2 causing failure to find python3. For more information,
please see Mbed-TLS/mbedtls#3690 and
https://gitlab.kitware.com/cmake/cmake/-/issues/21204.

This pull request applies the MBedTLS patch that works around this
issue from Mbed-TLS/mbedtls#3691, which
has been merged into MBedTLS's development branch but not
yet into a tagged release. The latest minor release as of that
merge was 2.25.0, so it's probably safe to conjecture that this
patch will be live as of minor release 2.26.0; it's also
possible that this patch will land on patch releases for
2.24.0 and 2.25.0, but this author doesn't know.
@staticfloat
Copy link
Member

This looks good to me; If you're ready for it to be merged, feel free to un-draft it and we can merge.

@Sacha0 Sacha0 marked this pull request as ready for review December 21, 2020 22:55
@staticfloat staticfloat merged commit c3d3c6a into master Dec 21, 2020
@staticfloat staticfloat deleted the sv-mbed-findpy branch December 21, 2020 23:36
Sacha0 added a commit that referenced this pull request Dec 22, 2020
MBedTLS fails to build with CMake 3.18.2, due to a bug in
CMake 3.18.2 causing failure to find python3. For more information,
please see Mbed-TLS/mbedtls#3690 and
https://gitlab.kitware.com/cmake/cmake/-/issues/21204.

This pull request applies the MBedTLS patch that works around this
issue from Mbed-TLS/mbedtls#3691, which
has been merged into MBedTLS's development branch but not
yet into a tagged release. The latest minor release as of that
merge was 2.25.0, so it's probably safe to conjecture that this
patch will be live as of minor release 2.26.0; it's also
possible that this patch will land on patch releases for
2.24.0 and 2.25.0, but this author doesn't know.
KristofferC pushed a commit that referenced this pull request Dec 25, 2020
)

MBedTLS fails to build with CMake 3.18.2, due to a bug in
CMake 3.18.2 causing failure to find python3. For more information,
please see Mbed-TLS/mbedtls#3690 and
https://gitlab.kitware.com/cmake/cmake/-/issues/21204.

This pull request applies the MBedTLS patch that works around this
issue from Mbed-TLS/mbedtls#3691, which
has been merged into MBedTLS's development branch but not
yet into a tagged release. The latest minor release as of that
merge was 2.25.0, so it's probably safe to conjecture that this
patch will be live as of minor release 2.26.0; it's also
possible that this patch will land on patch releases for
2.24.0 and 2.25.0, but this author doesn't know.
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Jan 6, 2021
staticfloat pushed a commit that referenced this pull request Jan 15, 2021
)

MBedTLS fails to build with CMake 3.18.2, due to a bug in
CMake 3.18.2 causing failure to find python3. For more information,
please see Mbed-TLS/mbedtls#3690 and
https://gitlab.kitware.com/cmake/cmake/-/issues/21204.

This pull request applies the MBedTLS patch that works around this
issue from Mbed-TLS/mbedtls#3691, which
has been merged into MBedTLS's development branch but not
yet into a tagged release. The latest minor release as of that
merge was 2.25.0, so it's probably safe to conjecture that this
patch will be live as of minor release 2.26.0; it's also
possible that this patch will land on patch releases for
2.24.0 and 2.25.0, but this author doesn't know.
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
)

MBedTLS fails to build with CMake 3.18.2, due to a bug in
CMake 3.18.2 causing failure to find python3. For more information,
please see Mbed-TLS/mbedtls#3690 and
https://gitlab.kitware.com/cmake/cmake/-/issues/21204.

This pull request applies the MBedTLS patch that works around this
issue from Mbed-TLS/mbedtls#3691, which
has been merged into MBedTLS's development branch but not
yet into a tagged release. The latest minor release as of that
merge was 2.25.0, so it's probably safe to conjecture that this
patch will be live as of minor release 2.26.0; it's also
possible that this patch will land on patch releases for
2.24.0 and 2.25.0, but this author doesn't know.
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
)

MBedTLS fails to build with CMake 3.18.2, due to a bug in
CMake 3.18.2 causing failure to find python3. For more information,
please see Mbed-TLS/mbedtls#3690 and
https://gitlab.kitware.com/cmake/cmake/-/issues/21204.

This pull request applies the MBedTLS patch that works around this
issue from Mbed-TLS/mbedtls#3691, which
has been merged into MBedTLS's development branch but not
yet into a tagged release. The latest minor release as of that
merge was 2.25.0, so it's probably safe to conjecture that this
patch will be live as of minor release 2.26.0; it's also
possible that this patch will land on patch releases for
2.24.0 and 2.25.0, but this author doesn't know.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants