[MacPorts] #30271: qt4-mac: fails to find dbus when using clang

MacPorts noreply at macports.org
Mon Aug 15 17:42:58 PDT 2011


#30271: qt4-mac: fails to find dbus when using clang
-----------------------------------+----------------------------------------
 Reporter:  trojanfoe@…            |       Owner:  michaelld@…           
     Type:  defect                 |      Status:  new                   
 Priority:  Normal                 |   Milestone:                        
Component:  ports                  |     Version:  2.0.99                
 Keywords:  lion                   |        Port:  qt4-mac               
-----------------------------------+----------------------------------------

Comment(by ken@…):

 My log error out about the same place command. When I run that command
 manually, I get this error.

 {{{
 make[1]: *** Waiting for unfinished jobs....
 /Developer/usr/bin/clang++ -c -include .pch/release-shared/QtCore -pipe
 -Xarch_x86_64 -mmacosx-version-min=10.7 -fconstant-cfstrings -O2 -arch
 x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -fvisibility=hidden
 -fvisibility-inlines-hidden -Wall -W -isysroot
 /Developer/SDKs/MacOSX10.7.sdk -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB
 -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
 -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS
 -DQT_USE_FAST_CONCATENATION -DQLIBRARYINFO_EPOCROOT
 -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_3DNOW
 -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3
 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX
 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I.
 -I.moc/release-shared -I../../include -I../../include/QtCore -I.rcc
 /release-shared -Iglobal -I../../tools/shared -I../3rdparty/harfbuzz/src
 -I../3rdparty/md5 -I../3rdparty/md4 -o .obj/release-
 shared/qvariantanimation.o animation/qvariantanimation.cpp
 make[2]: *** [.obj/release-shared/qabstractanimation.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 error: unable to read PCH file: 'Is a directory'
 }}}

 So right now I have edited the port file to always make sure "configure
 .args-append -no-pch" in the darwin platform section to be set always. So
 far so good.

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


More information about the macports-tickets mailing list