-
-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keepalived Docker Image Build Failed #2384
Comments
As it says above, your system appears to be missing <asm/types.h>
However, checking the code, the check for that file appears to be superfluous, since the presence of the file defines HAVE_ASM_TYPE_H, but the keepalived code never tests for that definition. Can you please edit your configure.ac at around line 1168 to change If this fixes your problem, I will push a patch to remove the check for asm/types.h. |
Hi @pqarmitage The error log is as follows:
|
You appear not to have the kernel-headers package (or whatever your distro calls the package) installed. Although the check |
Following looking at this issue I realised that some kernel header files where checked (in configure) and included at compile time when they weren't needed (i.e. if building without VRRP or IPVS functionality). Commit 6eb9303 tidies that up. |
Hi @pqarmitage |
I wouldn't expect the modifications I made to resolve your problem, it was just some tidying up that I noticed could be done. I notice in the logs you provide that there are 27 packages upgraded/installed. I don't know where it is specified what packages should be installed, but you need to add the kernel-headers package into the list of installed packages. |
@pqarmitage
|
Unfortunately I have no experience of using Docker, and next to no experience of Alpine. A google search for "alpine linux kernel headers package" suggests that the kernel headers package is called linux-headers. It would seem likely that in the |
Describe the bug
keepalived Docker Image Build Failed
Log entries
The text was updated successfully, but these errors were encountered: