Package: src:apcupsd
Version: 3.14.14-5
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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

If you cannot 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 add an affects on src:apcupsd, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
# don't use --with autotools_dev with dh10 anymore: dh clean --with 
autoreconf,autotools_dev,systemd
dh clean --with autoreconf
   dh_auto_clean
        make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find . -depth \
  \( -name  -o -name  -o -name \*.a \) \
          -exec  "  CLEAN" \{\} \; -exec  \{\} \;
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
# don't use --with autotools_dev with dh10 anymore: dh binary --with 
autoreconf,autotools_dev,systemd
dh binary --with autoreconf
   dh_update_autotools_config

[... snipped ...]

configure:3656: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include 
conftest.c
conftest.c:8:10: fatal error: ac_nonexistent.h: No such file or directory
    8 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3663: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3696: result: gcc -E
configure:3725: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include 
conftest.c
configure:3732: $? = 0
configure:3763: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include 
conftest.c
conftest.c:8:10: fatal error: ac_nonexistent.h: No such file or directory
    8 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:3770: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3822: checking for a BSD-compatible install
configure:3890: result: /usr/bin/install -c
configure:3904: checking for gawk
configure:3934: result: no
configure:3904: checking for mawk
configure:3920: found /usr/bin/mawk
configure:3931: result: mawk
configure:3943: checking for library containing strerror
configure:3984: gcc -o conftest -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include -Wl,-z,relro -Wl,-z,now 
-L/usr/local/lib conftest.c  >&5
configure:3991: $? = 0
configure:4022: result: none required
configure:4069: checking for shutdown
configure:4099: result: /sbin/shutdown
configure:4121: checking for mail
configure:4154: result: no
configure:4165: WARNING: mail program not found !
configure:4174: checking for wall
configure:4207: result: no
configure:4216: error: Missing required tool; need any one of: wall

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_GAPCMON_CFLAGS_set=
ac_cv_env_GAPCMON_CFLAGS_value=
ac_cv_env_GAPCMON_LIBS_set=
ac_cv_env_GAPCMON_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_FALSEPRG=/usr/bin/false
ac_cv_path_SHUTDOWN=/sbin/shutdown
ac_cv_path_TRUEPRG=/usr/bin/true
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_search_strerror='none required'

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABSSRCDIR='/<<PKGBUILDDIR>>'
APCACCESS='apcaccess'
APCAGENT=''
APCDRVLIBS=' $(topdir)/src/drivers/libdrivers.a'
APCSMART_DRIVER=''
APCTEST='apctest'
APCUPSD_MAIL='mail'
AR=''
AWK='mawk'
BG=''
CC='gcc'
CFLAGS='-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
CGI=''
CGIBIN=''
CP=''
CPP='gcc -E'
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/local/include'
CROSSTOOLS=''
CXX='g++'
CXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection'
DATE='31 May 2016'
DEBUG=''
DEFS=''
DEPKGS=''
DISTDIR=''
DISTNAME=''
DISTVER=''
DRVLIBS=''
DUMB_DRIVER=''
ECHO=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRADEFS=''
EXTRAOBJ=''
FALSEPRG='/usr/bin/false'
GAPCMON=''
GAPCMON_CFLAGS=''
GAPCMON_LIBS=''
GDHEAD=''
GD_LIBS=''
GREP=''
HALPOLICYDIR=''
HOST=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='gcc'
LDFLAGS='-Wl,-z,relro -Wl,-z,now -L/usr/local/lib'
LIBEXTRAOBJ=''
LIBOBJS=''
LIBS=''
LIBUSBH=''
LIBUSBHID=''
LN=''
LOCKDIR=''
LOGDIR=''
LTLIBOBJS=''
MAKE=''
MKINSTALLDIRS=''
MODBUS_DRIVER=''
MODBUS_USB_DRIVER=''
MV=''
NET_DRIVER=''
NISIP=''
NISPORT=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PCNET_DRIVER=''
PIDDIR=''
PKG_CONFIG=''
PTHREAD_CFLAGS=''
PTHREAD_LFLAGS='-lpthread'
PWRFAILDIR=''
RANLIB=''
RM=''
RST2HTML=''
RST2PDF=''
SCRIPTSHELL='/bin/sh'
SED=''
SERIALDEV=''
SHELL='/bin/bash'
SHUTDOWN='/sbin/shutdown'
SMTP='smtp'
SNMPLITE_DRIVER=''
STRP=''
SYSCONFDIR=''
TEST_DRIVER=''
TOP_DIR='/<<BUILDDIR>>'
TRUEPRG='/usr/bin/true'
UPSCABLE=''
UPSTYPE=''
USB_DRIVER=''
USB_TYPE=''
VERSION='3.14.14'
WALL=''
WIN32=''
WINDRES=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_STRP=''
bindir='/usr/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
libdir='/usr/local/lib'
libexecdir='${prefix}/lib/x86_64-linux-gnu'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
nologdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='/usr/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc/apcupsd'
target_alias=''
topdir='/<<PKGBUILDDIR>>'
usbcfg=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define HAVE_PTHREADS 1

configure: exit 1
dh_auto_configure: error: ./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 
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking --with-libwrap --enable-cgi --enable-modbus-usb 
--enable-usb --enable-net --enable-snmp --enable-test --sysconfdir=/etc/apcupsd 
--bindir=/usr/bin --sbindir=/usr/sbin 
--with-cgi-bin=\${prefix}/lib/cgi-bin/apcupsd --with-pid-dir=/var/run 
--with-log-dir=/var/log --with-lock-dir=/var/lock 
--with-pwrfail-dir=/etc/apcupsd --disable-install-distdir --with-nis-port=3551 
--with-nisip=127.0.0.1 --with-upstype=usb --with-upscable=usb 
SHUTDOWN=/sbin/shutdown SCRIPTSHELL=/bin/sh returned exit code 1
make[1]: *** [debian/rules:24: override_dh_auto_configure] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to