Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

carthage bootstrap error #32

Open
ludoded opened this issue May 24, 2016 · 1 comment
Open

carthage bootstrap error #32

ludoded opened this issue May 24, 2016 · 1 comment

Comments

@ludoded
Copy link

ludoded commented May 24, 2016

Whenever I try to carthage bootstrap I'm getting this error

Haiks-iMac:Vikas haikampardjian$ carthage bootstrap
*** Checking out libbson-xcode at "1.2.1"
*** Checking out libmongoc-xcode at "1.2.1"
*** Checking out SwiftMongoDB at "6efbc72f70077d72718825ab9e398b0df40d0339"
*** xcodebuild output can be found in /var/folders/fd/scm2c4fx78158r9pd0mwvkyc0000gn/T/carthage-xcodebuild.3jlNh8.log
*** Building scheme "bson-ios" in bson.xcodeproj
*** Building scheme "bson-osx" in bson.xcodeproj
*** Building scheme "mongoc-osx" in mongoc.xcodeproj
** BUILD FAILED **


The following build commands failed:
    CompileC /Users/haikampardjian/Library/Developer/Xcode/DerivedData/mongoc-dearahlckdxevjgqggbgfwxqfcik/Build/Intermediates/mongoc.build/Release/mongoc-osx.build/Objects-normal/x86_64/mongoc-stream-buffered.o mongoc/mongoc-stream-buffered.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-oid.c:36:23: warning: unused variable 'gHexCharPairs' [-Wunused-const-variable]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:62:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:66:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:180:19: warning: variable 'gmt' is not needed and will not be emitted [-Wunneeded-internal-declaration]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-oid.c:36:23: warning: unused variable 'gHexCharPairs' [-Wunused-const-variable]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:62:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:66:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:180:19: warning: variable 'gmt' is not needed and will not be emitted [-Wunneeded-internal-declaration]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:62:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:66:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:180:19: warning: variable 'gmt' is not needed and will not be emitted [-Wunneeded-internal-declaration]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:62:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:66:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:180:19: warning: variable 'gmt' is not needed and will not be emitted [-Wunneeded-internal-declaration]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:62:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:66:38: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libbson-xcode/bson/bson/bson-timegm.c:180:19: warning: variable 'gmt' is not needed and will not be emitted [-Wunneeded-internal-declaration]
warning: using 'ALWAYS_SEARCH_USER_PATHS = YES' while building targets which define modules ('DEFINES_MODULE = YES') may fail. Please migrate to using 'ALWAYS_SEARCH_USER_PATHS = NO'.
warning: using 'ALWAYS_SEARCH_USER_PATHS = YES' while building targets which define modules ('DEFINES_MODULE = YES') may fail. Please migrate to using 'ALWAYS_SEARCH_USER_PATHS = NO'.
warning: no rule to process file '/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libmongoc-xcode/mongoc/mongoc-counters.defs' of type text for architecture x86_64
warning: using 'ALWAYS_SEARCH_USER_PATHS = YES' while building targets which define modules ('DEFINES_MODULE = YES') may fail. Please migrate to using 'ALWAYS_SEARCH_USER_PATHS = NO'.
warning: no rule to process file '/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libmongoc-xcode/mongoc/mongoc-counters.defs' of type text for architecture x86_64
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libmongoc-xcode/Carthage/Build/Mac/bson.framework/Headers/bson-compat.h:115:11: error: include of non-modular header inside framework module 'bson.bson_compat' [-Werror,-Wnon-modular-include-in-framework-module]
<module-includes>:1:1: warning: umbrella header for module 'bson' does not include header 'b64_ntop.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'bson' does not include header 'b64_pton.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'bson' does not include header 'bson-osx.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'bson' does not include header 'bson-stdint-win32.h' [-Wincomplete-umbrella]
/Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libmongoc-xcode/mongoc/mongoc-buffer-private.h:24:10: fatal error: could not build module 'bson'
A shell task (/usr/bin/xcrun xcodebuild -project /Users/haikampardjian/Projects/Vikas/Carthage/Checkouts/libmongoc-xcode/mongoc.xcodeproj -scheme mongoc-osx -configuration Release ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **


The following build commands failed:
    CompileC /Users/haikampardjian/Library/Developer/Xcode/DerivedData/mongoc-dearahlckdxevjgqggbgfwxqfcik/Build/Intermediates/mongoc.build/Release/mongoc-osx.build/Objects-normal/x86_64/mongoc-stream-buffered.o mongoc/mongoc-stream-buffered.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

I've tried on different environments, getting same error everywhere.

My Xcode version: 7.3.1
My Carthage version: 0.16.2

@frankind
Copy link

I also build fail as well, anything wrong?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants