Package Details: ktap-utils-git v0.4.r130.gfca420f-1

Git Clone URL: https://aur.archlinux.org/ktap-git.git (read-only)
Package Base: ktap-git
Description: KTAP kernel module, userpace tool and Vim plugin
Upstream URL: https://github.com/ktap/ktap
Licenses: GPL
Submitter: jimenezrick
Maintainer: jimenezrick
Last Packager: jimenezrick
Votes: 0
Popularity: 0.000000
First Submitted: 2015-12-06 20:42
Last Updated: 2015-12-06 20:42

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

ackalker commented on 2016-09-10 14:43

After building and installing the ktap-git package, I found that the kernel module dependencies had not been updated. I fixed this by changing the ktap-git.install script like so:

post_install () {
depmod
}

post_upgrade() {
post_install
}

I noticed that pacman's DKMS hook gets triggered whenever I install ktap-git package. Perhaps it's an idea to provide a DKMS configuration for the ktapvm kernel module, this would take care of updating module dependencies as well as rebuilding on kernel package upgrades.

tomjakubowski commented on 2016-04-04 06:48

I get the following error building this package:

==> ERROR: source should be an array
The build failed.

Placing parentheses around the source let the build proceed, although I hit another error:

==> Starting build()...
CHK libelf
make -C /lib/modules/4.4.5-1-ARCH/build M=/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap modules
make[1]: Entering directory '/usr/lib/modules/4.4.5-1-ARCH/build'
CHK libelf
CC [M] /tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/amalg.o
In file included from /tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/amalg.c:23:0:
/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/kp_obj.c: In function ‘kp_malloc’:
/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/kp_obj.c:47:8: error: ‘__GFP_WAIT’ undeclared (first use in this function)
& ~__GFP_WAIT)
^
/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/kp_obj.c:59:23: note: in expansion of macro ‘KTAP_ALLOC_FLAGS’
addr = kmalloc(size, KTAP_ALLOC_FLAGS);
^
/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/kp_obj.c:47:8: note: each undeclared identifier is reported only once for each function it appears in
& ~__GFP_WAIT)
^
/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/kp_obj.c:59:23: note: in expansion of macro ‘KTAP_ALLOC_FLAGS’
addr = kmalloc(size, KTAP_ALLOC_FLAGS);
^
/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/kp_obj.c: In function ‘kp_zalloc’:
/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/kp_obj.c:47:8: error: ‘__GFP_WAIT’ undeclared (first use in this function)
& ~__GFP_WAIT)
^
/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/kp_obj.c:70:23: note: in expansion of macro ‘KTAP_ALLOC_FLAGS’
addr = kzalloc(size, KTAP_ALLOC_FLAGS);
^
scripts/Makefile.build:258: recipe for target '/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/amalg.o' failed
make[2]: *** [/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap/runtime/amalg.o] Error 1
Makefile:1384: recipe for target '_module_/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap' failed
make[1]: *** [_module_/tmp/packerbuild-1000/ktap-git/ktap-git/src/ktap] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.4.5-1-ARCH/build'
Makefile:69: recipe for target 'mod' failed
make: *** [mod] Error 2