bneradt commented on PR #13440:
URL: https://github.com/apache/trafficserver/pull/13440#issuecomment-5136315101

   freebsd and ubuntu both failed for const issues:
   
   ```
   FAILED: src/tscore/CMakeFiles/tscore.dir/X509HostnameValidator.cc.o 
   /usr/bin/ccache /usr/lib/llvm-12/bin/clang++ -DDEBUG 
-DPACKAGE_NAME="\"Apache Traffic Server\"" -DPACKAGE_VERSION=\"11.0.0\" 
-D_DEBUG -Dlinux -I/home/jenkins/workspace/Github_Builds/ubuntu/src/include 
-I/home/jenkins/workspace/Github_Builds/ubuntu/src/build/include 
-I/home/jenkins/workspace/Github_Builds/ubuntu/src/build/src/tscore 
-I/home/jenkins/workspace/Github_Builds/ubuntu/src/lib/swoc/include 
-I/home/jenkins/workspace/Github_Builds/ubuntu/src/lib/yamlcpp/include -isystem 
/home/jenkins/workspace/Github_Builds/ubuntu/src/lib/systemtap 
-D_FORTIFY_SOURCE=2 -fPIE -fstack-protector -pthread -g -std=c++20 -fPIC 
-Wthread-safety -Werror=thread-safety -Wno-invalid-offsetof -pipe -Wall -Wextra 
-Wno-noexcept-type -Wsuggest-override -Wno-vla-extension -fno-strict-aliasing 
-mcx16 -Werror -MD -MT 
src/tscore/CMakeFiles/tscore.dir/X509HostnameValidator.cc.o -MF 
src/tscore/CMakeFiles/tscore.dir/X509HostnameValidator.cc.o.d -o 
src/tscore/CMakeFiles/tscore.dir/X509HostnameValidator.cc.o -c /hom
 
e/jenkins/workspace/Github_Builds/ubuntu/src/src/tscore/X509HostnameValidator.cc
   ../src/tscore/X509HostnameValidator.cc:269:15: error: no matching function 
for call to 'X509_NAME_get_index_by_NID'
     while ((i = X509_NAME_get_index_by_NID(name, NID_commonName, i)) >= 0) {
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
   /usr/include/openssl/x509.h:810:5: note: candidate function not viable: 1st 
argument ('const X509_NAME *' (aka 'const X509_name_st *')) would lose const 
qualifier
   int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
       ^
   1 error generated.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to