summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/848.toml
blob: d7fe0c089351115484c038dcf4dd8b892f0daaf7 (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
id = 848
title = "`checkinstall` on Devuan Chimaera (equiv to Debian Bullseye) fails with `FileNotFoundError:`"
state = "closed"
created_at = "2022-01-31T00:24:21.952Z"
closed_at = "2022-10-05T14:13:44.526Z"
labels = ["Build System"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/848"
host-os = "Devuan Chimaera (equiv to Debian Bullseye)"
host-arch = "amd64"
qemu-version = "tested with source for v6.1.1 and v6.1.0"
guest-os = "n/a"
guest-arch = "n/a"
description = """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.

```"""
reproduce = "n/a"
additional = """- 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."""