Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build using the Docker image fails due to failure in the xemu-version macro #1978

Open
wilkovatch opened this issue Mar 10, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@wilkovatch
Copy link
Contributor

Bug Description

When building for Windows using the Docker image (as described here) the build fails with the following error:

FAILED: version.rc_version.o 
/opt/mxe/usr/bin/x86_64-w64-mingw32.static-windres -I./ -I/xemu/. -I/xemu/build/. ../version.rc version.rc_version.o --preprocessor-arg=-MD --preprocessor-arg=-MQversion.rc_version.o --preprocessor-arg=-MFversion.rc_version.o.d
llvm-rc: Error parsing file: expected '-', '~', integer or '(', got ,

This happens because the xemu-version.sh macro is failing to fill the XEMU_VERSION variables. (filling them manually allows the build to succeed)

I am already using the latest container image, and this happens even on a freshly cloned repository.

It worked for me in mid December, and the aforementioned macro has not been changed in the meantime, so it could be either an issue on my system or a problem with the Docker image. (other users on Discord are reporting the same issue when using the Docker image, while it's working on GitHub agents)

Expected Behavior

The build should succeed.

xemu Version

0.8.31.0

Last working for me in: 0.7.132.123 (mid December 2024)

System Information

OS: Ubuntu 24.04, running on Windows 11 via VirtualBox (although the same issue has been reported also on WSL)

Additional Context

No response

@wilkovatch wilkovatch added the bug Something isn't working label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant