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
cygwin buildfix #21006
cygwin buildfix #21006
Conversation
Could you please amend the commit message to add |
Done. |
The Fixes note should be on a separate line in the commit message body (body is separated from the title of the commit by one empty line). No need to amend the commit now, we can do it when merging. |
Thanks for the explanation. Will do my best to remember for next PR commit. Or rather, may it be an idea to update https://github.com/openssl/openssl/blob/master/.github/PULL_REQUEST_TEMPLATE.md with more definite reminders for all contributor's benefit (what to check & do for a PR)? I also understand that I won't have to do anything on this PR any more: Please correct me if I'm wrong. |
Just found this problem when doing an |
Adding it to this PR would be OK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit.
@@ -1717,6 +1717,7 @@ my %targets = ( | |||
CFLAGS => picker(default => "-Wall", | |||
debug => "-g -O0", | |||
release => "-O3"), | |||
ex_libs => add("-lcrypt32"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noting that the 64bit version of this library is still called crypt32.lib
, but in a different architecture directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Goodness, this. Accordingly we should successfully be able to test "win32" and "win64". See in f09f774 .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was really just a note to me, to not confuse 32-bit vs 64-bit... sigh.
@@ -23,7 +23,9 @@ | |||
#include "prov/implementations.h" | |||
#include "prov/bio.h" | |||
#include "file_store_local.h" | |||
|
|||
#ifdef __CYGWIN__ | |||
#include <Windows.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: should the include file be capitalized?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to check capitalization doesn't matter on Windows :-) Fund aside: Changed in f09f774. Will be disappointed if it fails...
This pull request is ready to merge |
So done in f09f774. |
The new CI is failing... Issues with |
Sure. Will do after #21151 has landed to test all together. Please let me know whether you're OK that we're not running "make test" as part of this CI: quic, symbols and simpletest (timer) fail under cygwin. Otherwise, I'll need to create a few separate issues as all those failures puzzle me (and I don't know QUIC, the OSSL-specific use of |
I suggest keeping this PR without the make test and once it is merged opening a new draft one with enabling it + creating issues for the failures. |
@tmshort: Now fixed. strict checks now passing.
@t8m: Now added to Please let me know if you'd still expect me to do anything on this PR. Edit/Add: CI failure is not due to |
@@ -23,7 +23,9 @@ | |||
#include "prov/implementations.h" | |||
#include "prov/bio.h" | |||
#include "file_store_local.h" | |||
|
|||
#ifdef __CYGWIN__ | |||
#include <windows.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add one space between #
and include
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in aa85bd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, we will squash the commits when merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine, but there was still a failing test, seemingly not related to these changes? I'll approve, pending the CI.
EDIT: It looks as though check-ansi
is failing in a number of other PRs.
This pull request is ready to merge |
Squashed and merged to master branch. Thank you for your contribution. |
Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from #21006)
Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#21006) (cherry picked from commit e3b01eb)
Implements the cygwin-specific build remediation documented in #19531. Without this, "master" fails to build on cygwin.