Bug#823145: Qt4-using packages fail to build with gcc6

2016-05-08 Thread Rene Engelhard
Hi, On Sun, May 08, 2016 at 02:38:18PM +0300, Dmitry Shachnev wrote: > Will anything break if these -isystem's are replaced with -I's? Not except upstreams Warnings-are-errors configuration: https://cgit.freedesktop.org/libreoffice/core/tree/configure.ac#n3227 We could ignore that, but I'd keep

Bug#823145: Qt4-using packages fail to build with gcc6

2016-05-08 Thread Rene Engelhard
reassign 823145 src:libreoffice retitle 823145 FTBFS with gcc 6: -isystem /usr/include in KDE4_CFLAGS breaks includes thanks Hi, On Sun, May 08, 2016 at 01:23:32PM +0200, Rene Engelhard wrote: > Jup. See "checking for KDE4 headers... /usr/include". Which ends up as > > export

Bug#823145: Qt4-using packages fail to build with gcc6

2016-05-08 Thread Dmitry Shachnev
On Sun, May 08, 2016 at 01:23:32PM +0200, Rene Engelhard wrote: > From configure: > > [...] > > Jup. See "checking for KDE4 headers... /usr/include". Which ends up as > > export KDE4_CFLAGS=$(gb_SPACE)-isystem /usr/include -DQT_SHARED -isystem > /usr/include/qt4 -isystem /usr/include/qt4/QtNetwork

Bug#823145: Qt4-using packages fail to build with gcc6

2016-05-08 Thread Dmitry Shachnev
Hi Rene, On Sun, May 08, 2016 at 01:05:47PM +0200, Rene Engelhard wrote: > Or are you implying it does work without that -isystem? > > (cowbuilder-unstable)rene@frodo:~$ g++-6 -isystem /usr/include -c test.c > In file included from test.c:1:0: > /usr/include/c++/6/cstdlib:75:25: fatal error:

Bug#823145: Qt4-using packages fail to build with gcc6

2016-05-08 Thread Rene Engelhard
On Sun, May 08, 2016 at 01:05:47PM +0200, Rene Engelhard wrote: > > By the way, is there any particular reason why LibreOffice buildsystem uses > > -isystem /usr/include? > > Probably some bug where it just adds whatever -I it finds (and be it > /usr/include, which shouldn't be specificied but..)

Bug#823145: Qt4-using packages fail to build with gcc6

2016-05-08 Thread Rene Engelhard
Hi, On Tue, May 03, 2016 at 09:32:55PM +0300, Dmitry Shachnev wrote: > > In file included from /usr/include/c++/6/bits/stl_algo.h:59:0, > > from /usr/include/c++/6/algorithm:62, > > from /usr/include/qt4/QtCore/qglobal.h:68, > > from

Bug#823145: Qt4-using packages fail to build with gcc6

2016-05-03 Thread Dmitry Shachnev
Hi Rene, On Sun, May 01, 2016 at 02:55:23PM +0200, Rene Engelhard wrote: > When I try to compile LibreOffice (which otherwise is ready for gcc 6, see > below) with gcc 6 I get: > > [...] > > configure:37742: x86_64-linux-gnu-g++ -o conftest -g -O2 > -fstack-protector-stron > g -Wformat

Bug#823145: Qt4-using packages fail to build with gcc6

2016-05-01 Thread Rene Engelhard
Package: libqt4-dev Version: 4:4.8.7+dfsg-6 Severity: important Hi, When I try to compile LibreOffice (which otherwise is ready for gcc 6, see below) with gcc 6 I get: checking for Qt4 headers... /usr/include/qt4 checking for qmake-qt4... /usr/bin/qmake-qt4 checking for Qt4 libraries...