#2 Remove -Werror due to deprecation warnings from openssl 3
Merged 2 years ago by djw8605. Opened 2 years ago by ellert.
rpms/ ellert/scitokens-cpp no-Werror  into  rawhide

file modified
+1
@@ -50,6 +50,7 @@ 

  

  %prep

  %setup -q

+ sed 's/ -Werror//' -i CMakeLists.txt

  cd vendor/jwt-cpp/include/picojson

  %patch0 -p1

  

The build of scitokens-cpp fails with OpenSSL 3.0.0 due to warnings about use of deprecated methods. The build uses -Werror which means that these warnings are treated as errors, and the build fails. If the -Werror flags is removed the build succeeds.
When upstream releases a version that no longer used the deprecated methods the line added by this PR could be removed.
With the proposed change compilation succeeds for Fedora 36 (rawhide) and EPEL 9, both of which uses OpenSSL 3.

This all looks good to me. I'll try to cut a release tonight to push through bodhi.

Pull-Request has been merged by djw8605

2 years ago
Metadata