Checkinstall 无法将 QEMU 打包到 deb

Checkinstall 无法将 QEMU 打包到 deb

我为我的 Raspberry pi 编译了 QEMU,并希望将其打包为 deb,这样我就不需要每次刷新时都编译它(需要几个小时)。但每次运行时sudo checkinstall都会出现错误(下面是我认为的错误,我将完整输出包含在文本文件中)

FAILED: meson-install 
/home/pi/.local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:172: run-ninja] Error 1
make[1]: Leaving directory '/home/pi/Documents/qemu/build'
make: *** [GNUmakefile:11: install] Error 2

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

pi@Twisterpi4-ultra-4gb:~/Documents/qemu $ 

完整输出:https://app.box.com/s/50lgoo1ibd59qlqim30tzczla2b6ibxq (不能以任何其他方式将其发布在这里,因为其如此长的堆栈交换认为其垃圾邮件)。

使用较新版本的 checkinstall 时的终端输出:

pi@Twisterpi4-ultra-4gb:~/Documents/qemu $ sudo checkinstall

checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: y

Preparing package documentation...OK

Please choose the packaging method you want to use.
Slackware [S], RPM [R] or Debian [D]? d


Please write a description for the package.
End your description with an empty line or EOF.
>> QEMU 2.5.50 armhf for the raspberry pi 4
>> 

*****************************************
**** Debian package creation selected ***
*****************************************

This package will be built according to these values: 

