blob: a0aa355fedecc0f329cad972eff34ac3e5de216a (
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
56
57
58
59
60
61
62
|
debug: 0.906
device: 0.838
files: 0.826
PID: 0.821
graphic: 0.815
performance: 0.802
socket: 0.775
network: 0.744
semantic: 0.737
permissions: 0.673
vnc: 0.601
other: 0.512
boot: 0.473
KVM: 0.290
W32 Docker build fails
Description of problem:
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']
```
Steps to 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 information:
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.
|