blob: e3cc21181f3baab092d76fa578741f23fd8c5f67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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."""
|