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

Bug#984215: libwpd: ftbfs with GCC-11



Package: src:libwpd
Version: 0.10.3-1
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/libwpd_0.10.3-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6SingleByteFunction.lo WP6SingleByteFunction.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6SingleByteFunction.cpp  -fPIC -DPIC -o .libs/WP6SingleByteFunction.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6SetNumberGroup.cpp  -fPIC -DPIC -o WP6SetNumberGroup.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6SingleByteFunction.cpp  -fPIC -DPIC -o WP6SingleByteFunction.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6StyleGroup.lo WP6StyleGroup.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6StyleGroup.cpp  -fPIC -DPIC -o .libs/WP6StyleGroup.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6StylesListener.lo WP6StylesListener.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6StylesListener.cpp  -fPIC -DPIC -o .libs/WP6StylesListener.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6StyleGroup.cpp  -fPIC -DPIC -o WP6StyleGroup.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6SubDocument.lo WP6SubDocument.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6SubDocument.cpp  -fPIC -DPIC -o .libs/WP6SubDocument.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6TabGroup.lo WP6TabGroup.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6PrefixDataPacket.cpp  -fPIC -DPIC -o WP6PrefixDataPacket.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6TabGroup.cpp  -fPIC -DPIC -o .libs/WP6TabGroup.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6SubDocument.cpp  -fPIC -DPIC -o WP6SubDocument.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6TabGroup.cpp  -fPIC -DPIC -o WP6TabGroup.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6TableStylePacket.lo WP6TableStylePacket.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6TableStylePacket.cpp  -fPIC -DPIC -o .libs/WP6TableStylePacket.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6UndoGroup.lo WP6UndoGroup.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6UndoGroup.cpp  -fPIC -DPIC -o .libs/WP6UndoGroup.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6TableStylePacket.cpp  -fPIC -DPIC -o WP6TableStylePacket.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6UndoGroup.cpp  -fPIC -DPIC -o WP6UndoGroup.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6UnsupportedFixedLengthGroup.lo WP6UnsupportedFixedLengthGroup.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6UnsupportedFixedLengthGroup.cpp  -fPIC -DPIC -o .libs/WP6UnsupportedFixedLengthGroup.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6UnsupportedVariableLengthGroup.lo WP6UnsupportedVariableLengthGroup.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6UnsupportedVariableLengthGroup.cpp  -fPIC -DPIC -o .libs/WP6UnsupportedVariableLengthGroup.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6UnsupportedFixedLengthGroup.cpp  -fPIC -DPIC -o WP6UnsupportedFixedLengthGroup.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WP6VariableLengthGroup.lo WP6VariableLengthGroup.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6VariableLengthGroup.cpp  -fPIC -DPIC -o .libs/WP6VariableLengthGroup.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6StylesListener.cpp  -fPIC -DPIC -o WP6StylesListener.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6UnsupportedVariableLengthGroup.cpp  -fPIC -DPIC -o WP6UnsupportedVariableLengthGroup.o >/dev/null 2>&1
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WPDocument.lo WPDocument.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WPDocument.cpp  -fPIC -DPIC -o .libs/WPDocument.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c -o WPXContentListener.lo WPXContentListener.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WPXContentListener.cpp  -fPIC -DPIC -o .libs/WPXContentListener.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WP6VariableLengthGroup.cpp  -fPIC -DPIC -o WP6VariableLengthGroup.o >/dev/null 2>&1
In file included from WPXContentListener.h:29,
                 from WPXContentListener.cpp:26:
WPXTable.h:56:30: error: expected ‘;’ at end of member declaration
   56 |         const WPXTableCell  *getCell(size_t i, size_t j)
      |                              ^~~~~~~
      |                                     ;
WPXTable.h:56:44: error: expected ‘)’ before ‘i’
   56 |         const WPXTableCell  *getCell(size_t i, size_t j)
      |                                     ~      ^~
      |                                            )
WPXTable.h:49:7: warning: ‘class WPXTable’ has pointer data members [-Weffc++]
   49 | class WPXTable
      |       ^~~~~~~~
WPXTable.h:49:7: warning:   but does not declare ‘WPXTable(const WPXTable&)’ [-Weffc++]
WPXTable.h:49:7: warning:   or ‘operator=(const WPXTable&)’ [-Weffc++]
WPXTable.h:56:30: note: pointer member ‘WPXTable::getCell’ declared here
   56 |         const WPXTableCell  *getCell(size_t i, size_t j)
      |                              ^~~~~~~
WPXTable.h: In constructor ‘WPXTable::WPXTable()’:
WPXTable.h:52:9: warning: ‘WPXTable::getCell’ should be initialized in the member initialization list [-Weffc++]
   52 |         WPXTable() : m_tableRows() {}
      |         ^~~~~~~~
make[4]: *** [Makefile:1209: WPXContentListener.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../../inc -I/usr/include/librevenge-0.0 -DNDEBUG -DLIBWPD_BUILD=1 -fvisibility=hidden -DLIBWPD_VISIBILITY -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c WPDocument.cpp  -fPIC -DPIC -o WPDocument.o >/dev/null 2>&1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/lib'
make[3]: *** [Makefile:383: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:496: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:407: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:27: build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: