Control: tags -1 + upstream confirmed Hi
On Wed, Jun 14, 2023 at 09:28:00AM +0000, Matthias Klose wrote: > Package: src:lnav > Version: 0.11.1-3 > Severity: normal > Tags: sid trixie > User: debian-...@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/lnav_0.11.1-3_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 > > [...] > auto_fd.hh:149:9: note: in expansion of macro ‘require’ > 149 | require(fd >= -1); > | ^~~~~~~ > auto_fd.hh: In member function ‘void auto_fd::reset(int)’: > ../../src/base/lnav_log.hh:125:10: error: ‘lnav_log_level_t’ has not been > declared > 125 | lnav_log_level_t::ERROR, file, line, "failed precondition > `%s'", e), \ > | ^~~~~~~~~~~~~~~~ > ../../src/base/lnav_log.hh:122:39: note: in expansion of macro ‘lnav_require’ > 122 | #define require(e) ((void) ((e) ? 0 : lnav_require(#e, __FILE__, > __LINE__))) > | ^~~~~~~~~~~~ > auto_fd.hh:205:9: note: in expansion of macro ‘require’ > 205 | require(fd >= -1); > | ^~~~~~~ > auto_fd.hh: In member function ‘void auto_fd::close_on_exec() const’: > ../../src/base/lnav_log.hh:139:14: error: ‘lnav_log_level_t’ has not been > declared > 139 | (log_msg(lnav_log_level_t::ERROR, \ > | ^~~~~~~~~~~~~~~~ > ../../src/base/lnav_log.hh:137:30: note: in expansion of macro > ‘lnav_log_perror’ > 137 | ((void) ((e != -1) ? 0 : lnav_log_perror(#e, __FILE__, __LINE__))) > | ^~~~~~~~~~~~~~~ > auto_fd.hh:228:9: note: in expansion of macro ‘log_perror’ > 228 | log_perror(fcntl(this->af_fd, F_SETFD, FD_CLOEXEC)); > | ^~~~~~~~~~ > auto_pid.cc: In function ‘Result<auto_pid<process_state::running>, > std::__cxx11::basic_string<char> > lnav::pid::from_fork()’: > ../../src/base/lnav_log.hh:118:43: error: ‘lnav_log_level_t’ has not been > declared > 118 | #define log_debug(fmt...) log_msg_wrapper(lnav_log_level_t::DEBUG, > fmt); > | ^~~~~~~~~~~~~~~~ > ../../src/base/lnav_log.hh:105:31: note: in definition of macro > ‘log_msg_wrapper’ > 105 | if (lnav_log_level <= level) { \ > | ^~~~~ > auto_pid.cc:54:9: note: in expansion of macro ‘log_debug’ > 54 | log_debug("started child: %d", pid); > | ^~~~~~~~~ > ../../src/base/lnav_log.hh:118:43: error: ‘lnav_log_level_t’ has not been > declared > 118 | #define log_debug(fmt...) log_msg_wrapper(lnav_log_level_t::DEBUG, > fmt); > | ^~~~~~~~~~~~~~~~ > ../../src/base/lnav_log.hh:106:21: note: in definition of macro > ‘log_msg_wrapper’ > 106 | log_msg(level, __FILE__, __LINE__, fmt); \ > | ^~~~~ > auto_pid.cc:54:9: note: in expansion of macro ‘log_debug’ > 54 | log_debug("started child: %d", pid); > | ^~~~~~~~~ > make[4]: *** [Makefile:853: auto_pid.o] Error 1 > make[4]: *** Waiting for unfinished jobs.... > In file included from humanize.network.cc:33: > ../../src/pcrepp/pcre2pp.hh: In member function > ‘nonstd::optional_lite::optional<string_fragment> > lnav::pcre2pp::match_data::operator[](size_t) const’: > ../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions > of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ > [-Wsign-compare] > 91 | if (index >= this->md_capture_end) { > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ > In file included from attr_line.cc:40: > ../../src/pcrepp/pcre2pp.hh: In member function > ‘nonstd::optional_lite::optional<string_fragment> > lnav::pcre2pp::match_data::operator[](size_t) const’: > ../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions > of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ > [-Wsign-compare] > 91 | if (index >= this->md_capture_end) { > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ > In file included from ansi_scrubber.cc:38: > ../../src/pcrepp/pcre2pp.hh: In member function > ‘nonstd::optional_lite::optional<string_fragment> > lnav::pcre2pp::match_data::operator[](size_t) const’: > ../../src/pcrepp/pcre2pp.hh:91:19: warning: comparison of integer expressions > of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ > [-Wsign-compare] > 91 | if (index >= this->md_capture_end) { > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ > make[4]: *** [Makefile:853: fs_util.o] Error 1 > make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/base' > make[3]: *** [Makefile:1556: all-recursive] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' > make[2]: *** [Makefile:1212: all] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' > make[1]: *** [Makefile:511: all-recursive] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build: error: make -j8 returned exit code 2 > make: *** [debian/rules:14: binary] Error 25 > dpkg-buildpackage: error: debian/rules binary subprocess returned exit status > 2 Thanks for the report, was short on time to handle it before the severity bump. Will have a look in the upcoming weeks before the autoremoval takes action. Regards, Salvatore