[Gta04-owner] qtmoko on stretch

H. Nikolaus Schaller hns at goldelico.com
Mon Jan 1 22:28:19 CET 2018


Hi,

> Am 01.01.2018 um 11:55 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi,
> 
> I tried to compile qtmoko on stretch.
> But it is not that easy. The compilers are more strict:

Yes, "stretching" a jessie system isn't painless.

> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2415919104u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483649u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483648u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483654u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483653u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483656u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483650u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2415919104u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483649u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483648u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> /home/qtbuild/qtmoko/qtopiacore/qt/src/gui/widgets/qdialogbuttonbox.cpp:260:1: error: narrowing conversion of '2147483654u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
> 
> In that case it is not only a single line but a more massive int ->
> unsigned int cleanup. I doubt it is worth the effort.

Indeed. I think we can live with a Jessie based QtMoko for a while,
although systemd would make it boot faster.

> So for now I will
> stick with jessie or follow totally different paths with splitting out
> qt.

I have worked on my setup and it now needs ca. 420 minutes to compile the wheezy
version from scratch on a OMAP5432EVM. It doesn't drive the OMAP5 to full speed
so such a setup seems to be mainly limited by the speed of the SD card...

Re-running a build takes approx. 100 minutes thanks to ccache. Still too much,
but that starts to be acceptable.

What I am currently trying is to build the 3rd party packages in addition,
but there is something missing with the codec libs so that it fails.

And my driver script (to remotely control the EVM or a Letux Cortex 8)
lacks some features like publishing the final result... Or rsyncing a
modified source tree from the host to the EVM instead of pulling sources
through git. So that it finally feels like a hidden remote procedure call
for "make".

BR,
Nikolaus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20180101/9e0c686f/attachment.asc>


More information about the Gta04-owner mailing list