Re: Koji builders cannot build Wine Mono

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, Michael.

On Tuesday, 20 June 2023 at 07:21, Michael Cronenworth wrote:
> Hi,
> 
> I was attempting to push a Wine Mono update today but ran into a problem
> with all versions of Fedora when building in Koji.
> 
> The Wine Mono update successfully compiles on my local system using "fedpkg
> mockbuild" for all versions of Fedora.
> 
> The builds fail in similar ways but in different places. If anyone has a
> minute could they review the build logs and offer a clue as to what may be
> the cause?

I have no experience with Mono or .NET itself, but I do have experience
with fixing various build failures, so I've taken a look.

> F39 build attempts:
> - https://koji.fedoraproject.org/koji/taskinfo?taskID=102372408 (x86_64)

Segmentation fault in mono-sgen.

> - https://koji.fedoraproject.org/koji/taskinfo?taskID=102373027 (aarch64)

Segmentation fault in mono
(/builddir/build/BUILD/wine-mono-8.0.0/build/mono-unix/mono/mini/mono).

> - https://koji.fedoraproject.org/koji/taskinfo?taskID=102373207 (x86_64)

Segmentation fault in mono-sgen.

> F38 build attempt:
> https://koji.fedoraproject.org/koji/taskinfo?taskID=102372475 (aarch64)

I noticed these:
...
wine .//build/fixupclr.exe x86 build/image-support/Microsoft.NET/Framework/v2.0.50727/installutil.exe
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: File not found.

==> missing fixupclr.exe binary?
I think it should get built earlier:
...
CFLAGS="-g" CXXFLAGS="-g" LDFLAGS="" /usr/bin/make -C build/PresentationNative-x86 -f /builddir/build/BUILD/wine-mono-8.0.0/wpf/PresentationNative/Makefile ARCH=x86 SRCDIR="/builddir/build/BUILD/wine-mono-8.0.0/wpf/PresentationNative" "MINGW=i686-w64-mingw32"
x86_64-w64-mingw32-gcc -municode -Wall tools/fixupclr/fixupclr.c -o build/fixupclr.exe -g

but then I can see this:

make: .//mono/config.guess: No such file or directory

and also:
...
0044:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0044:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
0084:err:ntoskrnl:ServiceMain Failed to load L"C:\\windows\\system32\\win32k.sys"
0084:err:ntoskrnl:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgkrnl.sys"
0084:err:ntoskrnl:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgmms1.sys"
0098:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0098:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly."
0098:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\mscms.dll,-1" -> L"C:\\windows\\system32\\spool\\drivers\\color\\srgb color space profile.icm"
wine: failed to open L"C:\\windows\\syswow64\\rundll32.exe": c0000135

==> maybe you should run this under Xvfb? Also, are all required wine
subpackages installed?

> F37 build attempt:
> https://koji.fedoraproject.org/koji/taskinfo?taskID=102372473 (x86_64)

Segmentation fault in mono-sgen again.
Additionally, the build process tries (and fails) to download prebuilt
binaries from upstream:
...
cd lib && { (wget -O- https://download.mono-project.com/monolite/monolite-linux-1A5E0066-58DC-428A-B21C-0AD6CDAE2789-latest.tar.gz || curl -L https://download.mono-project.com/monolite/monolite-linux-1A5E0066-58DC-428A-B21C-0AD6CDAE2789-latest.tar.gz) | gzip -d | tar xf - ; }
make[8]: Leaving directory '/builddir/build/BUILD/wine-mono-8.0.0/mono/mcs/class'
/bin/sh: line 1: wget: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: download.mono-project.com
gzip: stdin: unexpected end of file
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[8]: *** [Makefile:560: get-monolite-latest] Error 2
make[7]: *** [build/profiles/build.make:123: do-get-monolite] Error 2
*** The runtime 'MONO_PATH=/builddir/build/BUILD/wine-mono-8.0.0/monolite /builddir/build/BUILD/wine-mono-8.0.0/build/mono-unix/mono/mini/mono-sgen' doesn't appear to be usable.
*** Check README for information on how to bootstrap a Mono installation.

Side notes: I see bundled boringssl, SDL2 and FAudio getting built.
The latest version in rawhide is 6.12.0. Perhaps it's not capable of
building the newer version and you need to bootstrap using prebuilt
binaries.

Regards,
Dominik
-- 
Fedora   https://fedoraproject.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
        -- from "Collected Sayings of Muad'Dib" by the Princess Irulan
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux