[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Condor compilation problems in upcoming Fedora 36



I'll work on this for the 9.0.13 release. Sorry, 9.0.12 was already frozen.

...Tim
--
Tim Theisen (he, him, his)
Release Manager
HTCondor & Open Science Grid
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin - Madison
4261 Computer Sciences and Statistics
1210 W Dayton St
Madison, WI 53706-1685
+1 608 265 5736

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Bert DeKnuydt <Bert.DeKnuydt@xxxxxxxxxxxxxxxx>
Sent: Tuesday, April 19, 2022 7:08 AM
To: htcondor-users@xxxxxxxxxxx <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Condor compilation problems in upcoming Fedora 36
 

Dear Condorists,

Did anyone manage to compile a recent Condor on Fedora-36 (out later
this month)?

I get a nasty looking error in condor_auth_passwd.cpp:

------
/builddir/build/BUILD/condor-9.0.12/src/condor_io/condor_auth_passwd.cpp:
In static member function 'static int Condor_Auth_Passwd::hkdf(const
unsigned char*, size_t, const unsigned char*, size_t, const unsigned
char*, size_t, unsigned char*, size_t)':
/builddir/build/BUILD/condor-9.0.12/src/condor_io/condor_auth_passwd.cpp:1545:44:
error: invalid conversion from 'void*' to 'const EVP_MD*' {aka 'const
evp_md_st*'} [-fpermissive]
  1545 |         if (EVP_PKEY_CTX_set_hkdf_md(pctx, const_cast<void
*>((const void *)EVP_sha256())) <= 0) {goto fail;}
       |                                           
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       |                                            |
       |                                            void*
In file included from
/builddir/build/BUILD/condor-9.0.12/src/condor_io/condor_auth_passwd.cpp:31:
:105:63: note:   initializing argument 2 of 'int
EVP_PKEY_CTX_set_hkdf_md(EVP_PKEY_CTX*, const EVP_MD*)'
   105 | int EVP_PKEY_CTX_set_hkdf_md(EVP_PKEY_CTX *ctx, const EVP_MD
*md);
       |                                                 ~~~~~~~~~~~~~~^~
------

A similar error is reported a few more times in the same file.

This is with gcc 12.0.1, and openssl-devel 3.0.2.

On Fedora 35, the same builds clean (which gcc 11.2.1 and
openssl-devel-1.1.1n)

I'd suspect the openssl version jump is to blame, as there are also a
lot of warnings about
RSA_<anything>() being deprecated.

Regards, Bert.
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/