[Reproducible-builds] Bug#828163: sbd: FTBFS: sbd-common.c:690:13: error: format not a string literal and no format arguments

Chris Lamb lamby at debian.org
Sat Jun 25 15:24:34 UTC 2016


Source: sbd
Version: 1.2.0-109-gc511b06-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,

sbd fails to build from source in unstable/amd64:

  [..]

  Selecting previously unselected package libcrmservice3:amd64.
  Preparing to unpack .../libcrmservice3_1.1.15-1_amd64.deb ...
  Unpacking libcrmservice3:amd64 (1.1.15-1) ...
  Selecting previously unselected package liblrmd1:amd64.
  Preparing to unpack .../liblrmd1_1.1.15-1_amd64.deb ...
  Unpacking liblrmd1:amd64 (1.1.15-1) ...
  Selecting previously unselected package liblrmd-dev:amd64.
  Preparing to unpack .../liblrmd-dev_1.1.15-1_amd64.deb ...
  Unpacking liblrmd-dev:amd64 (1.1.15-1) ...
  Selecting previously unselected package libcrmservice-dev:amd64.
  Preparing to unpack .../libcrmservice-dev_1.1.15-1_amd64.deb ...
  Unpacking libcrmservice-dev:amd64 (1.1.15-1) ...
  Selecting previously unselected package libqb-dev.
  Preparing to unpack .../libqb-dev_1.0-1_amd64.deb ...
  Unpacking libqb-dev (1.0-1) ...
  Selecting previously unselected package libcorosync-common-dev:amd64.
  Preparing to unpack .../libcorosync-common-dev_2.3.6-2_amd64.deb ...
  Unpacking libcorosync-common-dev:amd64 (2.3.6-2) ...
  Selecting previously unselected package libcpg-dev:amd64.
  Preparing to unpack .../libcpg-dev_2.3.6-2_amd64.deb ...
  Unpacking libcpg-dev:amd64 (2.3.6-2) ...
  Selecting previously unselected package icu-devtools.
  Preparing to unpack .../icu-devtools_55.1-7_amd64.deb ...
  Unpacking icu-devtools (55.1-7) ...
  Selecting previously unselected package libicu-dev:amd64.
  Preparing to unpack .../libicu-dev_55.1-7_amd64.deb ...
  Unpacking libicu-dev:amd64 (55.1-7) ...
  Selecting previously unselected package libxml2-dev:amd64.
  Preparing to unpack .../libxml2-dev_2.9.3+dfsg1-1.2_amd64.deb ...
  Unpacking libxml2-dev:amd64 (2.9.3+dfsg1-1.2) ...
  Selecting previously unselected package libplumbgpl2.
  Preparing to unpack .../libplumbgpl2_1.0.12-5_amd64.deb ...
  Unpacking libplumbgpl2 (1.0.12-5) ...
  Selecting previously unselected package libplumbgpl2-dev.
  Preparing to unpack .../libplumbgpl2-dev_1.0.12-5_amd64.deb ...
  Unpacking libplumbgpl2-dev (1.0.12-5) ...
  Selecting previously unselected package libplumb2.
  Preparing to unpack .../libplumb2_1.0.12-5_amd64.deb ...
  Unpacking libplumb2 (1.0.12-5) ...
  Selecting previously unselected package libplumb2-dev.
  Preparing to unpack .../libplumb2-dev_1.0.12-5_amd64.deb ...
  Unpacking libplumb2-dev (1.0.12-5) ...
  Selecting previously unselected package libaio1:amd64.
  Preparing to unpack .../libaio1_0.3.110-3_amd64.deb ...
  Unpacking libaio1:amd64 (0.3.110-3) ...
  Selecting previously unselected package libaio-dev.
  Preparing to unpack .../libaio-dev_0.3.110-3_amd64.deb ...
  Unpacking libaio-dev (0.3.110-3) ...
  Selecting previously unselected package uuid-dev:amd64.
  Preparing to unpack .../uuid-dev_2.28-5_amd64.deb ...
  Unpacking uuid-dev:amd64 (2.28-5) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for libc-bin (2.22-12) ...
  Processing triggers for libglib2.0-0:amd64 (2.48.1-1) ...
  No schema files found: doing nothing.
  Setting up dh-systemd (1.35) ...
  Setting up libelf1:amd64 (0.165-3) ...
  Setting up libglib2.0-data (2.48.1-1) ...
  Setting up libglib2.0-bin (2.48.1-1) ...
  Setting up libpcre16-3:amd64 (2:8.38-3.1) ...
  Setting up libpcre32-3:amd64 (2:8.38-3.1) ...
  Setting up libpcrecpp0v5:amd64 (2:8.38-3.1) ...
  Setting up libpcre3-dev:amd64 (2:8.38-3.1) ...
  Setting up pkg-config (0.29-4) ...
  Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ...
  Setting up libglib2.0-dev (2.48.1-1) ...
  Setting up libqb0:amd64 (1.0-1) ...
  Setting up libxslt1.1:amd64 (1.1.28-4) ...
  Setting up libcrmcommon3:amd64 (1.1.15-1) ...
  Setting up libpe-rules2:amd64 (1.1.15-1) ...
  Setting up libcib4:amd64 (1.1.15-1) ...
  Setting up libcib-dev:amd64 (1.1.15-1) ...
  Setting up libtransitioner2:amd64 (1.1.15-1) ...
  Setting up libcrmcommon-dev:amd64 (1.1.15-1) ...
  Setting up libcorosync-common4:amd64 (2.3.6-2) ...
  Setting up libcmap4:amd64 (2.3.6-2) ...
  Setting up libcpg4:amd64 (2.3.6-2) ...
  Setting up libquorum5:amd64 (2.3.6-2) ...
  Setting up libltdl7:amd64 (2.4.6-0.1) ...
  Setting up libpils2 (1.0.12-5) ...
  Setting up libstonithd2:amd64 (1.1.15-1) ...
  Setting up libcrmcluster4:amd64 (1.1.15-1) ...
  Setting up libcrmcluster-dev:amd64 (1.1.15-1) ...
  Setting up libpe-status10:amd64 (1.1.15-1) ...
  Setting up libpengine10:amd64 (1.1.15-1) ...
  Setting up libpengine-dev:amd64 (1.1.15-1) ...
  Setting up libdbus-1-3:amd64 (1.10.8-1) ...
  Setting up libcrmservice3:amd64 (1.1.15-1) ...
  Setting up liblrmd1:amd64 (1.1.15-1) ...
  Setting up liblrmd-dev:amd64 (1.1.15-1) ...
  Setting up libcrmservice-dev:amd64 (1.1.15-1) ...
  Setting up libqb-dev (1.0-1) ...
  Setting up libcorosync-common-dev:amd64 (2.3.6-2) ...
  Setting up libcpg-dev:amd64 (2.3.6-2) ...
  Setting up icu-devtools (55.1-7) ...
  Setting up libicu-dev:amd64 (55.1-7) ...
  Setting up libxml2-dev:amd64 (2.9.3+dfsg1-1.2) ...
  Setting up libplumbgpl2 (1.0.12-5) ...
  Setting up libplumbgpl2-dev (1.0.12-5) ...
  Setting up libplumb2 (1.0.12-5) ...
  Setting up libplumb2-dev (1.0.12-5) ...
  Setting up libaio1:amd64 (0.3.110-3) ...
  Setting up libaio-dev (0.3.110-3) ...
  Setting up uuid-dev:amd64 (2.28-5) ...
  Setting up sbd-build-deps (1.2.0-109-gc511b06-1) ...
  Processing triggers for libc-bin (2.22-12) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=c3339c186b15
  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.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06
  OLDPWD=/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd
  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
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building sbd 1.2.0-109-gc511b06-1 on amd64                                       **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package sbd
  dpkg-buildpackage: info: source version 1.2.0-109-gc511b06-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Adrian Vondendriesch <adrian.vondendriesch at credativ.de>
   dpkg-source --before-build sbd-1.2.0-109-gc511b06
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --with=autoreconf,systemd --fail-missing
     dh_testdir -O--fail-missing
     dh_auto_clean -O--fail-missing
     dh_autoreconf_clean -O--fail-missing
     dh_clean -O--fail-missing
  	rm -f debian/debhelper-build-stamp
  	rm -f debian/sbd.substvars
  	rm -f debian/sbd.*.debhelper
  	rm -rf debian/sbd/
  	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 --with=autoreconf,systemd --fail-missing
     dh_testdir -O--fail-missing
     dh_update_autotools_config -O--fail-missing
     dh_autoreconf -O--fail-missing
  	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} \; > debian/autoreconf.before
  	autoreconf -f -i
  configure.ac:30: installing './compile'
  configure.ac:25: installing './config.guess'
  configure.ac:25: installing './config.sub'
  configure.ac:29: installing './install-sh'
  configure.ac:29: installing './missing'
  Makefile.am:5: warning: shell git log --pretty="format:%H" -n 1: non-POSIX variable name
  Makefile.am:5: (probably a GNU make extension)
  Makefile.am:10: warning: shell pwd: non-POSIX variable name
  Makefile.am:10: (probably a GNU make extension)
  Makefile.am:19: warning: shell test ! -e $(BUILD_COUNTER: non-POSIX variable name
  Makefile.am:19: (probably a GNU make extension)
  Makefile.am:20: warning: shell expr 1 + $(LAST_COUNT: non-POSIX variable name
  Makefile.am:20: (probably a GNU make extension)
  src/Makefile.am: installing './depcomp'
  	find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o -path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a  -type f -exec md5sum {} \; > debian/autoreconf.after
     debian/rules override_dh_auto_configure
  make[1]: Entering directory '/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06'
  dh_auto_configure -- --libdir=/usr/lib
  	./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 --libdir=/usr/lib
  configure: WARNING: unrecognized options: --disable-maintainer-mode
  checking build system type... x86_64-pc-linux-gnu
  checking host system type... x86_64-pc-linux-gnu
  checking whether make supports nested variables... yes
  checking for a BSD-compatible install... /usr/bin/install -c
  checking whether build environment is sane... yes
  checking for a thread-safe mkdir -p... /bin/mkdir -p
  checking for gawk... no
  checking for mawk... mawk
  checking whether make sets $(MAKE)... yes
  checking for style of include used by make... GNU
  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 we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ISO C89... none needed
  checking whether gcc understands -c and -o together... yes
  checking dependency style of gcc... none
  checking for pkg-config... /usr/bin/pkg-config
  checking pkg-config is at least version 0.9.0... yes
  checking for glib... yes
  checking for pacemaker... yes
  checking for pcmk... no
  checking for libqb... yes
  checking for libxml... yes
  checking for io_setup in -laio... yes
  checking for qb_ipcs_connection_auth_set in -lqb... yes
  checking for cib_new in -lcib... yes
  checking for set_crm_log_level in -lcrmcommon... yes
  checking for pe_find_node in -lpe_status... yes
  checking for test_rule in -lpe_rules... yes
  checking for crm_peer_init in -lcrmcluster... yes
  checking for uuid_unparse in -luuid... yes
  checking how to run the C preprocessor... gcc -E
  checking for grep that handles long lines and -e... /bin/grep
  checking for egrep... /bin/grep -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 pacemaker/crm/cluster.h usability... yes
  checking pacemaker/crm/cluster.h presence... yes
  checking for pacemaker/crm/cluster.h... yes
  checking for pcmk_strerror in -lcrmcommon... yes
  checking for cib_apply_patch_event in -lcib... yes
  checking for pod2man... /usr/bin/pod2man
  /proc/{pid} is supported
  checking for setproctitle... no
  checking libutil.h usability... no
  checking libutil.h presence... no
  checking for libutil.h... no
  checking for setproctitle in -lutil... no
  checking sys/pstat.h usability... no
  checking sys/pstat.h presence... no
  checking for sys/pstat.h... no
  checking whether __progname and __progname_full are available... yes
  checking which argv replacement method to use... writeable
  configure: Sanitizing prefix: /usr
  configure: Sanitizing exec_prefix: NONE
  checking that generated files are newer than configure... done
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating src/Makefile
  config.status: creating agent/Makefile
  config.status: creating man/Makefile
  config.status: creating src/sbd.service
  config.status: creating src/sbd_remote.service
  config.status: creating config.h
  config.status: executing depfiles commands
  configure: WARNING: unrecognized options: --disable-maintainer-mode
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06'
     dh_auto_build -O--fail-missing
  	make -j1
  make[1]: Entering directory '/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06'
  make  all-recursive
  make[2]: Entering directory '/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06'
  Making all in src
  make[3]: Entering directory '/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06/src'
  gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/pacemaker -I/usr/include/heartbeat -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -Werror -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pacemaker -I/usr/include/libxml2  -D_GNU_SOURCE -DCHECK_AIS -DSBINDIR=\"/usr/sbin\" -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/x86_64-linux-gnu/pacemaker -c -o sbd-common.o sbd-common.c
  sbd-common.c: In function 'set_servant_health':
  sbd-common.c:690:13: error: format not a string literal and no format arguments [-Werror=format-security]
               cl_log(level, string);
               ^
  cc1: all warnings being treated as errors
  Makefile:392: recipe for target 'sbd-common.o' failed
  make[3]: *** [sbd-common.o] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06/src'
  Makefile:384: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06'
  Makefile:325: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160625172131.0TMif8o70S.sbd/sbd-1.2.0-109-gc511b06'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:19: 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: sbd.1.2.0-109-gc511b06-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5932 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160625/a96a7276/attachment.obj>


More information about the Reproducible-builds mailing list