Ticket #30400 (new defect) QT3 fails to build

Jeremy Huddleston jeremyhu at macports.org
Tue Jul 26 14:04:40 PDT 2011


Yeah.  I suspect much of QT3 has issues where they assume sizeof(int) == sizeof(long) == sizeof(void *) ...

If you need QT3, you'll need to use i386 and not x86_64 ... I'd recommend jumping to QT4 since QT3 hasn't seen development for many, many years.


On Jul 26, 2011, at 1:21 PM, Andrew Long wrote:

> I've just raised a new ticket at macports on a problem building QT3 as part of installing gnucash. The pertinent part of the error log seems to be that when it's compiling the mutex code, there's a loss of precision when casting.
> 
> :info:build tools/qmutex_unix.cpp: In member function ‘virtual void QRecursiveMutexPrivate::unlock()’:
> :info:build tools/qmutex_unix.cpp:265: error: cast from ‘_opaque_pthread_t*’ to ‘int’ loses precision
> :info:build make[2]: *** [.obj/release-shared-mt/qmutex_unix.o] Error 1
> :info:build make[1]: *** [sub-src] Error 2
> :info:build make: *** [init] Error 2
> 
> That would seem to be a show-stopper to me, without more detailed knowledge of the architectures involved.
> 
> I try to build all ports with +universal in variants.conf.
> 
> I can't find a ticket on this subject.
> 
> Regards, Andy 
> 
> -- 
> Andrew Long
> andrew dot long at yahoo dot com
> 
> 
> 
> 
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list