Bug 2431537

Summary: sword-1.9.0-36.fc44 FTBFS: tests/swbuftest.cpp:167:41: error: use of deleted function ‘std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const wchar_t*) [with _Traits = char_traits<char>]’
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: swordAssignee: Aaron Rainbolt <arraybolt3>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: arraybolt3, greg.hellings, i
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2384424    

Description Petr Pisar 2026-01-21 09:51:14 UTC
sword-1.9.0-36.fc44 fails to build in Fedora 44:

cd /home/test/fedora/sword/sword-1.9.0-build/sword-1.9.0/redhat-linux-build/tests && /usr/bin/g++ -DCLUCENE2 -DCURLAVAILABLE -DCURLSFTPAVAILABLE -DGLOBCONFPATH=\"/etc/sword.conf\" -DUSEICUREGEX -DUSELUCENE -DU_USING_ICU_NAMESPACE -D_FTPLIB_NO_COMPAT -D_ICU_ -I/home/test/fedora/sword/sword-1.9.0-build/sword-1.9.0/redhat-linux-build/include -I/home/test/fedora/sword/sword-1.9.0-build/sword-1.9.0/include -I/lib64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MT tests/CMakeFiles/swbuftest.dir/swbuftest.cpp.o -MF CMakeFiles/swbuftest.dir/swbuftest.cpp.o.d -o CMakeFiles/swbuftest.dir/swbuftest.cpp.o -c /home/test/fedora/sword/sword-1.9.0-build/sword-1.9.0/tests/swbuftest.cpp
/home/test/fedora/sword/sword-1.9.0-build/sword-1.9.0/tests/swbuftest.cpp: In function ‘int main(int, char**)’:
/home/test/fedora/sword/sword-1.9.0-build/sword-1.9.0/tests/swbuftest.cpp:167:41: error: use of deleted function ‘std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const wchar_t*) [with _Traits = char_traits<char>]’
  167 |         cout << (wchar_t *)x.getRawData() << "\n";
      |                                         ^

This is probably triggered by upgrading gcc-c++ from 15.2.1-5.fc44 to 16.0.0-0.4.fc44.