Your message dated Mon, 31 Jul 2023 00:06:32 +0000
with message-id <e1qqgqi-00aq2f...@fasolo.debian.org>
and subject line Bug#1037904: fixed in xournalpp 1.2.0-1
has caused the Debian Bug report #1037904,
regarding xournalpp: ftbfs with GCC-13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1037904: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037904
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:xournalpp
Version: 1.1.3-1
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/xournalpp_1.1.3-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

[...]
   28 |     bool loadValueHex(const std::string& key, uint32_t& value) const;
      |                                               ^~~~~~~~
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.h:28:10: error: ‘bool 
BackgroundConfig::loadValueHex(const std::string&, int&) const’ cannot be 
overloaded with ‘bool BackgroundConfig::loadValueHex(const std::string&, int&) 
const’
   28 |     bool loadValueHex(const std::string& key, uint32_t& value) const;
      |          ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.h:27:10: note: previous 
declaration ‘bool BackgroundConfig::loadValueHex(const std::string&, int&) 
const’
   27 |     bool loadValueHex(const std::string& key, int& value) const;
      |          ^~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp: In member function 
‘bool BackgroundConfig::loadValue(const std::string&, int&) const’:
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp:35:27: warning: 
conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
   35 |         value = std::stoul(str, nullptr, 10);
      |                 ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp: In member function 
‘bool BackgroundConfig::loadValue(const std::string&, double&) const’:
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp:45:27: warning: 
conversion from ‘long unsigned int’ to ‘double’ may change value [-Wconversion]
   45 |         value = std::stoul(str, nullptr, 10);
      |                 ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp: In member function 
‘bool BackgroundConfig::loadValueHex(const std::string&, int&) const’:
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp:55:27: warning: 
conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion]
   55 |         value = std::stoul(str, nullptr, 16);
      |                 ~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp: At global scope:
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp:62:56: error: 
‘uint32_t’ has not been declared
   62 | auto BackgroundConfig::loadValueHex(const string& key, uint32_t& value) 
const -> bool {
      |                                                        ^~~~~~~~
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp:62:6: error: 
redefinition of ‘bool BackgroundConfig::loadValueHex(const std::string&, int&) 
const’
   62 | auto BackgroundConfig::loadValueHex(const string& key, uint32_t& value) 
const -> bool {
      |      ^~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/view/background/BackgroundConfig.cpp:52:6: note: ‘bool 
BackgroundConfig::loadValueHex(const std::string&, int&) const’ previously 
defined here
   52 | auto BackgroundConfig::loadValueHex(const string& key, int& value) 
const -> bool {
      |      ^~~~~~~~~~~~~~~~
[ 93%] Building CXX object 
src/CMakeFiles/xournalpp-core.dir/view/background/DottedBackgroundPainter.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ 
-DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_18 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DX11_ENABLED -D_USE_MATH_DEFINES 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src 
-I/<<PKGBUILDDIR>>/src/util -isystem /usr/include/glib-2.0 -isystem 
/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/gtk-3.0 
-isystem /usr/include/pango-1.0 -isystem /usr/include/harfbuzz -isystem 
/usr/include/freetype2 -isystem /usr/include/libpng16 -isystem 
/usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/fribidi 
-isystem /usr/include/cairo -isystem /usr/include/pixman-1 -isystem 
/usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gio-unix-2.0 -isystem 
/usr/include/atk-1.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem 
/usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem 
/usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem /usr/include/libxml2 
-isystem /usr/include/poppler/glib -isystem /
 usr/include/poppler -isystem /usr/include/opus -isystem /usr/include/lua5.3 -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -g -Wreturn-type 
-Wuninitialized -Wunused-value -Wunused-variable -Wconversion -std=c++17 -MD 
-MT 
src/CMakeFiles/xournalpp-core.dir/view/background/DottedBackgroundPainter.cpp.o 
-MF 
CMakeFiles/xournalpp-core.dir/view/background/DottedBackgroundPainter.cpp.o.d 
-o CMakeFiles/xournalpp-core.dir/view/background/DottedBackgroundPainter.cpp.o 
-c /<<PKGBUILDDIR>>/src/view/background/DottedBackgroundPainter.cpp
make[4]: *** [src/CMakeFiles/xournalpp-core.dir/build.make:3537: 
src/CMakeFiles/xournalpp-core.dir/view/background/BackgroundConfig.cpp.o] Error 
1
make[4]: *** Waiting for unfinished jobs....
/<<PKGBUILDDIR>>/src/view/DocumentView.cpp: In static member function ‘static 
void DocumentView::applyColor(cairo_t*, Stroke*)’:
/<<PKGBUILDDIR>>/src/view/DocumentView.cpp:28:41: warning: conversion from 
‘int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion]
   28 |             applyColor(cr, s, s->getFill());
      |                               ~~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/view/StrokeView.cpp: In member function ‘void 
StrokeView::changeCairoSource(bool)’:
/<<PKGBUILDDIR>>/src/view/StrokeView.cpp:49:51: warning: conversion from ‘int’ 
to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion]
   49 |         DocumentView::applyColor(cr, s, s->getFill());
      |                                         ~~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/view/TextView.cpp: In static member function ‘static void 
TextView::drawText(cairo_t*, const Text*)’:
/<<PKGBUILDDIR>>/src/view/TextView.cpp:54:58: warning: conversion from 
‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} to 
‘int’ may change value [-Wconversion]
   54 |     pango_layout_set_text(layout, str.c_str(), str.length());
      |                                                ~~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/view/TextView.cpp: In static member function ‘static 
std::vector<XojPdfRectangle> TextView::findText(const Text*, std::string&)’:
/<<PKGBUILDDIR>>/src/view/TextView.cpp:69:58: warning: conversion from 
‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} to 
‘int’ may change value [-Wconversion]
   69 |     pango_layout_set_text(layout, str.c_str(), str.length());
      |                                                ~~~~~~~~~~^~
