1.2.11 release not resolving ip_vs.h:14:29: fatal error

Brian Menges <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
I was attempting to refresh a Debian package using 1.2.10 and then now 1.2.11 so that we can get a gratuitous ARP fix committed in 1.2.10, however after downloading the 1.2.10 and 1.2.11 sources, the packages won't build despite me thinking the dependencies have been satisified.

My current build system is Debian Jessie (testing). The error is as follows:
-----
In file included from libipvs.h:13:0,
                 from libipvs.c:23:
ip_vs.h:14:29: fatal error: netlink/netlink.h: No such file or directory
#include <netlink/netlink.h>
                             ^
make[3]: Entering directory `/home/[REDACTED]/keepalived-1.2.11/keepalived/libipvs-2.6'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -DFEAT_SHA1 -D_FORTIFY_SOURCE=2 -Idebian//include -Idebian//include -DLIBIPVS_USE_NL -Wall -Wunused -c -o libipvs.o libipvs.c
In file included from libipvs.h:13:0,
                 from libipvs.c:23:
ip_vs.h:14:29: fatal error: netlink/netlink.h: No such file or directory
#include <netlink/netlink.h>
                             ^
compilation terminated.
make[3]: *** [libipvs.o] Error 1
make[3]: Leaving directory `/home/[REDACTED]/keepalived-1.2.11/keepalived/libipvs-2.6'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/[REDACTED]/keepalived-1.2.11/keepalived'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/[REDACTED]/keepalived-1.2.11'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----

Steps to reproduce:

1.       apt-get build-dep keepalived

2.       apt-get install fakeroot devscripts dchroot-dsa dchroot

3.       apt-get install libnl-3-200 libnl-3-dev libnl-cli-3-200 libnl-cli-3-dev libnl-genl-3-200 libnl-genl-3-dev libnl-nf-3-200 libnl-nf-3-dev libnl-route-3-200 libnl-route-3-dev
[ make sure I have libnl-3 development packages covered ]

4.       apt-get source keepalived

5.       wget http://keepalived.org/software/keepalived-1.2.11.tar.gz -O keepalived_1.2.11.orig.tar.gz<http://keepalived.org/software/keepalived-1.2.11.tar.gz%20-O%20keepalived_1.2.11.orig.tar.gz>
[ also attempted the same with 1.2.10 with relative file naming scheme ]

6.       tar -zxf keepalived_1.2.11.orig.tar.gz

7.       tar -zxf keepalived_1.2.9-1.debian.tar.gz

8.       mv debian keepalived-1.2.11

9.       dch -i
[ make updates ]

10.   debuild -us -uc -b
[ error ]

I also tried straight extraction of the source tar.gz without applying Debian resources to the source tree and compiling, same problem.

Wondering if someone could help out here, really need to get this gratuitous ARP patch and built into a DEB package.

- Brian Menges
Principal Engineer, DevOps
GoGrid | ServePath | ColoServe | UpStream Networks


________________________________

The information contained in this message, and any attachments, may contain confidential and legally privileged material. It is solely for the use of the person or entity to which it is addressed. Any review, retransmission, dissemination, or action taken in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from any computer.

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.