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

Bug#623185: qt4-x11: powerpcspe: FTBFS: ../../include/QtCore/../../src/corelib/arch/qatomic_generic.h:197: error: invalid conversion from 'const void*' to 'void*'

Hi Nobuhiro,

Alle lunedì 18 aprile 2011, Nobuhiro Iwamatsu ha scritto:
> Because In the case of powerpcspe, the architecture is set in
> 'generic', and use src/corelib/arch/generic/.

Theorically qt4 should build with the 'generic' architecture.

> Determining system architecture... (Linux:2.6.36:powerpcspe)
>     Trying 'powerpcspe'...
>     'powerpcspe' is unsupported, using 'generic'
>     'powerpcspe' is unsupported, using 'generic'
> System architecture: 'generic'
> [...]
> I made patch to support powerpcspe.
> powerpcspe team confirmed that this bug was revised by applying this
> patch. Could you apply this patch?

Your patch is based on the code resulting after the qt4-x11 patch 
07_trust_dpkg-arch_over_uname-m.diff, hence it is wrong. I made a 
different patch (see [1]) which maps powerpcspe as ppc in qt4's 
configure script.

Please note that switching from 'generic' (which is how qt4-x11 on 
powerpcspe has been built so far) to a specific architecture is binary 
incompatible (as two public functions are dropped), and thus you will 
need to rebuilding every package depending on libqtcore4 after the qt4-
x11 upload carrying this fix is uploaded.

[1] http://git.debian.org/?p=pkg-kde/qt/qt4-

Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: