Closed davidjrice closed 11 years ago
Ugh, use the source luke. Just realised 4.8.5 has landed, going to give that a shot and upgrade the formula.
So, 4.8.5 doesn't work either. The above build failures are resolved. Build still fails though.
Looking further into it, it's failing at the following when building src/3rdparty/webkit/Source/Makefile
rm -f QtWebKit QtWebKit.framework/QtWebKit ../../../../../../lib/QtWebKit.framework/QtWebKit
clang++ -headerpad_max_install_names -arch x86_64 -single_module -dynamiclib -compatibility_version 4.9 -current_version 4.9.4 -install_name /usr/local/Cellar/qt/4.8.4/lib/QtWebKit.framework/Versions/4/QtWebKit -Xarch_x86_64 -mmacosx-version-min=10.5 -o QtWebKit .obj/release-shared/WebSystemInterface.o .obj/release-shared/QTKitFullScreenVideoHandler.o .obj/release-shared/MathMLNames.o .obj/release-shared/MathMLElementFactory.o .obj/release-shared/SVGNames.o .obj/release-shared/SVGElementFactory.o .obj/release-shared/JSSVGElementWrapperFactory.o .obj/release-shared/XLinkNames.o .obj/release-shared/CSSPropertyNames.o .obj/release-shared/CSSValueKeywords.o .obj/release-shared/JSCounter.o .obj/release-shared/JSCSSCharsetRule.o .obj/release-shared/JSCSSFontFaceRule.o .obj/release-shared/JSCSSImportRule.o .obj/release-shared/JSCSSMediaRule.o .obj/release-shared/JSCSSPageRule.o .obj/release-shared/JSCSSPrimitiveValue.o .obj/release-shared/JSCSSRule.o .obj/release-shared/JSCSSRuleList.o .obj/release-shared/JSCSSStyleDeclaration.o .obj/release-shared/JSCSSStyleRule.o .obj/release-shared/JSCSSStyleSheet.o .obj/release-shared/JSCSSValue.o .obj/release-shared/JSCSSValueList.o .obj/release-shared/JSMediaList.o .obj/release-shared/JSMediaQueryList.o .obj/release-shared/JSRect.o .obj/release-shared/JSRGBColor.o .obj/release-shared/JSStyleMedia.o .obj/release-shared/JSStyleSheet.o .obj/release-shared/JSStyleSheetList.o .obj/release-shared/JSWebKitCSSKeyframeRule.o .obj/release-shared/JSWebKitCSSKeyframesRule.o .obj/release-shared/JSWebKitCSSMatrix.o .obj/release-shared/JSWebKitCSSTransformValue.o .obj/release-shared/JSAttr.o .obj/release-shared/JSBeforeLoadEvent.o .obj/release-shared/JSBeforeProcessEvent.o .obj/release-shared/JSCharacterData.o .obj/release-shared/JSClientRect.o .obj/release-shared/JSClientRectList.o .obj/release-shared/JSClipboard.o .obj/release-shared/JSCDATASection.o .obj/release-shared/JSComment.o .obj/release-shared/JSCompositionEvent.o .obj/release-shared/JSCustomEvent.o .obj/release-shared/JSDataTransferItem.o .obj/release-shared/JSDataTransferItems.o .obj/release-shared/JSDeviceMotionEvent.o .obj/release-shared/JSDeviceOrientationEvent.o .obj/release-shared/JSDocumentFragment.o .obj/release-shared/JSDocument.o .obj/release-shared/JSDocumentType.o .obj/release-shared/JSDOMCoreException.o .obj/release-shared/JSDOMImplementation.o .obj/release-shared/JSDOMStringList.o .obj/release-shared/JSDOMStringMap.o .obj/release-shared/JSElement.o .obj/release-shared/JSEntity.o .obj/release-shared/JSEntityReference.o .obj/release-shared/JSErrorEvent.o .obj/release-shared/JSEvent.o .obj/release-shared/JSEventException.o .obj/release-shared/JSHashChangeEvent.o .obj/release-shared/JSKeyboardEvent.o .obj/release-shared/JSMouseEvent.o .obj/release-shared/JSMessageChannel.o .obj/release-shared/JSMessageEvent.o .obj/release-shared/JSMessagePort.o .obj/release-shared/JSMutationEvent.o .obj/release-shared/JSNamedNodeMap.o .obj/release-shared/JSNode.o .obj/release-shared/JSNodeFilter.o .obj/release-shared/JSNodeIterator.o .obj/release-shared/JSNodeList.o .obj/release-shared/JSNotation.o .obj/release-shared/JSOverflowEvent.o .obj/release-shared/JSPageTransitionEvent.o .obj/release-shared/JSPopStateEvent.o .obj/release-shared/JSProcessingInstruction.o .obj/release-shared/JSProgressEvent.o .obj/release-shared/JSRangeException.o .obj/release-shared/JSRange.o .obj/release-shared/JSStringCallback.o .obj/release-shared/JSText.o .obj/release-shared/JSTextEvent.o .obj/release-shared/JSTouch.o .obj/release-shared/JSTouchEvent.o .obj/release-shared/JSTouchList.o .obj/release-shared/JSTreeWalker.o .obj/release-shared/JSUIEvent.o .obj/release-shared/JSWebKitAnimationEvent.o .obj/release-shared/JSWebKitTransitionEvent.o .obj/release-shared/JSWheelEvent.o .obj/release-shared/JSBlob.o .obj/release-shared/JSDirectoryEntry.o .obj/release-shared/JSDirectoryEntrySync.o .obj/release-shared/JSDirectoryReader.o .obj/release-shared/JSDirectoryReaderSync.o .obj/release-shared/JSDOMFileSystem.o .obj/release-shared/JSDOMFileSystemSync.o .obj/release-shared/JSEntriesCallback.o .obj/release-shared/JSEntry.o .obj/release-shared/JSEntryArray.o .obj/release-shared/JSEntryArraySync.o .obj/release-shared/JSEntryCallback.o .obj/release-shared/JSEntrySync.o .obj/release-shared/JSErrorCallback.o .obj/release-shared/JSFile.o .obj/release-shared/JSFileCallback.o .obj/release-shared/JSFileEntry.o .obj/release-shared/JSFileEntrySync.o .obj/release-shared/JSFileError.o .obj/release-shared/JSFileException.o .obj/release-shared/JSFileList.o .obj/release-shared/JSFileReader.o .obj/release-shared/JSFileReaderSync.o .obj/release-shared/JSFileSystemCallback.o .obj/release-shared/JSFileWriter.o .obj/release-shared/JSFileWriterCallback.o .obj/release-shared/JSWebKitFlags.o .obj/release-shared/JSMetadata.o .obj/release-shared/JSMetadataCallback.o .obj/release-shared/JSWebKitBlobBuilder.o .obj/release-shared/JSArrayBufferView.o .obj/release-shared/JSArrayBuffer.o .obj/release-shared/JSDataView.o .obj/release-shared/JSInt8Array.o .obj/release-shared/JSFloat32Array.o .obj/release-shared/JSCanvasGradient.o .obj/release-shared/JSInt32Array.o .obj/release-shared/JSCanvasPattern.o .obj/release-shared/JSCanvasRenderingContext.o .obj/release-shared/JSCanvasRenderingContext2D.o .obj/release-shared/JSOESStandardDerivatives.o .obj/release-shared/JSOESTextureFloat.o .obj/release-shared/JSOESVertexArrayObject.o .obj/release-shared/JSWebGLActiveInfo.o .obj/release-shared/JSWebGLBuffer.o .obj/release-shared/JSWebGLContextAttributes.o .obj/release-shared/JSWebGLFramebuffer.o .obj/release-shared/JSWebGLProgram.o .obj/release-shared/JSWebGLRenderbuffer.o .obj/release-shared/JSWebGLRenderingContext.o .obj/release-shared/JSWebGLShader.o .obj/release-shared/JSInt16Array.o .obj/release-shared/JSWebGLTexture.o .obj/release-shared/JSWebGLUniformLocation.o .obj/release-shared/JSWebGLVertexArrayObjectOES.o .obj/release-shared/JSWebKitLoseContext.o .obj/release-shared/JSUint8Array.o .obj/release-shared/JSUint32Array.o .obj/release-shared/JSUint16Array.o .obj/release-shared/JSDOMFormData.o .obj/release-shared/JSDOMSettableTokenList.o .obj/release-shared/JSDOMTokenList.o .obj/release-shared/JSDOMURL.o .obj/release-shared/JSHTMLAllCollection.o .obj/release-shared/JSHTMLAudioElement.o .obj/release-shared/JSHTMLAnchorElement.o .obj/release-shared/JSHTMLAppletElement.o .obj/release-shared/JSHTMLAreaElement.o .obj/release-shared/JSHTMLBaseElement.o .obj/release-shared/JSHTMLBaseFontElement.o .obj/release-shared/JSHTMLBlockquoteElement.o .obj/release-shared/JSHTMLBodyElement.o .obj/release-shared/JSHTMLBRElement.o .obj/release-shared/JSHTMLButtonElement.o .obj/release-shared/JSHTMLCanvasElement.o .obj/release-shared/JSHTMLCollection.o .obj/release-shared/JSHTMLDataListElement.o .obj/release-shared/JSHTMLDetailsElement.o .obj/release-shared/JSHTMLDirectoryElement.o .obj/release-shared/JSHTMLDivElement.o .obj/release-shared/JSHTMLDListElement.o .obj/release-shared/JSHTMLDocument.o .obj/release-shared/JSHTMLElement.o .obj/release-shared/JSHTMLEmbedElement.o .obj/release-shared/JSHTMLFieldSetElement.o .obj/release-shared/JSHTMLFontElement.o .obj/release-shared/JSHTMLFormElement.o .obj/release-shared/JSHTMLFrameElement.o .obj/release-shared/JSHTMLFrameSetElement.o .obj/release-shared/JSHTMLHeadElement.o .obj/release-shared/JSHTMLHeadingElement.o .obj/release-shared/JSHTMLHRElement.o .obj/release-shared/JSHTMLHtmlElement.o .obj/release-shared/JSHTMLIFrameElement.o .obj/release-shared/JSHTMLImageElement.o .obj/release-shared/JSHTMLInputElement.o .obj/release-shared/JSHTMLIsIndexElement.o .obj/release-shared/JSHTMLKeygenElement.o .obj/release-shared/JSHTMLLabelElement.o .obj/release-shared/JSHTMLLegendElement.o .obj/release-shared/JSHTMLLIElement.o .obj/release-shared/JSHTMLLinkElement.o .obj/release-shared/JSHTMLMapElement.o .obj/release-shared/JSHTMLMarqueeElement.o .obj/release-shared/JSHTMLMediaElement.o .obj/release-shared/JSHTMLMenuElement.o .obj/release-shared/JSHTMLMetaElement.o .obj/release-shared/JSHTMLMeterElement.o .obj/release-shared/JSHTMLModElement.o .obj/release-shared/JSHTMLObjectElement.o .obj/release-shared/JSHTMLOListElement.o .obj/release-shared/JSHTMLOptGroupElement.o .obj/release-shared/JSHTMLOptionElement.o .obj/release-shared/JSHTMLOptionsCollection.o .obj/release-shared/JSHTMLOutputElement.o .obj/release-shared/JSHTMLParagraphElement.o .obj/release-shared/JSHTMLParamElement.o .obj/release-shared/JSHTMLPreElement.o .obj/release-shared/JSHTMLProgressElement.o .obj/release-shared/JSHTMLQuoteElement.o .obj/release-shared/JSHTMLScriptElement.o .obj/release-shared/JSHTMLSelectElement.o .obj/release-shared/JSHTMLSourceElement.o .obj/release-shared/JSHTMLStyleElement.o .obj/release-shared/JSHTMLTableCaptionElement.o .obj/release-shared/JSHTMLTableCellElement.o .obj/release-shared/JSHTMLTableColElement.o .obj/release-shared/JSHTMLTableElement.o .obj/release-shared/JSHTMLTableRowElement.o .obj/release-shared/JSHTMLTableSectionElement.o .obj/release-shared/JSHTMLTextAreaElement.o .obj/release-shared/JSHTMLTitleElement.o .obj/release-shared/JSHTMLTrackElement.o .obj/release-shared/JSHTMLUListElement.o .obj/release-shared/JSHTMLVideoElement.o .obj/release-shared/JSImageData.o .obj/release-shared/JSMediaError.o .obj/release-shared/JSTextMetrics.o .obj/release-shared/JSTimeRanges.o .obj/release-shared/JSValidityState.o .obj/release-shared/JSVoidCallback.o .obj/release-shared/JSInjectedScriptHost.o .obj/release-shared/JSInspectorFrontendHost.o .obj/release-shared/JSJavaScriptCallFrame.o .obj/release-shared/JSScriptProfile.o .obj/release-shared/JSScriptProfileNode.o .obj/release-shared/JSDOMApplicationCache.o .obj/release-shared/JSNotification.o .obj/release-shared/JSNotificationCenter.o .obj/release-shared/JSBarInfo.o .obj/release-shared/JSConsole.o .obj/release-shared/JSCoordinates.o .obj/release-shared/JSCrypto.o .obj/release-shared/JSDOMSelection.o .obj/release-shared/JSDOMWindow.o .obj/release-shared/JSEventSource.o .obj/release-shared/JSGeolocation.o .obj/release-shared/JSGeoposition.o .obj/release-shared/JSHistory.o .obj/release-shared/JSLocation.o .obj/release-shared/JSMemoryInfo.o .obj/release-shared/JSNavigator.o .obj/release-shared/JSNavigatorUserMediaError.o .obj/release-shared/JSNavigatorUserMediaErrorCallback.o .obj/release-shared/JSNavigatorUserMediaSuccessCallback.o .obj/release-shared/JSPerformance.o .obj/release-shared/JSPerformanceNavigation.o .obj/release-shared/JSPerformanceTiming.o .obj/release-shared/JSPositionError.o .obj/release-shared/JSScreen.o .obj/release-shared/JSSpeechInputEvent.o .obj/release-shared/JSSpeechInputResult.o .obj/release-shared/JSSpeechInputResultList.o .obj/release-shared/JSWebKitAnimation.o .obj/release-shared/JSWebKitAnimationList.o .obj/release-shared/JSWebKitPoint.o .obj/release-shared/JSWorkerNavigator.o .obj/release-shared/JSDOMPlugin.o .obj/release-shared/JSDOMMimeType.o .obj/release-shared/JSDOMPluginArray.o .obj/release-shared/JSDOMMimeTypeArray.o .obj/release-shared/JSDatabase.o .obj/release-shared/JSDatabaseCallback.o .obj/release-shared/JSDatabaseSync.o .obj/release-shared/JSIDBAny.o .obj/release-shared/JSIDBCursor.o .obj/release-shared/JSIDBDatabaseError.o .obj/release-shared/JSIDBDatabaseException.o .obj/release-shared/JSIDBDatabase.o .obj/release-shared/JSIDBFactory.o .obj/release-shared/JSIDBIndex.o .obj/release-shared/JSIDBKey.o .obj/release-shared/JSIDBKeyRange.o .obj/release-shared/JSIDBObjectStore.o .obj/release-shared/JSIDBRequest.o .obj/release-shared/JSIDBTransaction.o .obj/release-shared/JSStorage.o .obj/release-shared/JSStorageEvent.o .obj/release-shared/JSStorageInfo.o .obj/release-shared/JSStorageInfoErrorCallback.o .obj/release-shared/JSStorageInfoUsageCallback.o .obj/release-shared/JSSQLError.o .obj/release-shared/JSSQLException.o .obj/release-shared/JSSQLResultSet.o .obj/release-shared/JSSQLResultSetRowList.o .obj/release-shared/JSSQLStatementCallback.o .obj/release-shared/JSSQLStatementErrorCallback.o .obj/release-shared/JSSQLTransaction.o .obj/release-shared/JSSQLTransactionCallback.o .obj/release-shared/JSSQLTransactionErrorCallback.o .obj/release-shared/JSSQLTransactionSync.o .obj/release-shared/JSSQLTransactionSyncCallback.o .obj/release-shared/JSSVGZoomEvent.o .obj/release-shared/JSSVGAElement.o .obj/release-shared/JSSVGAltGlyphElement.o .obj/release-shared/JSSVGAngle.o .obj/release-shared/JSSVGAnimateColorElement.o .obj/release-shared/JSSVGAnimatedAngle.o .obj/release-shared/JSSVGAnimatedBoolean.o .obj/release-shared/JSSVGAnimatedEnumeration.o .obj/release-shared/JSSVGAnimatedInteger.o .obj/release-shared/JSSVGAnimatedLength.o .obj/release-shared/JSSVGAnimatedLengthList.o .obj/release-shared/JSSVGAnimatedNumber.o .obj/release-shared/JSSVGAnimatedNumberList.o .obj/release-shared/JSSVGAnimatedPreserveAspectRatio.o .obj/release-shared/JSSVGAnimatedRect.o .obj/release-shared/JSSVGAnimatedString.o .obj/release-shared/JSSVGAnimatedTransformList.o .obj/release-shared/JSSVGAnimateElement.o .obj/release-shared/JSSVGAnimateTransformElement.o .obj/release-shared/JSSVGAnimationElement.o .obj/release-shared/JSSVGCircleElement.o .obj/release-shared/JSSVGClipPathElement.o .obj/release-shared/JSSVGColor.o .obj/release-shared/JSSVGComponentTransferFunctionElement.o .obj/release-shared/JSSVGCursorElement.o .obj/release-shared/JSSVGDefsElement.o .obj/release-shared/JSSVGDescElement.o .obj/release-shared/JSSVGDocument.o .obj/release-shared/JSSVGElement.o .obj/release-shared/JSSVGElementInstance.o .obj/release-shared/JSSVGElementInstanceList.o .obj/release-shared/JSSVGEllipseElement.o .obj/release-shared/JSSVGException.o .obj/release-shared/JSSVGFEBlendElement.o .obj/release-shared/JSSVGFEColorMatrixElement.o .obj/release-shared/JSSVGFEComponentTransferElement.o .obj/release-shared/JSSVGFECompositeElement.o .obj/release-shared/JSSVGFEConvolveMatrixElement.o .obj/release-shared/JSSVGFEDiffuseLightingElement.o .obj/release-shared/JSSVGFEDisplacementMapElement.o .obj/release-shared/JSSVGFEDistantLightElement.o .obj/release-shared/JSSVGFEDropShadowElement.o .obj/release-shared/JSSVGFEFloodElement.o .obj/release-shared/JSSVGFEFuncAElement.o .obj/release-shared/JSSVGFEFuncBElement.o .obj/release-shared/JSSVGFEFuncGElement.o .obj/release-shared/JSSVGFEFuncRElement.o .obj/release-shared/JSSVGFEGaussianBlurElement.o .obj/release-shared/JSSVGFEImageElement.o .obj/release-shared/JSSVGFEMergeElement.o .obj/release-shared/JSSVGFEMergeNodeElement.o .obj/release-shared/JSSVGFEMorphologyElement.o .obj/release-shared/JSSVGFEOffsetElement.o .obj/release-shared/JSSVGFEPointLightElement.o .obj/release-shared/JSSVGFESpecularLightingElement.o .obj/release-shared/JSSVGFESpotLightElement.o .obj/release-shared/JSSVGFETileElement.o .obj/release-shared/JSSVGFETurbulenceElement.o .obj/release-shared/JSSVGFilterElement.o .obj/release-shared/JSSVGFontElement.o .obj/release-shared/JSSVGFontFaceElement.o .obj/release-shared/JSSVGFontFaceFormatElement.o .obj/release-shared/JSSVGFontFaceNameElement.o .obj/release-shared/JSSVGFontFaceSrcElement.o .obj/release-shared/JSSVGFontFaceUriElement.o .obj/release-shared/JSSVGForeignObjectElement.o .obj/release-shared/JSSVGGElement.o .obj/release-shared/JSSVGGlyphElement.o .obj/release-shared/JSSVGGradientElement.o .obj/release-shared/JSSVGHKernElement.o .obj/release-shared/JSSVGImageElement.o .obj/release-shared/JSSVGLength.o .obj/release-shared/JSSVGLengthList.o .obj/release-shared/JSSVGLinearGradientElement.o .obj/release-shared/JSSVGLineElement.o .obj/release-shared/JSSVGMarkerElement.o .obj/release-shared/JSSVGMaskElement.o .obj/release-shared/JSSVGMatrix.o .obj/release-shared/JSSVGMetadataElement.o .obj/release-shared/JSSVGMissingGlyphElement.o .obj/release-shared/JSSVGNumber.o .obj/release-shared/JSSVGNumberList.o .obj/release-shared/JSSVGPaint.o .obj/release-shared/JSSVGPathElement.o .obj/release-shared/JSSVGPathSegArcAbs.o .obj/release-shared/JSSVGPathSegArcRel.o .obj/release-shared/JSSVGPathSegClosePath.o .obj/release-shared/JSSVGPathSegCurvetoCubicAbs.o .obj/release-shared/JSSVGPathSegCurvetoCubicRel.o .obj/release-shared/JSSVGPathSegCurvetoCubicSmoothAbs.o .obj/release-shared/JSSVGPathSegCurvetoCubicSmoothRel.o .obj/release-shared/JSSVGPathSegCurvetoQuadraticAbs.o .obj/release-shared/JSSVGPathSegCurvetoQuadraticRel.o .obj/release-shared/JSSVGPathSegCurvetoQuadraticSmoothAbs.o .obj/release-shared/JSSVGPathSegCurvetoQuadraticSmoothRel.o .obj/release-shared/JSSVGPathSeg.o .obj/release-shared/JSSVGPathSegLinetoAbs.o .obj/release-shared/JSSVGPathSegLinetoHorizontalAbs.o .obj/release-shared/JSSVGPathSegLinetoHorizontalRel.o .obj/release-shared/JSSVGPathSegLinetoRel.o .obj/release-shared/JSSVGPathSegLinetoVerticalAbs.o .obj/release-shared/JSSVGPathSegLinetoVerticalRel.o .obj/release-shared/JSSVGPathSegList.o .obj/release-shared/JSSVGPathSegMovetoAbs.o .obj/release-shared/JSSVGPathSegMovetoRel.o .obj/release-shared/JSSVGPatternElement.o .obj/release-shared/JSSVGPoint.o .obj/release-shared/JSSVGPointList.o .obj/release-shared/JSSVGPolygonElement.o .obj/release-shared/JSSVGPolylineElement.o .obj/release-shared/JSSVGPreserveAspectRatio.o .obj/release-shared/JSSVGRadialGradientElement.o .obj/release-shared/JSSVGRectElement.o .obj/release-shared/JSSVGRect.o .obj/release-shared/JSSVGRenderingIntent.o .obj/release-shared/JSSVGScriptElement.o .obj/release-shared/JSSVGSetElement.o .obj/release-shared/JSSVGStopElement.o .obj/release-shared/JSSVGStringList.o .obj/release-shared/JSSVGStyleElement.o .obj/release-shared/JSSVGSVGElement.o .obj/release-shared/JSSVGSwitchElement.o .obj/release-shared/JSSVGSymbolElement.o .obj/release-shared/JSSVGTextContentElement.o .obj/release-shared/JSSVGTextElement.o .obj/release-shared/JSSVGTextPathElement.o .obj/release-shared/JSSVGTextPositioningElement.o .obj/release-shared/JSSVGTitleElement.o .obj/release-shared/JSSVGTransform.o .obj/release-shared/JSSVGTransformList.o .obj/release-shared/JSSVGTRefElement.o .obj/release-shared/JSSVGTSpanElement.o .obj/release-shared/JSSVGUnitTypes.o .obj/release-shared/JSSVGUseElement.o .obj/release-shared/JSSVGViewElement.o .obj/release-shared/JSSVGVKernElement.o .obj/release-shared/JSInternals.o .obj/release-shared/JSAudioBuffer.o .obj/release-shared/JSAudioBufferSourceNode.o .obj/release-shared/JSAudioChannelMerger.o .obj/release-shared/JSAudioChannelSplitter.o .obj/release-shared/JSAudioContext.o .obj/release-shared/JSAudioDestinationNode.o .obj/release-shared/JSAudioGain.o .obj/release-shared/JSAudioGainNode.o .obj/release-shared/JSAudioListener.o .obj/release-shared/JSAudioNode.o .obj/release-shared/JSAudioPannerNode.o .obj/release-shared/JSAudioParam.o .obj/release-shared/JSAudioProcessingEvent.o .obj/release-shared/JSAudioSourceNode.o .obj/release-shared/JSConvolverNode.o .obj/release-shared/JSDelayNode.o .obj/release-shared/JSHighPass2FilterNode.o .obj/release-shared/JSJavaScriptAudioNode.o .obj/release-shared/JSLowPass2FilterNode.o .obj/release-shared/JSRealtimeAnalyserNode.o .obj/release-shared/JSWebSocket.o .obj/release-shared/JSAbstractWorker.o .obj/release-shared/JSDedicatedWorkerContext.o .obj/release-shared/JSSharedWorker.o .obj/release-shared/JSSharedWorkerContext.o .obj/release-shared/JSWorker.o .obj/release-shared/JSWorkerContext.o .obj/release-shared/JSWorkerLocation.o .obj/release-shared/JSDOMParser.o .obj/release-shared/JSXMLHttpRequest.o .obj/release-shared/JSXMLHttpRequestException.o .obj/release-shared/JSXMLHttpRequestProgressEvent.o .obj/release-shared/JSXMLHttpRequestUpload.o .obj/release-shared/JSXMLSerializer.o .obj/release-shared/JSXPathNSResolver.o .obj/release-shared/JSXPathException.o .obj/release-shared/JSXPathExpression.o .obj/release-shared/JSXPathResult.o .obj/release-shared/JSXPathEvaluator.o .obj/release-shared/JSXSLTProcessor.o .obj/release-shared/InspectorFrontend.o .obj/release-shared/InspectorBackendDispatcher.o .obj/release-shared/CSSGrammar.o .obj/release-shared/HTMLNames.o .obj/release-shared/HTMLElementFactory.o .obj/release-shared/JSHTMLElementWrapperFactory.o .obj/release-shared/XMLNSNames.o .obj/release-shared/XMLNames.o .obj/release-shared/HTMLEntityTable.o .obj/release-shared/DocTypeStrings.o .obj/release-shared/ColorData.o .obj/release-shared/UserAgentStyleSheetsData.o .obj/release-shared/XPathGrammar.o .obj/release-shared/qwebframe.o .obj/release-shared/qgraphicswebview.o .obj/release-shared/qwebpage.o .obj/release-shared/qwebview.o .obj/release-shared/qwebelement.o .obj/release-shared/qwebhistory.o .obj/release-shared/qwebsettings.o .obj/release-shared/qwebhistoryinterface.o .obj/release-shared/qwebplugindatabase.o .obj/release-shared/qwebpluginfactory.o .obj/release-shared/qwebsecurityorigin.o .obj/release-shared/qwebscriptworld.o .obj/release-shared/qwebdatabase.o .obj/release-shared/qwebinspector.o .obj/release-shared/qwebkitversion.o .obj/release-shared/QtFallbackWebPopup.o .obj/release-shared/ChromeClientQt.o .obj/release-shared/ContextMenuClientQt.o .obj/release-shared/DragClientQt.o .obj/release-shared/DumpRenderTreeSupportQt.o .obj/release-shared/EditorClientQt.o .obj/release-shared/EditCommandQt.o .obj/release-shared/FrameLoaderClientQt.o .obj/release-shared/FrameNetworkingContextQt.o .obj/release-shared/GeolocationPermissionClientQt.o .obj/release-shared/InspectorClientQt.o .obj/release-shared/InspectorServerQt.o .obj/release-shared/NotificationPresenterClientQt.o .obj/release-shared/PageClientQt.o .obj/release-shared/PopupMenuQt.o .obj/release-shared/QtPlatformPlugin.o .obj/release-shared/SearchPopupMenuQt.o .obj/release-shared/WebPlatformStrategies.o .obj/release-shared/FullScreenVideoQt.o .obj/release-shared/IconDatabaseClientQt.o .obj/release-shared/moc_qwebkitplatformplugin.o .obj/release-shared/moc_qwebhistoryinterface.o .obj/release-shared/moc_qwebpluginfactory.o .obj/release-shared/moc_qwebinspector.o .obj/release-shared/moc_qwebplugindatabase_p.o .obj/release-shared/moc_InspectorServerQt.o .obj/release-shared/moc_QtFallbackWebPopup.o .obj/release-shared/moc_FullScreenVideoQt.o .obj/release-shared/qrc_WebCore.o .obj/release-shared/qrc_WebKit.o .obj/release-shared/qrc_InspectorBackendStub.o -F/Library/Caches/Homebrew/qt--git/lib -L/opt/X11/lib -L/Library/Caches/Homebrew/qt--git/lib -L../../WebCore/release -L../../JavaScriptCore/release -lwebcore -L/opt/X11/lib -L/Library/Caches/Homebrew/qt--git/lib -F/Library/Caches/Homebrew/qt--git/lib -framework AppKit -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuartzCore -framework QTKit -framework QtGui -framework QtCore -framework QtNetwork -framework Carbon -ljscore -framework Security -framework IOKit -framework Carbon -framework AppKit
Undefined symbols for architecture x86_64:
"_WKCreateMediaUIBackgroundView", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKCreateMediaUIControl", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTClearMediaDownloadCache", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTClearMediaDownloadCacheForSite", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTGetSitesInMediaDownloadCache", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTIncludeOnlyModernMediaFileTypes", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieDataRate", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieDisableComponent", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieGetType", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieHasClosedCaptions", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieMaxTimeLoaded", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieMaxTimeLoadedChangeNotification", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieMaxTimeSeekable", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieResolvedURL", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieSelectPreferredAlternates", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieSetShowClosedCaptions", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKQTMovieViewSetDrawSynchronously", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKWindowSetAlpha", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
"_WKWindowSetScaledFrame", referenced from:
InitWebCoreSystemInterface() in WebSystemInterface.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../../../../../../lib/QtWebKit.framework/QtWebKit] Error 1
make[2]: *** [release] Error 2
make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2
Adding this hacky else clause temporarily we can get further in the build process.
// src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro:256
} else: equals(DARWIN_MAJOR_VERSION, "12") | contains(QMAKE_MAC_SDK, ".*MacOSX10.8.sdk") {
LIBS += $$SOURCE_DIR/../WebKitLibraries/libWebKitSystemInterfaceMountainLion.a
} else {
LIBS += $$SOURCE_DIR/../WebKitLibraries/libWebKitSystemInterfaceMountainLion.a
}
We are left with 15 warnings and 11 errors. Looking into some of these, they look pretty sensible, for example kCWPowerDidChangeNotification
was deprecated in 10.6 and looks to have been completely removed in 10.9
../../../../include/QtCore/../../src/corelib/global/qglobal.h:331:6: warning: "This version of Mac OS X is unsupported" [-W#warnings]
# warning "This version of Mac OS X is unsupported"
^
qcorewlanengine.mm:104:88: error: use of undeclared identifier 'kCWPowerDidChangeNotification'; did you mean 'CWPowerDidChangeNotification'?
[notificationCenter addObserver:self selector:@selector(notificationHandler:) name:kCWPowerDidChangeNotification object:nil];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CWPowerDidChangeNotification
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CoreWLANConstants.h:27:36: note:
'CWPowerDidChangeNotification' declared here
FOUNDATION_EXTERN NSString * const CWPowerDidChangeNotification NS_AVAILABLE_MAC(10_6);
^
qcorewlanengine.mm:115:1: warning: writable atomic property 'engine' cannot pair a synthesized getter with a user defined setter [-Watomic-property-with-user-defined-accessor]
-(void)setEngine:(QCoreWlanEngine *)coreEngine
^
qcorewlanengine.mm:91:37: note: setter and getter must both be synthesized, or both be user defined,or the property must be nonatomic
@property (assign) QCoreWlanEngine* engine;
~~~~~~~~~~~ ^
@property (nonatomic,
qcorewlanengine.mm:91:37: note: property declared here
qcorewlanengine.mm:176:26: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access]
if([currentInterface power]) {
^~~~~
qcorewlanengine.mm:179:67: error: use of undeclared identifier 'kCWScanKeyMerge'
[NSNumber numberWithBool:YES], kCWScanKeyMerge,
^
qcorewlanengine.mm:183:46: warning: instance method '-scanForNetworksWithParameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access]
NSArray* apArray = [currentInterface scanForNetworksWithParameters:parametersDict error:&err];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qcorewlanengine.mm:197:39: error: property 'interfaceState' not found on object of type 'CWInterface *'; did you mean 'interfaceName'?
if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) {
^~~~~~~~~~~~~~
interfaceName
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CWInterface.h:52:37: note: 'interfaceName' declared
here
@property(readonly, copy) NSString *interfaceName NS_AVAILABLE_MAC(10_7);
^
qcorewlanengine.mm:197:67: error: use of undeclared identifier 'kCWInterfaceStateRunning'
if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) {
^
qcorewlanengine.mm:210:32: warning: 'CWNetwork' may not respond to 'securityMode'
if([[apNetwork securityMode] intValue] == kCWSecurityModeOpen) {
~~~~~~~~~ ^
qcorewlanengine.mm:210:59: error: use of undeclared identifier 'kCWSecurityModeOpen'; did you mean 'kCWSecurityNone'?
if([[apNetwork securityMode] intValue] == kCWSecurityModeOpen) {
^~~~~~~~~~~~~~~~~~~
kCWSecurityNone
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CoreWLANTypes.h:143:2: note: 'kCWSecurityNone'
declared here
kCWSecurityNone = 0,
^
qcorewlanengine.mm:240:35: error: property 'interfaceState' not found on object of type 'CWInterface *'; did you mean 'interfaceName'?
if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) {
^~~~~~~~~~~~~~
interfaceName
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreWLAN.framework/Headers/CWInterface.h:52:37: note: 'interfaceName' declared
here
@property(readonly, copy) NSString *interfaceName NS_AVAILABLE_MAC(10_7);
^
qcorewlanengine.mm:240:63: error: use of undeclared identifier 'kCWInterfaceStateRunning'
if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) {
^
qcorewlanengine.mm:303:44: warning: class method '+supportedInterfaces' not found (return type defaults to 'id') [-Wobjc-method-access]
NSArray *wifiInterfaces = [CWInterface supportedInterfaces];
^~~~~~~~~~~~~~~~~~~
qcorewlanengine.mm:307:30: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access]
if ( ![wifiInterface power] )
^~~~~
qcorewlanengine.mm:310:52: warning: 'CWInterface' may not respond to 'name'
NSString *nsInterfaceName = [wifiInterface name];
~~~~~~~~~~~~~ ^
qcorewlanengine.mm:447:22: warning: class method '+supportedInterfaces' not found (return type defaults to 'id') [-Wobjc-method-access]
if([[CWInterface supportedInterfaces] count] > 0 && !listener) {
^~~~~~~~~~~~~~~~~~~
qcorewlanengine.mm:484:24: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access]
if ([wifiInterface power]) {
^~~~~
qcorewlanengine.mm:511:70: error: use of undeclared identifier 'kCWAssocKey8021XProfile'
[params setValue: [array objectAtIndex:i] forKey:kCWAssocKey8021XProfile];
^
qcorewlanengine.mm:532:72: error: use of undeclared identifier 'kCWScanKeyMerge'
[NSNumber numberWithBool:YES], kCWScanKeyMerge,
^
qcorewlanengine.mm:538:45: warning: instance method '-scanForNetworksWithParameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access]
NSArray *scanArray = [wifiInterface scanForNetworksWithParameters:scanParameters error:&err];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qcorewlanengine.mm:598:60: error: use of undeclared identifier 'kCWAssocKeyPassphrase'
[params setValue: password forKey: kCWAssocKeyPassphrase];
^
qcorewlanengine.mm:602:50: warning: instance method '-associateToNetwork:parameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access]
bool result = [wifiInterface associateToNetwork: apNetwork parameters:[NSDictionary dictionaryWithDictionary:params] error:&err];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qcorewlanengine.mm:637:25: warning: instance method '-interfaceState' not found (return type defaults to 'id') [-Wobjc-method-access]
if ([[wifiInterface interfaceState]intValue] != kCWInterfaceStateInactive) {
^~~~~~~~~~~~~~
qcorewlanengine.mm:637:53: error: use of undeclared identifier 'kCWInterfaceStateInactive'
if ([[wifiInterface interfaceState]intValue] != kCWInterfaceStateInactive) {
^
qcorewlanengine.mm:657:44: warning: class method '+supportedInterfaces' not found (return type defaults to 'id') [-Wobjc-method-access]
NSArray *wifiInterfaces = [CWInterface supportedInterfaces];
^~~~~~~~~~~~~~~~~~~
qcorewlanengine.mm:673:30: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access]
if([defaultInterface power]) {
^~~~~
15 warnings and 11 errors generated.
make[4]: *** [.obj/release-shared/qcorewlanengine.o] Error 1
make[3]: *** [release] Error 2
make[2]: *** [sub-corewlan-make_default] Error 2
make[1]: *** [sub-bearer-make_default] Error 2
make: *** [sub-plugins-make_default-ordered] Error 2
I'd suggest talking this through with upstream developers who will be able to be more help.
Yep. Reported upstream to Qt. https://bugreports.qt-project.org/browse/QTBUG-32237
Closing for now as an upstream issue.
I downloaded the libWebKitSystemInterfaceMavericks.a from http://trac.webkit.org/export/157771/trunk/WebKitLibraries/libWebKitSystemInterfaceMavericks.a
and changed to "src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro" to use this file. I was able to progress in the compilation process, however I end up with a lot of duplicate symbols at a later time:
g++ -headerpad_max_install_names -arch x86_64 -single_module -dynamiclib -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64 -mmacosx-version-min=10.5 -o libqtiff.dylib .obj/release-shared/qtiffhandler.o .obj/release-shared/tif_aux.o .obj/release-shared/tif_close.o .obj/release-shared/tif_codec.o .obj/release-shared/tif_color.o .obj/release-shared/tif_compress.o .obj/release-shared/tif_dir.o .obj/release-shared/tif_dirinfo.o .obj/release-shared/tif_dirread.o .obj/release-shared/tif_dirwrite.o .obj/release-shared/tif_dumpmode.o .obj/release-shared/tif_error.o .obj/release-shared/tif_extension.o .obj/release-shared/tif_fax3.o .obj/release-shared/tif_fax3sm.o .obj/release-shared/tif_flush.o .obj/release-shared/tif_getimage.o .obj/release-shared/tif_luv.o .obj/release-shared/tif_lzw.o .obj/release-shared/tif_next.o .obj/release-shared/tif_open.o .obj/release-shared/tif_packbits.o .obj/release-shared/tif_pixarlog.o .obj/release-shared/tif_predict.o .obj/release-shared/tif_print.o .obj/release-shared/tif_read.o .obj/release-shared/tif_strip.o .obj/release-shared/tif_swab.o .obj/release-shared/tif_thunder.o .obj/release-shared/tif_tile.o .obj/release-shared/tif_version.o .obj/release-shared/tif_warning.o .obj/release-shared/tif_write.o .obj/release-shared/tif_zip.o .obj/release-shared/tif_unix.o .obj/release-shared/main.o -F/Users/ddangelo/apps/qt-everywhere-opensource-src-4.8.3/lib -L/Users/ddangelo/apps/qt-everywhere-opensource-src-4.8.3/lib -framework QtGui -L/Users/ddangelo/apps/qt-everywhere-opensource-src-4.8.3/lib -F/Users/ddangelo/apps/qt-everywhere-opensource-src-4.8.3/lib -framework QtCore -lz duplicate symbol _sputc in: .obj/release-shared/tif_aux.o .obj/release-shared/tifclose.o duplicate symbol sputc in: .obj/release-shared/tif_aux.o .obj/release-shared/tif_codec.o ...
Does anybody have any idea? I need to get QT 4.8.x to compile under Mavericks. Bummer.
@vonengel ask the Qt developers, it's not a Homebrew problem.
@mikemcquaid I know. :-) I was just curious if you had some success? Thanks.
Hey guys. If you change the brew code to return mountain lion for your OS, it will install qt from the bottle. That should get you a working install until the build issues are figured out.
That can probably lead to nasty segfaults in some Qt-dependent software built from source due to clang using libc++ by default now (as far as I get it right) and Qt from the bottle using the older libstdc++.
If no code passes STL objects like std::strings or std::vectors from Qt to the libc++-using code and vice versa, things should still be fine, though.
I don't know if I should tell it here or to the qt project. I try to install this formula with an other compiler with the options -cc="gcc-4.2" (gcc-4.2 installed from homebrew) and --with-qt3support (I need it). With these options, I was able to progress in the compilation process, but an other error appear:
/System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:17: error: expected declaration before ‘}’ token make[2]: * [.obj/release-shared/qcursor_mac.o] Error 1 make[2]: * [.obj/release-shared/qcolordialog_mac.o] Error 1 make[1]: * [release] Error 2 make: * [sub-gui-make_default-ordered] Error 2
In the previous file at the expected line, we see that (line 17 is the last line):
typedef NS_ENUM(NSInteger, NSUserNotificationActivationType) { NSUserNotificationActivationTypeNone = 0, NSUserNotificationActivationTypeContentsClicked = 1, NSUserNotificationActivationTypeActionButtonClicked = 2, NSUserNotificationActivationTypeReplied NS_AVAILABLE(10_9, NA) = 3 } NS_ENUM_AVAILABLE(10_8, NA);
@vonengel @mikemcquaid: I'm looking into fixing this upstream, patch is: https://codereview.qt-project.org/#change,69328.
I'm not getting any duplicate symbol errors, perhaps the homebrew build is somehow different than the "standard" Qt developer build? My gcc is "Apple LLVM version 5.0 (clang-500.1.58) (based on LLVM 3.3svn)".
@msorvig You can see the options we use here: https://github.com/mxcl/homebrew/blob/master/Library/Formula/qt.rb
@vonengel there should be a flag to make it use system tiff libraries. I have the same issue building VTK, by adding -DVTK_USE_SYSTEM_TIFF=ON I was able to resolve it.
I added the option "-system-libtiff" to get rid of the duplicated symbols. However I then end up with the following errors at a later time:
gcc -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -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 -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../lib/QtCore.framework/Versions/4/Headers -I../../../../include/QtCore -I../../../../lib/QtNetwork.framework/Versions/4/Headers -I../../../../include/QtNetwork -I../../../../include -I.moc/release-shared -F/Users/ddangelo/apps/qt-everywhere-opensource-src-4.8.3/lib qcorewlanengine.mm -o .obj/release-shared/qcorewlanengine.o
In file included from qcorewlanengine.mm:42:
In file included from ./qcorewlanengine.h:45:
In file included from ./../qbearerengine_impl.h:45:
In file included from ../../../../include/QtNetwork/private/qbearerengine_p.h:1:
In file included from ../../../../include/QtNetwork/private/../../../src/network/bearer/qbearerengine_p.h:56:
In file included from ../../../../include/QtNetwork/private/../../../src/network/bearer/qnetworkconfiguration_p.h:56:
In file included from ../../../../include/QtNetwork/private/../../../src/network/bearer/qnetworkconfiguration.h:46:
In file included from ../../../../include/QtCore/qglobal.h:1:
../../../../include/QtCore/../../src/corelib/global/qglobal.h:331:6: warning: "This version of Mac OS X is unsupported" [-W#warnings]
# warning "This version of Mac OS X is unsupported"
^
qcorewlanengine.mm:104:88: error: use of undeclared identifier 'kCWPowerDidChangeNotification'; did you mean 'CWPowerDidChangeNotification'?
[notificationCenter addObserver:self selector:@selector(notificationHandler:) name:kCWPowerDidChangeNotification object:nil];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CWPowerDidChangeNotification
/System/Library/Frameworks/CoreWLAN.framework/Headers/CoreWLANConstants.h:27:36: note: 'CWPowerDidChangeNotification' declared here
FOUNDATION_EXTERN NSString * const CWPowerDidChangeNotification NS_AVAILABLE_MAC(10_6);
^
qcorewlanengine.mm:115:1: warning: writable atomic property 'engine' cannot pair a synthesized getter with a user defined setter [-Watomic-property-with-user-defined-accessor]
-(void)setEngine:(QCoreWlanEngine *)coreEngine
^
qcorewlanengine.mm:91:37: note: setter and getter must both be synthesized, or both be user defined,or the property must be nonatomic
@property (assign) QCoreWlanEngine* engine;
~~~~~~~~~~~ ^
@property (nonatomic,
qcorewlanengine.mm:91:37: note: property declared here
qcorewlanengine.mm:176:26: warning: instance method '-power' not found (return type defaults to 'id') [-Wobjc-method-access]
if([currentInterface power]) {
^~~~~
qcorewlanengine.mm:179:67: error: use of undeclared identifier 'kCWScanKeyMerge'
[NSNumber numberWithBool:YES], kCWScanKeyMerge,
^
qcorewlanengine.mm:183:46: warning: instance method '-scanForNetworksWithParameters:error:' not found (return type defaults to 'id') [-Wobjc-method-access]
NSArray* apArray = [currentInterface scanForNetworksWithParameters:parametersDict error:&err];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qcorewlanengine.mm:197:39: error: property 'interfaceState' not found on object of type 'CWInterface *'; did you mean 'interfaceName'?
if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) {
^~~~~~~~~~~~~~
interfaceName
/System/Library/Frameworks/CoreWLAN.framework/Headers/CWInterface.h:52:37: note: 'interfaceName' declared here
@property(readonly, copy) NSString *interfaceName NS_AVAILABLE_MAC(10_7);
^
qcorewlanengine.mm:197:67: error: use of undeclared identifier 'kCWInterfaceStateRunning'
if( [currentInterface.interfaceState intValue] == kCWInterfaceStateRunning) {
...
Any ideas?
I used the following config line: ./configure --prefix=/Users/ddangelo/apps/qt-everywhere-opensource-src-4.8.3_install -system-zlib -confirm-license -opensource -nomake demos -nomake examples -cocoa -fast -release -system-libtiff -platform unsupported/macx-clang
I was able to get qt installed on Mavericks combining a patch for qt originally added in this modified qt.rb formula: https://gist.github.com/cliffrowley/cb396e83008bbc4dc811
I then added another patch for an error with the corewlan plugin found on macports. Here is a link to my modified qt.rb for others to test. https://gist.github.com/jctull/b3cfdb9ab2190485ae63
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
I've managed to get it built now, though I haven't tested it: brew install libtiff
then brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb
Edit: note that these patches all came from the Qt code review, but they're probably not going to stick. Looking at the code review comments it appears they are going to try to remove the dependency on libWebKitSystemInterfaceMavericks.a.
The patches I incorporated:
The first link is the one to watch for upstream status on this issue.
I'm having issues building qt 4.8.5
using homebrew too. Here's the error message:
==> Downloading http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywh
Already downloaded: /Library/Caches/Homebrew/qt-4.8.5.tar.gz
==> ./configure -prefix /usr/local/Cellar/qt/4.8.5 -system-zlib -confirm-license -openso
==> make
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../../../../../../lib/QtWebKit.framework/QtWebKit] Error 1
make[2]: *** [release] Error 2
make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
These open issues may also help:
https://github.com/mxcl/homebrew/pull/22283
https://github.com/mxcl/homebrew/issues/23480
@nmadhok : did you try the solution proposed by cliffrowley ? It build on my computer.
@cliffrowley just tried:
brew install libtiff
brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb
result:
######################################################################## 100.0%
==> Downloading http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz
######################################################################## 100.0%
==> Patching
patching file src/plugins/bearer/corewlan/qcorewlanengine.mm
patching file src/plugins/bearer/corewlan/qcorewlanengine_10_6.mm
patching file src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 248 with fuzz 1.
==> /usr/local/bin/wget http://trac.webkit.org/export/157771/trunk/WebKitLibraries/libWebKitSystemInterfaceMavericks.a -O src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceMavericks.a
Failed to execute: /usr/local/bin/wget http://trac.webkit.org/export/157771/trunk/WebKitLibraries/libWebKitSystemInterfaceMavericks.a -O src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceMavericks.a
@dougvk : you have to install wget:
brew install wget
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
Ah, my bad. You need to install wget too. I literally just threw this all together so didn't really pay much attention to that..
Sorry, I copy/pasted the wrong one. It's a little late.
Command:
brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb
result:
######################################################################## 100.0%
==> Downloading http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/qt-4.8.5.tar.gz
==> Patching
patching file src/plugins/bearer/corewlan/qcorewlanengine.mm
patching file src/plugins/bearer/corewlan/qcorewlanengine_10_6.mm
patching file src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 248 with fuzz 1.
==> /usr/local/bin/wget http://trac.webkit.org/export/157771/trunk/WebKitLibraries/libWebKitSystemInterfaceMavericks.a -O src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceMavericks.a
==> ./configure -prefix /usr/local/Cellar/qt/4.8.5 -system-zlib -confirm-license -opensource -nomake demos -nomake examples -cocoa -fast -release -system-libtiff -no-3dnow -platform unsupported/macx-clang
==> make
^
7 errors generated.
make[2]: *** [.obj/release-shared/qdrawhelper_ssse3.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-gui-make_default-ordered] Error 2
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
What do you get if you brew install -v https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb
?
let me know if you need more output than this
...
brew: superenv removed: -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -Wall -W
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Winline -Xarch_i386 -mmmx -Xarch_x86_64 -mmmx -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -Wall -W
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Winline -Xarch_i386 -msse2 -Xarch_x86_64 -msse2 -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -Wall -W
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
brew: superenv removed: -Winline -Xarch_i386 -msse -Xarch_x86_64 -msse -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -Wall -W
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
c++ -c -Winline -Xarch_i386 -msse2 -Xarch_x86_64 -msse2 -fvisibility=hidden -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -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_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -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/unsupported/macx-clang -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -Iimage -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -F/private/tmp/qt-aNoK/qt-everywhere-opensource-src-4.8.5/lib painting/qdrawhelper_sse2.cpp -o .obj/release-shared/qdrawhelper_sse2.o
brew: superenv removed: -Winline -Xarch_i386 -msse2 -Xarch_x86_64 -msse2 -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -Wall -W
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
c++ -c -Winline -Xarch_i386 -mssse3 -Xarch_x86_64 -mssse3 -fvisibility=hidden -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -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_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -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/unsupported/macx-clang -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -Iimage -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -F/private/tmp/qt-aNoK/qt-everywhere-opensource-src-4.8.5/lib image/qimage_ssse3.cpp -o .obj/release-shared/qimage_ssse3.o
brew: superenv removed: -Winline -Xarch_i386 -mssse3 -Xarch_x86_64 -mssse3 -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -Wall -W
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
c++ -c -Winline -Xarch_i386 -mssse3 -Xarch_x86_64 -mssse3 -fvisibility=hidden -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -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_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -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/unsupported/macx-clang -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -Iimage -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -F/private/tmp/qt-aNoK/qt-everywhere-opensource-src-4.8.5/lib painting/qdrawhelper_ssse3.cpp -o .obj/release-shared/qdrawhelper_ssse3.o
brew: superenv removed: -Winline -Xarch_i386 -mssse3 -Xarch_x86_64 -mssse3 -Xarch_x86_64 -mmacosx-version-min=10.5 -O2 -arch x86_64 -Wall -W
brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
cc -c -pipe -O2 -arch x86_64 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -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_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -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/unsupported/macx-clang -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -Iimage -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -F/private/tmp/qt-aNoK/qt-everywhere-opensource-src-4.8.5/lib kernel/qcursor_mac.mm -o .obj/release-shared/qcursor_mac.o
brew: superenv removed: -O2 -arch x86_64 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W
brew: superenv added: -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
image/qimage_ssse3.cpp:91:34: error: use of undeclared identifier '_mm_lddqu_si128'; did you mean '_mm_loadu_si128'?
__m128i firstSrcVector = _mm_lddqu_si128(inVectorPtr);
^~~~~~~~~~~~~~~
_mm_loadu_si128
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include/emmintrin.h:1065:1: note: '_mm_loadu_si128' declared here
_mm_loadu_si128(__m128i const *__p)
^
image/qimage_ssse3.cpp:92:32: error: use of undeclared identifier '_mm_shuffle_epi8'
__m128i outputVector = _mm_shuffle_epi8(firstSrcVector, shuffleMask);
^
image/qimage_ssse3.cpp:99:35: error: use of undeclared identifier '_mm_lddqu_si128'; did you mean '_mm_loadu_si128'?
__m128i secondSrcVector = _mm_lddqu_si128(inVectorPtr);
^~~~~~~~~~~~~~~
_mm_loadu_si128
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include/emmintrin.h:1065:1: note: '_mm_loadu_si128' declared here
_mm_loadu_si128(__m128i const *__p)
^
image/qimage_ssse3.cpp:100:29: error: use of undeclared identifier '_mm_alignr_epi8'
__m128i srcVector = _mm_alignr_epi8(secondSrcVector, firstSrcVector, 12);
^
image/qimage_ssse3.cpp:101:24: error: use of undeclared identifier '_mm_shuffle_epi8'
outputVector = _mm_shuffle_epi8(srcVector, shuffleMask);
^
image/qimage_ssse3.cpp:108:27: error: use of undeclared identifier '_mm_lddqu_si128'; did you mean '_mm_loadu_si128'?
secondSrcVector = _mm_lddqu_si128(inVectorPtr);
^~~~~~~~~~~~~~~
_mm_loadu_si128
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include/emmintrin.h:1065:1: note: '_mm_loadu_si128' declared here
_mm_loadu_si128(__m128i const *__p)
^
image/qimage_ssse3.cpp:109:21: error: use of undeclared identifier '_mm_alignr_epi8'
srcVector = _mm_alignr_epi8(secondSrcVector, firstSrcVector, 8);
^
image/qimage_ssse3.cpp:110:24: error: use of undeclared identifier '_mm_shuffle_epi8'
outputVector = _mm_shuffle_epi8(srcVector, shuffleMask);
^
image/qimage_ssse3.cpp:117:24: error: use of undeclared identifier '_mm_shuffle_epi8'
outputVector = _mm_shuffle_epi8(secondSrcVector, shuffleMaskEnd);
^
9 errors generated.
make[2]: *** [.obj/release-shared/qimage_ssse3.o] Error 1
make[2]: *** Waiting for unfinished jobs....
painting/qdrawhelper_ssse3.cpp:159:13: error: use of undeclared identifier '_mm_shuffle_epi8'
BLEND_SOURCE_OVER_ARGB32_SSSE3(dst, src, w, nullVector, half, one, colorMask, alphaMask);
^
painting/qdrawhelper_ssse3.cpp:113:40: note: expanded from macro 'BLEND_SOURCE_OVER_ARGB32_SSSE3'
__m128i alphaChannel = _mm_shuffle_epi8(srcVector, alphaShuffleMask); \
^
painting/qdrawhelper_ssse3.cpp:159:13: error: use of undeclared identifier '_mm_alignr_epi8'
painting/qdrawhelper_ssse3.cpp:130:13: note: expanded from macro 'BLEND_SOURCE_OVER_ARGB32_SSSE3'
BLENDING_LOOP(4, length)\
^
painting/qdrawhelper_ssse3.cpp:65:35: note: expanded from macro 'BLENDING_LOOP'
const __m128i srcVector = _mm_alignr_epi8(srcVectorLastLoaded, srcVectorPrevLoaded, palignrOffset); \
^
painting/qdrawhelper_ssse3.cpp:159:13: error: use of undeclared identifier '_mm_shuffle_epi8'
painting/qdrawhelper_ssse3.cpp:130:13: note: expanded from macro 'BLEND_SOURCE_OVER_ARGB32_SSSE3'
BLENDING_LOOP(4, length)\
^
painting/qdrawhelper_ssse3.cpp:70:36: note: expanded from macro 'BLENDING_LOOP'
__m128i alphaChannel = _mm_shuffle_epi8(srcVector, alphaShuffleMask); \
^
painting/qdrawhelper_ssse3.cpp:159:13: error: use of undeclared identifier '_mm_alignr_epi8'
painting/qdrawhelper_ssse3.cpp:133:13: note: expanded from macro 'BLEND_SOURCE_OVER_ARGB32_SSSE3'
BLENDING_LOOP(8, length)\
^
painting/qdrawhelper_ssse3.cpp:65:35: note: expanded from macro 'BLENDING_LOOP'
const __m128i srcVector = _mm_alignr_epi8(srcVectorLastLoaded, srcVectorPrevLoaded, palignrOffset); \
^
painting/qdrawhelper_ssse3.cpp:159:13: error: use of undeclared identifier '_mm_shuffle_epi8'
painting/qdrawhelper_ssse3.cpp:133:13: note: expanded from macro 'BLEND_SOURCE_OVER_ARGB32_SSSE3'
BLENDING_LOOP(8, length)\
^
painting/qdrawhelper_ssse3.cpp:70:36: note: expanded from macro 'BLENDING_LOOP'
__m128i alphaChannel = _mm_shuffle_epi8(srcVector, alphaShuffleMask); \
^
painting/qdrawhelper_ssse3.cpp:159:13: error: use of undeclared identifier '_mm_alignr_epi8'
painting/qdrawhelper_ssse3.cpp:136:13: note: expanded from macro 'BLEND_SOURCE_OVER_ARGB32_SSSE3'
BLENDING_LOOP(12, length)\
^
painting/qdrawhelper_ssse3.cpp:65:35: note: expanded from macro 'BLENDING_LOOP'
const __m128i srcVector = _mm_alignr_epi8(srcVectorLastLoaded, srcVectorPrevLoaded, palignrOffset); \
^
painting/qdrawhelper_ssse3.cpp:159:13: error: use of undeclared identifier '_mm_shuffle_epi8'
painting/qdrawhelper_ssse3.cpp:136:13: note: expanded from macro 'BLEND_SOURCE_OVER_ARGB32_SSSE3'
BLENDING_LOOP(12, length)\
^
painting/qdrawhelper_ssse3.cpp:70:36: note: expanded from macro 'BLENDING_LOOP'
__m128i alphaChannel = _mm_shuffle_epi8(srcVector, alphaShuffleMask); \
^
7 errors generated.
make[2]: *** [.obj/release-shared/qdrawhelper_ssse3.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-gui-make_default-ordered] Error 2
==> Formula
Tap: path or URL
Path: /Library/Caches/Homebrew/Formula/qt.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
HEAD: 7947b538f0d293d786204a56135a71bce1c2f35d
CPU: quad-core 64-bit haswell
OS X: 10.9-x86_64
Xcode: 5.0.1
CLT: 5.0.1.0.1.1382131676
X11: N/A
==> ENV
HOMEBREW_CC: clang
CXXFLAGS: -fvisibility=hidden
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
HOMEBREW_VERBOSE: 1
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: qt did not build
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
@dougvk hmm, odd. What's your clang --version
? Also which clang
? Lastly, do you have apple-gcc42 installed?
[~] clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
[~] which clang
/usr/bin/clang
[~] brew install apple-gcc42
Warning: apple-gcc42-4.2.1-5666.3 already installed
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
@dougvk hmm, I don't know what your problem is there, but those errors seem related to processor optimisations. The patches didn't change anything related to that. Did Qt build on your system before?
its a new macbook air just got it yesterday. first time building anything. thanks for your help! On Oct 29, 2013 9:08 AM, "Cliff Rowley" notifications@github.com wrote:
@dougvk https://github.com/dougvk hmm, I don't know what your problem is there, but those errors seem related to processor optimisations. The patches didn't change anything related to that. Did Qt build on your system before?
— Reply to this email directly or view it on GitHubhttps://github.com/mxcl/homebrew/issues/21000#issuecomment-27300919 .
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
@dougvk I just built a bottle for you to try. I have noticed a couple of issues, particularly with wkhtmltopdf, but I'm seeing if I can't iron those out. In the meantime, see if this works for you:
brew install https://dl.dropboxusercontent.com/u/714833/Homebrew/Bottles/qt-4.8.5.mavericks.bottle.3.tar.gz
@cliffrowley thanks so much for taking the time to help me out - I haven't used a bottle before, but this is the output:
[~] brew install https://dl.dropboxusercontent.com/u/714833/Homebrew/Bottles/qt-4.8.5.mavericks.bottle.3.tar.gz
######################################################################## 100.0%
Error: No available formula for qt-4.8.5.mavericks.bottle.3.tar.gz
Not sure if the command is wrong or something
nitinmadhok@Nitins-MacBook-Pro:~$ brew install https://dl.dropboxusercontent.com/u/714833/Homebrew/Bottles/qt-4.8.5.mavericks.bottle.3.tar.gz
######################################################################## 100.0%
Error: No available formula for qt-4.8.5.mavericks.bottle.3.tar.gz
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
Oh, sorry about that - a misunderstanding on my part. Download the bottle and put it in /Library/Caches/Homebrew
and then brew install /Library/Caches/Homebrew/qt-4.8.5.mavericks.bottle.3.tar.gz
. That should do it!
thanks so much @cliffrowley it works now -- installed!
@cliffrowley Thanks. What was the fix though? I'm having trouble fixing field3d and opencolorio and openimageio as well.
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
@nmadhok The patches came from the Qt code review, so it's Qt's code - not mine. I'm also having a few issues here and am attempting to solve them. What issues are you seeing? Are they related to libqcorewlanbearer.dylib by any chance?
For example, wkhtmltopdf crashes for me with:
Thread 8 Crashed:: QScanThread
0 QtCore 0x00000001029ac23b QMetaObject::activate(QObject, QMetaObject const, int, void**) + 73
1 libqcorewlanbearer.dylib 0x000000010675fe31 QScanThread::run() + 2317
2 QtCore 0x00000001028bf9b4 QThreadPrivate::start(void*) + 386
3 libsystem_pthread.dylib 0x00007fff98e25899 _pthread_body + 138
4 libsystem_pthread.dylib 0x00007fff98e2572a _pthread_start + 137
5 libsystem_pthread.dylib 0x00007fff98e29fc9 thread_start + 13
EDIT: These patches were applied to the stable version of Qt 4.8.5. Next I will try applying them to HEAD (as recommended by Morten @ Qt) to see if that clears things up.
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
Ok, things seem a lot more stable using HEAD than they do using stable. I'd recommend that anyone who has been following and using my patched formula try the following:
brew remove qt
brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD
Using this, wkhtmltopdf no longer crashes for me.
@dougvk I'll build and upload you a bottle to try now :-)
I’m assuming that will install the qt5 branch? Please comment on whether this is 4.8.x HEAD or 5.x.
On Oct 29, 2013, at 9:58 AM, Cliff Rowley notifications@github.com wrote:
Ok, things seem a lot more stable using HEAD than they do using stable. I'd recommend that anyone who has been following and using my patched formula try the following:
brew remove qt brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD Using this, wkhtmltopdf no longer crashes for me.
@dougvk I'll build and upload you a bottle to try now :-)
— Reply to this email directly or view it on GitHub.
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
@jctull It's 4.8, sorry I assumed people would realise that as this issue is related to 4.8.
@dougvk https://dl.dropboxusercontent.com/u/714833/Homebrew/Bottles/HEAD/qt-4.8.5.mavericks.bottle.3.tar.gz
Same procedure as before, download to /Library/Caches/Homebrew/
(overwrite the old one), then brew remove qt
and brew install /Library/Caches/Homebrew/qt-4.8.5.mavericks.bottle.3.tar.gz
.
Let me know how it goes!
Thanks for the update on this and your work to get it functioning. I’ll be testing it with qgis, a piece of mapping software I use extensively. The bottles are also appreciated!
On Oct 29, 2013, at 10:05 AM, Cliff Rowley notifications@github.com wrote:
@jctull It's 4.8, sorry I assumed people would realise that as this issue is related to 4.8.
@dougvk https://dl.dropboxusercontent.com/u/714833/Homebrew/Bottles/HEAD/qt-4.8.5.mavericks.bottle.3.tar.gz
Same procedure as before, download to /Library/Caches/Homebrew/(overwrite the old one), then brew remove qt and brew install /Library/Caches/Homebrew/qt-4.8.5.mavericks.bottle.3.tar.gz.
Let me know how it goes!
— Reply to this email directly or view it on GitHub.
@msorvig any thoughts on this?
NOTE: Ignore this thread now and the advice within it. Instead go to https://github.com/mxcl/homebrew/pull/23793
@jctull I can't really take credit, it's the Qt guys that are hard at work fixing it - I just plagiarised their hard work before it was ready and was patching my own Qt so that I can keep working on Mavericks on my iMac ;-)
@cliffrowley
[~] brew install /Library/Caches/Homebrew/qt-4.8.5.mavericks.bottle.3.tar.gz
==> Pouring qt-4.8.5.mavericks.bottle.3.tar.gz
Warning: Bottle installation failed: building from source.
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.
Error: /usr/local/Cellar/qt/4.8.5 is not a directory
@cliffrowley @dougvk This worked for me:
brew remove qt
brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD
@nmadhok
$ brew install https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb --HEAD
######################################################################## 100.0%
==> Cloning git://gitorious.org/qt/qt.git
Cloning into '/Library/Caches/Homebrew/qt--git'...
remote: Counting objects: 46742, done.
remote: Compressing objects: 100% (29695/29695), done.
remote: Total 46742 (delta 15649), reused 42187 (delta 14256)
Receiving objects: 100% (46742/46742), 161.37 MiB | 3.67 MiB/s, done.
Resolving deltas: 100% (15649/15649), done.
Checking connectivity... done
Checking out files: 100% (46943/46943), done.
==> Checking out branch 4.8
==> Patching
patching file src/plugins/bearer/corewlan/qcorewlanengine.mm
patching file src/plugins/bearer/corewlan/qcorewlanengine_10_6.mm
patching file src/3rdparty/webkit/Source/WebKit/qt/QtWebKit.pro
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 248 with fuzz 1.
==> /usr/local/bin/wget http://trac.webkit.org/export/157771/trunk/WebKitLibrari
==> ./configure -prefix /usr/local/Cellar/qt/HEAD -system-zlib -confirm-license
==> make
^
7 errors generated.
make[2]: *** [.obj/release-shared/qdrawhelper_ssse3.o] Error 1
make[1]: *** [release] Error 2
make: *** [sub-gui-make_default-ordered] Error 2
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
These open issues may also help:
https://github.com/mxcl/homebrew/pull/22283
https://github.com/mxcl/homebrew/issues/23480
@nmadhok thanks but for some reason I require a bottle - build doesn't work on its own see @paulgribble
@paulgribble you seem to be having the same issue as @dougvk. It's something to do with processor optimisations (SSE3). Unfortunately I don't have anything that it fails on to test with. You could try the bottle I prepared earlier (https://github.com/mxcl/homebrew/issues/21000#issuecomment-27322233)
Can you add a -v to the command line?
Sent from the ether
On 30 Oct 2013, at 00:18, Paul Gribble notifications@github.com wrote:
==> Pouring qt-4.8.5.mavericks.bottle.3.tar.gz Warning: Bottle installation failed: building from source. ==> Caveats We agreed to the Qt opensource license for you. If this is unacceptable you should uninstall. Error: /usr/local/Cellar/qt/4.8.5 is not a directory — Reply to this email directly or view it on GitHub.
@cliffrowley I think it's ok, I just had to do a
brew link qt
afterwards
What I'm actually doing is trying to install pyqt so that I can use AFNI (a brain imaging analysis suite).
brew install pyqt is running now ... we'll see what happens
Currently working on a fix for this. So far have needed the following changes.