Description of problem: Package wine-mono fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 7.4.0-2.fc38 Steps to Reproduce: koji build --scratch f39 wine-mono-7.4.0-2.fc38.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/wine-mono Reproducible: Always Actual Results: cp .//build/mono-win32-install/lib/mono/4.5/installutil.exe build/image-support/Microsoft.NET/Framework/v4.0.30319/installutil.exe wine .//build/fixupclr.exe x86 build/image-support/Microsoft.NET/Framework/v4.0.30319/installutil.exe Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: Bad EXE format for Z:\builddir\build\BUILD\wine-mono-7.4.0\build\fixupclr.exe. make: *** [support.make:46: build/image-support/Microsoft.NET/Framework/v4.0.30319/installutil.exe] Error 1
FWIW - looks like 8.0.0 is out.
Version 8.0.0 has a different problem and won't compile either. The error output is not obvious as to what the problem is so I have not debugged any further. 8.0.0 build.log: make[1]: Entering directory '/builddir/build/BUILD/wine-mono-8.0.0' mkdir -p .//image/lib /builddir/build/BUILD/wine-mono-8.0.0/tools/copy_recursive.py .//build/mono-win32-install/etc .//image /builddir/build/BUILD/wine-mono-8.0.0/tools/copy_recursive.py .//build/mono-win32-install/lib/mono .//image/lib cp -n .//image/lib/mono/4.8-api/*.dll .//image/lib/mono/4.5/ make[1]: Leaving directory '/builddir/build/BUILD/wine-mono-8.0.0' cp: not replacing './/image/lib/mono/4.5/mscorlib.dll' make[1]: *** [mono.make:176: mono-image] Error 1 make[1]: *** Waiting for unfinished jobs....
F38 builds 8.0.0 fine. Ugh.
I had time to debug today. The problem is a change in coreutils of all places. F38 has coreutils 9.1 and Rawhide has 9.3. Coreutils 9.2 changed how "cp -n" worked. It now exits with a non-zero code if it were to skip a file. So, F38 and earlier were "failing" but exiting with a zero code. F39 is now returning a non-zero code *and* returning error text (the "cp: not replacing ..." text is NOT present in the coreutils 9.1 cp). Since the behavior of failure has been accepted for so long I'll have it ignore the error for now and report this upstream to see what they want to do. Upstream report: https://github.com/madewokherd/wine-mono/issues/164 I'll get this update out and this will finally allow a newer Wine package.
Unfortunately I hit another road block. The Koji builders are unable to build Wine Mono. It affects all version of Fedora builds. I can build Wine Mono locally for any version of Fedora without an error. F39 build attempts: - https://koji.fedoraproject.org/koji/taskinfo?taskID=102372408 - https://koji.fedoraproject.org/koji/taskinfo?taskID=102373027 - https://koji.fedoraproject.org/koji/taskinfo?taskID=102373207 F38 build attempt: https://koji.fedoraproject.org/koji/taskinfo?taskID=102372475 F37 build attempt: https://koji.fedoraproject.org/koji/taskinfo?taskID=102372473
I've narrowed down the latest issue to a Linux kernel bug. The Koji builders are currently running kernel version 6.2.x and Mono is crashing on it. I reproduced the crash on a local system with kernel 6.2. I upgraded the local system to kernel 6.3 and it fixed the issue. My every-day build system was already running 6.3. I've asked the devel mailing list for an ETA when Koji builders will be upgraded.
FEDORA-2023-05e0e8fb1f has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-05e0e8fb1f
FEDORA-2023-4a157b61c4 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-4a157b61c4
FEDORA-2023-4a157b61c4 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-4a157b61c4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-4a157b61c4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-05e0e8fb1f has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-05e0e8fb1f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-05e0e8fb1f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-05e0e8fb1f has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-4a157b61c4 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.