CAPEv2
CAPEv2 copied to clipboard
ERROR: No subproject or keycodemapdb
I get error When I execute kvm-qemu.sh script
sudo ./kvm-qemu.sh all
.....
Program vgscan found: YES (/sbin/vgscan)
Program pvs found: YES (/sbin/pvs)
Program vgs found: YES (/sbin/vgs)
Program lvs found: YES (/sbin/lvs)
Program dtrace found: YES (/usr/bin/dtrace)
Program systemctl found: YES (/usr/bin/systemctl)
Check usable header "nss.h" : YES
Checking for type "struct gaih_addrtuple" : YES
Checking for type "ns_mtab" : NO
Program numad found: YES (/usr/bin/numad)
ERROR: Subproject keycodemapdb is buildable: NO
meson.build:2139:15: ERROR: Neither a subproject directory nor a keycodemapdb.wrap file was found.
A full log can be found at /tmp/libvirt-11.1.0/build/meson-logs/meson-log.txt
ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory
ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory
\033[0;31mFailed. Read the instalation log for details\033[0m
https://github.com/libvirt/libvirt/blob/master/subprojects/keycodemapdb not found
log cat /tmp/libvirt-11.1.0/build/meson-logs/meson-log.txt
......
Working directory: /tmp/libvirt-11.1.0/build/meson-private/tmpppuwlk9o
Code:
#include <nsswitch.h>
void bar(void) {
(void) sizeof(ns_mtab);
}
-----------
Command line: `cc /tmp/libvirt-11.1.0/build/meson-private/tmpppuwlk9o/testfile.c -o /tmp/libvirt-11.1.0/build/meson-private/tmpppuwlk9o/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -std=gnu99` -> 1
stderr:
/tmp/libvirt-11.1.0/build/meson-private/tmpppuwlk9o/testfile.c:1:10: fatal error: nsswitch.h: No such file or directory
1 | #include <nsswitch.h>
| ^~~~~~~~~~~~
compilation terminated.
-----------
Checking for type "ns_mtab" : NO
Program numad found: YES (/usr/bin/numad)
ERROR: Subproject keycodemapdb is buildable: NO
meson.build:2139:15: ERROR: Neither a subproject directory nor a keycodemapdb.wrap file was found.
I don't know how to solve this problem.
os: ubuntu 24.04
Hi, i cant reproduce that. Just tested the installer on fresh ubuntu 24.04 desktop machine.
- wget https://raw.githubusercontent.com/kevoreilly/CAPEv2/refs/heads/master/installer/kvm-qemu.sh
- chmod +x kvm-qemu.sh
- Replace <WOOT> in kvm-qemu.sh
- as cape-user: sudo ./kvm-qemu.sh all | tee kvm-qemu.log
kvm-qemu.sh log:
...
Program vgscan found: YES (/sbin/vgscan)
Program pvs found: YES (/sbin/pvs)
Program vgs found: YES (/sbin/vgs)
Program lvs found: YES (/sbin/lvs)
Program dtrace found: YES (/usr/bin/dtrace)
Program systemctl found: YES (/usr/bin/systemctl)
Check usable header "nss.h" : YES
Checking for type "struct gaih_addrtuple" : YES
Checking for type "ns_mtab" : NO
Program numad found: YES (/usr/bin/numad)
Executing subproject keycodemapdb
keycodemapdb| Project name: keycodemapdb
keycodemapdb| Project version: undefined
keycodemapdb| Program tools/keymap-gen found: YES (/tmp/libvirt-11.1.0/subprojects/keycodemapdb/tools/keymap-gen)
keycodemapdb| Build targets in project: 0
keycodemapdb| Subproject keycodemapdb finished.
Program apibuild.py found: YES (/tmp/libvirt-11.1.0/scripts/apibuild.py)
...
meson-log.txt:
...
Checking for type "ns_mtab" : NO
Program numad found: YES (/usr/bin/numad)
Executing subproject keycodemapdb
Project name: keycodemapdb
Project version: undefined
Program tools/keymap-gen found: YES (/tmp/libvirt-11.1.0/subprojects/keycodemapdb/tools/keymap-gen)
Build targets in project: 0
Subproject keycodemapdb finished.
Program apibuild.py found: YES (/tmp/libvirt-11.1.0/scripts/apibuild.py)
...
Maybe u can check if /tmp/libvirt-11.1.0/subprojects/keycodemapdb/tools/keymap-gen is missing somhow
i neither can reproduce it