Bug#811927: xneur: FTBFS with GCC 6: defined but not used

2016-07-27 Thread Martin Michlmayr
* Alexander Gerasiov  [2016-07-27 21:39]:
> > Note that only the first error is reported; there might be more.  You
> > can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
> > you can set CC=gcc-6 CXX=g++-6 explicitly.
> 
> Finally new upstream version out and I got some time to package it.
> Unfortunately I cant reproduce the problem not with 0.17.0-2 you
> reported, nor with the new one.

I used a pre-released version of GCC 6 so it's possible something has
been fixed in the compiler in the meantime.

If you don't see the problem, go ahead and close this bug.
Unfortunately, I cannot do my own GCC 6 retests at the moment.

-- 
Martin Michlmayr
HPE Linux, Hewlett Packard Enterprise



Processed: Re: Bug#811927: xneur: FTBFS with GCC 6: defined but not used

2016-07-27 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tag 811927 moreinfo unreproducible
Bug #811927 [xneur] xneur: FTBFS with GCC 6: defined but not used
Added tag(s) moreinfo and unreproducible.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
811927: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811927
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#811927: xneur: FTBFS with GCC 6: defined but not used

2016-07-27 Thread Alexander Gerasiov
tag 811927 moreinfo unreproducible
thanks

Hello Martin,

On Tue, 19 Jan 2016 19:47:22 -0800
Martin Michlmayr  wrote:

> Package: xneur
> Version: 0.17.0-2
> Severity: important
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-6 gcc-6-unused-const-variable
> 
> This package fails to build with GCC 6.  GCC 6 has not been released
> yet, but it's expected that GCC 6 will become the default compiler for
> stretch.
> 
> Note that only the first error is reported; there might be more.  You
> can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
> you can set CC=gcc-6 CXX=g++-6 explicitly.

Finally new upstream version out and I got some time to package it.
Unfortunately I cant reproduce the problem not with 0.17.0-2 you
reported, nor with the new one.

I add gcc,cpp,g++ (>=4:6) to dependencies and run
sbuild --dist experimental --build-dep-resolver=aptitude

It installs gcc 4:6-20160101-3 but builds everything without problem:

> Build Architecture: amd64
> Build-Space: 25200
> Build-Time: 37
> Distribution: experimental
> Host Architecture: amd64
> Install-Time: 115
> Job: /home/gq/debian/packages/xneur_0.17.0-2.dsc
> Machine Architecture: amd64
> Package: xneur
> Package-Time: 157
> Source-Version: 0.17.0-2
> Space: 25200
> Status: successful
> Version: 0.17.0-2

Do I miss something?

> 
> You may be able to find out more about this issue at
> https://gcc.gnu.org/gcc-6/changes.html
> 
> > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux  
> ...
> > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Wdate-time
> > -D_FORTIFY_SOURCE=2 -I../../lib/config -I../../lib/misc
> > -I../../lib/notify -I../../lib/ai -I../../lib/lib -I../../lib/rec
> > -Wall -Wextra -Werror -g0 -std=gnu99 -fPIC
> > -DXNEUR_PLUGIN_DIR=\"/usr/lib/x86_64-linux-gnu/xneur\" -g -O2
> > -fstack-protector-strong -Wformat -Werror=format-security -c
> > focus.c  -fPIC -DPIC -o .libs/libxnmain_la-focus.o In file included
> > from focus.c:30:0: defines.h:30:18: error: 'groups' defined but not
> > used [-Werror=unused-const-variable] static const int groups[4] =
> > {0x, 0x2000, 0x4000, 0x6000}; ^~
> > 
> > cc1: all warnings being treated as errors
> > Makefile:486: recipe for target 'libxnmain_la-focus.lo' failed
> > make[4]: *** [libxnmain_la-focus.lo] Error 1  
> 



-- 
Best regards,
 Alexander Gerasiov

 Contacts:
 e-mail: g...@cs.msu.su  Homepage: http://gerasiov.net  Skype: gerasiov
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1