Opened 13 years ago

Closed 13 years ago

#30326 closed defect (fixed)

qt3 3.3.8 fails to build on Snow Leopard after latest modifications for Lion

Reported by: mkae (Marko Käning) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: qt3

Description

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)

Change History (3)

comment:1 Changed 13 years ago by mkae (Marko Käning)

This

    if {${os.major}>=11 && ${configure.build_arch} == "x86_64"} { 

should rather be

    if {${os.major}>=10 && ${configure.build_arch} == "x86_64"} {

Just now building a patch...

comment:2 Changed 13 years ago by tenomoto (Takeshi Enomoto)

Thanks. Committed in r81031.

comment:3 Changed 13 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed

Great, you were just seconds faster than my machine here. The build just fished now. :-)

Note: See TracTickets for help on using tickets.