masaori335 commented on PR #13409:
URL: https://github.com/apache/trafficserver/pull/13409#issuecomment-5674096116

   @bneradt Sorry for late reply on this. The fedora build error might be 
introduced.
   ```
   FAILED: [code=1] 
src/mgmt/rpc/CMakeFiles/rpcpublichandlers.dir/handlers/hostdb/HostDB.cc.o 
   /usr/sbin/ccache /usr/sbin/clang++ -DDEBUG -DOPENSSL_API_COMPAT=10002 
-DOPENSSL_IS_AT_LEAST_OPENSSL3 -DPACKAGE_NAME="\"Apache Traffic Server\"" 
-DPACKAGE_VERSION=\"11.0.0\" -DTS_OPENSSL_QUIC_TLS_CBS_COMPAT -D_DEBUG -Dlinux 
-I/home/jenkins/workspace/Github_Builds/fedora/src/include 
-I/home/jenkins/workspace/Github_Builds/fedora/src/build/include 
-I/home/jenkins/workspace/Github_Builds/fedora/src/lib 
-I/home/jenkins/workspace/Github_Builds/fedora/src/lib/swoc/include 
-I/home/jenkins/workspace/Github_Builds/fedora/src/lib/yamlcpp/include -isystem 
/home/jenkins/workspace/Github_Builds/fedora/src/lib/systemtap -pthread -g 
-std=c++20 -Wthread-safety -Werror=thread-safety -DENABLE_SYSTEMTAP_PROBES 
-Wno-invalid-offsetof -pipe -Wall -Wextra -Wno-noexcept-type -Wsuggest-override 
-Wno-vla-extension -fno-strict-aliasing -mcx16 -Wno-deprecated-declarations 
-Werror -MD -MT 
src/mgmt/rpc/CMakeFiles/rpcpublichandlers.dir/handlers/hostdb/HostDB.cc.o -MF 
src/mgmt/rpc/CMakeFiles/rpcpublichandlers.dir
 /handlers/hostdb/HostDB.cc.o.d -o 
src/mgmt/rpc/CMakeFiles/rpcpublichandlers.dir/handlers/hostdb/HostDB.cc.o -c 
/home/jenkins/workspace/Github_Builds/fedora/src/src/mgmt/rpc/handlers/hostdb/HostDB.cc
   In file included from ../src/mgmt/rpc/handlers/hostdb/HostDB.cc:25:
   In file included from ../include/../src/iocore/hostdb/P_HostDBProcessor.h:33:
   ../include/../src/iocore/hostdb/P_RefCountCache.h:348:16: error: returning 
variable 'item_map' by reference requires holding shared_mutex 'lock' 
exclusively [-Werror,-Wthread-safety-reference-return]
     348 |   return this->item_map;
         |                ^
   ../src/mgmt/rpc/handlers/hostdb/HostDB.cc:93:39: note: in instantiation of 
member function 'RefCountCachePartition<HostDBRecord>::get_map' requested here
      93 |         for (auto &&entry : partition.get_map()) {
         |                                       ^
   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