Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287255 - [qting-edge] PyQt4-4.6 fails to build with Qt-4.6 snapshots
Summary: [qting-edge] PyQt4-4.6 fails to build with Qt-4.6 snapshots
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 18:37 UTC by Keith Rusler
Modified: 2009-10-09 06:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Rusler 2009-10-01 18:37:52 UTC
In file included from sip/QtCore/qresource.sip:40:                                                                   
/usr/include/qt4/QtCore/qscopedpointer.h: In copy constructor ‘QResource::QResource(const QResource&)’:              
/usr/include/qt4/QtCore/qscopedpointer.h:180: error: ‘QScopedPointer<T, Cleanup>::QScopedPointer(const QScopedPointer<T, Cleanup>&) [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]’ is private            
/usr/include/qt4/QtCore/qresource.h:59: error: within this context                                                   
sipQtCoreQResource.cpp: In constructor ‘sipQResource::sipQResource(const QResource&)’:                               
sipQtCoreQResource.cpp:78: note: synthesized method ‘QResource::QResource(const QResource&)’ first required here     
In file included from /usr/include/qt4/QtCore/qobject.h:55,                                                          
                 from /usr/include/qt4/QtCore/qiodevice.h:47,                                                        
                 from /usr/include/qt4/QtCore/qdatastream.h:46,                                                      
                 from /usr/include/qt4/QtCore/qmetatype.h:50,                                                        
                 from /usr/include/qt4/QtCore/QMetaType:2,                                                           
                 from sipAPIQtCore.h:41,                                                                             
                 from sipQtCoreQResource.cpp:35:                                                                     
/usr/include/qt4/QtCore/qscopedpointer.h: In static member function ‘static void QScopedPointerDeleter<T>::cleanup(T*) [with T = QResourcePrivate]’:                                                                                      
/usr/include/qt4/QtCore/qscopedpointer.h:100:   instantiated from ‘QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QResourcePrivate, Cleanup = QScopedPointerDeleter<QResourcePrivate>]’                                          
/usr/include/qt4/QtCore/qresource.h:59:   instantiated from here                                                     
/usr/include/qt4/QtCore/qscopedpointer.h:59: error: invalid application of ‘sizeof’ to incomplete type ‘QResourcePrivate’                                                                                                                 
/usr/include/qt4/QtCore/qscopedpointer.h:59: error: creating array with negative size (‘-0x000000001’)               
/usr/include/qt4/QtCore/qscopedpointer.h:62: warning: possible problem detected in invocation of delete operator:    
/usr/include/qt4/QtCore/qscopedpointer.h:54: warning: ‘pointer’ has incomplete type                                  
/usr/include/qt4/QtCore/qresource.h:56: warning: forward declaration of ‘struct QResourcePrivate’                    
/usr/include/qt4/QtCore/qscopedpointer.h:62: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.                                                     
make[1]: *** [sipQtCoreQResource.o] Error 1                                                                          
make[1]: *** Waiting for unfinished jobs....                                                                         
make[1]: Leaving directory `/var/tmp/portage/dev-python/PyQt4-4.6/work/PyQt-x11-gpl-4.6-2.6/QtCore'                  
make: *** [all] Error 2           

Reproducible: Always

Steps to Reproduce:
1. Emerge qt-4.6
2. Emerge PyQt4 (very latest)
3.
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2009-10-01 20:07:43 UTC
Does PyQt4-4.5.4-r4 work with qt-4.6 snapshots? In any case, would you mind reporting the failure upstream to "phil at riverbankcomputing.com"?
Comment 2 Keith Rusler 2009-10-01 21:24:41 UTC
(In reply to comment #1)
> Does PyQt4-4.5.4-r4 work with qt-4.6 snapshots? In any case, would you mind
> reporting the failure upstream to "phil at riverbankcomputing.com"?
> 

Qt v4.6 won't be supported until it is released.
Phil

The email I got from him.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2009-10-03 10:57:24 UTC
(In reply to comment #2)

Ok, I guess we'll wait for upstream support then.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-10-09 06:02:53 UTC
Ok this bug will close as LATER since upstream is not willing to support Qt-4.6