[Reproducible-builds] Bug#821785: sipwitch: FTBFS: service.cpp:256:28: error: invalid conversion from 'const sockaddr*' to 'sockaddr*' [-fpermissive]

Chris Lamb lamby at debian.org
Tue Apr 19 09:32:19 UTC 2016


Source: sipwitch
Version: 1.6.1-2
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,

sipwitch fails to build from source in unstable/amd64:

  [..]

  	if test -e $i.cdbs-orig ; then \
  		mv $i.cdbs-orig $i ; \
  	fi ; \
  done
  rm -f debian/copyright_newhints
  rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check
  rm -rf "debian/upstream-cruft"
  rm -f debian/stamp-upstream-cruft
  rm -f debian/stamp-autotools-files
  dh_clean 
  for file in Makefile.in common/Makefile.in inc/Makefile.in inc/sipwitch/Makefile.in server/Makefile.in test/Makefile.in utils/Makefile.in aclocal.m4 autoconf/ltmain.sh configure sipwitch.spec; do \
  	[ ! -e $file.upstream ] || mv -f $file.upstream $file; \
  done
  rm -f debian/stamp-upstreamtmpstuff
  rm -rf m4
  rm -f autoconf/compile autoconf/test-driver
  rm -f debian/sipwitch.init
  rm -f debian/stamp-local-shlibs-libsipwitch
   debian/rules build
  sed -e 's/__LIBPKGNAME__/libsipwitch1/g' <debian/control.in.in >debian/control.in
  test -x debian/rules
  mkdir -p "."
  /usr/share/cdbs/1/rules/buildcore.mk:110: CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
  
  Scanning upstream source for new/changed copyright notices...
  
  licensecheck -c '.*' -r --copyright -i '^debian/(changelog|copyright(|_hints|_newhints))' -l '99999' * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints
  16 combinations of copyright and licensing found.
  WARNING: The following (and possibly more) new or changed notices discovered:
  
   server/system.cpp
   utils/cgiserver.cpp
   utils/sippasswd.cpp
   utils/sipquery.cpp
   utils/sipwitch.cpp
   README
  Copyright: 1994-2002, 2003-2011, Free Software
   utils/sippasswd.1
    2010, David Sugar <dyfet at gnutelephony.org>
   autoconf/ltmain.sh
  Copyright: 1992-1999, 2000-2012, Free Software Foundation, …
    1996-1997, 1999-2000, 2002-2006, 2008-2012, Free Software …
    1996-2001, 2003-2006, 2007-2011, Free Software Foundation…
    1999-2000, 2003-2007, 2009-2010, 2011-2012, Free Software …
    and license
  Copyright: 1996-2004, 2005-2011, Free Software Foundation,
  Files: configure
  Copyright: 1992-1996, 1998-2012, Free Software Foundation, …
  Copyright: 2007, Free Software Foundation, Inc. <http:fsf.…
  License: GPL-ever GPL (vever)
  
  To fix the situation please do the following:
    1) Fully compare debian/copyright_hints with debian/copyright_newhints
    2) Update debian/copyright as needed
    3) Replace debian/copyright_hints with debian/copyright_newhints
  touch debian/stamp-copyright-check
  touch debian/stamp-upstream-cruft
  for file in Makefile.in common/Makefile.in inc/Makefile.in inc/sipwitch/Makefile.in server/Makefile.in test/Makefile.in utils/Makefile.in aclocal.m4 autoconf/ltmain.sh configure sipwitch.spec; do \
  	[ ! -e $file ] || [ -e $file.upstream ] || cp -a $file $file.upstream; \
  done
  touch debian/stamp-upstreamtmpstuff
  if test -e /usr/share/misc/config.guess ; then \
  	for i in ./autoconf/config.guess ; do \
  		if ! test -e $i.cdbs-orig ; then \
  			mv $i $i.cdbs-orig ; \
  			cp --remove-destination /usr/share/misc/config.guess $i ; \
  		fi ; \
  	done ; \
  fi
  if test -e /usr/share/misc/config.sub ; then \
  	for i in ./autoconf/config.sub ; do \
  		if ! test -e $i.cdbs-orig ; then \
  			mv $i $i.cdbs-orig ; \
  			cp --remove-destination /usr/share/misc/config.sub $i ; \
  		fi ; \
  	done ; \
  fi
  cd . && libtoolize -c -f
  libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autoconf'.
  libtoolize: copying file 'autoconf/ltmain.sh'
  libtoolize: You should add the contents of the following files to 'aclocal.m4':
  libtoolize:   '/usr/share/aclocal/libtool.m4'
  libtoolize:   '/usr/share/aclocal/ltoptions.m4'
  libtoolize:   '/usr/share/aclocal/ltversion.m4'
  libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
  libtoolize: and rerunning libtoolize and aclocal.
  libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  cd . && aclocal 
  if [ -e ./configure.ac ] || [ -e ./configure.in ]; then cd . && `which autoconf || which autoconf`; fi
  if [ -e ./configure.ac ] || [ -e ./configure.in ]; then cd . && `which  autoheader || which autoheader` ; fi
  if [ -e ./Makefile.am ]; then cd . &&  automake --add-missing ; fi
  configure.ac:27: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
  configure.ac:27: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
  configure.ac:19: installing 'autoconf/compile'
  configure.ac:27: installing 'autoconf/missing'
  common/Makefile.am: installing 'autoconf/depcomp'
  parallel-tests: installing 'autoconf/test-driver'
  touch debian/stamp-autotools-files
  chmod a+x /home/lamby/temp/cdt.20160419091158.AWekAAY24l.sipwitch/sipwitch-1.6.1/./configure
  mkdir -p .
  cd . &&   CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" /home/lamby/temp/cdt.20160419091158.AWekAAY24l.sipwitch/sipwitch-1.6.1/./configure --build=x86_64-linux-gnu  --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/sipwitch" --srcdir=. --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules   --with-pkg-config 
  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 target system type... x86_64-pc-linux-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 how to run the C preprocessor... gcc -E
  checking for gcc... (cached) gcc
  checking whether we are using the GNU C compiler... (cached) yes
  checking whether gcc accepts -g... (cached) yes
  checking for gcc option to accept ISO C89... (cached) none needed
  checking whether gcc understands -c and -o together... (cached) yes
  checking for g++... g++
  checking whether we are using the GNU C++ compiler... yes
  checking whether g++ accepts -g... yes
  checking how to run the C++ preprocessor... g++ -E
  checking whether we are using the GNU C++ compiler... (cached) yes
  checking whether g++ accepts -g... (cached) yes
  checking whether ln -s works... yes
  checking how to print strings... printf
  checking for a sed that does not truncate output... /bin/sed
  checking for grep that handles long lines and -e... /bin/grep
  checking for egrep... /bin/grep -E
  checking for fgrep... /bin/grep -F
  checking for ld used by gcc... /usr/bin/ld
  checking if the linker (/usr/bin/ld) is GNU ld... yes
  checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  checking the name lister (/usr/bin/nm -B) interface... BSD nm
  checking the maximum length of command line arguments... 1572864
  checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
  checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  checking for /usr/bin/ld option to reload object files... -r
  checking for objdump... objdump
  checking how to recognize dependent libraries... pass_all
  checking for dlltool... dlltool
  checking how to associate runtime and link libraries... printf %s\n
  checking for ar... ar
  checking for archiver @FILE support... @
  checking for strip... strip
  checking for ranlib... ranlib
  checking for gawk... no
  checking for mawk... mawk
  checking command to parse /usr/bin/nm -B output from gcc object... ok
  checking for sysroot... no
  checking for a working dd... /bin/dd
  checking how to truncate binary pipes... /bin/dd bs=4096 count=1
  checking for mt... no
  checking if : is a manifest tool... no
  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 for dlfcn.h... yes
  checking for objdir... .libs
  checking if gcc supports -fno-rtti -fno-exceptions... no
  checking for gcc option to produce PIC... -fPIC -DPIC
  checking if gcc PIC flag -fPIC -DPIC works... yes
  checking if gcc static flag -static works... yes
  checking if gcc supports -c -o file.o... yes
  checking if gcc supports -c -o file.o... (cached) yes
  checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  checking whether -lc should be explicitly linked in... no
  checking dynamic linker characteristics... GNU/Linux ld.so
  checking how to hardcode library paths into programs... immediate
  checking for shl_load... no
  checking for shl_load in -ldld... no
  checking for dlopen... no
  checking for dlopen in -ldl... yes
  checking whether a program can dlopen itself... yes
  checking whether a statically linked program can dlopen itself... no
  checking whether stripping libraries is possible... yes
  checking if libtool supports shared libraries... yes
  checking whether to build shared libraries... yes
  checking whether to build static libraries... yes
  checking how to run the C++ preprocessor... g++ -E
  checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  checking for g++ option to produce PIC... -fPIC -DPIC
  checking if g++ PIC flag -fPIC -DPIC works... yes
  checking if g++ static flag -static works... yes
  checking if g++ supports -c -o file.o... yes
  checking if g++ supports -c -o file.o... (cached) yes
  checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  checking how to hardcode library paths into programs... immediate
  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 whether make sets $(MAKE)... yes
  checking for style of include used by make... GNU
  checking whether make supports nested variables... yes
  checking dependency style of gcc... none
  checking dependency style of g++... none
  checking for C/C++ restrict keyword... __restrict
  checking for working volatile... yes
  checking for inline... inline
  checking for pkg-config... pkg-config
  checking openssl/openssl.h usability... no
  checking openssl/openssl.h presence... no
  checking for openssl/openssl.h... no
  checking for pkg-config... /usr/bin/pkg-config
  checking pkg-config is at least version 0.9.0... yes
  checking for UCOMMON... yes
  checking for EXOSIP2... no
  checking resolv.h usability... yes
  checking resolv.h presence... yes
  checking for resolv.h... yes
  checking eXosip2/eXosip.h usability... yes
  checking eXosip2/eXosip.h presence... yes
  checking for eXosip2/eXosip.h... yes
  checking for LIBOSIP2... yes
  checking return type of signal handlers... void
  checking whether sigwait has 2 arguments... yes
  checking sys/resource.h usability... yes
  checking sys/resource.h presence... yes
  checking for sys/resource.h... yes
  checking syslog.h usability... yes
  checking syslog.h presence... yes
  checking for syslog.h... yes
  checking net/if.h usability... yes
  checking net/if.h presence... yes
  checking for net/if.h... yes
  checking sys/sockio.h usability... no
  checking sys/sockio.h presence... no
  checking for sys/sockio.h... no
  checking ioctl.h usability... no
  checking ioctl.h presence... no
  checking for ioctl.h... no
  checking pwd.h usability... yes
  checking pwd.h presence... yes
  checking for pwd.h... yes
  checking sys/inotify.h usability... yes
  checking sys/inotify.h presence... yes
  checking for sys/inotify.h... yes
  checking for setrlimit... yes
  checking for setpgrp... yes
  checking for setrlimit... (cached) yes
  checking for getuid... yes
  checking for mkfifo... yes
  checking for gethostname... yes
  checking for symlink... yes
  checking for ZEROCONF... yes
  checking for fopen in -lmsvcrt... no
  checking that generated files are newer than configure... done
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating common/Makefile
  config.status: creating inc/Makefile
  config.status: creating inc/sipwitch/Makefile
  config.status: creating server/Makefile
  config.status: creating utils/Makefile
  config.status: creating test/Makefile
  config.status: creating libsipwitch.pc
  config.status: creating sipwitch.spec
  config.status: creating sipwitch-config
  config.status: creating directive
  config.status: creating sipwitch-config.h
  config.status: executing libtool commands
  config.status: executing depfiles commands
  configure: WARNING: unrecognized options: --disable-maintainer-mode
  touch debian/stamp-autotools
  /usr/bin/make  -C .  
  make[1]: Entering directory '/home/lamby/temp/cdt.20160419091158.AWekAAY24l.sipwitch/sipwitch-1.6.1'
  /usr/bin/make  all-recursive
  make[2]: Entering directory '/home/lamby/temp/cdt.20160419091158.AWekAAY24l.sipwitch/sipwitch-1.6.1'
  Making all in common
  make[3]: Entering directory '/home/lamby/temp/cdt.20160419091158.AWekAAY24l.sipwitch/sipwitch-1.6.1/common'
  /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../inc   -DHAVE_PTHREAD -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o service.lo service.cpp
  libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../inc -DHAVE_PTHREAD -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c service.cpp  -fPIC -DPIC -o .libs/service.o
  service.cpp: In static member function 'static void sipwitch::service::publish(const char*)':
  service.cpp:256:28: error: invalid conversion from 'const sockaddr*' to 'sockaddr*' [-fpermissive]
       host = resolver.getAddr();
                              ^
  Makefile:498: recipe for target 'service.lo' failed
  make[3]: *** [service.lo] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160419091158.AWekAAY24l.sipwitch/sipwitch-1.6.1/common'
  Makefile:621: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160419091158.AWekAAY24l.sipwitch/sipwitch-1.6.1'
  Makefile:446: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160419091158.AWekAAY24l.sipwitch/sipwitch-1.6.1'
  /usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
  make: *** [debian/stamp-makefile-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: sipwitch.1.6.1-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 6450 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160419/381f89f5/attachment.obj>


More information about the Reproducible-builds mailing list