Comment 6 for bug 256380

Revision history for this message
Daniel Holbach (dholbach) wrote :

1) this should still be part of the merge:
+ * Added large-integer-gcc43.dpatch,unused-input-gcc43.dpatch,
+ printf-time-long.dpatch,fix_includes_and_printf_usage.dpatch
+ to patches/00.list.

2) It fails to build:
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"conntrack-tools\" -DPACKAGE_TARNAME=\"conntrack-tools\" -DPACKAGE_VERSION=\"0.9.7\"
-DPACKAGE_STRING=\"conntrack-tools\ 0.9.7\" -DPACKAGE_BUGREPORT=\"<email address hidden>\" -DPACKAGE=\"conntrack-tools\"
-DVERSION=\"0.9.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DHAVE_LINUX_CAPABILITY_H=1 -DHAVE_LIBNFNETLINK=1 -DHAVE_LIBNETFILTER_CONNTRACK=1 -DHAVE_ARPA_INET_H=1 -DHAVE_INET_PTON=1
-DHAVE_INET_PTON_IPV6=1 -I. -I../include -std=gnu99 -W -Wall -Werror -Wmissing-prototypes -Wwrite-strings -Wcast-qual
-Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-return -Wmissing-declarations
-Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g -O2 -fno-strict-aliasing
-DYY_NO_INPUT -U_FORTIFY_SOURCE -c main.c
main.c: In function 'main':
main.c:81: error: 'PATH_MAX' undeclared (first use in this function)
main.c:81: error: (Each undeclared identifier is reported only once
main.c:81: error: for each function it appears in.)
main.c:81: error: empty scalar initializer
main.c:81: error: (near initialization for 'config_file')
cc1: warnings being treated as errors
main.c:81: error: unused variable 'config_file'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/tmp/buildd/conntrack-0.9.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/buildd/conntrack-0.9.7'
make: *** [debian/stamp-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error

3) You drop the dpatch bits in debian/control and debian/rules.