Bug#700008: FTBFS: strip.c:24:28: fatal error: linux/if_strip.h: No such file or directory

Adam Borowski kilobyte at angband.pl
Thu Feb 7 10:58:29 UTC 2013


Package: src:net-tools
Version: 1.60-24.2
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Apparently, STRIP support is now an unthing, and kernel headers no longer
have it.

Ubuntu have already patched it; from their patch:

diff -pruN 1.60-24.2/debian/config.h 1.60-24.2ubuntu1/debian/config.h
--- 1.60-24.2/debian/config.h	2012-12-04 01:05:53.000000000 +0000
+++ 1.60-24.2ubuntu1/debian/config.h	2012-12-04 01:05:54.000000000 +0000
@@ -49,8 +49,8 @@
 #define HAVE_HWSLIP 1
 #define HAVE_HWPPP 1
 #define HAVE_HWTUNNEL 1
-#define HAVE_HWSTRIP 1
-#define HAVE_HWTR 1
+#define HAVE_HWSTRIP 0
+#define HAVE_HWTR 0
 #define HAVE_HWAX25 1
 #define HAVE_HWROSE 1
 #define HAVE_HWNETROM 1
diff -pruN 1.60-24.2/debian/config.make 1.60-24.2ubuntu1/debian/config.make
--- 1.60-24.2/debian/config.make	2012-12-04 01:05:53.000000000 +0000
+++ 1.60-24.2ubuntu1/debian/config.make	2012-12-04 01:05:54.000000000 +0000
@@ -16,8 +16,8 @@ HAVE_HWARC=1
 HAVE_HWSLIP=1
 HAVE_HWPPP=1
 HAVE_HWTUNNEL=1
-HAVE_HWSTRIP=1
-HAVE_HWTR=1
+HAVE_HWSTRIP=0
+HAVE_HWTR=0
 HAVE_HWAX25=1
 HAVE_HWROSE=1
 HAVE_HWNETROM=1

which makes net-tools build again.


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.1-x32 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-net-tools-maintainers mailing list