Re: qt4-base-mac-4.8.6-2 compile failure on OS X 10.10 Public Beta 3
Kevin Horton <[email protected]>
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <[email protected]> |
On September 17, 2014 at 10:31:35 PM, Hanspeter Niederstrasser ([email protected]) wrote: On 9/17/2014 6:55 PM, Kevin Horton wrote: > Attempts to compile qt4-base-mac-4.8.6-2 on OS X 10.10 Public Beta 3 fail with: > > gcc -c -pipe -g -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.10 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.10 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -isysroot /Applications/Xcode6-Beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_CUPS -DQT_NO_LPR -DQT_NO_OPENTYPE -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_CORE_LIB -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/debug-shared -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/deb ug-shared -Iimage -I../3rdparty/harfbuzz/src -Idialogs -I.uic/debug-shared -F/sw/src/fink.build/qt4-base-mac-4.8.6-2/qt-everywhere-opensource-src-4.8.6/lib kernel/qcocoaapplicationdelegate_mac.mm -o .obj/debug-shared/qcocoaapplicationdelegate_mac.o > kernel/qcocoaapplicationdelegate_mac.mm:125:28: error: cannot initialize a parameter of type 'id<NSFileManagerDelegate>' with an lvalue of type 'NSObject<NSApplicationDelegate> *' > [NSApp setDelegate:reflectionDelegate]; > ^~~~~~~~~~~~~~~~~~ > /Applications/Xcode6-Beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47: note: passing argument to parameter 'delegate' here > @property (assign) id <NSFileManagerDelegate> delegate NS_AVAILABLE(10_5, 2_0); > ^ > 1 error generated. > make[2]: *** [.obj/debug-shared/qcocoaapplicationdelegate_mac.o] Error 1 > make[1]: *** [debug-all] Error 2 > make: *** [sub-gui-make_default-ordered] Error 2 > ### execution of /tmp/fink.6bgd3 failed, exit code 2 > ### execution of /tmp/fink.vEpqs failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-qt4-base-mac-4.8.6-2 > (Reading database ... 135184 files and directories currently installed.) > Removing fink-buildlock-qt4-base-mac-4.8.6-2 ... > Failed: phase compiling: qt4-base-mac-4.8.6-2 failed Please try the attached patch. Either paste the contents to the end of the existing qt4-base-mac.patch and modify the PatchFile-MD5: field to match, or add it as a new PatchFileN: and apply it in PatchScript. This fixed the problem. qt4-base-mac compiled successfully. Thank you very much. — Kevin Horton ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Fink-devel mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel