Ticket #30400 (closed defect: wontfix)
qt3 @3.3.8 build failure
| Reported by: | andrew.long@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.0 |
| Keywords: | Cc: | pixilla@… | |
| Port: | qt3 |
Description
Trying to install gnucash +gtkhtml fails when building qt3 with an error ':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'
I'm running macports 2.0.0 on OSX 10.6.8 with Xcode 3.2.1
Here's the tail end of the build log
:info:build /usr/bin/g++-4.2 -c -pipe -O2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/qt3/work/qt-x11-free-3.3.8/include -I/opt/local/include -fno-exceptions -Wall -W -Os -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D__DARWIN_X11__ -DQT_THREAD_SUPPORT -DQT_NO_NIS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_PNG -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/qt3/work/qt-x11-free-3.3.8/mkspecs/darwin-g++ -I. -I/opt/local/include/freetype2 -I3rdparty/opentype -I/opt/local/lib/qt3/include -I../include -I/opt/local/include -I/opt/local/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qmutex_unix.o tools/qmutex_unix.cpp :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 :info:build shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/qt3/work/qt-x11-free-3.3.8 && ./CompileScript.sh" returned error 2
I've cleaned all and retried, with variant +no_x11, but there wasn't any difference
Regards, Andy
Change History
comment:2 Changed 2 years ago by ryandesign@…
If you're really using Xcode 3.2.1, please update to 3.2.6. It might not help with this specific problem but since Apple has released these bugfixes you may as well accept them.
comment:3 Changed 2 years ago by jeremyhu@…
- Status changed from new to closed
- Resolution set to wontfix
Also, this is not something I think we should fix. Upstream doesn't even want to support it, so why should we? Move to QT4 or use i386 for QT3.
Setting wontfix unless someone actually wants to do this themselves.

