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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
graphic: 0.956
peripherals: 0.954
register: 0.940
device: 0.931
mistranslation: 0.926
architecture: 0.923
network: 0.918
files: 0.917
socket: 0.917
assembly: 0.913
semantic: 0.905
ppc: 0.895
risc-v: 0.894
permissions: 0.884
debug: 0.879
arm: 0.878
boot: 0.869
performance: 0.864
i386: 0.855
vnc: 0.851
hypervisor: 0.847
TCG: 0.844
PID: 0.837
virtual: 0.828
user-level: 0.823
kernel: 0.818
x86: 0.805
KVM: 0.781
VMM: 0.775
`checkinstall` on Devuan Chimaera (equiv to Debian Bullseye) fails with `FileNotFoundError:`
Description of problem:
Configure and compile work without errors, but `checkinstall` fails with following error.
```
Installing with make install...
========================= Installation results ===========================
changing dir to build for make "install"...
make[1]: Entering directory '/root/go/src/github.com/qemu/qemu/build'
GIT ui/keycodemapdb meson tests/fp/berkeley-testfloat-3 tests/fp/berkeley-softfloat-3 dtc capstone slirp
[1/20] Generating qemu-version.h with a meson_exe.py custom command
[1/2] Installing files.
Traceback (most recent call last):
File "/root/go/src/github.com/qemu/qemu/meson/mesonbuild/mesonmain.py", line 140, in run
return options.run_func(options)
File "/root/go/src/github.com/qemu/qemu/meson/mesonbuild/minstall.py", line 544, in run
installer.do_install(datafilename)
File "/root/go/src/github.com/qemu/qemu/meson/mesonbuild/minstall.py", line 362, in do_install
self.install_targets(d)
File "/root/go/src/github.com/qemu/qemu/meson/mesonbuild/minstall.py", line 472, in install_targets
file_copied = self.do_copyfile(fname, outname, makedirs=(d.dirmaker, outdir))
File "/root/go/src/github.com/qemu/qemu/meson/mesonbuild/minstall.py", line 277, in do_copyfile
shutil.copystat(from_file, to_file)
File "/usr/lib/python3.9/shutil.py", line 375, in copystat
lookup("utime")(dst, ns=(st.st_atime_ns, st.st_mtime_ns),
FileNotFoundError: [Errno 2] No such file or directory
Installing subdir /root/go/src/github.com/qemu/qemu/qga/run to /usr/local/var/run
Installing trace/trace-events-all to /usr/local/share/qemu
FAILED: meson-install
/usr/bin/python3 /root/go/src/github.com/qemu/qemu/meson/meson.py install --no-rebuild
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:156: run-ninja] Error 1
make[1]: Leaving directory '/root/go/src/github.com/qemu/qemu/build'
make: *** [GNUmakefile:11: install] Error 2
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
```
Additional information:
- All packages from [requirements](https://wiki.qemu.org/Hosts/Linux#Fedora_Linux_.2F_Debian_GNU_Linux_.2F_Ubuntu_Linux_.2F_Linux_Mint_distributions) installed.
- command `utime` is available from `atfs` package
I believe error may be related to the `from_file`/`to_file`in: `meson/mesonbuild/minstall.py` line 277.
|