Bug#399399: FTBFS etch: linux/ip_fw.h: No such file or directory

2006-11-22 Thread Goswin von Brederlow
Steve Langasek [EMAIL PROTECTED] writes:

 On Sun, Nov 19, 2006 at 04:09:01PM +0100, Goswin von Brederlow wrote:
 rebuilding ipmasqadm under etch fails with

 gcc  -Wall -O2 -I /usr/include -I../include -I/debian/include -fPIC 
 -DLIBDIR=\/usr/lib/ipmasqadm\   -c -o ip_masq_ioctl.o ip_masq_ioctl.c
 ip_masq_ioctl.c:14:27: error: linux/ip_masq.h: No such file or directory
 In file included from ip_masq_ioctl.c:16:
 ../include/ipmasqctl.h:33:25: error: linux/ip_fw.h: No such file or directory
 make[2]: *** [ip_masq_ioctl.o] Error 1
 make[2]: Leaving directory 
 `/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2/lib'
 make[1]: *** [lib] Error 2

 Are you maybe missing a versioned build-depends on linux-kernel-headers?

 No, the current version of l-k-h doesn't provide these headers.

 Are you building with -rsudo?  The -I/debian/include looks suspiciously like
 a truncated $(PWD)/debian/include.

I build with debuild, which should be using fakeroot. But if that gets
removed from a chroot or I forget to reinstall it after testing to
build with sudo then sudo will be used.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#399399: FTBFS etch: linux/ip_fw.h: No such file or directory

2006-11-19 Thread Goswin von Brederlow
Package: ipmasqadm
Version: 0.4.2-2.1
Severity: serious
Justification: no longer builds from source

Hi,

rebuilding ipmasqadm under etch fails with

gcc  -Wall -O2 -I /usr/include -I../include -I/debian/include -fPIC 
-DLIBDIR=\/usr/lib/ipmasqadm\   -c -o ip_masq_ioctl.o ip_masq_ioctl.c
ip_masq_ioctl.c:14:27: error: linux/ip_masq.h: No such file or directory
In file included from ip_masq_ioctl.c:16:
../include/ipmasqctl.h:33:25: error: linux/ip_fw.h: No such file or directory
make[2]: *** [ip_masq_ioctl.o] Error 1
make[2]: Leaving directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2/lib'
make[1]: *** [lib] Error 2

Are you maybe missing a versioned build-depends on linux-kernel-headers?

A full build log is attached.

MfG
Goswin

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-frosties-2
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  debhelper file gettext gettext-base html2text intltool-debian libmagic1
  po-debconf
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 3187kB of archives.
After unpacking 10.9MB of additional disk space will be used.
Get:1 http://storage etch/main gettext-base 0.15-3 [127kB]
Get:2 http://storage etch/main libmagic1 4.17-4 [277kB]
Get:3 http://storage etch/main file 4.17-4 [32.0kB]
Get:4 http://storage etch/main html2text 1.3.2a-3 [92.7kB]
Get:5 http://storage etch/main gettext 0.15-3 [2012kB]
Get:6 http://storage etch/main intltool-debian 0.35.0+20060710.1 [30.8kB]
Get:7 http://storage etch/main po-debconf 1.0.7 [106kB]
Get:8 http://storage etch/main debhelper 5.0.40 [510kB]
Fetched 3187kB in 0s (36.0MB/s)
Selecting previously deselected package gettext-base.
(Reading database ... 11642 files and directories currently installed.)
Unpacking gettext-base (from .../gettext-base_0.15-3_amd64.deb) ...
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_4.17-4_amd64.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.17-4_amd64.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_amd64.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.15-3_amd64.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) 
...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.7_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.40_all.deb) ...
Setting up gettext-base (0.15-3) ...

Setting up libmagic1 (4.17-4) ...

Setting up file (4.17-4) ...
Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.15-3) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.7) ...
Setting up debhelper (5.0.40) ...
Reading package lists...
Building dependency tree...
Need to get 25.3kB of source archives.
Get:1 http://storage etch/main ipmasqadm 0.4.2-2.1 (dsc) [558B]
Get:2 http://storage etch/main ipmasqadm 0.4.2-2.1 (tar) [19.0kB]
Get:3 http://storage etch/main ipmasqadm 0.4.2-2.1 (diff) [5751B]
dpkg-source: extracting ipmasqadm in ipmasqadm-0.4.2
dpkg-source: unpacking ipmasqadm_0.4.2.orig.tar.gz
dpkg-source: applying ./ipmasqadm_0.4.2-2.1.diff.gz
Fetched 25.3kB in 0s (626kB/s)
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2'
make[2]: Entering directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2/lib'
rm -f *.[oa] core
make[2]: Leaving directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2/lib'
make[2]: Entering directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2/modules'
rm -f *.so *.o
make[2]: Leaving directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2/modules'
make[2]: Entering directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2/ipmasqadm'
rm -f *.o core ipmasqadm
make[2]: Leaving directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2/ipmasqadm'
#rm -f ipmasqadm *.o *.so core
make[1]: Leaving directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2'
dh_clean
dh_clean: Compatibility levels before 4 are deprecated.
 debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make XCFLAGS=-I/debian/include
make[1]: Entering directory 
`/home/mrvn/build/ipmasqadm_0.4.2-2.1/ipmasqadm-0.4.2'
[EMAIL PROTECTED] -f /usr/include/linux/ip_masq.h
#include in debian/ now