Letting Qt5 build on ppcspe
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Tue May 31 12:42:45 UTC 2016
Hi Dmitry!
On 05/31/2016 02:29 PM, Dmitry Shachnev wrote:
> (CCing also Adrian who filed #824971 and is probably interested in getting
> Qt bootstrapped on powerpcspe.)
Thanks for letting me know. And, yes, I am definitely interested :).
> On Mon, May 30, 2016 at 03:36:15PM -0300, Lisandro Damián Nicanor Pérez Meyer wrote:
>> Hi Roland! Just for the record, for what I see in [build] you just need to
>> build qtchooser without tests (and so dropping qtbase5-dev from build
>> dependencies) in order to bootstrap it (or build it with nocheck in
>> DEB_BUILD_OPTIONS).
>>
>> [build] http://deb.li/qt5builds
>
> I have pushed a commit [1] that removes the build-dependency on qtbase5-dev
> for stage1 and nocheck build profiles.
>
> I hope that will make the bootstrapping easier (if not, please let me know —
> this is the first time I deal with build profiles).
I'll definitely have a look. I just can't do it right now because I'm at
work :).
Since we're talking about Qt anyway: There is a strange FTBFS of qt4-x11
which I am seeing on powerpcspe [1]:
g++ -c -include .pch/release-shared/QtDesignerComponents -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-std=gnu++98 -I/usr/include/freetype2 -gstabs -O2 -D_REENTRANT -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_STATICPLUGIN
-DQDESIGNER_COMPONENTS_LIBRARY -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtDesigner -I../../../../../include/QtCore -I../../../../../include/QtGui
-I../../../../../include/QtXml -I../../../../../include/QtScript -I../../../../../include -I. -I.. -I../../lib/components -I../../lib/sdk -I../../lib/extension
-I../../lib/uilib -I../../lib/shared -I../propertyeditor -I../../../../shared/qtpropertybrowser -I../../../../shared/qtgradienteditor
-I../../../../shared/findwidget -I../objectinspector -I../signalsloteditor -I../formeditor -I../widgetbox -I../buddyeditor -I../taskmenu -I../propertyeditor
-I../taskmenu -I../../../../shared/qtpropertybrowser -I../tabordereditor -I.moc/release-shared -I.uic/release-shared -o
.obj/release-shared/qdesigner_components.o qdesigner_components.cpp
g++ -c -include .pch/release-shared/QtDesignerComponents -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-std=gnu++98 -I/usr/include/freetype2 -gstabs -O2 -D_REENTRANT -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_STATICPLUGIN
-DQDESIGNER_COMPONENTS_LIBRARY -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED
-I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtDesigner -I../../../../../include/QtCore -I../../../../../include/QtGui
-I../../../../../include/QtXml -I../../../../../include/QtScript -I../../../../../include -I. -I.. -I../../lib/components -I../../lib/sdk -I../../lib/extension
-I../../lib/uilib -I../../lib/shared -I../propertyeditor -I../../../../shared/qtpropertybrowser -I../../../../shared/qtgradienteditor
-I../../../../shared/findwidget -I../objectinspector -I../signalsloteditor -I../formeditor -I../widgetbox -I../buddyeditor -I../taskmenu -I../propertyeditor
-I../taskmenu -I../../../../shared/qtpropertybrowser -I../tabordereditor -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qtpropertybrowser.o
../../../../shared/qtpropertybrowser/qtpropertybrowser.cpp
/<<BUILDDIR>>/qt4-x11-4.8.7+dfsg/bin/moc -DQT_STATICPLUGIN -DQDESIGNER_COMPONENTS_LIBRARY -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtDesigner -I../../../../../include/QtCore
-I../../../../../include/QtGui -I../../../../../include/QtXml -I../../../../../include/QtScript -I../../../../../include -I. -I.. -I../../lib/components
-I../../lib/sdk -I../../lib/extension -I../../lib/uilib -I../../lib/shared -I../propertyeditor -I../../../../shared/qtpropertybrowser
-I../../../../shared/qtgradienteditor -I../../../../shared/findwidget -I../objectinspector -I../signalsloteditor -I../formeditor -I../widgetbox -I../buddyeditor
-I../taskmenu -I../propertyeditor -I../taskmenu -I../../../../shared/qtpropertybrowser -I../tabordereditor -I.moc/release-shared -I.uic/release-shared
../../../../shared/qtpropertybrowser/qtpropertymanager.cpp -o .moc/release-shared/qtpropertymanager.moc
/<<BUILDDIR>>/qt4-x11-4.8.7+dfsg/bin/moc -DQT_STATICPLUGIN -DQDESIGNER_COMPONENTS_LIBRARY -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I. -I../../../../../include/QtDesigner -I../../../../../include/QtCore
-I../../../../../include/QtGui -I../../../../../include/QtXml -I../../../../../include/QtScript -I../../../../../include -I. -I.. -I../../lib/components
-I../../lib/sdk -I../../lib/extension -I../../lib/uilib -I../../lib/shared -I../propertyeditor -I../../../../shared/qtpropertybrowser
-I../../../../shared/qtgradienteditor -I../../../../shared/findwidget -I../objectinspector -I../signalsloteditor -I../formeditor -I../widgetbox -I../buddyeditor
-I../taskmenu -I../propertyeditor -I../taskmenu -I../../../../shared/qtpropertybrowser -I../tabordereditor -I.moc/release-shared -I.uic/release-shared
../../../../shared/qtpropertybrowser/qteditorfactory.cpp -o .moc/release-shared/qteditorfactory.moc
cc1plus: fatal error: .pch/release-shared/QtDesignerComponents: No such file or directory
cc1plus: fatal error: .pch/release-shared/QtDesignerComponents: No such file or directory
compilation terminated.
compilation terminated.
Makefile:22254: recipe for target '.obj/release-shared/qdesigner_components.o' failed
Do you have any idea why this happens? Could there be possibly a build dependency be
missing? This particular package definitely built successfully on powerpcspe in
the past (I did a testbuild with 4:4.8.5+git209-g718fae5+dfsg-1 which previously
built fine), so unless there is something broken in the toolchain (which I also
don't think since powerpcspe basically uses the powerpc backend of gcc), I think
that qt4-x11 depends on these precompiled headers being present from an external
package which might not be there unless Qt5 is fully bootstrapped.
Thanks for your help!
Adrian
> [1] https://buildd.debian.org/status/fetch.php?pkg=qt4-x11&arch=powerpcspe&ver=4%3A4.8.7%2Bdfsg-7&stamp=1464241547
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-talk/attachments/20160531/4237cd8a/attachment.sig>
More information about the pkg-kde-talk
mailing list