/<<PKGBUILDDIR>>/src/view/TextView.cpp:80:50: warning: conversion from 
‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} to 
‘int’ may change value [-Wconversion]
   80 |         pos = StringUtils::toLowerCase(text).find(srch, pos + 1);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/view/TextView.cpp:88:67: warning: conversion from 
‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} to 
‘int’ may change value [-Wconversion]
   88 |             pango_layout_index_to_pos(layout, pos + srch.length() - 1, 
&rect);
      |                                               ~~~~~~~~~~~~~~~~~~~~^~~
/<<PKGBUILDDIR>>/src/view/TextView.cpp: In static member function ‘static void 
TextView::calcSize(const Text*, double&, double&)’:
/<<PKGBUILDDIR>>/src/view/TextView.cpp:109:58: warning: conversion from 
‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} to 
‘int’ may change value [-Wconversion]
  109 |     pango_layout_set_text(layout, str.c_str(), str.length());
      |                                                ~~~~~~~~~~^~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:280: src/CMakeFiles/xournalpp-core.dir/all] 
Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:169: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install 
--strip-program=true" translations all VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: xournalpp
Source-Version: 1.2.0-1
Done: Barak A. Pearlmutter <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
xournalpp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1037...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barak A. Pearlmutter <b...@debian.org> (supplier of updated xournalpp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 31 Jul 2023 00:42:03 +0100
Source: xournalpp
Architecture: source
Version: 1.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Barak A. Pearlmutter <b...@debian.org>
Changed-By: Barak A. Pearlmutter <b...@debian.org>
Closes: 1037904
Changes:
 xournalpp (1.2.0-1) unstable; urgency=medium
 .
   * New upstream version
   * Upstream commit 9172ee83 fixes GCC-13 FTBFS (closes: #1037904)
   * Update standards version to 4.6.2, no changes needed.
   * Patch minor spelling error
   * Remove upstreamed quilt patches, which is all of 'em
Checksums-Sha1:
 4283b40d956da5a8e875ef3488e1a43021c7a83a 2111 xournalpp_1.2.0-1.dsc
 388e09fb702beab90170e13e04d859bc45202cf7 6523712 xournalpp_1.2.0.orig.tar.xz
 d9e2fde748b88f9e63f424d080ad8db55b419682 11684 xournalpp_1.2.0-1.debian.tar.xz
 531c4390cd3df19b7a6292678eb1dee74f57976d 16807 
xournalpp_1.2.0-1_source.buildinfo
Checksums-Sha256:
 bf0a2b4b51fcaaa301d8fc653af022a17ba210e14acbf702e98cd1bfea1aed43 2111 
xournalpp_1.2.0-1.dsc
 319a3cd784b1fc5276c8d132759022a310d758d6f736f8ead18fc5c96df183ae 6523712 
xournalpp_1.2.0.orig.tar.xz
 c9efa00abcb28789a164e787037863754043be67ad6fbfc4852cb66d39e01d1c 11684 
xournalpp_1.2.0-1.debian.tar.xz
 9349042ed6a97ee3a920eb08edbdd40d3083aabc16a92d454d79cd70166c59c8 16807 
xournalpp_1.2.0-1_source.buildinfo
Files:
 b0133797001377653c4eb4ca94a1c804 2111 x11 optional xournalpp_1.2.0-1.dsc
 a8ce8538962bcf953d09439b40d9085b 6523712 x11 optional 
xournalpp_1.2.0.orig.tar.xz
 aca48ae7da68d142c7558bba4a48cb41 11684 x11 optional 
xournalpp_1.2.0-1.debian.tar.xz
 68bbcf2dc4cf2d472c0111ac70ab4924 16807 x11 optional 
xournalpp_1.2.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEE+nZaz+JE7Dn2AefCmesepNIze4gFAmTG924PHGJhcEBkZWJp
YW4ub3JnAAoJEJnrHqTSM3uIv4UP/RAxs9F7VKVsjRZxjGMdwLpdYd4x/3+oiFzs
J1znkuBX4gqwgL32UxGiF4UNwlw6iyOnxkL+40m+ORLBbABikmxo1Q5mrkMA3uAR
auf08Wz1lQYVOmdsXQEth3NES36CmRoq3dSu8L3DqmMxDbvWAJxG5F8ZwNyuYZyl
4NmjSR6aq9LjcozjSrBWRT4H+bPQ5Q6tr7GOyYqMpihHFnCfoTpVLNCkYWVnuX7Q
UJA7Uu068w+wWrja20Do1cR0C5mObnIlOSgSSnT/h8uw4HohhUBiVFn3DQ/zXbnh
RMlEIvgLoGlzZ69BvT3KDXzop93raEfzJ2D48f5ztiHx3x2LkVjsiGEN39PMRGOs
hvZHN6b98yUZUBLFXwfvtH8BfcD8RpdvvN0kuNYFzf+kqPQH6I95oSrkpEZD5HuQ
2gzVp9slEN8qGOyGAPO9dp/5XOkqW0sVvFXBQD384A+SRLkQvSSZF6g+ZtOvA4wr
+Sd8wWiTFD/pON1jpAeb8NPW9Kx60Zo8bMKFGUQMGfPCPQIv+0+dLXDw8oGR0zhw
j5gSF5kK8PT1TG1wRnz3iXgHJaL1h57hBAinFBNfmipxEGylj6wgDO9SGfz7PMBW
ojqVPt27Fk/VtJ0+v66s1OzIEe7ONFdp8nPmuPxmxjneNjjItD0XJfYk+17eI86E
17PqHjzr
=EZWg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to