0 -  Maintainer: [ root@Twisterpi4-ultra-4gb ]
1 -  Summary: [ QEMU 2.5.50 armhf for the raspberry pi 4 ]
2 -  Name:    [ qemu ]
3 -  Version: [ 20210123 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ armhf ]
8 -  Source location: [ qemu ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Recommends: [  ]
12 - Suggests: [  ]
13 - Provides: [ qemu ]
14 - Conflicts: [  ]
15 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 3
Enter new version: 
>> 2.5.50

This package will be built according to these values: 

0 -  Maintainer: [ root@Twisterpi4-ultra-4gb ]
1 -  Summary: [ QEMU 2.5.50 armhf for the raspberry pi 4 ]
2 -  Name:    [ qemu ]
3 -  Version: [ 2.5.50 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ armhf ]
8 -  Source location: [ qemu ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Recommends: [  ]
12 - Suggests: [  ]
13 - Provides: [ qemu ]
14 - Conflicts: [  ]
15 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

========================= Installation results ===========================
changing dir to build for make "install"...
make[1]: Entering directory '/home/pi/Documents/qemu/build'
[1/144] Generating qemu-version.h with a custom command (wrapped by meson to capture output)
[1/2] Installing files.
Installing subdir /home/pi/Documents/qemu/qga/run to /usr/local/var/run
Installing trace/trace-events-all to /usr/local/share/qemu
Installing qemu-system-aarch64 to /usr/local/bin
Stripping target 'qemu-system-aarch64' using strip.
Installing qemu-system-alpha to /usr/local/bin
Stripping target 'qemu-system-alpha' using strip.
Installing qemu-system-arm to /usr/local/bin
Stripping target 'qemu-system-arm' using strip.
Installing qemu-system-avr to /usr/local/bin
Stripping target 'qemu-system-avr' using strip.
Installing qemu-system-cris to /usr/local/bin
Stripping target 'qemu-system-cris' using strip.
Installing qemu-system-hppa to /usr/local/bin
Stripping target 'qemu-system-hppa' using strip.
Installing qemu-system-i386 to /usr/local/bin
Stripping target 'qemu-system-i386' using strip.
Installing qemu-system-m68k to /usr/local/bin
Stripping target 'qemu-system-m68k' using strip.
Installing qemu-system-microblaze to /usr/local/bin
Stripping target 'qemu-system-microblaze' using strip.
Installing qemu-system-microblazeel to /usr/local/bin
Stripping target 'qemu-system-microblazeel' using strip.
Installing qemu-system-mips to /usr/local/bin
Stripping target 'qemu-system-mips' using strip.
Installing qemu-system-mips64 to /usr/local/bin
Stripping target 'qemu-system-mips64' using strip.
Installing qemu-system-mips64el to /usr/local/bin
Stripping target 'qemu-system-mips64el' using strip.
Installing qemu-system-mipsel to /usr/local/bin
Stripping target 'qemu-system-mipsel' using strip.
Installing qemu-system-moxie to /usr/local/bin
Stripping target 'qemu-system-moxie' using strip.
Installing qemu-system-nios2 to /usr/local/bin
Stripping target 'qemu-system-nios2' using strip.
Installing qemu-system-or1k to /usr/local/bin
Stripping target 'qemu-system-or1k' using strip.
Installing qemu-system-ppc to /usr/local/bin
Stripping target 'qemu-system-ppc' using strip.
Installing qemu-system-ppc64 to /usr/local/bin
Stripping target 'qemu-system-ppc64' using strip.
Installing qemu-system-riscv32 to /usr/local/bin
Stripping target 'qemu-system-riscv32' using strip.
Installing qemu-system-riscv64 to /usr/local/bin
Stripping target 'qemu-system-riscv64' using strip.
Installing qemu-system-rx to /usr/local/bin
Stripping target 'qemu-system-rx' using strip.
Installing qemu-system-s390x to /usr/local/bin
Stripping target 'qemu-system-s390x' using strip.
Installing qemu-system-sh4 to /usr/local/bin
Stripping target 'qemu-system-sh4' using strip.
Installing qemu-system-sh4eb to /usr/local/bin
Stripping target 'qemu-system-sh4eb' using strip.
Installing qemu-system-sparc to /usr/local/bin
Stripping target 'qemu-system-sparc' using strip.
Installing qemu-system-sparc64 to /usr/local/bin
Stripping target 'qemu-system-sparc64' using strip.
Installing qemu-system-tricore to /usr/local/bin
Stripping target 'qemu-system-tricore' using strip.
Installing qemu-system-x86_64 to /usr/local/bin
Stripping target 'qemu-system-x86_64' using strip.
Installing qemu-system-xtensa to /usr/local/bin
Stripping target 'qemu-system-xtensa' using strip.
Installing qemu-system-xtensaeb to /usr/local/bin
Stripping target 'qemu-system-xtensaeb' using strip.
Installing qemu-aarch64 to /usr/local/bin
Stripping target 'qemu-aarch64' using strip.
Installing qemu-aarch64_be to /usr/local/bin
Stripping target 'qemu-aarch64_be' using strip.
Installing qemu-alpha to /usr/local/bin
Stripping target 'qemu-alpha' using strip.
Installing qemu-arm to /usr/local/bin
Stripping target 'qemu-arm' using strip.
Installing qemu-armeb to /usr/local/bin
Stripping target 'qemu-armeb' using strip.
Installing qemu-cris to /usr/local/bin
Stripping target 'qemu-cris' using strip.
Installing qemu-hppa to /usr/local/bin
Stripping target 'qemu-hppa' using strip.
Installing qemu-i386 to /usr/local/bin
Stripping target 'qemu-i386' using strip.
Installing qemu-m68k to /usr/local/bin
Stripping target 'qemu-m68k' using strip.
Installing qemu-microblaze to /usr/local/bin
Stripping target 'qemu-microblaze' using strip.
Installing qemu-microblazeel to /usr/local/bin
Stripping target 'qemu-microblazeel' using strip.
Installing qemu-mips to /usr/local/bin
Stripping target 'qemu-mips' using strip.
Installing qemu-mips64 to /usr/local/bin
Stripping target 'qemu-mips64' using strip.
Installing qemu-mips64el to /usr/local/bin
Stripping target 'qemu-mips64el' using strip.
Installing qemu-mipsel to /usr/local/bin
Stripping target 'qemu-mipsel' using strip.
Installing qemu-mipsn32 to /usr/local/bin
Stripping target 'qemu-mipsn32' using strip.
Installing qemu-mipsn32el to /usr/local/bin
Stripping target 'qemu-mipsn32el' using strip.
Installing qemu-nios2 to /usr/local/bin
Stripping target 'qemu-nios2' using strip.
Installing qemu-or1k to /usr/local/bin
Stripping target 'qemu-or1k' using strip.
Installing qemu-ppc to /usr/local/bin
Stripping target 'qemu-ppc' using strip.
Installing qemu-ppc64 to /usr/local/bin
Stripping target 'qemu-ppc64' using strip.
Installing qemu-ppc64le to /usr/local/bin
Stripping target 'qemu-ppc64le' using strip.
Installing qemu-riscv32 to /usr/local/bin
Stripping target 'qemu-riscv32' using strip.
Installing qemu-riscv64 to /usr/local/bin
Stripping target 'qemu-riscv64' using strip.
Installing qemu-s390x to /usr/local/bin
Stripping target 'qemu-s390x' using strip.
Installing qemu-sh4 to /usr/local/bin
Stripping target 'qemu-sh4' using strip.
Installing qemu-sh4eb to /usr/local/bin
Stripping target 'qemu-sh4eb' using strip.
Installing qemu-sparc to /usr/local/bin
Stripping target 'qemu-sparc' using strip.
Installing qemu-sparc32plus to /usr/local/bin
Stripping target 'qemu-sparc32plus' using strip.
Installing qemu-sparc64 to /usr/local/bin
Stripping target 'qemu-sparc64' using strip.
Installing qemu-x86_64 to /usr/local/bin
Stripping target 'qemu-x86_64' using strip.
Installing qemu-xtensa to /usr/local/bin
Stripping target 'qemu-xtensa' using strip.
Installing qemu-xtensaeb to /usr/local/bin
Stripping target 'qemu-xtensaeb' using strip.
Installing qga/qemu-ga to /usr/local/bin
Stripping target 'qga/qemu-ga' using strip.
Installing qemu-keymap to /usr/local/bin
Stripping target 'qemu-keymap' using strip.
Installing qemu-img to /usr/local/bin
Stripping target 'qemu-img' using strip.
Installing qemu-io to /usr/local/bin
Stripping target 'qemu-io' using strip.
Installing qemu-nbd to /usr/local/bin
Stripping target 'qemu-nbd' using strip.
Installing storage-daemon/qemu-storage-daemon to /usr/local/bin
Stripping target 'storage-daemon/qemu-storage-daemon' using strip.
Installing contrib/elf2dmp/elf2dmp to /usr/local/bin
Stripping target 'contrib/elf2dmp/elf2dmp' using strip.
Installing qemu-edid to /usr/local/bin
Stripping target 'qemu-edid' using strip.
Installing contrib/vhost-user-gpu/vhost-user-gpu to /usr/local/libexec
Stripping target 'contrib/vhost-user-gpu/vhost-user-gpu' using strip.
Installing qemu-bridge-helper to /usr/local/libexec
Stripping target 'qemu-bridge-helper' using strip.
Installing qemu-pr-helper to /usr/local/bin
Stripping target 'qemu-pr-helper' using strip.
Installing pc-bios/edk2-aarch64-code.fd to /usr/local/share/qemu
Installing pc-bios/edk2-arm-code.fd to /usr/local/share/qemu
Installing pc-bios/edk2-arm-vars.fd to /usr/local/share/qemu
Installing pc-bios/edk2-i386-code.fd to /usr/local/share/qemu
Installing pc-bios/edk2-i386-secure-code.fd to /usr/local/share/qemu
Installing pc-bios/edk2-i386-vars.fd to /usr/local/share/qemu
Installing pc-bios/edk2-x86_64-code.fd to /usr/local/share/qemu
Installing pc-bios/edk2-x86_64-secure-code.fd to /usr/local/share/qemu
Installing pc-bios/keymaps/ar to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/bepo to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/cz to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/da to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/de to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/de-ch to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/en-gb to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/en-us to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/es to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/et to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/fi to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/fo to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/fr to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/fr-be to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/fr-ca to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/fr-ch to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/hr to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/hu to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/is to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/it to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/ja to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/lt to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/lv to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/mk to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/nl to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/no to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/pl to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/pt to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/pt-br to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/ru to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/th to /usr/local/share/qemu/keymaps
Installing pc-bios/keymaps/tr to /usr/local/share/qemu/keymaps
Installing /home/pi/Documents/qemu/ui/icons/qemu_16x16.png to /usr/local/share/icons/hicolor/16x16/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu_24x24.png to /usr/local/share/icons/hicolor/24x24/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu_32x32.png to /usr/local/share/icons/hicolor/32x32/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu_48x48.png to /usr/local/share/icons/hicolor/48x48/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu_64x64.png to /usr/local/share/icons/hicolor/64x64/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu_128x128.png to /usr/local/share/icons/hicolor/128x128/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu_256x256.png to /usr/local/share/icons/hicolor/256x256/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu_512x512.png to /usr/local/share/icons/hicolor/512x512/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu_32x32.bmp to /usr/local/share/icons/hicolor/32x32/apps
Installing /home/pi/Documents/qemu/ui/icons/qemu.svg to /usr/local/share/icons/hicolor/scalable/apps
Installing /home/pi/Documents/qemu/ui/qemu.desktop to /usr/local/share/applications
Installing /home/pi/Documents/qemu/build/contrib/vhost-user-gpu/50-qemu-gpu.json to /usr/local/share/qemu/vhost-user
Installing /home/pi/Documents/qemu/pc-bios/bios.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/bios-256k.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/bios-microvm.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/qboot.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/sgabios.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios-cirrus.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios-stdvga.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios-vmware.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios-qxl.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios-virtio.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios-ramfb.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios-bochs-display.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/vgabios-ati.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/openbios-sparc32 to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/openbios-sparc64 to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/openbios-ppc to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/QEMU,tcx.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/QEMU,cgthree.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/pxe-e1000.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/pxe-eepro100.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/pxe-ne2k_pci.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/pxe-pcnet.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/pxe-rtl8139.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/pxe-virtio.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/efi-e1000.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/efi-eepro100.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/efi-ne2k_pci.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/efi-pcnet.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/efi-rtl8139.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/efi-virtio.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/efi-e1000e.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/efi-vmxnet3.rom to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/qemu-nsis.bmp to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/bamboo.dtb to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/canyonlands.dtb to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/petalogix-s3adsp1800.dtb to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/petalogix-ml605.dtb to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/multiboot.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/linuxboot.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/linuxboot_dma.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/kvmvapic.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/pvh.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/s390-ccw.img to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/s390-netboot.img to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/slof.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/skiboot.lid to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/palcode-clipper to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/u-boot.e500 to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/u-boot-sam460-20100605.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/qemu_vga.ndrv to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/edk2-licenses.txt to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/hppa-firmware.img to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/opensbi-riscv32-generic-fw_dynamic.elf to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/opensbi-riscv64-generic-fw_dynamic.elf to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/pc-bios/npcm7xx_bootrom.bin to /usr/local/share/qemu
Installing /home/pi/Documents/qemu/build/pc-bios/descriptors/50-edk2-i386-secure.json to /usr/local/share/qemu/firmware
Installing /home/pi/Documents/qemu/build/pc-bios/descriptors/50-edk2-x86_64-secure.json to /usr/local/share/qemu/firmware
Installing /home/pi/Documents/qemu/build/pc-bios/descriptors/60-edk2-aarch64.json to /usr/local/share/qemu/firmware
Installing /home/pi/Documents/qemu/build/pc-bios/descriptors/60-edk2-arm.json to /usr/local/share/qemu/firmware
Installing /home/pi/Documents/qemu/build/pc-bios/descriptors/60-edk2-i386.json to /usr/local/share/qemu/firmware
Installing /home/pi/Documents/qemu/build/pc-bios/descriptors/60-edk2-x86_64.json to /usr/local/share/qemu/firmwareTraceback (most recent call last):
  File "/home/pi/.local/bin/meson", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/dist-packages/mesonbuild/mesonmain.py", line 228, in main
    return run(sys.argv[1:], launcher)
  File "/usr/local/lib/python3.7/dist-packages/mesonbuild/mesonmain.py", line 217, in run
    return run_script_command(args[1], args[2:])
  File "/usr/local/lib/python3.7/dist-packages/mesonbuild/mesonmain.py", line 165, in run_script_command
    return module.run(script_args)
  File "/usr/local/lib/python3.7/dist-packages/mesonbuild/scripts/gettext.py", line 120, in run
    do_install(src_sub, bld_sub, dest, options.pkgname, langs)
  File "/usr/local/lib/python3.7/dist-packages/mesonbuild/scripts/gettext.py", line 87, in do_install
    shutil.copystat(srcfile, tempfile)
  File "/usr/lib/python3.7/shutil.py", line 205, in copystat
    follow_symlinks=follow)
FileNotFoundError: [Errno 2] No such file or directory

Installing /home/pi/Documents/qemu/pc-bios/keymaps/sl to /usr/local/share/qemu/keymaps
Installing /home/pi/Documents/qemu/pc-bios/keymaps/sv to /usr/local/share/qemu/keymaps
Running custom install script '/home/pi/.local/bin/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=qemu'
FAILED: meson-install 
/home/pi/.local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:172: run-ninja] Error 1
make[1]: Leaving directory '/home/pi/Documents/qemu/build'
make: *** [GNUmakefile:11: install] Error 2

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

pi@Twisterpi4-ultra-4gb:~/Documents/qemu $ 

我使用的是最新的 TwisterOS (RPiOS) 32 位,在 pi4 4gb 上运行。我尝试编译 checkinstall 但遇到了同样的错误。

编辑:我编译了 QEMU 并使用 checkinstall 在 Linux x86 机器上打包它,它工作得很好。

任何帮助表示赞赏!

答案1

这与 checkinstall 没有任何关系,我放弃了尝试,而是手动构建了 deb 并编写了一个脚本来执行此操作:https://github.com/Itai-Nelken/qemu2deb 在 RPiOS arm64 beta 上 checkinstall 工作得很好。

希望这可以帮助。

相关内容