[Gluster-devel] Fwd: Bug#777878: glusterfs: ftbfs with GCC-5

Niels de Vos ndevos at redhat.com
Sat Feb 28 12:35:52 UTC 2015


This should be fixed with the change for Bug 1191006:

    https://bugzilla.redhat.com/1191006

glusterfs-3.6.0 and newer already have included a fix through Bug
1086773:

    https://bugzilla.redhat.com/1086773

glusterfs-3.5.4 should see a first beta in the following weeks. But, in
case this is an urgent issue, we can do that sooner.

Thanks,
Niels

On Sat, Feb 14, 2015 at 04:54:05PM +0100, Patrick Matthäi wrote:
> FYI
> 
> 
> -------- Weitergeleitete Nachricht --------
> Betreff: Bug#777878: glusterfs: ftbfs with GCC-5
> Weitersenden-Datum: Thu, 12 Feb 2015 10:43:06 +0000
> Weitersenden-Von: Matthias Klose <doko at debian.org>
> Weitersenden-An: Patrick Matthäi <pmatthaei at debian.org>
> Datum: Thu, 12 Feb 2015 10:31:55 +0000
> Von: Matthias Klose <doko at debian.org>
> Antwort an: Matthias Klose <doko at debian.org>,
> 777878-maintonly at bugs.debian.org
> An: maintonly at bugs.debian.org
> 
> Package: src:glusterfs
> Version: 3.5.2-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/glusterfs_3.5.2-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
> 
> [...]
> In file included from argp-fmtstream.c:34:0:
> argp-fmtstream.h:211:38: note: previous definition of
> 'argp_fmtstream_set_rmargin' was here
>  #define __argp_fmtstream_set_rmargin argp_fmtstream_set_rmargin
>                                       ^
> argp-fmtstream.h:272:1: note: in expansion of macro
> '__argp_fmtstream_set_rmargin'
>  __argp_fmtstream_set_rmargin (argp_fmtstream_t __fs, size_t __rmargin)
>  ^
> In file included from argp-fmtstream.c:35:0:
> argp-namefrob.h:70:38: error: redefinition of 'argp_fmtstream_set_wmargin'
>  #define __argp_fmtstream_set_wmargin argp_fmtstream_set_wmargin
>                                       ^
> argp-fmtstream.c:456:1: note: in expansion of macro
> '__argp_fmtstream_set_wmargin'
>  __argp_fmtstream_set_wmargin (argp_fmtstream_t __fs, size_t __wmargin)
>  ^
> In file included from argp-fmtstream.c:34:0:
> argp-fmtstream.h:212:38: note: previous definition of
> 'argp_fmtstream_set_wmargin' was here
>  #define __argp_fmtstream_set_wmargin argp_fmtstream_set_wmargin
>                                       ^
> argp-fmtstream.h:284:1: note: in expansion of macro
> '__argp_fmtstream_set_wmargin'
>  __argp_fmtstream_set_wmargin (argp_fmtstream_t __fs, size_t __wmargin)
>  ^
> In file included from argp-fmtstream.c:35:0:
> argp-namefrob.h:72:32: error: redefinition of 'argp_fmtstream_point'
>  #define __argp_fmtstream_point argp_fmtstream_point
>                                 ^
> argp-fmtstream.c:468:1: note: in expansion of macro '__argp_fmtstream_point'
>  __argp_fmtstream_point (argp_fmtstream_t __fs)
>  ^
> In file included from argp-fmtstream.c:34:0:
> argp-fmtstream.h:213:32: note: previous definition of
> 'argp_fmtstream_point' was here
>  #define __argp_fmtstream_point argp_fmtstream_point
>                                 ^
> argp-fmtstream.h:296:1: note: in expansion of macro '__argp_fmtstream_point'
>  __argp_fmtstream_point (argp_fmtstream_t __fs)
>  ^
> make[5]: *** [argp-fmtstream.o] Error 1
> Makefile:434: recipe for target 'argp-fmtstream.o' failed
> make[4]: *** [all-recursive] Error 1
> Makefile:450: recipe for target 'all-recursive' failed
> make[3]: *** [all] Error 2
> Makefile:348: recipe for target 'all' failed
> make[2]: *** [all-recursive] Error 1
> Makefile:525: recipe for target 'all-recursive' failed
> make[1]: *** [all] Error 2
> Makefile:427: 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
> 
> 
> 



> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20150228/46eafb65/attachment.sig>


More information about the Gluster-devel mailing list