Package: src:pptpd
Version: 1.4.0-13
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
autoreconf: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.in:3: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:745: AM_CONFIG_HEADER is expanded from...
configure.in:3: the top level
configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from...
configure.in:4: the top level
configure.in:153: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:153: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.in:153: the top level
configure.in:153: warning: The macro `AC_TRY_LINK' is obsolete.
configure.in:153: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from...
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.in:153: the top level
configure.in:240: warning: The macro `AC_CHECKING' is obsolete.
configure.in:240: You should run autoupdate.
./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
configure.in:240: the top level
configure.in:296: warning: AC_OUTPUT should be used without arguments.
configure.in:296: You should run autoupdate.
autoheader: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 
'config.h.bot'
autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and
autoheader: WARNING: 'AC_DEFINE' allows one to define a template without
autoheader: WARNING: 'acconfig.h':
autoheader:
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function 'main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
deprecated.  For more info, see:
configure.in:4: 
https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:109: installing './compile'
Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 
'*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
        --prefix=/usr \
        --mandir=/usr/share/man \
        --with-libwrap \
        --enable-bcrelay
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-option-checking --disable-silent-rules 
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
--disable-maintainer-mode --disable-dependency-tracking --prefix=/usr 
--mandir=/usr/share/man --with-libwrap --enable-bcrelay
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking command line for use of BSD PPP... default standard pppd
checking command line for use of SLIRP... default no
checking command line for syslog facility name... default LOG_DAEMON
checking command line for bcrelay build... yes
checking command line for VRF build... default no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for ranlib... ranlib
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether #! works in shell scripts... yes
checking for setsid... yes
checking for daemon... yes
checking for setproctitle... no
checking for getservbyname... yes
checking for strlcpy... yes
checking for fork... yes
checking for memmove... yes
checking for strerror... yes
checking for writev... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for pty.h... yes
checking for string.h... (cached) yes
checking for syslog.h... yes
checking for libintl.h... yes
checking for libutil.h... no
checking for sys/uio.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for socklen_t... yes
checking for libwrap alone... no
checking for libwrap with libnsl... no
checking for accept in -lc... yes
checking for gethostbyname in -lc... yes
checking for openpty in -lc... yes
checking for gettext in -lc... yes
checking for accept in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for openpty in -lutil... yes
checking for gettext in -lintl... no
===============================================================================
Configuration chosen:
   PPPd:               Standard.
   LIBWRAP security:   No.
   Broadcast Relay:    Yes.
   VRF support:        No.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build
        make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-am
make[2]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c -o pqueue.o pqueue.c
for d in plugins; do make -w -j2 --jobserver-auth=3,4 'CC=gcc' -C $d all; done
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: warning: -j2 forced in submake: resetting jobserver mode.
gcc -o pptpd-logwtmp.so -Wl,-z,relro -Wl,-z,now -shared -Wdate-time -D_FORTIFY_SOURCE=2 -g 
-O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>/plugins=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O2 -g -I.. 
-I../../include -fPIC pptpd-logwtmp.c -lutil
make[3]: Leaving directory '/<<PKGBUILDDIR>>/plugins'
gcc -DHAVE_CONFIG_H -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c -o pptpd.o pptpd.c
gcc -DHAVE_CONFIG_H -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c -o configfile.o configfile.c
gcc -DHAVE_CONFIG_H -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c -o pptpmanager.o pptpmanager.c
gcc -DHAVE_CONFIG_H -I. -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c -o compat.o compat.c
In file included from compat.c:12:
compat.c: In function ‘sigpipe_handler’:
our_syslog.h:38:62: error: implicit declaration of function ‘strerror’; did you 
mean ‘perror’? [-Werror=implicit-function-declaration]
   38 | #define syslog_perror(s)        syslog(LOG_ERR, "%s: %s", s, 
strerror(errno))
      |                                                              ^~~~~~~~
compat.c:168:5: note: in expansion of macro ‘syslog_perror’
  168 |     syslog_perror("sigpipe write");
      |     ^~~~~~~~~~~~~
our_syslog.h:38:49: warning: format ‘%s’ expects argument of type ‘char *’, but 
argument 4 has type ‘int’ [-Wformat=]
   38 | #define syslog_perror(s)        syslog(LOG_ERR, "%s: %s", s, 
strerror(errno))
      |                                                 ^~~~~~~~     
~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              int
compat.c:168:5: note: in expansion of macro ‘syslog_perror’
  168 |     syslog_perror("sigpipe write");
      |     ^~~~~~~~~~~~~
our_syslog.h:38:55: note: format string is defined here
   38 | #define syslog_perror(s)        syslog(LOG_ERR, "%s: %s", s, 
strerror(errno))
      |                                                      ~^
      |                                                       |
      |                                                       char *
      |                                                      %d
compat.c: In function ‘sigpipe_assign’:
compat.c:178:3: error: implicit declaration of function ‘memset’ 
[-Werror=implicit-function-declaration]
  178 |   memset(&sa, 0, sizeof(sa));
      |   ^~~~~~
compat.c:131:1: note: ‘memset’ is defined in header ‘<string.h>’; did you forget to 
‘#include <string.h>’?
  130 | #include <signal.h>
  +++ |+#include <string.h>
  131 |
compat.c: In function ‘sigpipe_read’:
our_syslog.h:38:49: warning: format ‘%s’ expects argument of type ‘char *’, but 
argument 4 has type ‘int’ [-Wformat=]
   38 | #define syslog_perror(s)        syslog(LOG_ERR, "%s: %s", s, 
strerror(errno))
      |                                                 ^~~~~~~~     
~~~~~~~~~~~~~~~
      |                                                              |
      |                                                              int
compat.c:194:5: note: in expansion of macro ‘syslog_perror’
  194 |     syslog_perror("sigpipe read");
      |     ^~~~~~~~~~~~~
our_syslog.h:38:55: note: format string is defined here
   38 | #define syslog_perror(s)        syslog(LOG_ERR, "%s: %s", s, 
strerror(errno))
      |                                                      ~^
      |                                                       |
      |                                                       char *
      |                                                      %d
cc1: some warnings being treated as errors
make[2]: *** [Makefile:475: compat.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:361: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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