Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QT 4.1 breaks several package builds
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
LordNikon9x
n00b
n00b


Joined: 31 May 2005
Posts: 12
Location: Estonia

PostPosted: Thu Jan 05, 2006 5:52 pm    Post subject: QT 4.1 breaks several package builds Reply with quote

Hello!

QT 4.1 breaks several pacakge builds (mythtv, dbus for starters).
For some reason those do not see QT 3.x in /usr/qt/3 and use v4.1
and fail misreably. I think with v4.0.x it did not have such behavior.

For workaround, should I make binary package on build time and when I want to
update my system first remove qt4 and when done re-install qt4 from binary package?

TY in advance..
Back to top
View user's profile Send private message
vladgrigorescu
Guru
Guru


Joined: 11 Jan 2005
Posts: 360

PostPosted: Thu Jan 05, 2006 5:53 pm    Post subject: Reply with quote

I upgraded to 4.1 without any of these problems. Did you just unmask qt from ~x86, and not the problematic packages, or something like that?
Back to top
View user's profile Send private message
LordNikon9x
n00b
n00b


Joined: 31 May 2005
Posts: 12
Location: Estonia

PostPosted: Thu Jan 05, 2006 8:09 pm    Post subject: Reply with quote

Quote:
Did you just unmask qt from ~x86, and not the problematic packages, or something like that?

No. I run ACCEPT_KEYWORDS="~amd64" and so far everything "Just Works" (tm).

So, now I looked into the issue a little more than "just fails".

Code:

../qt/qdbusmarshall.cpp:72: error: conversion from `dbus_int64_t' to `QVariant' is ambiguous
/usr/include/qt4/QtCore/qvariant.h:150: note: candidates are: QVariant::QVariant(const char*) <near match>
/usr/include/qt4/QtCore/qvariant.h:149: note:                 QVariant::QVariant(double)
/usr/include/qt4/QtCore/qvariant.h:148: note:                 QVariant::QVariant(bool)
/usr/include/qt4/QtCore/qvariant.h:147: note:                 QVariant::QVariant(qulonglong)
/usr/include/qt4/QtCore/qvariant.h:146: note:                 QVariant::QVariant(qlonglong)
/usr/include/qt4/QtCore/qvariant.h:145: note:                 QVariant::QVariant(uint)
/usr/include/qt4/QtCore/qvariant.h:144: note:                 QVariant::QVariant(int)
/usr/include/qt4/QtCore/qvariant.h:136: note:                 QVariant::QVariant(QVariant::Type) <near match>


In my first post I thought it was qt3 -> qt4 porting error, but dbus has qt4 support already.
The error here states that dbus_int64_t (it is declared in <dbus/dbus-arch-deps.h> and usual long datatype)
can not be used with QVariant , coz qt does not have QVariant::QVariant(long) constructor...
I think we have to wait for upstream patches or something methinks

/edit:
But qt4.0 did not had QVariant::QVariant(long) either..


Last edited by LordNikon9x on Fri Jan 06, 2006 7:16 am; edited 1 time in total
Back to top
View user's profile Send private message
vladgrigorescu
Guru
Guru


Joined: 11 Jan 2005
Posts: 360

PostPosted: Fri Jan 06, 2006 12:05 am    Post subject: Reply with quote

LordNikon9x wrote:
I think we have to wait for upstream patches or something methinks


Agreed.
Back to top
View user's profile Send private message
rek2
Guru
Guru


Joined: 05 Jan 2003
Posts: 477
Location: Boston USA/Barcelona Spain

PostPosted: Fri Feb 10, 2006 1:41 pm    Post subject: Reply with quote

any news on this?
_________________
http://www.dailyradical.org
http://www.binaryfreedom.info
use jabber!!! sing on now, register an account:
http://jabber.binaryfreedom.info
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum