Package: src:ipsec-tools
Version: 1:0.8.2+20140711-11
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, '.'.
libtoolize: copying file './libtool.m4'
libtoolize: copying file './ltoptions.m4'
libtoolize: copying file './ltsugar.m4'
libtoolize: copying file './ltversion.m4'
libtoolize: copying file './lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.

[... snipped ...]

libtool: compile:  x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. 
-D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc 
-I./src/include-glibc -Wdate-time -D_FORTIFY_SOURCE=2 -isystem 
/usr/include/mit-krb5 -I../../src/racoon/missing -include 
../../src/include-glibc/glibc-bugs.h -I../../src/include-glibc 
-I../../src/include-glibc -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/ipsec-tools-0.8.2+20140711=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror 
-Wno-unused -MT ipsec_dump_policy.lo -MD -MP -MF .deps/ipsec_dump_policy.Tpo -c 
ipsec_dump_policy.c  -fPIC -DPIC -o .libs/ipsec_dump_policy.o
ipsec_dump_policy.c: In function 'set_address.constprop':
ipsec_dump_policy.c:416:26: error: '%s' directive output may be truncated 
writing up to 31 bytes into a region of size between 0 and 1024 
[-Werror=format-truncation=]
   snprintf(buf, len, "%s[%s]", host, serv);
                          ^~          ~~~~
In file included from /usr/include/stdio.h:862,
                 from ipsec_dump_policy.c:47:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
'__builtin___snprintf_chk' output between 3 and 1058 bytes into a destination 
of size 1025
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipsec_dump_policy.c: In function 'ipsec_dump_policy1.part.1':
ipsec_dump_policy.c:371:29: error: '%s' directive output may be truncated 
writing up to 2051 bytes into a region of size between 1007 and 1017 
[-Werror=format-truncation=]
   snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
                             ^~                       ~~~~
In file included from /usr/include/stdio.h:862,
                 from ipsec_dump_policy.c:47:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
'__builtin___snprintf_chk' output between 14 and 2088 bytes into a destination 
of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipsec_dump_policy.c:363:29: error: '%s' directive output may be truncated 
writing up to 2051 bytes into a region of size between 1007 and 1017 
[-Werror=format-truncation=]
   snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level);
                             ^~                   ~~~~
In file included from /usr/include/stdio.h:862,
                 from ipsec_dump_policy.c:47:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: 
'__builtin___snprintf_chk' output between 12 and 2077 bytes into a destination 
of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [Makefile:517: ipsec_dump_policy.lo] Error 1
make[5]: Leaving directory 
'/<<BUILDDIR>>/ipsec-tools-0.8.2+20140711/src/libipsec'
make[4]: *** [Makefile:406: all] Error 2
make[4]: Leaving directory 
'/<<BUILDDIR>>/ipsec-tools-0.8.2+20140711/src/libipsec'
make[3]: *** [Makefile:367: all-recursive] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/ipsec-tools-0.8.2+20140711/src'
make[2]: *** [Makefile:425: all-recursive] Error 1
make[2]: Leaving directory '/<<BUILDDIR>>/ipsec-tools-0.8.2+20140711'
make[1]: *** [Makefile:351: all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/ipsec-tools-0.8.2+20140711'
dh_auto_build: make -j1 returned exit code 2
make: *** [debian/rules:26: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ipsec-tools.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply via email to