Attempt to fix doxygen build failure in docs build
Begin arcbot message
This merge request is automatically cherrypicked from !1822 (merged) from source branch https://source.coderefinery.org/maikenp/arc/-/tree/fix_doxygen_build orginally made by @maikenp .
The original MR went to branch: https://source.coderefinery.org/nordugrid/arc/-/tree/next
End arcbot message
The doc builds show the following error, this commit is an attempt to fix that.
make: Entering directory '/builds/nordugrid/doc/build/arc-code/src/doxygen'
cp ./Doxyfile.SDK Doxyfile.SDK.build
sed "s/@TOP_SRCDIR@/..\/../g" Doxyfile.SDK.build > Doxyfile.SDK.build.tmp
mv Doxyfile.SDK.build.tmp Doxyfile.SDK.build
sed "s/@INPUT@/..\/..\/src\/hed\/libs\/common ..\/..\/src\/hed\/libs\/credential ..\/..\/src\/hed\/libs\/data ..\/..\/src\/libs\/data-staging ..\/..\/src\/hed\/libs\/compute JobDescription_Mapping.dox/g" Doxyfile.SDK.build > Doxyfile.SDK.build.tmp
mv Doxyfile.SDK.build.tmp Doxyfile.SDK.build
sed "s/@EXAMPLES@/..\/..\/src\/hed\/libs\/common\/examples ..\/..\/src\/hed\/libs\/credential\/examples ..\/..\/src\/hed\/libs\/data\/examples ..\/..\/src\/libs\/data-staging\/examples ..\/..\/src\/hed\/libs\/compute\/examples ..\/..\/python\/examples/g" Doxyfile.SDK.build > Doxyfile.SDK.build.tmp
mv Doxyfile.SDK.build.tmp Doxyfile.SDK.build
sed "s/Doxyfile.SDK.layout.xml/Doxyfile.SDK.build.layout.xml/g" Doxyfile.SDK.build > Doxyfile.SDK.build.tmp
mv Doxyfile.SDK.build.tmp Doxyfile.SDK.build
for mapping in JobDescription; do \
sed "s/^FILTER_PATTERNS[[:space:]]*=/& *\/${mapping}.h=.\/adapt-and-filter-mapping-attributes.sed/g" Doxyfile.SDK.build > Doxyfile.SDK.build.tmp;\
mv Doxyfile.SDK.build.tmp Doxyfile.SDK.build;\
done
cp ./Doxyfile.SDK.layout.xml Doxyfile.SDK.build.layout.xml
/usr/bin/python3 create-mapping-documentation.py ../../src/hed/libs/compute/JobDescription.h ../../src/hed/acc/JobDescriptionParser/XRSLParser.cpp ../../src/hed/acc/JobDescriptionParser/ADLParser.cpp JobDescription_Mapping.dox
ERROR: The 'DataStaging.DelegationID' attribute present in file '../../src/hed/acc/JobDescriptionParser/XRSLParser.cpp' on line 1620 is not defined in file '../../src/hed/libs/compute/JobDescription.h'
make: Leaving directory '/builds/nordugrid/doc/build/arc-code/src/doxygen'
make: *** [Makefile:667: JobDescription_Mapping.dox] Error 1