[Pkg-utopia-maintainers] Bug#777883: gnome-disk-utility: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:32:00 UTC 2015


Package: src:gnome-disk-utility
Version: 3.12.1-1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/gnome-disk-utility_3.12.1-1_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]
  CCLD     libgdu.la
make[5]: Leaving directory '/«PKGBUILDDIR»/src/libgdu'
make[4]: Leaving directory '/«PKGBUILDDIR»/src/libgdu'
Making all in disks
make[4]: Entering directory '/«PKGBUILDDIR»/src/disks'
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
make  all-am
make[5]: Entering directory '/«PKGBUILDDIR»/src/disks'
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
XMLLINT not set and xmllint not found in path; skipping xml preprocessing.
  CC       gnome_disks-main.o
  CC       gnome_disks-resources.o
  CC       gnome_disks-gduapplication.o
  CC       gnome_disks-gdudevicetreemodel.o
  CC       gnome_disks-gduvolumegrid.o
In file included from gduvolumegrid.c:11:0:
gduvolumegrid.c: In function 'maybe_add_partition':
gduvolumegrid.c:1552:31: error: format '%d' expects argument of type 'int', but argument 2 has type 'guint {aka unsigned int}' [-Werror=format=]
       s = g_strdup_printf (C_("volume-grid", "Partition %d: %s"), number, name);
                               ^
/usr/include/glib-2.0/glib/gi18n.h:29:47: note: in definition of macro 'C_'
 #define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1)
                                               ^
gduvolumegrid.c:1559:31: error: format '%d' expects argument of type 'int', but argument 2 has type 'guint {aka unsigned int}' [-Werror=format=]
       s = g_strdup_printf (C_("volume-grid", "Partition %d"), number);
                               ^
/usr/include/glib-2.0/glib/gi18n.h:29:47: note: in definition of macro 'C_'
 #define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1)
                                               ^
cc1: some warnings being treated as errors
make[5]: *** [gnome_disks-gduvolumegrid.o] Error 1
Makefile:676: recipe for target 'gnome_disks-gduvolumegrid.o' failed
make[5]: Leaving directory '/«PKGBUILDDIR»/src/disks'
make[4]: *** [all] Error 2
Makefile:471: recipe for target 'all' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/src/disks'
make[3]: *** [all-recursive] Error 1
Makefile:405: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/src'
make[2]: *** [all-recursive] Error 1
Makefile:460: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all] Error 2
Makefile:391: recipe for target 'all' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:4: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-utopia-maintainers mailing list