OPENDAP/bes

build failed of bes 3.21.0-46 on Fedora

Closed this issue · 2 comments

Making all in xmlcommand
make[2]: Entering directory '/home/ruby/rpmbuild/SOURCES/bes-3.21.0/xmlcommand'
Making all in .
make[3]: Entering directory '/home/ruby/rpmbuild/SOURCES/bes-3.21.0/xmlcommand'
depbase=`echo BESXMLInterface.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP  -I/include  -g -O2  --pedantic --std=c++14 -MT BESXMLInterface.lo -MD -MP -MF $depbase.Tpo -c -o BESXMLInterface.lo BESXMLInterface.cc &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo BESXMLCommand.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP  -I/include  -g -O2  --pedantic --std=c++14 -MT BESXMLCommand.lo -MD -MP -MF $depbase.Tpo -c -o BESXMLCommand.lo BESXMLCommand.cc &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo BESXMLUtils.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP  -I/include  -g -O2  --pedantic --std=c++14 -MT BESXMLUtils.lo -MD -MP -MF $depbase.Tpo -c -o BESXMLUtils.lo BESXMLUtils.cc &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo BESXMLDefaultCommands.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP  -I/include  -g -O2  --pedantic --std=c++14 -MT BESXMLDefaultCommands.lo -MD -MP -MF $depbase.Tpo -c -o BESXMLDefaultCommands.lo BESXMLDefaultCommands.cc &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo BESXMLShowCommand.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP  -I/include  -g -O2  --pedantic --std=c++14 -MT BESXMLShowCommand.lo -MD -MP -MF $depbase.Tpo -c -o BESXMLShowCommand.lo BESXMLShowCommand.cc &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo BESXMLShowErrorCommand.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP  -I/include  -g -O2  --pedantic --std=c++14 -MT BESXMLShowErrorCommand.lo -MD -MP -MF $depbase.Tpo -c -o BESXMLShowErrorCommand.lo BESXMLShowErrorCommand.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP -I/include -g -O2 --pedantic --std=c++14 -MT BESXMLInterface.lo -MD -MP -MF .deps/BESXMLInterface.Tpo -c BESXMLInterface.cc  -fPIC -DPIC -o .libs/BESXMLInterface.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP -I/include -g -O2 --pedantic --std=c++14 -MT BESXMLDefaultCommands.lo -MD -MP -MF .deps/BESXMLDefaultCommands.Tpo -c BESXMLDefaultCommands.cc  -fPIC -DPIC -o .libs/BESXMLDefaultCommands.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP -I/include -g -O2 --pedantic --std=c++14 -MT BESXMLCommand.lo -MD -MP -MF .deps/BESXMLCommand.Tpo -c BESXMLCommand.cc  -fPIC -DPIC -o .libs/BESXMLCommand.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP -I/include -g -O2 --pedantic --std=c++14 -MT BESXMLUtils.lo -MD -MP -MF .deps/BESXMLUtils.Tpo -c BESXMLUtils.cc  -fPIC -DPIC -o .libs/BESXMLUtils.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP -I/include -g -O2 --pedantic --std=c++14 -MT BESXMLShowErrorCommand.lo -MD -MP -MF .deps/BESXMLShowErrorCommand.Tpo -c BESXMLShowErrorCommand.cc  -fPIC -DPIC -o .libs/BESXMLShowErrorCommand.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../dap -I../dispatch -I/usr/include/libxml2 -DWITH_GZFILEOP -I/include -g -O2 --pedantic --std=c++14 -MT BESXMLShowCommand.lo -MD -MP -MF .deps/BESXMLShowCommand.Tpo -c BESXMLShowCommand.cc  -fPIC -DPIC -o .libs/BESXMLShowCommand.o
In file included from BESXMLCommand.cc:37:
BESXMLCommand.h:88:32: error: 'xmlNode' has not been declared
   88 |     virtual void parse_request(xmlNode *node) = 0;
      |                                ^~~~~~~
make[3]: *** [Makefile:758: BESXMLCommand.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from BESXMLShowCommand.h:36,
                 from BESXMLDefaultCommands.cc:42:
BESXMLCommand.h:88:32: error: 'xmlNode' has not been declared
   88 |     virtual void parse_request(xmlNode *node) = 0;
      |                                ^~~~~~~
BESXMLShowCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:43:
BESXMLShowErrorCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:44:
BESXMLSetContextCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:45:
BESXMLSetContainerCommand.h:61:32: error: 'xmlNode' has not been declared
   61 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:46:
BESXMLDefineCommand.h:57:62: error: 'xmlNode' has not been declared
   57 |     void handle_container_element(const std::string &action, xmlNode *node, const std::string &vallues,
      |                                                              ^~~~~~~
BESXMLDefineCommand.h:72:32: error: 'xmlNode' has not been declared
   72 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:47:
BESXMLGetCommand.h:56:32: error: 'xmlNode' has not been declared
   56 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:48:
BESXMLDeleteContainerCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:49:
BESXMLDeleteContainersCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:50:
BESXMLDeleteDefinitionCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:51:
BESXMLDeleteDefinitionsCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:53:
ShowPathInfoCommand.h:41:32: error: 'xmlNode' has not been declared
   41 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:54:
ShowBesKeyCommand.h:47:32: error: 'xmlNode' has not been declared
   47 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLDefaultCommands.cc:58:
XMLSetContextsCommand.h:38:32: error: 'xmlNode' has not been declared
   38 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
make[3]: *** [Makefile:758: BESXMLDefaultCommands.lo] Error 1
In file included from BESXMLShowErrorCommand.h:36,
                 from BESXMLShowErrorCommand.cc:35:
BESXMLCommand.h:88:32: error: 'xmlNode' has not been declared
   88 |     virtual void parse_request(xmlNode *node) = 0;
      |                                ^~~~~~~
BESXMLShowErrorCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLShowErrorCommand.cc:36:
BESXMLUtils.h:49:26: error: 'xmlNode' has not been declared
   49 |     static void GetProps(xmlNode *node, std::map<std::string, std::string> &props);
      |                          ^~~~~~~
BESXMLUtils.h:50:29: error: 'xmlNode' has not been declared
   50 |     static void GetNodeInfo(xmlNode *node, std::string &name, std::string &value, std::map<std::string, std::string> &props);
      |                             ^~~~~~~
BESXMLUtils.h:51:12: error: 'xmlNode' does not name a type
   51 |     static xmlNode * GetFirstChild(xmlNode *node, std::string &child_name, std::string &child_value,
      |            ^~~~~~~
BESXMLUtils.h:53:12: error: 'xmlNode' does not name a type
   53 |     static xmlNode * GetNextChild(xmlNode *child_node, std::string &next_name, std::string &next_value,
      |            ^~~~~~~
BESXMLUtils.h:55:12: error: 'xmlNode' does not name a type
   55 |     static xmlNode * GetChild(xmlNode *node, const std::string &child_name, std::string &child_value,
      |            ^~~~~~~
BESXMLShowErrorCommand.cc:66:6: error: variable or field 'parse_request' declared void
   66 | void BESXMLShowErrorCommand::parse_request(xmlNode *node)
      |      ^~~~~~~~~~~~~~~~~~~~~~
BESXMLShowErrorCommand.cc:66:44: error: 'xmlNode' was not declared in this scope
   66 | void BESXMLShowErrorCommand::parse_request(xmlNode *node)
      |                                            ^~~~~~~
BESXMLShowErrorCommand.cc:66:53: error: 'node' was not declared in this scope
   66 | void BESXMLShowErrorCommand::parse_request(xmlNode *node)
      |                                                     ^~~~
In file included from BESXMLUtils.cc:33:
BESXMLUtils.h:49:26: error: 'xmlNode' has not been declared
   49 |     static void GetProps(xmlNode *node, std::map<std::string, std::string> &props);
      |                          ^~~~~~~
BESXMLUtils.h:50:29: error: 'xmlNode' has not been declared
   50 |     static void GetNodeInfo(xmlNode *node, std::string &name, std::string &value, std::map<std::string, std::string> &props);
      |                             ^~~~~~~
BESXMLUtils.h:51:12: error: 'xmlNode' does not name a type
   51 |     static xmlNode * GetFirstChild(xmlNode *node, std::string &child_name, std::string &child_value,
      |            ^~~~~~~
BESXMLUtils.h:53:12: error: 'xmlNode' does not name a type
   53 |     static xmlNode * GetNextChild(xmlNode *child_node, std::string &next_name, std::string &next_value,
      |            ^~~~~~~
BESXMLUtils.h:55:12: error: 'xmlNode' does not name a type
   55 |     static xmlNode * GetChild(xmlNode *node, const std::string &child_name, std::string &child_value,
      |            ^~~~~~~
BESXMLUtils.cc: In static member function 'static void BESXMLUtils::XMLErrorFunc(void*, const char*, ...)':
BESXMLUtils.cc:57:5: error: 'va_start' was not declared in this scope
   57 |     va_start( args, msg );
      |     ^~~~~~~~
BESXMLUtils.cc:60:5: error: 'va_end' was not declared in this scope
   60 |     va_end(args); // Added jhrg 9/17/15
      |     ^~~~~~
BESXMLUtils.cc: At global scope:
BESXMLUtils.cc:74:6: error: variable or field 'GetProps' declared void
   74 | void BESXMLUtils::GetProps(xmlNode *node, map<string, string> &props)
      |      ^~~~~~~~~~~
BESXMLUtils.cc:74:28: error: 'xmlNode' was not declared in this scope
   74 | void BESXMLUtils::GetProps(xmlNode *node, map<string, string> &props)
      |                            ^~~~~~~
BESXMLUtils.cc:74:37: error: 'node' was not declared in this scope
   74 | void BESXMLUtils::GetProps(xmlNode *node, map<string, string> &props)
      |                                     ^~~~
BESXMLUtils.cc:74:63: error: expected primary-expression before '&' token
   74 | void BESXMLUtils::GetProps(xmlNode *node, map<string, string> &props)
      |                                                               ^
BESXMLUtils.cc:74:64: error: 'props' was not declared in this scope
   74 | void BESXMLUtils::GetProps(xmlNode *node, map<string, string> &props)
      |                                                                ^~~~~
BESXMLUtils.cc:109:6: error: variable or field 'GetNodeInfo' declared void
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |      ^~~~~~~~~~~
BESXMLUtils.cc:109:31: error: 'xmlNode' was not declared in this scope
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |                               ^~~~~~~
BESXMLUtils.cc:109:40: error: 'node' was not declared in this scope
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |                                        ^~~~
BESXMLUtils.cc:109:53: error: expected primary-expression before '&' token
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |                                                     ^
BESXMLUtils.cc:109:54: error: 'name' was not declared in this scope; did you mean 'tzname'?
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |                                                      ^~~~
      |                                                      tzname
BESXMLUtils.cc:109:67: error: expected primary-expression before '&' token
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |                                                                   ^
BESXMLUtils.cc:109:68: error: 'value' was not declared in this scope
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |                                                                    ^~~~~
BESXMLUtils.cc:109:95: error: expected primary-expression before '&' token
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |                                                                                               ^
BESXMLUtils.cc:109:96: error: 'props' was not declared in this scope
  109 | void BESXMLUtils::GetNodeInfo(xmlNode *node, string &name, string &value, map<string, string> &props)
      |                                                                                                ^~~~~
BESXMLUtils.cc:142:1: error: 'xmlNode' does not name a type
  142 | xmlNode *
      | ^~~~~~~
BESXMLUtils.cc:169:1: error: 'xmlNode' does not name a type
  169 | xmlNode *
      | ^~~~~~~
BESXMLUtils.cc:195:1: error: 'xmlNode' does not name a type
  195 | xmlNode *
      | ^~~~~~~
make[3]: *** [Makefile:758: BESXMLShowErrorCommand.lo] Error 1
make[3]: *** [Makefile:758: BESXMLUtils.lo] Error 1
In file included from BESXMLShowCommand.h:36,
                 from BESXMLShowCommand.cc:35:
BESXMLCommand.h:88:32: error: 'xmlNode' has not been declared
   88 |     virtual void parse_request(xmlNode *node) = 0;
      |                                ^~~~~~~
BESXMLShowCommand.h:46:32: error: 'xmlNode' has not been declared
   46 |     virtual void parse_request(xmlNode *node);
      |                                ^~~~~~~
In file included from BESXMLShowCommand.cc:36:
BESXMLUtils.h:49:26: error: 'xmlNode' has not been declared
   49 |     static void GetProps(xmlNode *node, std::map<std::string, std::string> &props);
      |                          ^~~~~~~
BESXMLUtils.h:50:29: error: 'xmlNode' has not been declared
   50 |     static void GetNodeInfo(xmlNode *node, std::string &name, std::string &value, std::map<std::string, std::string> &props);
      |                             ^~~~~~~
BESXMLUtils.h:51:12: error: 'xmlNode' does not name a type
   51 |     static xmlNode * GetFirstChild(xmlNode *node, std::string &child_name, std::string &child_value,
      |            ^~~~~~~
BESXMLUtils.h:53:12: error: 'xmlNode' does not name a type
   53 |     static xmlNode * GetNextChild(xmlNode *child_node, std::string &next_name, std::string &next_value,
      |            ^~~~~~~
BESXMLUtils.h:55:12: error: 'xmlNode' does not name a type
   55 |     static xmlNode * GetChild(xmlNode *node, const std::string &child_name, std::string &child_value,
      |            ^~~~~~~
BESXMLShowCommand.cc:61:6: error: variable or field 'parse_request' declared void
   61 | void BESXMLShowCommand::parse_request(xmlNode *node)
      |      ^~~~~~~~~~~~~~~~~
BESXMLShowCommand.cc:61:39: error: 'xmlNode' was not declared in this scope
   61 | void BESXMLShowCommand::parse_request(xmlNode *node)
      |                                       ^~~~~~~
BESXMLShowCommand.cc:61:48: error: 'node' was not declared in this scope
   61 | void BESXMLShowCommand::parse_request(xmlNode *node)
      |                                                ^~~~
make[3]: *** [Makefile:758: BESXMLShowCommand.lo] Error 1
In file included from BESXMLInterface.cc:39:
BESXMLCommand.h:88:32: error: 'xmlNode' has not been declared
   88 |     virtual void parse_request(xmlNode *node) = 0;
      |                                ^~~~~~~
In file included from BESXMLInterface.cc:40:
BESXMLUtils.h:49:26: error: 'xmlNode' has not been declared
   49 |     static void GetProps(xmlNode *node, std::map<std::string, std::string> &props);
      |                          ^~~~~~~
BESXMLUtils.h:50:29: error: 'xmlNode' has not been declared
   50 |     static void GetNodeInfo(xmlNode *node, std::string &name, std::string &value, std::map<std::string, std::string> &props);
      |                             ^~~~~~~
BESXMLUtils.h:51:12: error: 'xmlNode' does not name a type
   51 |     static xmlNode * GetFirstChild(xmlNode *node, std::string &child_name, std::string &child_value,
      |            ^~~~~~~
BESXMLUtils.h:53:12: error: 'xmlNode' does not name a type
   53 |     static xmlNode * GetNextChild(xmlNode *child_node, std::string &next_name, std::string &next_value,
      |            ^~~~~~~
BESXMLUtils.h:55:12: error: 'xmlNode' does not name a type
   55 |     static xmlNode * GetChild(xmlNode *node, const std::string &child_name, std::string &child_value,
      |            ^~~~~~~
BESXMLInterface.cc: In member function 'virtual void BESXMLInterface::build_data_request_plan()':
BESXMLInterface.cc:88:5: error: 'xmlDoc' was not declared in this scope
   88 |     xmlDoc *doc = nullptr;
      |     ^~~~~~
BESXMLInterface.cc:88:13: error: 'doc' was not declared in this scope
   88 |     xmlDoc *doc = nullptr;
      |             ^~~
BESXMLInterface.cc:89:5: error: 'xmlNode' was not declared in this scope
   89 |     xmlNode *root_element = nullptr;
      |     ^~~~~~~
BESXMLInterface.cc:89:14: error: 'root_element' was not declared in this scope
   89 |     xmlNode *root_element = nullptr;
      |              ^~~~~~~~~~~~
BESXMLInterface.cc:90:14: error: 'current_node' was not declared in this scope
   90 |     xmlNode *current_node = nullptr;
      |              ^~~~~~~~~~~~
BESXMLInterface.cc:95:9: error: 'xmlSetGenericErrorFunc' was not declared in this scope
   95 |         xmlSetGenericErrorFunc((void *) &parseerrors, BESXMLUtils::XMLErrorFunc);
      |         ^~~~~~~~~~~~~~~~~~~~~~
BESXMLInterface.cc:99:53: error: 'XML_PARSE_NONET' was not declared in this scope
   99 |                             nullptr /* encoding */, XML_PARSE_NONET /* xmlParserOption */);
      |                                                     ^~~~~~~~~~~~~~~
BESXMLInterface.cc:98:15: error: 'xmlReadMemory' was not declared in this scope
   98 |         doc = xmlReadMemory(d_xml_document.c_str(), (int)d_xml_document.size(), "" /* base URL */,
      |               ^~~~~~~~~~~~~
BESXMLInterface.cc:117:24: error: 'xmlDocGetRootElement' was not declared in this scope
  117 |         root_element = xmlDocGetRootElement(doc);
      |                        ^~~~~~~~~~~~~~~~~~~~
BESXMLInterface.cc:147:39: error: 'XML_ELEMENT_NODE' was not declared in this scope
  147 |             if (current_node->type == XML_ELEMENT_NODE) {
      |                                       ^~~~~~~~~~~~~~~~
BESXMLInterface.cc:228:9: error: 'xmlFreeDoc' was not declared in this scope
  228 |         xmlFreeDoc(doc);
      |         ^~~~~~~~~~
BESXMLInterface.cc:229:9: error: 'xmlCleanupParser' was not declared in this scope
  229 |         xmlCleanupParser();
      |         ^~~~~~~~~~~~~~~~
BESXMLInterface.cc:233:5: error: 'xmlFreeDoc' was not declared in this scope
  233 |     xmlFreeDoc(doc);
      |     ^~~~~~~~~~
BESXMLInterface.cc:245:5: error: 'xmlCleanupParser' was not declared in this scope
  245 |     xmlCleanupParser();
      |     ^~~~~~~~~~~~~~~~
make[3]: *** [Makefile:758: BESXMLInterface.lo] Error 1
make[3]: Leaving directory '/home/ruby/rpmbuild/SOURCES/bes-3.21.0/xmlcommand'
make[2]: *** [Makefile:799: all-recursive] Error 1
make[2]: Leaving directory '/home/ruby/rpmbuild/SOURCES/bes-3.21.0/xmlcommand'
make[1]: *** [Makefile:773: all-recursive] Error 1
make[1]: Leaving directory '/home/ruby/rpmbuild/SOURCES/bes-3.21.0'
make: *** [Makefile:548: all] Error 2

detailed build log: https://gist.github.com/topazus/a369486a6b061e9c3a8aac31c015bf71

You need this patch.

diff -ur bes-3.21.0-46.old/xmlcommand/BESXMLCommand.h bes-3.21.0-46.new/xmlcommand/BESXMLCommand.h
--- bes-3.21.0-46.old/xmlcommand/BESXMLCommand.h	2024-01-23 23:28:51.000000000 +0000
+++ bes-3.21.0-46.new/xmlcommand/BESXMLCommand.h	2024-02-23 13:06:16.262059377 +0000
@@ -37,6 +37,7 @@
 #include <map>
 
 #include <libxml/encoding.h>
+#include <libxml/tree.h>
 
 #include "BESObj.h"
 #include "BESDataHandlerInterface.h"
diff -ur bes-3.21.0-46.old/xmlcommand/BESXMLUtils.h bes-3.21.0-46.new/xmlcommand/BESXMLUtils.h
--- bes-3.21.0-46.old/xmlcommand/BESXMLUtils.h	2024-01-23 23:28:51.000000000 +0000
+++ bes-3.21.0-46.new/xmlcommand/BESXMLUtils.h	2024-02-23 13:07:04.412823020 +0000
@@ -38,6 +38,7 @@
 #include <string>
 
 #include <libxml/encoding.h>
+#include <libxml/tree.h>
 
 class BESXMLUtils {
 private: