summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2764.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/2764.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/2764.toml55
1 files changed, 55 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/2764.toml b/gitlab/issues/target_missing/host_missing/accel_missing/2764.toml
new file mode 100644
index 00000000..e3cc2118
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/2764.toml
@@ -0,0 +1,55 @@
+id = 2764
+title = "W32 Docker build fails"
+state = "opened"
+created_at = "2025-01-06T11:53:47.450Z"
+closed_at = "n/a"
+labels = ["Build System"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/2764"
+host-os = "n/a"
+host-arch = "n/a"
+qemu-version = "n/a"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """Docker build fails:
+
+```
+make docker-test-mingw@fedora-win64-cross V=1 J=4
+```
+
+with the following error:
+
+```
+Initialized empty Git repository in /tmp/qemu-test/src/subprojects/dtc/.git/
+fatal: unable to access 'https://gitlab.com/qemu-project/dtc.git/': Could not resolve host: gitlab.com
+
+../meson.build:2090:16: ERROR: Git command failed: ['/usr/bin/git', 'fetch', '--depth', '1', 'origin', 'b6910bec11614980a21e46fbccc35934b671bd81']
+```"""
+reproduce = """1. `make docker-test-mingw@fedora-win64-cross V=1 J=4 DEBUG=1`
+2. `cd $QEMU_SRC`
+3. `mkdir build`
+4. `cd build`
+5. `../configure --cross-prefix=x86_64-w64-mingw32-`"""
+additional = """The problem can be worked around by changing the line
+
+```
+subprojects="keycodemapdb libvfio-user berkeley-softfloat-3 berkeley-testfloat-3"
+```
+
+to
+
+```
+subprojects="keycodemapdb libvfio-user berkeley-softfloat-3 berkeley-testfloat-3 dtc"
+```
+
+in `archive-source.sh`.
+
+Additionally, https://wiki.qemu.org/Hosts/W32#Docker_based_cross_builds is outdated.
+```
+make docker-test-mingw@fedora V=1 DEBUG=1 J=4
+```
+should be
+```
+make docker-test-mingw@fedora-win64-cross V=1 DEBUG=1 J=4
+```
+
+Additionally, i would suggest to create and enter build directory before calling configure and also add the make commands as shown in the "Steps to reproduce" section of this ticket."""