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

Properly Fix CI #2

Open
cooljeanius opened this issue Sep 21, 2023 · 3 comments
Open

Properly Fix CI #2

cooljeanius opened this issue Sep 21, 2023 · 3 comments
Labels
bug help wanted assistance would be appreciated

Comments

@cooljeanius
Copy link
Owner

looks like some sort of OpenSSL incompatibility

@cooljeanius cooljeanius added bug help wanted assistance would be appreciated labels Sep 21, 2023
@cooljeanius
Copy link
Owner Author

This sure would be a lot easier to fix if GitHub's runners would actually pick up this task in a timely fashion...

@cooljeanius
Copy link
Owner Author

...ok, error is:

Making all in trspi
make[3]: Entering directory '/home/runner/work/trousers-0.3.11.2/trousers-0.3.11.2/src/trspi'
  CC       libtrousers_la-trousers.lo
  CC       crypto/openssl/libtrousers_la-hash.lo
crypto/openssl/hash.c: In function 'Trspi_Hash':
crypto/openssl/hash.c:59:13: error: storage size of 'md_ctx' isn't known
   59 |  EVP_MD_CTX md_ctx;
      |             ^~~~~~
crypto/openssl/hash.c:59:13: warning: unused variable 'md_ctx' [-Wunused-variable]
crypto/openssl/hash.c: In function 'Trspi_HashInit':
crypto/openssl/hash.c:115:32: error: invalid application of 'sizeof' to incomplete type 'EVP_MD_CTX' {aka 'struct evp_md_ctx_st'}
  115 |  if ((ctx->ctx = malloc(sizeof(EVP_MD_CTX))) == NULL)
      |                                ^~~~~~~~~~
make[3]: *** [Makefile:473: crypto/openssl/libtrousers_la-hash.lo] Error 1
make[3]: Leaving directory '/home/runner/work/trousers-0.3.11.2/trousers-0.3.11.2/src/trspi'
make[2]: *** [Makefile:395: all-recursive] Error 1
make[2]: Leaving directory '/home/runner/work/trousers-0.3.11.2/trousers-0.3.11.2/src'
make[1]: *** [Makefile:454: all-recursive] Error 1
make: *** [Makefile:384: all] Error 2
make[1]: Leaving directory '/home/runner/work/trousers-0.3.11.2/trousers-0.3.11.2'
Error: Process completed with exit code 2.

@cooljeanius cooljeanius changed the title Fix CI Properly Fix CI May 30, 2024
@cooljeanius
Copy link
Owner Author

OK I'm managing to hack around it for now; still ought to come up with a proper fix that includes updates for the openssl API changes, though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted assistance would be appreciated
Projects
None yet
Development

No branches or pull requests

1 participant