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

Bug#1074828: marked as done (atril: ftbfs with GCC-14)



Your message dated Mon, 06 Jan 2025 14:49:15 +0000
with message-id <E1tUoPr-00Fbht-5Z@fasolo.debian.org>
and subject line Bug#1074828: fixed in atril 1.26.2-4
has caused the Debian Bug report #1074828,
regarding atril: ftbfs with GCC-14
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 owner@bugs.debian.org
immediately.)


-- 
1074828: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074828
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:atril
Version: 1.26.2-3
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[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-14/g++-14, but succeeds to build with gcc-13/g++-13. 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/2024/07/01/atril_1.26.2-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

[...]
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../..  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o unzip.lo unzip.c
/bin/bash ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../..  -Wall -Wmissing-prototypes  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ioapi.lo ioapi.c
git.mk: Generating .gitignore
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wmissing-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ioapi.c  -fPIC -DPIC -o .libs/ioapi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -Wall -Wmissing-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c unzip.c  -fPIC -DPIC -o .libs/unzip.o
/bin/bash ../../../libtool  --tag=CC   --mode=link gcc  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection  -Wl,-z,relro -Wl,-z,now -o libminizip.la  unzip.lo ioapi.lo -lz  -lm 
libtool: link: ar cr .libs/libminizip.a .libs/unzip.o .libs/ioapi.o 
libtool: link: ranlib .libs/libminizip.a
libtool: link: ( cd ".libs" && rm -f "libminizip.la" && ln -s "../libminizip.la" "libminizip.la" )
make[5]: Leaving directory '/<<PKGBUILDDIR>>/backend/epub/minizip'
make[5]: Entering directory '/<<PKGBUILDDIR>>/backend/epub'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../libdocument -I./minizip -DMATELOCALEDIR=\"/usr/share/locale\" -DATRIL_COMPILATION -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread  -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -Wall -Wmissing-prototypes -I/usr/include/webkitgtk-4.1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/syspro
 f-6 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libsoup-3.0 -pthread -I/usr/include/libxml2   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o epub-document.lo epub-document.c
/usr/bin/msgfmt --desktop --keyword=TypeDescription --template epubdocument.atril-backend.desktop.in -d ../../po -o epubdocument.atril-backend
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../libdocument -I./minizip -DMATELOCALEDIR=\"/usr/share/locale\" -DATRIL_COMPILATION -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -Wall -Wmissing-prototypes -I/usr/include/webkitgtk-4.1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/gtk-3.0 -I/usr/i
 nclude/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/libsoup-3.0 -pthread -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c epub-document.c  -fPIC -DPIC -o .libs/epub-document.o
In file included from epub-document.c:36:
/usr/include/glib-2.0/glib/gi18n.h:28:10: warning: "_" redefined
   28 | #define  _(String) gettext (String)
      |          ^
In file included from ../../libdocument/ev-document.h:31,
                 from epub-document.h:5,
                 from epub-document.c:23:
/usr/include/glib-2.0/glib/gi18n-lib.h:32:10: note: this is the location of the previous definition
   32 | #define  _(String) ((char *) g_dgettext (GETTEXT_PACKAGE, String))
      |          ^
/usr/include/glib-2.0/glib/gi18n.h:29:9: warning: "Q_" redefined
   29 | #define Q_(String) g_dpgettext (NULL, String, 0)
      |         ^~
/usr/include/glib-2.0/glib/gi18n-lib.h:33:9: note: this is the location of the previous definition
   33 | #define Q_(String) g_dpgettext (GETTEXT_PACKAGE, String, 0)
      |         ^~
/usr/include/glib-2.0/glib/gi18n.h:31:9: warning: "C_" redefined
   31 | #define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1)
      |         ^~
/usr/include/glib-2.0/glib/gi18n-lib.h:35:9: note: this is the location of the previous definition
   35 | #define C_(Context,String) g_dpgettext (GETTEXT_PACKAGE, Context "\004" String, strlen (Context) + 1)
      |         ^~
epub-document.c: In function ‘check_mime_type’:
epub-document.c:635:40: error: passing argument 1 of ‘g_strv_length’ from incompatible pointer type [-Wincompatible-pointer-types]
  635 |         for (i = 0; i < g_strv_length (mimetypes); i++) {
      |                                        ^~~~~~~~~
      |                                        |
      |                                        const gchar ** {aka const char **}
In file included from /usr/include/glib-2.0/glib/gstring.h:37,
                 from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /usr/include/glib-2.0/glib/gi18n-lib.h:23:
/usr/include/glib-2.0/glib/gstrfuncs.h:383:55: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
  383 | guint                 g_strv_length    (gchar       **str_array);
      |                                         ~~~~~~~~~~~~~~^~~~~~~~~
epub-document.c:646:48: error: passing argument 1 of ‘g_strv_length’ from incompatible pointer type [-Wincompatible-pointer-types]
  646 |                 for (i = 0; i < g_strv_length (mimetypes); i++) {
      |                                                ^~~~~~~~~
      |                                                |
      |                                                const gchar ** {aka const char **}
/usr/include/glib-2.0/glib/gstrfuncs.h:383:55: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
  383 | guint                 g_strv_length    (gchar       **str_array);
      |                                         ~~~~~~~~~~~~~~^~~~~~~~~
make[5]: *** [Makefile:640: epub-document.lo] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/backend/epub'
make[4]: *** [Makefile:676: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/backend/epub'
make[3]: *** [Makefile:500: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/backend'
make[2]: *** [Makefile:668: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:554: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: atril
Source-Version: 1.26.2-4
Done: Mike Gabriel <sunweaver@debian.org>

We believe that the bug you reported is fixed in the latest version of
atril, 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 1074828@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated atril 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 06 Jan 2025 15:32:43 +0100
Source: atril
Architecture: source
Version: 1.26.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Closes: 1074828
Changes:
 atril (1.26.2-4) unstable; urgency=medium
 .
   * debian/patches:
     + Add 0001_fix-incompat-pointer-type.patch and 0002_simplify-array-
       iteration.patch. Fix FTBFS against GCC-14. (Closes: #1074828).
Checksums-Sha1:
 0b465beb71e12a9034aa9186e2be60663441c790 3123 atril_1.26.2-4.dsc
 a0b86aa03453640d50cd841b73648b630e766cdd 21376 atril_1.26.2-4.debian.tar.xz
 e22bafb98932811c2b9f5ba182b3a3d09df79f56 17598 atril_1.26.2-4_source.buildinfo
Checksums-Sha256:
 e97fbf4af60921f4bd874c485b10921e9609f7484a4a89133ac09ddb549b3170 3123 atril_1.26.2-4.dsc
 2a9d2a13b9f74ff230b695fedd5ec9c1267f66013c98003db04c9790125dc574 21376 atril_1.26.2-4.debian.tar.xz
 42398d41d8300c121545107ea073604499fe0a9d76c4468ed7fba34e9f34ab38 17598 atril_1.26.2-4_source.buildinfo
Files:
 73b02271859e9e3041c53bddf8bf7afa 3123 x11 optional atril_1.26.2-4.dsc
 4bd455162332fd8a984a4d3fe5f5fbe5 21376 x11 optional atril_1.26.2-4.debian.tar.xz
 c6b0aebbfafaebff230eb21357f14249 17598 x11 optional atril_1.26.2-4_source.buildinfo

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

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmd76swVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsx0JoP/iahaXU7fPGZVTIN2FWcAd+4t6zq
m4wwYEdpfDXlNYHt1Qaem+bQBYg5qgbB+XkqD7iWpEO8edLZ1U2u9LNhGO0TMCX3
czj0RbNsC2YVUwcXQmONp7G5Z3UKdWCXkkSWQgrp7ZxmYzLNF8cB6VCctC/QuJhc
0yjr6EK9yTW/2jJLKVPbKJSEgb7GUklnINBQ93/WLgBc5jLSq1e12Hq1bsa5CyFP
EExlFjKYK+Mt4aKdZ/5FOs4baq32/rvegtWry+KVlErIf98kbf02SH6IkzGXehMh
3cqzcgrUvxUWUaDTA5RwKFjmE4wJGbVy6+H0pX1jmofZNISzOEBFeXr5I/2rlYDm
VsNz3Pxv8/UPELk1GRP/H8DkX+XKZgrn2vAqJEgTV3IAPNY8tAT9Km8wuN6OnApG
FO7ZrR2zeoNPwo2q5vD0RM2MQ+/3eOjRZFtselnXRCukfHvZfQ/w25mLWRvnydUT
3tnHAzzacxg9r+DHb7aANKbiFTp38didV4DZhxz2J9agW5cE6Gd1b7jao3q91Iyd
0FrCebcvTu1QRumfR2TmsOEEZ/YwNKFD3Ljfi+2V8bn6evVuGNErnXycQnhp+El/
FdqWLxF35/JSNIdC0Xtz4ra2J7hlBzw3ysBWKurrEJjGXYcF/Q25fmgdJb5ESX6G
8Bq3IGKp9GnW0Zp6
=kDhA
-----END PGP SIGNATURE-----

Attachment: pgpkzVZUR2eyR.pgp
Description: PGP signature


--- End Message ---

Reply to: