[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957479: libsieve: ftbfs with GCC-10



Package: src:libsieve
Version: 2.2.6-2
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/libsieve_2.2.6-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
mv -f .deps/script.Tpo .deps/script.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message2.lo -MD -MP -MF .deps/message2.Tpo -c -o message2.lo message2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message2.lo -MD -MP -MF .deps/message2.Tpo -c message2.c  -fPIC -DPIC -o .libs/message2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT message2.lo -MD -MP -MF .deps/message2.Tpo -c message2.c -o message2.o >/dev/null 2>&1
mv -f .deps/message2.Tpo .deps/message2.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script2.lo -MD -MP -MF .deps/script2.Tpo -c -o script2.lo script2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script2.lo -MD -MP -MF .deps/script2.Tpo -c script2.c  -fPIC -DPIC -o .libs/script2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT script2.lo -MD -MP -MF .deps/script2.Tpo -c script2.c -o script2.o >/dev/null 2>&1
mv -f .deps/script2.Tpo .deps/script2.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT context2.lo -MD -MP -MF .deps/context2.Tpo -c -o context2.lo context2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT context2.lo -MD -MP -MF .deps/context2.Tpo -c context2.c  -fPIC -DPIC -o .libs/context2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT context2.lo -MD -MP -MF .deps/context2.Tpo -c context2.c -o context2.o >/dev/null 2>&1
mv -f .deps/context2.Tpo .deps/context2.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT callbacks2.lo -MD -MP -MF .deps/callbacks2.Tpo -c -o callbacks2.lo callbacks2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT callbacks2.lo -MD -MP -MF .deps/callbacks2.Tpo -c callbacks2.c  -fPIC -DPIC -o .libs/callbacks2.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT callbacks2.lo -MD -MP -MF .deps/callbacks2.Tpo -c callbacks2.c -o callbacks2.o >/dev/null 2>&1
mv -f .deps/callbacks2.Tpo .deps/callbacks2.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -no-undefined  -o libinterface.la  tree.lo message.lo script.lo message2.lo script2.lo context2.lo callbacks2.lo  
libtool: link: ar cr .libs/libinterface.a .libs/tree.o .libs/message.o .libs/script.o .libs/message2.o .libs/script2.o .libs/context2.o .libs/callbacks2.o 
libtool: link: ranlib .libs/libinterface.a
libtool: link: ( cd ".libs" && rm -f "libinterface.la" && ln -s "../libinterface.la" "libinterface.la" )
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/sv_interface'
Making all in sv_util
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/sv_util'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c  -fPIC -DPIC -o .libs/util.o
util.c: In function ‘libsieve_strdup’:
util.c:161:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  161 |         strncpy(p, str, len);
      |         ^~~~~~~~~~~~~~~~~~~~
util.c:156:18: note: length computed here
  156 |     size_t len = strlen(str);
      |                  ^~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
mv -f .deps/util.Tpo .deps/util.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c -o md5.lo md5.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c  -fPIC -DPIC -o .libs/md5.o
md5.c: In function ‘gdm_md5_final’:
md5.c:224:23: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
  224 |  memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
      |                       ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -o md5.o >/dev/null 2>&1
mv -f .deps/md5.Tpo .deps/md5.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c -o exception.lo exception.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c exception.c  -fPIC -DPIC -o .libs/exception.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -MT exception.lo -MD -MP -MF .deps/exception.Tpo -c exception.c -o exception.o >/dev/null 2>&1
mv -f .deps/exception.Tpo .deps/exception.Plo
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall -I../sv_util -I../sv_parser -I../sv_interface -I../sv_include -g -no-undefined  -o libutil.la  util.lo md5.lo exception.lo  
libtool: link: ar cr .libs/libutil.a .libs/util.o .libs/md5.o .libs/exception.o 
libtool: link: ranlib .libs/libutil.a
libtool: link: ( cd ".libs" && rm -f "libutil.la" && ln -s "../libutil.la" "libutil.la" )
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/sv_util'
Making all in .
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -g -O2 -Wall -I./sv_util -I./sv_parser -I./sv_interface -I./sv_regex -I./sv_include -g -MT sv_empty.lo -MD -MP -MF .deps/sv_empty.Tpo -c -o sv_empty.lo sv_empty.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -I./sv_util -I./sv_parser -I./sv_interface -I./sv_regex -I./sv_include -g -MT sv_empty.lo -MD -MP -MF .deps/sv_empty.Tpo -c sv_empty.c  -fPIC -DPIC -o .libs/sv_empty.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -Wall -I./sv_util -I./sv_parser -I./sv_interface -I./sv_regex -I./sv_include -g -MT sv_empty.lo -MD -MP -MF .deps/sv_empty.Tpo -c sv_empty.c -o sv_empty.o >/dev/null 2>&1
mv -f .deps/sv_empty.Tpo .deps/sv_empty.Plo
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall -I./sv_util -I./sv_parser -I./sv_interface -I./sv_regex -I./sv_include -g -no-undefined -version-info 1:5  -o libsieve.la -rpath /usr/lib sv_empty.lo sv_util/libutil.la  sv_parser/libparser.la  sv_interface/libinterface.la  sv_regex/libregex.la 
libtool: link: gcc -shared  -fPIC -DPIC  .libs/sv_empty.o  -Wl,--whole-archive sv_util/.libs/libutil.a sv_parser/.libs/libparser.a sv_interface/.libs/libinterface.a sv_regex/.libs/libregex.a -Wl,--no-whole-archive   -g -O2 -g   -Wl,-soname -Wl,libsieve.so.1 -o .libs/libsieve.so.1.0.5
/usr/bin/ld: sv_parser/.libs/libparser.a(sieve.o):/<<PKGBUILDDIR>>/src/sv_parser/sieve.y:56: multiple definition of `libsieve_parse_context'; sv_parser/.libs/libparser.a(addr.o):/<<PKGBUILDDIR>>/src/sv_parser/addr.y:54: first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:488: libsieve.la] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:541: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:399: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
make: *** [debian/rules:43: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: