On Jul 20, 2010, at 4:17 AM, Eric LEBIGOT wrote:
> Hello,
>
> Building pyqt4-mac-py26-4.6-1 fails on my Mac OS X 10.6.4 with 32-bit
> Fink:
>
> g++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -DQT_NO_DEBUG -DQT_CORE_LIB -I.
> -I/sw/src/fink.build/pyqt4-mac-py26-4.6-1/PyQt-mac-gpl-4.6/qpy/QtCore
> -I/sw/include/python2.6 -I/sw/lib/qt4-mac/mkspecs/default
> -I/sw/lib/qt4-mac/lib/QtCore.framework/Headers -I/sw/lib/qt4-mac/include
> -F/sw/src/fink.build/pyqt4-mac-py26-4.6-1/PyQt-mac-gpl-4.6/qpy/QtCore
> -F/sw/lib/qt4-mac/lib -o sipQtCoreQResource.o sipQtCoreQResource.cpp\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h: In copy constructor
> 'QResource::QResource(const QResource&)':\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:170: error:
> 'QScopedPointer<T, Cleanup>::QScopedPointer(const QScopedPointer<T,
> Cleanup>&) [with T = QResourcePrivate, Cleanup =
> QScopedPointerDeleter<QResourcePrivate>]' is private\
> /sw/lib/qt4-mac/lib/QtCore.framework/Headers/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\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h: In static member function
> 'static void QScopedPointerDeleter<T>::cleanup(T*) [with T =
> QResourcePrivate]':\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:100: instantiated from
> 'QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QResourcePrivate,
> Cleanup = QScopedPointerDeleter<QResourcePrivate>]'\
> /sw/lib/qt4-mac/lib/QtCore.framework/Headers/qresource.h:59: instantiated
> from here\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:59: error: invalid
> application of 'sizeof' to incomplete type 'QResourcePrivate'\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:59: error: creating array
> with negative size ('-0x00000000000000001')\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:60: error: invalid
> application of 'sizeof' to incomplete type 'QResourcePrivate'\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:60: error: creating array
> with negative size ('-0x00000000000000001')\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:62: warning: possible problem
> detected in invocation of delete operator:\
> /sw/lib/qt4-mac/include/QtCore/qscopedpointer.h:54: warning: 'pointer' has
> incomplete type\
> /sw/lib/qt4-mac/lib/QtCore.framework/Headers/qresource.h:56: warning: forward
> declaration of 'struct QResourcePrivate'\
> /sw/lib/qt4-mac/include/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: *** [all] Error 2\
> ### execution of /var/tmp/tmp.1.ku4rkL failed, exit code 2\
> Removing runtime build-lock...\
> Removing build-lock package...\
> /sw/bin/dpkg-lockwait -r fink-buildlock-pyqt4-mac-py26-4.6-1\
>
> qt4-mac itself installed correctly. qt4-x11 is still installed. Prior
> to installing the Mac version of pyqt4, I had installed the X11 version,
> which I removed (but this did not help).
>
> Any help would be much appreciated!
Yes, pyqt4-mac is broken. One of the other maintainers helped by figuring out
how to keep the -mac and the plain versions from stepping on each other's toes.
The only fink package that depends on pyqt4-mac-py26 is qgis-mac*. While I can
commit the 'fixed' pyqt4-mac description, qgis will then break catastrophically
-- qgis-mac builds but crashes on launch.
I'm in the process of trying to fix that problem.
Dave
--
David Reiser
[email protected]
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users