scribus fails to compile due to a compile fail of qt-x11 (Bug #358)


Added by Carlo Dormeletti over 2 years ago. Updated over 2 years ago.


Status:New Start date:02/11/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Grimoire:Stable

Description

Scibus fails to cast in stable grimoire due to a compilation bug in qt-x11.

Read the last lines of the comiplation log of qt-x11

-------------------------------- BEGIN -------------------------------
/usr/src/qt-x11-free-3.3.8/bin/moc kernel/qapplication_x11.cpp o .moc/release-shared-mt/qapplication_x11.moc
g++ -c -pipe -Wall -W -march=athlon-xp -pipe -Os -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA -DQT_DLOPEN_OPENGL -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -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/usr/src/qt-x11-free-3.3.8/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:46:0,
from kernel/qmime.h:43,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qvaluelist.h:88:13: error: 'ptrdiff_t' does not name a type
../include/qvaluelist.h:164:13: error: 'ptrdiff_t' does not name a type
In file included from ../include/qmap.h:46:0,
from kernel/qmime.h:43,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qvaluelist.h:424:13: error: 'ptrdiff_t' does not name a type
In file included from kernel/qmime.h:43:0,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qmap.h:107:13: error: 'ptrdiff_t' does not name a type
../include/qmap.h:223:13: error: 'ptrdiff_t' does not name a type
In file included from kernel/qmime.h:43:0,
from kernel/qevent.h:45,
from kernel/qobject.h:45,
from kernel/qwidget.h:43,
from kernel/qdesktopwidget.h:40,
from kernel/qapplication.h:42,
from kernel/qapplication_x11.cpp:64:
../include/qmap.h:604:13: error: 'ptrdiff_t' does not name a type
kernel/qapplication_x11.cpp: In member function 'int QApplication::x11ProcessEvent(XEvent*)':
kernel/qapplication_x11.cpp:3690:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
kernel/qapplication_x11.cpp:3703:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
kernel/qapplication_x11.cpp: In member function 'bool QETWidget::translateMouseEvent(const XEvent*)':
kernel/qapplication_x11.cpp:4119: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)':
kernel/qapplication_x11.cpp:5158:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
kernel/qapplication_x11.cpp:5229:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
kernel/qapplication_x11.cpp:5232:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
kernel/qapplication_x11.cpp: In function 'int isPaintOrScrollDoneEvent(Display*, XEvent*, XPointer)':
kernel/qapplication_x11.cpp:5521:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
make1: * [.obj/release-shared-mt/qapplication_x11.o] Error 1
make1: Leaving directory `/usr/src/qt-x11-free-3.3.8/src'
make: *
[sub-src] Error 2
! Problem Detected !
---------------------------
END --------------------------


History

Updated by Ladislav Hagara over 2 years ago

scribus is deprecated, not in test grimoire, in next stable grimoire will be removed

please cast "scribus4"

Updated by Carlo Dormeletti over 2 years ago

Ok, i try to cast scribus4, many thanks

Also available in: Atom PDF