Bug#835591: tcpcopy: FTBFS: xcopy.h:14:43: fatal error: linux/netfilter_ipv4/ip_queue.h: No such file or directory

Chris Lamb lamby at debian.org
Sat Aug 27 10:44:55 UTC 2016


Source: tcpcopy
Version: 0.6.3-2.1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

tcpcopy fails to build from source in unstable/amd64:

  [..]

  Preparing to unpack .../09-libxtables-dev_1.6.0-3_amd64.deb ...
  Unpacking libxtables-dev (1.6.0-3) ...
  Selecting previously unselected package iptables-dev.
  Preparing to unpack .../10-iptables-dev_1.6.0-3_all.deb ...
  Unpacking iptables-dev (1.6.0-3) ...
  Setting up libip4tc0:amd64 (1.6.0-3) ...
  Setting up libxtables11:amd64 (1.6.0-3) ...
  Setting up libpcap0.8-dev (1.7.4-2) ...
  Processing triggers for libc-bin (2.23-5) ...
  Setting up libpcap-dev (1.7.4-2) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up libip6tc0:amd64 (1.6.0-3) ...
  Setting up libxtables-dev (1.6.0-3) ...
  Setting up libiptc0:amd64 (1.6.0-3) ...
  Setting up libip4tc-dev (1.6.0-3) ...
  Setting up libip6tc-dev (1.6.0-3) ...
  Setting up libiptc-dev (1.6.0-3) ...
  Setting up iptables-dev (1.6.0-3) ...
  Setting up tcpcopy-build-deps (0.6.3-2.1) ...
  Processing triggers for libc-bin (2.23-5) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=d2b8cedecf14
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3
  OLDPWD=/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building tcpcopy 0.6.3-2.1 on amd64                                              **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package tcpcopy
  dpkg-buildpackage: info: source version 0.6.3-2.1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by gregor herrmann <gregoa at debian.org>
   dpkg-source --before-build tcpcopy-0.6.3
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean
     dh_testdir
     dh_auto_clean
     dh_clean
  	rm -f debian/debhelper-build-stamp
  	rm -f debian/tcpcopy.substvars
  	rm -f debian/tcpcopy.*.debhelper
  	rm -rf debian/tcpcopy/
  	rm -rf debian/.debhelper/
  	rm -f debian/*.debhelper.log
  	rm -f debian/files
  	find .  \( \( \
  		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
  	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
  		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
  		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
  		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
  		\) -exec rm -f {} + \) -o \
  		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
  	rm -f *-stamp
   debian/rules build
  dh build
     dh_testdir
     dh_update_autotools_config
  	install -d debian/.debhelper/bucket/files
  	cp -an --reflink=auto config.guess debian/.debhelper/bucket/files/79ec1614c5855c395a0390df1c2a50a266773256e209815bfc15cfe8252afb6b.tmp
  	mv -f debian/.debhelper/bucket/files/79ec1614c5855c395a0390df1c2a50a266773256e209815bfc15cfe8252afb6b.tmp debian/.debhelper/bucket/files/79ec1614c5855c395a0390df1c2a50a266773256e209815bfc15cfe8252afb6b
  	cp -f /usr/share/misc/config.guess ./config.guess
  	cp -an --reflink=auto config.sub debian/.debhelper/bucket/files/ffc712fa61c9bef7db1932a5c9973e40449afd5e88b7dc855caee97ea7b3f5ba.tmp
  	mv -f debian/.debhelper/bucket/files/ffc712fa61c9bef7db1932a5c9973e40449afd5e88b7dc855caee97ea7b3f5ba.tmp debian/.debhelper/bucket/files/ffc712fa61c9bef7db1932a5c9973e40449afd5e88b7dc855caee97ea7b3f5ba
  	cp -f /usr/share/misc/config.sub ./config.sub
     debian/rules override_dh_auto_configure
  make[1]: Entering directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3'
  dh_auto_configure -- \
  	--enable-debug \
  	--enable-mysqlsgt \
  	--enable-offline \
  	--enable-thread
  	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-debug --enable-mysqlsgt --enable-offline --enable-thread
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for gawk... no
  checking for mawk... mawk
  checking whether make sets $(MAKE)... yes
  checking whether ln -s works... yes
  checking whether make sets $(MAKE)... (cached) yes
  checking build system type... x86_64-pc-linux-gnu
  checking host system type... x86_64-pc-linux-gnu
  checking for style of include used by make... GNU
  checking for gcc... gcc
  checking for C compiler default output file name... a.out
  checking whether the C compiler works... yes
  checking whether we are cross compiling... no
  checking for suffix of executables... 
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ANSI C... none needed
  checking dependency style of gcc... none
  checking for a sed that does not truncate output... /bin/sed
  checking for egrep... grep -E
  checking for ld used by gcc... /usr/bin/ld
  checking if the linker (/usr/bin/ld) is GNU ld... yes
  checking for /usr/bin/ld option to reload object files... -r
  checking for BSD-compatible nm... /usr/bin/nm -B
  checking how to recognise dependent libraries... pass_all
  checking how to run the C preprocessor... gcc -E
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking dlfcn.h usability... yes
  checking dlfcn.h presence... yes
  checking for dlfcn.h... yes
  checking for g++... g++
  checking whether we are using the GNU C++ compiler... yes
  checking whether g++ accepts -g... yes
  checking dependency style of g++... none
  checking how to run the C++ preprocessor... g++ -E
  checking for g77... no
  checking for f77... no
  checking for xlf... no
  checking for frt... no
  checking for pgf77... no
  checking for fort77... no
  checking for fl32... no
  checking for af77... no
  checking for f90... no
  checking for xlf90... no
  checking for pgf90... no
  checking for epcf90... no
  checking for f95... no
  checking for fort... no
  checking for xlf95... no
  checking for ifc... no
  checking for efc... no
  checking for pgf95... no
  checking for lf95... no
  checking for gfortran... no
  checking whether we are using the GNU Fortran 77 compiler... no
  checking whether  accepts -g... no
  checking the maximum length of command line arguments... 32768
  checking command to parse /usr/bin/nm -B output from gcc object... ok
  checking for objdir... .libs
  checking for ar... ar
  checking for ranlib... ranlib
  checking for strip... strip
  checking if gcc supports -fno-rtti -fno-exceptions... no
  checking for gcc option to produce PIC... -fPIC
  checking if gcc PIC flag -fPIC works... yes
  checking if gcc static flag -static works... yes
  checking if gcc supports -c -o file.o... yes
  checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  checking whether -lc should be explicitly linked in... no
  checking dynamic linker characteristics... GNU/Linux ld.so
  checking how to hardcode library paths into programs... immediate
  checking whether stripping libraries is possible... yes
  checking if libtool supports shared libraries... yes
  checking whether to build shared libraries... yes
  checking whether to build static libraries... yes
  configure: creating libtool
  appending configuration tag "CXX" to libtool
  checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  checking for g++ option to produce PIC... -fPIC
  checking if g++ PIC flag -fPIC works... yes
  checking if g++ static flag -static works... yes
  checking if g++ supports -c -o file.o... yes
  checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  checking dynamic linker characteristics... GNU/Linux ld.so
  checking how to hardcode library paths into programs... immediate
  appending configuration tag "F77" to libtool
  checking for ANSI C header files... (cached) yes
  checking arpa/inet.h usability... yes
  checking arpa/inet.h presence... yes
  checking for arpa/inet.h... yes
  checking fcntl.h usability... yes
  checking fcntl.h presence... yes
  checking for fcntl.h... yes
  checking limits.h usability... yes
  checking limits.h presence... yes
  checking for limits.h... yes
  checking netinet/in.h usability... yes
  checking netinet/in.h presence... yes
  checking for netinet/in.h... yes
  checking for stdint.h... (cached) yes
  checking for stdlib.h... (cached) yes
  checking for string.h... (cached) yes
  checking sys/file.h usability... yes
  checking sys/file.h presence... yes
  checking for sys/file.h... yes
  checking sys/param.h usability... yes
  checking sys/param.h presence... yes
  checking for sys/param.h... yes
  checking sys/socket.h usability... yes
  checking sys/socket.h presence... yes
  checking for sys/socket.h... yes
  checking sys/time.h usability... yes
  checking sys/time.h presence... yes
  checking for sys/time.h... yes
  checking for unistd.h... (cached) yes
  checking for stdbool.h that conforms to C99... yes
  checking for _Bool... yes
  checking for an ANSI C-conforming const... yes
  checking for inline... inline
  checking for pid_t... yes
  checking for size_t... yes
  checking whether time.h and sys/time.h may both be included... yes
  checking for working volatile... yes
  checking for ptrdiff_t... yes
  checking for stdlib.h... (cached) yes
  checking for GNU libc compatible malloc... yes
  checking for working memcmp... yes
  checking sys/select.h usability... yes
  checking sys/select.h presence... yes
  checking for sys/select.h... yes
  checking for sys/socket.h... (cached) yes
  checking types of arguments for select... int,fd_set *,struct timeval *
  checking return type of signal handlers... void
  checking for vprintf... yes
  checking for _doprnt... no
  checking for atexit... yes
  checking for gettimeofday... yes
  checking for inet_ntoa... yes
  checking for memset... yes
  checking for select... yes
  checking for socket... yes
  checking for localtime_r... yes
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating src/Makefile
  config.status: creating src/core/Makefile
  config.status: creating src/util/Makefile
  config.status: creating src/mysql/Makefile
  config.status: creating src/interception/Makefile
  config.status: creating src/communication/Makefile
  config.status: creating src/tcpcopy/Makefile
  config.status: creating src/event/Makefile
  config.status: creating src/core/config.h
  config.status: executing depfiles commands
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3'
     dh_auto_build
  	make -j1
  make[1]: Entering directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3'
  Making all in src
  make[2]: Entering directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3/src'
  Making all in core
  make[3]: Entering directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3/src/core'
  make  all-am
  make[4]: Entering directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3/src/core'
  gcc -DHAVE_CONFIG_H -I. -I. -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -Wall -Wunused-function -pedantic -I../communication -I../core -I../event -I../interception -I../mysql -I../tcpcopy -I../util -c tc_daemon.c
  In file included from tc_daemon.c:2:0:
  ./xcopy.h:14:43: fatal error: linux/netfilter_ipv4/ip_queue.h: No such file or directory
   #include <linux/netfilter_ipv4/ip_queue.h>
                                             ^
  compilation terminated.
  Makefile:251: recipe for target 'tc_daemon.o' failed
  make[4]: *** [tc_daemon.o] Error 1
  make[4]: Leaving directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3/src/core'
  Makefile:176: recipe for target 'all' failed
  make[3]: *** [all] Error 2
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3/src/core'
  Makefile:207: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3/src'
  Makefile:234: recipe for target 'all-recursive' failed
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160827114200.FQXQIUdeOQ.db.tcpcopy/tcpcopy-0.6.3'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:5: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcpcopy.0.6.3-2.1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4655 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160827/48074f33/attachment.obj>


More information about the Reproducible-builds mailing list