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

Bug#625072: qt-x11-free: FTBFS: ../include/qvaluelist.h:91:13: error: 'ptrdiff_t' does not name a type



Source: qt-x11-free
Version: 3:3.3.8b-7
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> g++ -c -pipe -g -I/usr/include/mysql -I/usr/include/freetype2 -I/usr/include/postgresql -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NAS_SUPPORT -DQT_DLOPEN_OPENGL -DQT_NO_IMAGEIO_MNG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/build/user-qt-x11-free_3.3.8b-7-amd64-kLMa4n/qt-x11-free-3.3.8b/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qapplication_x11.o kernel/qapplication_x11.cpp
> In file included from ../include/qmap.h:49:0,
>                  from kernel/qmime.h:46,
>                  from kernel/qevent.h:48,
>                  from kernel/qobject.h:48,
>                  from kernel/qwidget.h:46,
>                  from kernel/qdesktopwidget.h:43,
>                  from kernel/qapplication.h:45,
>                  from kernel/qapplication_x11.cpp:67:
> ../include/qvaluelist.h:91:13: error: 'ptrdiff_t' does not name a type
> ../include/qvaluelist.h:167:13: error: 'ptrdiff_t' does not name a type
> In file included from ../include/qmap.h:49:0,
>                  from kernel/qmime.h:46,
>                  from kernel/qevent.h:48,
>                  from kernel/qobject.h:48,
>                  from kernel/qwidget.h:46,
>                  from kernel/qdesktopwidget.h:43,
>                  from kernel/qapplication.h:45,
>                  from kernel/qapplication_x11.cpp:67:
> ../include/qvaluelist.h:427:13: error: 'ptrdiff_t' does not name a type
> In file included from kernel/qmime.h:46:0,
>                  from kernel/qevent.h:48,
>                  from kernel/qobject.h:48,
>                  from kernel/qwidget.h:46,
>                  from kernel/qdesktopwidget.h:43,
>                  from kernel/qapplication.h:45,
>                  from kernel/qapplication_x11.cpp:67:
> ../include/qmap.h:110:13: error: 'ptrdiff_t' does not name a type
> ../include/qmap.h:226:13: error: 'ptrdiff_t' does not name a type
> In file included from kernel/qmime.h:46:0,
>                  from kernel/qevent.h:48,
>                  from kernel/qobject.h:48,
>                  from kernel/qwidget.h:46,
>                  from kernel/qdesktopwidget.h:43,
>                  from kernel/qapplication.h:45,
>                  from kernel/qapplication_x11.cpp:67:
> ../include/qmap.h:607:13: error: 'ptrdiff_t' does not name a type
> kernel/qapplication_x11.cpp: In member function 'int QApplication::x11ProcessEvent(XEvent*)':
> kernel/qapplication_x11.cpp:3741:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
> kernel/qapplication_x11.cpp:3754:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
> kernel/qapplication_x11.cpp: In member function 'bool QETWidget::translateMouseEvent(const XEvent*)':
> kernel/qapplication_x11.cpp:4170:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
> kernel/qapplication_x11.cpp: In member function 'bool QETWidget::translateKeyEventInternal(const XEvent*, int&, QString&, int&, char&, int&, QEvent::Type&, bool, bool)':
> kernel/qapplication_x11.cpp:5305:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
> kernel/qapplication_x11.cpp:5380:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
> kernel/qapplication_x11.cpp:5383:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
> kernel/qapplication_x11.cpp:5182:16: warning: unused variable 'status' [-Wunused-variable]
> kernel/qapplication_x11.cpp: In function 'int isPaintOrScrollDoneEvent(Display*, XEvent*, XPointer)':
> kernel/qapplication_x11.cpp:5705:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
> kernel/qapplication_x11.cpp: In function 'int qt_net_wm_sync_request_scanner(Display*, XEvent*, XPointer)':
> kernel/qapplication_x11.cpp:5863:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
> make[2]: *** [.obj/release-shared-mt/qapplication_x11.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/qt-x11-free_3:3.3.8b-7_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Reply to: