[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #33837 [Core Tor/Tor]: Tor.framework Unknown type name 'dispatch_queue_t'
#33837: Tor.framework Unknown type name 'dispatch_queue_t'
-------------------------------------------------+-------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor:
| 0.4.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: 043-should, 043-backport, | Actual Points:
042-backport, 041-backport |
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by nickm):
I've managed to ''sort of'' get the build environment running. Here is an
instance of the command line that failed, split up so that it doesn't
scroll too much.
{{{
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x objective-c -target armv7-apple-ios8.0 -fmessage-length=0
-fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0
-std=gnu99 -fobjc-arc -fmodules -gmodules
-fmodules-cache-
path=/Users/nickm/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
-fmodules-prune-interval=86400 -fmodules-prune-after=345600
-fbuild-session-
file=/Users/nickm/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation
-fmodules-validate-once-per-build-session -fmodule-name=Tor
-fapplication-extension -Wno-trigraphs -fpascal-strings -Os
-fno-common -Wmissing-field-initializers -Wno-missing-prototypes
-Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties
-Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars
-Werror=objc-root-class -Wno-arc-repeated-use-of-weak
-Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces
-Wparentheses -Wswitch -Wunused-function -Wunused-label
-Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body
-Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wfour-char-constants
-Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion
-Wenum-conversion -Wfloat-conversion -Wnon-literal-null-conversion
-Wobjc-literal-conversion -Wsign-compare -Wshorten-64-to-32
-Wpointer-sign -Wno-newline-eof -Wno-selector
-Wno-strict-selector-match -Wundeclared-selector
-Wdeprecated-implementations -DOBJC_OLD_DISPATCH_PROTOTYPES=0
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk
-fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g
-Wno-sign-conversion -Winfinite-recursion -Wcomma
-Wblock-capture-autoreleasing -Wstrict-prototypes
-Wno-semicolon-before-method-body -fembed-bitcode -iquote
/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/Tor-generated-files.hmap
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/Tor-own-target-headers.hmap
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/Tor-all-non-framework-target-headers.hmap
-ivfsoverlay
/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/all-product-headers.yaml
-iquote
/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/Tor-project-headers.hmap
-iquote
/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/BuildProductsPath/Release-iphoneos/tor
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/BuildProductsPath/Release-iphoneos/include
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/UninstalledProducts/include
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/include
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/tor
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/tor/src
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/tor/src/common
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/tor/src/core
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/tor/src/ext
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/tor/src/feature
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/tor/src/lib
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/libevent/include
-I/Users/nickm/src/minitor/src/Tor.framework/Tor/openssl/include
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/BuildProductsPath/Release-iphoneos/openssl
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/BuildProductsPath/Release-iphoneos/libevent
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/DerivedSources-normal/armv7
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/DerivedSources/armv7
-I/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/DerivedSources
-Wno-error=unknown-warning-option -Wno-gcc-compat
-Wno-unused-const-variable -Wno-nullability-completeness
-F/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/BuildProductsPath/Release-iphoneos
-Wunguarded-availability -Wstrict-prototypes -Wall -Wextra -Wunused
-MMD -MT dependencies -MF
/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/Objects-normal/armv7/TORNode.d
--serialize-diagnostics
/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/Objects-normal/armv7/TORNode.dia
-c /Users/nickm/src/minitor/src/Tor.framework/Tor/TORNode.m -o
/Users/nickm/Library/Developer/Xcode/DerivedData/Tor-
ccpyrdylcgmlgjgvzcjuffrxljph/Build/Intermediates.noindex/ArchiveIntermediates
/Tor-iOS/IntermediateBuildFilesPath/Tor.build/Release-iphoneos/Tor-
iOS.build/Objects-normal/armv7/TORNode.o
}}}
And here are the errors
{{{
While building module 'Foundation' imported from
/Users/nickm/src/minitor/src/Tor.framework/Tor/TORNode.h:8:
While building module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from <module-includes>:1:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:60
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:17:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:468:77:
error: unknown type name 'dispatch_queue_t'
void CFReadStreamSetDispatchQueue(CFReadStreamRef _Null_unspecified
stream, dispatch_queue_t _Null_unspecified q) API_AVAILABLE(macos(10.9),
ios(7.0), watchos(2.0), tvos(9.0));
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:468:94:
error: nullability specifier '_Null_unspecified' cannot be applied to non-
pointer type 'int'
void CFReadStreamSetDispatchQueue(CFReadStreamRef _Null_unspecified
stream, dispatch_queue_t _Null_unspecified q) API_AVAILABLE(macos(10.9),
ios(7.0), watchos(2.0), tvos(9.0));
^
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33837#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs