Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Package libdeflate fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 1.25-3.fc44 Steps to Reproduce: koji build --scratch f45 libdeflate-1.25-3.fc44.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/libdeflate [100%] Linking C executable libdeflate-gzip.exe cd /builddir/build/BUILD/libdeflate-1.25-build/libdeflate-1.25/build_win32/programs && /usr/bin/cmake -E cmake_link_script CMakeFiles/libdeflate-gzip.dir/link.txt --verbose=1 /usr/i686-w64-mingw32/bin/ld: /usr/i686-w64-mingw32/sys-root/mingw/lib/../lib/libmsvcrt.a(lib32_libmsvcrt_extra_a-_wutime64.o): in function `wopen': /usr/i686-w64-mingw32/sys-root/mingw/include/io.h:435:(.text+0x1f): undefined reference to `wopen' collect2: error: ld returned 1 exit status The first failing build is https://koschei.fedoraproject.org/build/22878944. This seems to be associated with updating the MinGW C libraries from version 13 to 14.
Sandro, would you happen to have any insight into what is going wrong with the MinGW32 build here, and how it could be fixed? Thanks!
Just to give some feedback here: I've tried looking into this, so far no idea what is going on unfortunately.
It’s possible to work around this by no longer building the command-line tools libdeflate-gzip.exe and libdeflate-gunzip.exe, and dropping the mingw32-libdeflate-utils and mingw64-libdeflate-utils subpackages that contain them, beginning with Fedora 45. This isn’t ideal, but it keeps the problem from impacting other packages. https://src.fedoraproject.org/rpms/libdeflate/pull-request/7
FEDORA-2026-f4ba91cef3 (libdeflate-1.25-4.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-f4ba91cef3
FEDORA-2026-f4ba91cef3 (libdeflate-1.25-4.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report.