[Pkg-privacy-maintainers] Bug#957330: hexchat-otr: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:02:22 BST 2020


Package: src:hexchat-otr
Version: 0.2.2-2
Severity: normal
Tags: sid bullseye
User: debian-gcc at 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/hexchat-otr_0.2.2-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

[...]
checking whether C compiler accepts -funsigned-char... yes
checking whether C compiler accepts -fstack-protector-strong... yes
checking whether C compiler accepts -fPIE... yes
checking whether C compiler accepts -fPIC... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wconversion... yes
checking whether C compiler accepts -Winline... yes
checking whether C compiler accepts -Wno-padded... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Werror=implicit-function-declaration... yes
checking whether C compiler accepts -Werror=pointer-arith... yes
checking whether C compiler accepts -Werror=init-self... yes
checking whether C compiler accepts -Werror=format=2... yes
checking whether C compiler accepts -Werror=missing-include-dirs... yes
checking whether C compiler accepts -Werror=date-time... yes
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
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-maintainer-mode

    hexchat-otr 0.2.2

    install location: /usr/lib/x86_64-linux-gnu/hexchat/plugins

   dh_auto_build
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-am
make[2]: Entering directory '/<<PKGBUILDDIR>>'
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIE -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c -o src/otr_la-otr_key.lo `test -f 'src/otr_key.c' || echo './'`src/otr_key.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/otr_key.c  -fPIC -DPIC -o src/.libs/otr_la-otr_key.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/otr_key.c -fPIE -o src/otr_la-otr_key.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIE -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c -o src/otr_la-otr_ops.lo `test -f 'src/otr_ops.c' || echo './'`src/otr_ops.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/otr_ops.c  -fPIC -DPIC -o src/.libs/otr_la-otr_ops.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/otr_ops.c -fPIE -o src/otr_la-otr_ops.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIE -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c -o src/otr_la-otr_util.lo `test -f 'src/otr_util.c' || echo './'`src/otr_util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/otr_util.c  -fPIC -DPIC -o src/.libs/otr_la-otr_util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/otr_util.c -fPIE -o src/otr_la-otr_util.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIE -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c -o src/otr_la-hexchat_otr.lo `test -f 'src/hexchat_otr.c' || echo './'`src/hexchat_otr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/hexchat_otr.c  -fPIC -DPIC -o src/.libs/otr_la-hexchat_otr.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/hexchat_otr.c -fPIE -o src/otr_la-hexchat_otr.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIE -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c -o src/otr_la-hexchat-formats.lo `test -f 'src/hexchat-formats.c' || echo './'`src/hexchat-formats.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/hexchat-formats.c  -fPIC -DPIC -o src/.libs/otr_la-hexchat-formats.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -c src/hexchat-formats.c -fPIE -o src/otr_la-hexchat-formats.o >/dev/null 2>&1
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=gnu99 -funsigned-char -fPIE -fPIC -Wall -Wextra -Wconversion -Winline -Wno-padded -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs -Werror=date-time -avoid-version -module -export-symbols-regex hexchat_.* -Wl,-z,relro -o otr.la -rpath /usr/lib/x86_64-linux-gnu/hexchat/plugins src/otr_la-otr_key.lo src/otr_la-otr_ops.lo src/otr_la-otr_util.lo src/otr_la-hexchat_otr.lo src/otr_la-hexchat-formats.lo -lotr -lglib-2.0 -L/usr/lib/x86_64-linux-gnu -lgcrypt 
libtool: link: /usr/bin/nm -B  src/.libs/otr_la-otr_key.o src/.libs/otr_la-otr_ops.o src/.libs/otr_la-otr_util.o src/.libs/otr_la-hexchat_otr.o src/.libs/otr_la-hexchat-formats.o   | sed -n -e 's/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/otr.exp
libtool: link: /bin/grep -E -e "hexchat_.*" ".libs/otr.exp" > ".libs/otr.expT"
libtool: link: mv -f ".libs/otr.expT" ".libs/otr.exp"
libtool: link: echo "{ global:" > .libs/otr.ver
libtool: link:  cat .libs/otr.exp | sed -e "s/\(.*\)/\1;/" >> .libs/otr.ver
libtool: link:  echo "local: *; };" >> .libs/otr.ver
libtool: link:  gcc -shared  -fPIC -DPIC  src/.libs/otr_la-otr_key.o src/.libs/otr_la-otr_ops.o src/.libs/otr_la-otr_util.o src/.libs/otr_la-hexchat_otr.o src/.libs/otr_la-hexchat-formats.o   -lotr -lglib-2.0 -L/usr/lib/x86_64-linux-gnu -lgcrypt  -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro   -Wl,-soname -Wl,otr.so -Wl,-version-script -Wl,.libs/otr.ver -o .libs/otr.so
/usr/bin/ld: src/.libs/otr_la-otr_ops.o:./src/hexchat_otr.h:58: multiple definition of `lvls'; src/.libs/otr_la-otr_key.o:./src/hexchat_otr.h:58: first defined here
/usr/bin/ld: src/.libs/otr_la-otr_util.o:./src/hexchat_otr.h:58: multiple definition of `lvls'; src/.libs/otr_la-otr_key.o:./src/hexchat_otr.h:58: first defined here
/usr/bin/ld: src/.libs/otr_la-hexchat_otr.o:./src/hexchat_otr.h:58: multiple definition of `lvls'; src/.libs/otr_la-otr_key.o:./src/hexchat_otr.h:58: first defined here
/usr/bin/ld: src/.libs/otr_la-hexchat-formats.o:./src/hexchat_otr.h:58: multiple definition of `lvls'; src/.libs/otr_la-otr_key.o:./src/hexchat_otr.h:58: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:501: otr.la] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:396: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-privacy-maintainers mailing list