gdcm fails to compile with poppler 26.02:
[ 60s] cd /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/build/Applications/Cxx && /var/lib/build/ccache/bin/c++ -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/build/Source/Common -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Source/Common -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Source/DataStructureAndEncodingDefinition -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Source/MediaStorageAndFileFormat -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Source/InformationObjectDefinition -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Source/MessageExchangeDefinition -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Source/DataDictionary -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Utilities -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Utilities/socketxx -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Utilities/socketxx/socket++ -I/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/build/Utilities/socketxx/socket++ -I/usr/include/poppler -I/usr/include/libxml2 -I/usr/include/openjpeg-2.5 -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -fpermissive -O2 -g -DNDEBUG -std=gnu++20 -DLIBPOPPLER_GLOBALPARAMS_HAS_RESET -DLIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT -DLIBPOPPLER_NEW_OBJECT_API -DLIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR -DLIBPOPPLER_UNICODEMAP_HAS_CONSTMAPUNICODE -MD -MT Applications/Cxx/CMakeFiles/gdcmpdf.dir/gdcmpdf.cxx.o -MF CMakeFiles/gdcmpdf.dir/gdcmpdf.cxx.o.d -o CMakeFiles/gdcmpdf.dir/gdcmpdf.cxx.o -c /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx
[ 60s] /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx: In function ‘std::string getInfoString(Dict, const char, const UnicodeMap, bool&)’:
[ 60s] /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx:151:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
[ 60s] 151 | while (i < obj.getString()->size())
[ 60s] | ~~^~~~~~~~~~~~~~~~~~~~~~~~~
[ 60s] /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx: In function ‘int main(int, char</char>)’:
[ 60s] /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx:398:45: error: no matching function for call to ‘PDFDoc::PDFDoc(GooString&, GooString&, GooString&)’
[ 60s] 398 | doc = new PDFDoc(fileName, ownerPW, userPW);
[ 60s] | ^
[ 60s] /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx:398:45: note: there are 3 candidates
[ 60s] In file included from /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx:24:
[ 60s] /usr/include/poppler/PDFDoc.h:388:5: note: candidate 1: ‘PDFDoc::PDFDoc()’
[ 60s] 388 | PDFDoc();
[ 60s] | ^~~~~~
[ 60s] /usr/include/poppler/PDFDoc.h:388:5: note: candidate expects 0 arguments, 3 provided
[ 60s] /usr/include/poppler/PDFDoc.h:141:14: note: candidate 2: ‘PDFDoc::PDFDoc(std::unique_ptr<basestream>, const std::optional<goostring>&, const std::optional<goostring>&, const std::function<void()>&)’
[ 60s] 141 | explicit PDFDoc(std::unique_ptr<basestream> strA, const std::optional<goostring> &ownerPassword = {}, const std::optional<goostring> &userPassword = {}, const std::function<void()> &xrefReconstructedCallback = {});
[ 60s] | ^~~~~~
[ 60s] /usr/include/poppler/PDFDoc.h:141:49: note: no known conversion for argument 1 from ‘GooString’ to ‘std::unique_ptr<basestream>’
[ 60s] 141 | explicit PDFDoc(std::unique_ptr<basestream> strA, const std::optional<goostring> &ownerPassword = {}, const std::optional<goostring> &userPassword = {}, const std::function<void()> &xrefReconstructedCallback = {});
[ 60s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 60s] /usr/include/poppler/PDFDoc.h:135:14: note: candidate 3: ‘PDFDoc::PDFDoc(std::unique_ptr<goostring>&&, const std::optional<goostring>&, const std::optional<goostring>&, const std::function<void()>&)’
[ 60s] 135 | explicit PDFDoc(std::unique_ptr<goostring> &&fileNameA, const std::optional<goostring> &ownerPassword = {}, const std::optional<goostring> &userPassword = {}, const std::function<void()> &xrefReconstructedCallback = {});
[ 60s] | ^~~~~~
[ 60s] /usr/include/poppler/PDFDoc.h:135:50: note: no known conversion for argument 1 from ‘GooString</void()></goostring></goostring></goostring></void()></goostring></goostring></goostring></void()></goostring></goostring></basestream></basestream>’ to ‘std::unique_ptr<goostring>&&’
[ 60s] 135 | explicit PDFDoc(std::unique_ptr<goostring> &&fileNameA, const std::optional<goostring> &ownerPassword = {}, const std::optional<goostring> &userPassword = {}, const std::function<void()> &xrefReconstructedCallback = {});
[ 60s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[ 60s] /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx:433:47: error: no matching function for call to ‘PDFDoc::PDFDoc(GooString&, GooString&, GooString&)’
[ 60s] 433 | doc = new PDFDoc(fileName, ownerPW, userPW);
[ 60s] | ^
[ 60s] /home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/Applications/Cxx/gdcmpdf.cxx:433:47: note: there are 3 candidates
[ 60s] /usr/include/poppler/PDFDoc.h:388:5: note: candidate 1: ‘PDFDoc::PDFDoc()’
[ 60s] 388 | PDFDoc();
[ 60s] | ^~~~~~
[ 60s] /usr/include/poppler/PDFDoc.h:388:5: note: candidate expects 0 arguments, 3 provided
[ 60s] /usr/include/poppler/PDFDoc.h:141:14: note: candidate 2: ‘PDFDoc::PDFDoc(std::unique_ptr<basestream>, const std::optional<goostring>&, const std::optional<goostring>&, const std::function<void()>&)’
[ 60s] 141 | explicit PDFDoc(std::unique_ptr<basestream> strA, const std::optional<goostring> &ownerPassword = {}, const std::optional<goostring> &userPassword = {}, const std::function<void()> &xrefReconstructedCallback = {});
[ 60s] | ^~~~~~
[ 60s] /usr/include/poppler/PDFDoc.h:141:49: note: no known conversion for argument 1 from ‘GooString</void()></goostring></goostring></basestream></void()></goostring></goostring></basestream>’ to ‘std::unique_ptr<basestream>’
[ 60s] 141 | explicit PDFDoc(std::unique_ptr<basestream> strA, const std::optional<goostring> &ownerPassword = {}, const std::optional<goostring> &userPassword = {}, const std::function<void()> &xrefReconstructedCallback = {});
[ 60s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 60s] /usr/include/poppler/PDFDoc.h:135:14: note: candidate 3: ‘PDFDoc::PDFDoc(std::unique_ptr<goostring>&&, const std::optional<goostring>&, const std::optional<goostring>&, const std::function<void()>&)’
[ 60s] 135 | explicit PDFDoc(std::unique_ptr<goostring> &&fileNameA, const std::optional<goostring> &ownerPassword = {}, const std::optional<goostring> &userPassword = {}, const std::function<void()> &xrefReconstructedCallback = {});
[ 60s] | ^~~~~~
[ 60s] /usr/include/poppler/PDFDoc.h:135:50: note: no known conversion for argument 1 from ‘GooString*’ to ‘std::unique_ptr<goostring>&&’
[ 60s] 135 | explicit PDFDoc(std::unique_ptr<goostring> &&fileNameA, const std::optional<goostring> &ownerPassword = {}, const std::optional<goostring> &userPassword = {}, const std::function<void()> &xrefReconstructedCallback = {});
[ 60s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
[ 60s] make[2]: *** [Applications/Cxx/CMakeFiles/gdcmpdf.dir/build.make:82: Applications/Cxx/CMakeFiles/gdcmpdf.dir/gdcmpdf.cxx.o] Error 1
[ 60s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/gdcm-3.0.24-build/gdcm-3.0.24/build'
[ 60s] make[1]: *** [CMakeFiles/Makefile2:3189: Applications/Cxx/CMakeFiles/gdcmpdf.dir/all] Error 2</void()></goostring></goostring></goostring></goostring></void()></goostring></goostring></goostring></void()></goostring></goostring></goostring></void()></goostring></goostring></basestream></basestream></void()></goostring></goostring></goostring></goostring></void()></goostring></goostring></basestream></void()></goostring></goostring></basestream>
Any ideas?