[MacPorts] #30400: qt3 @3.3.8 build failure

MacPorts noreply at macports.org
Tue Jul 26 12:59:34 PDT 2011


#30400: qt3 @3.3.8 build failure
---------------------------------+------------------------------------------
 Reporter:  andrew.long@…        |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  2.0.0                                
 Keywords:                       |        Port:  qt3 @3.3.8                           
---------------------------------+------------------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/30400>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list