Bug 2431537 - 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>]’
Summary: sword-1.9.0-36.fc44 FTBFS: tests/swbuftest.cpp:167:41: error: use of deleted ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: sword
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Aaron Rainbolt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F44FTBFS
TreeView+ depends on / blocked
 
Reported: 2026-01-21 09:51 UTC by Petr Pisar
Modified: 2026-01-21 09:51 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.