Public bug reported:
[Impact]
There are build errors in Xenial when trying to build a livepatch with
kpatch-build:
make[2]: Entering directory '/home/ubuntu/.kpatch/obj'
CC [M] /home/ubuntu/.kpatch/tmp/patch/patch-hook.o
In file included from /home/ubuntu/.kpatch/tmp/patch/patch-hook.c:21:0:
/home/ubuntu/.kpatch/tmp/patch/livepatch-patch-hook.c:244:7: warning:
"UTS_UBUNTU_RELEASE_ABI" is not defined [-Wundef]
UTS_UBUNTU_RELEASE_ABI >= 7 ) \
^
/home/ubuntu/.kpatch/tmp/patch/livepatch-patch-hook.c:264:7: warning:
"UTS_UBUNTU_RELEASE_ABI" is not defined [-Wundef]
UTS_UBUNTU_RELEASE_ABI >= 7 ) \
^
In file included from /home/ubuntu/.kpatch/tmp/patch/patch-hook.c:21:0:
/home/ubuntu/.kpatch/tmp/patch/livepatch-patch-hook.c: In function ‘patch_init’:
/home/ubuntu/.kpatch/tmp/patch/livepatch-patch-hook.c:268:10: error: ‘struct
klp_reloc’ has no member named ‘val’
lreloc->val = reloc->kdynrela->src;
^
This is because generated/utsrelease.h gets regenerated during the make
process and UTS_UBUNTU_RELEASE_ABI gets clobbered as it's generated in
the debian rules scripts.
[Test Case]
Try building a livepatch for Ubuntu/Xenial using kpatch-build
** Affects: kpatch (Ubuntu)
Importance: Medium
Assignee: Chris J Arges (arges)
Status: In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1560216
Title:
warning: "UTS_UBUNTU_RELEASE_ABI" is not defined [-Wundef]
UTS_UBUNTU_RELEASE_ABI >= 7 )
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kpatch/+bug/1560216/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs