[MacPorts] #30326: qt3 3.3.8 fails to build on Snow Leopard after latest modifications for Lion

MacPorts noreply at macports.org
Sat Jul 23 14:39:46 PDT 2011


#30326: qt3 3.3.8 fails to build on Snow Leopard after latest modifications for
Lion
-----------------------------+----------------------------------------------
 Reporter:  mk@…             |       Owner:  takeshi@…           
     Type:  defect           |      Status:  new                 
 Priority:  Normal           |   Milestone:                      
Component:  ports            |     Version:  2.0.0               
 Keywords:                   |        Port:  qt3                 
-----------------------------+----------------------------------------------
 r81012 somehow caused that building qt3 on Snow Leopard fails:

 {{{
 :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
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 }}}

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


More information about the macports-tickets mailing list