Public bug reported:

---Problem Description---
When trying to install ktap on 16.04 system, it failed:

% sudo apt-get install ktap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liblockfile-bin liblockfile1 linux-headers-4.4.0-2 
linux-headers-4.4.0-2-generic linux-image-4.4.0-2-generic 
linux-image-extra-4.4.0-2-generic lockfile-progs
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  dkms
The following NEW packages will be installed:
  dkms ktap
0 upgraded, 2 newly installed, 0 to remove and 26 not upgraded.
Need to get 182 kB of archives.
After this operation, 821 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial/main ppc64el dkms all 
2.2.0.3-2ubuntu9 [67.3 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial/universe ppc64el ktap ppc64el 
0.4+git20150927-1 [115 kB]
Fetched 182 kB in 1s (144 kB/s)
Preconfiguring packages ...
Selecting previously unselected package dkms.
(Reading database ... 146690 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-2ubuntu9_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu9) ...
Selecting previously unselected package ktap.
Preparing to unpack .../ktap_0.4+git20150927-1_ppc64el.deb ...
Unpacking ktap (0.4+git20150927-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up dkms (2.2.0.3-2ubuntu9) ...
Setting up ktap (0.4+git20150927-1) ...
Loading new ktapvm-0.4+git20150927-1 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-9-generic
Building initial module for 4.4.0-9-generic
Error! Bad return status for module build on kernel: 4.4.0-9-generic (ppc64le)
Consult /var/lib/dkms/ktapvm/0.4+git20150927-1/build/make.log for more 
information.
% cat /var/lib/dkms/ktapvm/0.4+git20150927-1/build/make.log
DKMS make.log for ktapvm-0.4+git20150927-1 for kernel 4.4.0-9-generic (ppc64le)
Thu Mar  3 20:29:32 CST 2016
make: Entering directory '/usr/src/linux-headers-4.4.0-9-generic'
    CHK libelf
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/Makefile:108: No libelf found, 
disables symbol resolving, please install elfutils-libelf-devel/libelf-dev
  LD      /var/lib/dkms/ktapvm/0.4+git20150927-1/build/built-in.o
  CC [M]  /var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/amalg.o
In file included from 
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/amalg.c:23:0:
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_obj.c: In function 
?kp_malloc?:
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_obj.c:47:8: error: 
?__GFP_WAIT? undeclared (first use in this function)
     & ~__GFP_WAIT)
        ^
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_obj.c:59:23: note: in 
expansion of macro ?KTAP_ALLOC_FLAGS?
  addr = kmalloc(size, KTAP_ALLOC_FLAGS);
                       ^
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_obj.c:47:8: note: each 
undeclared identifier is reported only once for each function it appears in
     & ~__GFP_WAIT)
        ^
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_obj.c:59:23: note: in 
expansion of macro ?KTAP_ALLOC_FLAGS?
  addr = kmalloc(size, KTAP_ALLOC_FLAGS);
                       ^
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_obj.c: In function 
?kp_zalloc?:
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_obj.c:47:8: error: 
?__GFP_WAIT? undeclared (first use in this function)
     & ~__GFP_WAIT)
        ^
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_obj.c:70:23: note: in 
expansion of macro ?KTAP_ALLOC_FLAGS?
  addr = kzalloc(size, KTAP_ALLOC_FLAGS);
                       ^
In file included from 
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_str.c:37:0,
                 from 
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/amalg.c:25:
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_events.h: At top level:
/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/kp_events.h:4:32: fatal 
error: linux/ftrace_event.h: No such file or directory
compilation terminated.
scripts/Makefile.build:258: recipe for target 
'/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/amalg.o' failed
make[1]: *** [/var/lib/dkms/ktapvm/0.4+git20150927-1/build/runtime/amalg.o] 
Error 1
Makefile:1396: recipe for target 
'_module_/var/lib/dkms/ktapvm/0.4+git20150927-1/build' failed
make: *** [_module_/var/lib/dkms/ktapvm/0.4+git20150927-1/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.0-9-generic'
 
---uname output---
Linux pinelp3 4.4.0-9-generic #24-Ubuntu SMP Mon Feb 29 19:28:28 UTC 2016 
ppc64le ppc64le ppc64le GNU/Linux
 
Machine Type = CHRP IBM,8408-E8E lpar 

---Steps to Reproduce---
 on 16.04 system run 'sudo apt-get install ktap'
 
Userspace tool common name: ktap 

ktap 0.4+git20150927-1

** Affects: ubuntu
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-138370 severity-high 
targetmilestone-inin1604

** Tags added: architecture-ppc64le bugnameltc-138370 severity-high
targetmilestone-inin1604

** Changed in: ubuntu
     Assignee: (unassigned) => Taco Screen team (taco-screen-team)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1554298

Title:
  ISST-LTE: pVM: installation of ktap failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1554298/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to