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

Bug#1037765: maildir-utils: ftbfs with GCC-13



Package: src:maildir-utils
Version: 1.8.14-1
Severity: normal
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-13

[This bug is targeted to the upcoming trixie 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/maildir-utils_1.8.14-1_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
   67 |                                 throw Mu::Error{Error::Code::Command,
      |                                                        ^~~~
mu-command-parser.cc:67:56: error: no matching function for call to ‘Mu::Error::Error(<brace-enclosed initializer list>)’
../../lib/utils/mu-error.hh:93:9: note: candidate: ‘Mu::Error::Error(const Mu::Error&)’
   93 |         Error(const Error& rhs) = default;
      |         ^~~~~
../../lib/utils/mu-error.hh:93:9: note:   conversion of argument 1 would be ill-formed:
../../lib/utils/mu-error.hh:92:9: note: candidate: ‘Mu::Error::Error(Mu::Error&&)’
   92 |         Error(Error&& rhs)      = default;
      |         ^~~~~
../../lib/utils/mu-error.hh:92:9: note:   conversion of argument 1 would be ill-formed:
mu-command-parser.cc:67:48: error: expected primary-expression before ‘{’ token
   67 |                                 throw Mu::Error{Error::Code::Command,
      |                                                ^
mu-command-parser.cc:77:48: error: ‘Code’ is not a member of ‘Mu::Error’
   77 |                         throw Mu::Error{Error::Code::Command,
      |                                                ^~~~
mu-command-parser.cc:77:48: error: no matching function for call to ‘Mu::Error::Error(<brace-enclosed initializer list>)’
../../lib/utils/mu-error.hh:93:9: note: candidate: ‘Mu::Error::Error(const Mu::Error&)’
   93 |         Error(const Error& rhs) = default;
      |         ^~~~~
../../lib/utils/mu-error.hh:93:9: note:   conversion of argument 1 would be ill-formed:
../../lib/utils/mu-error.hh:92:9: note: candidate: ‘Mu::Error::Error(Mu::Error&&)’
   92 |         Error(Error&& rhs)      = default;
      |         ^~~~~
../../lib/utils/mu-error.hh:92:9: note:   conversion of argument 1 would be ill-formed:
mu-command-parser.cc:77:40: error: expected primary-expression before ‘{’ token
   77 |                         throw Mu::Error{Error::Code::Command,
      |                                        ^
mu-command-parser.cc:90:48: error: ‘Code’ is not a member of ‘Mu::Error’
   90 |                         throw Mu::Error{Error::Code::Command,
      |                                                ^~~~
mu-command-parser.cc:90:48: error: no matching function for call to ‘Mu::Error::Error(<brace-enclosed initializer list>)’
../../lib/utils/mu-error.hh:93:9: note: candidate: ‘Mu::Error::Error(const Mu::Error&)’
   93 |         Error(const Error& rhs) = default;
      |         ^~~~~
../../lib/utils/mu-error.hh:93:9: note:   conversion of argument 1 would be ill-formed:
../../lib/utils/mu-error.hh:92:9: note: candidate: ‘Mu::Error::Error(Mu::Error&&)’
   92 |         Error(Error&& rhs)      = default;
      |         ^~~~~
../../lib/utils/mu-error.hh:92:9: note:   conversion of argument 1 would be ill-formed:
mu-command-parser.cc:90:40: error: expected primary-expression before ‘{’ token
   90 |                         throw Mu::Error{Error::Code::Command,
      |                                        ^
mu-command-parser.cc: In function ‘std::vector<Mu::Sexp>::const_iterator find_param_node(const Mu::Command::Parameters&, const std::string&)’:
mu-command-parser.cc:104:36: error: ‘Code’ is not a member of ‘Mu::Error’
  104 |                 throw Error(Error::Code::InvalidArgument, "params must not be empty");
      |                                    ^~~~
mu-command-parser.cc:107:36: error: ‘Code’ is not a member of ‘Mu::Error’
  107 |                 throw Error(Error::Code::InvalidArgument,
      |                                    ^~~~
mu-command-parser.cc: In function ‘Mu::Error wrong_type(Mu::Sexp::Type, Mu::Sexp::Type)’:
mu-command-parser.cc:123:29: error: ‘Code’ is not a member of ‘Mu::Error’
  123 |         return Error(Error::Code::InvalidArgument,
      |                             ^~~~
libtool: compile:  g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=overloaded-virtual -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I../../lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-inline -c mu-logger.cc -o mu-logger.o >/dev/null 2>&1
make[4]: *** [Makefile:582: mu-command-parser.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=overloaded-virtual -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I../../lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-inline -c mu-sexp.cc -o mu-sexp.o >/dev/null 2>&1
libtool: compile:  g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I../.. -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-overloaded-virtual -Wswitch-enum -Wswitch-default -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=overloaded-virtual -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I../../lib -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-inline -c mu-utils.cc -o mu-utils.o >/dev/null 2>&1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/utils'
make[3]: *** [Makefile:698: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: *** [Makefile:578: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:488: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: