Project

General

Profile

Actions

Bug #1097

closed

[tests] Build of crystax-issue995-objective-c-literals failed on Mac OS X 10.7

Added by Dmitry M. over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
test
Target version:
Start date:
10/13/2015
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
Host OS:
OS X
Toolchain:
Android version:
CrystaX NDK Version:

Description

2015-10-12 20:05:04.225 UTC: HST device test [crystax-issue995-objective-c-literals]
2015-10-12 20:05:04.252 UTC: ## COMMAND: /tmp/crystaxndk-ndk/crystax-ndk-10.2.1-b706-darwin-x86_64/prebuilt/darwin-x86_64/bin/make -C /tmp/ndk-tests-macosx10.7/clang3.7/device/crystax-issue995-objective-c-literals/host-cc/host -B -j4 test CC=cc
2015-10-12 20:05:04.252 UTC: ## CWD: /Users/ndk
2015-10-12 20:05:04.415 UTC: > make: Entering directory /private/tmp/ndk-tests-macosx10.7/clang3.7/device/crystax-issue995-objective-c-literals/host-cc/host'
2015-10-12 20:05:04.415 UTC: > mkdir -p obj/cc
2015-10-12 20:05:04.416 UTC: > mkdir -p bin/cc
2015-10-12 20:05:04.416 UTC: > cc -x objective-c -O0 -fnext-runtime -fblocks -Wall -Werror -UNDEBUG -c -o obj/cc/test.m.o ../jni/test.m
2015-10-12 20:05:04.672 UTC: * ../jni/test.m:75:28: error: unexpected type name 'BOOL': expected expression
2015-10-12 20:05:04.675 UTC: * NSNumber *yesNumber = @YES;
2015-10-12 20:05:04.675 UTC: * ^
2015-10-12 20:05:04.675 UTC: * /usr/include/objc/objc.h:50:26: note: expanded from macro 'YES'
2015-10-12 20:05:04.676 UTC: * #define YES (BOOL)1
2015-10-12 20:05:04.676 UTC: * ^
2015-10-12 20:05:04.677 UTC: * ../jni/test.m:78:27: error: unexpected type name 'BOOL': expected expression
2015-10-12 20:05:04.678 UTC: * NSNumber *noNumber = @NO;
2015-10-12 20:05:04.678 UTC: * ^
2015-10-12 20:05:04.678 UTC: * /usr/include/objc/objc.h:51:26: note: expanded from macro 'NO'
2015-10-12 20:05:04.678 UTC: * #define NO (BOOL)0
2015-10-12 20:05:04.678 UTC: * ^
2015-10-12 20:05:04.684 UTC: * ../jni/test.m:142:28: error: expected method to read array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.684 UTC: * NSLog(@"array2[0]=%@", array2[0]);
2015-10-12 20:05:04.685 UTC: * ^
2015-10-12 20:05:04.685 UTC: * ../jni/test.m:143:13: error: expected method to read array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.685 UTC: * assert([array2[0] isEqualToNumber:@4234]);
2015-10-12 20:05:04.685 UTC: * ^
2015-10-12 20:05:04.685 UTC: * /usr/include/assert.h:93:25: note: expanded from macro 'assert'
2015-10-12 20:05:04.686 UTC: * (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
2015-10-12 20:05:04.686 UTC: * ^
2015-10-12 20:05:04.686 UTC: * ../jni/test.m:144:5: error: expected method to write array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.686 UTC: * array2[0] = @4345;
2015-10-12 20:05:04.686 UTC: * ^
2015-10-12 20:05:04.686 UTC: * ../jni/test.m:145:28: error: expected method to read array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.687 UTC: * NSLog(@"array2[0]=%@", array2[0]);
2015-10-12 20:05:04.687 UTC: * ^
2015-10-12 20:05:04.687 UTC: * ../jni/test.m:146:13: error: expected method to read array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.687 UTC: * assert([array2[0] isEqualToNumber:@4345]);
2015-10-12 20:05:04.687 UTC: * ^
2015-10-12 20:05:04.687 UTC: * /usr/include/assert.h:93:25: note: expanded from macro 'assert'
2015-10-12 20:05:04.688 UTC: * (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
2015-10-12 20:05:04.688 UTC: * ^
2015-10-12 20:05:04.688 UTC: * ../jni/test.m:148:45: error: expected method to read array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.688 UTC: * NSLog(@"array2[1]=%@ (%@)", array2[1], [array2[1] class]);
2015-10-12 20:05:04.688 UTC: * ^
2015-10-12 20:05:04.689 UTC: * ../jni/test.m:150:13: error: expected method to read array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.689 UTC: * assert([array2[1] isEqualToString:@"Hello111"]);
2015-10-12 20:05:04.689 UTC: * ^
2015-10-12 20:05:04.689 UTC: * /usr/include/assert.h:93:25: note: expanded from macro 'assert'
2015-10-12 20:05:04.689 UTC: * (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
2015-10-12 20:05:04.690 UTC: * ^
2015-10-12 20:05:04.690 UTC: * ../jni/test.m:151:5: error: expected method to write array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.690 UTC: * array2[1] = @"Hello222";
2015-10-12 20:05:04.690 UTC: * ^
2015-10-12 20:05:04.690 UTC: * ../jni/test.m:152:45: error: expected method to read array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.690 UTC: * NSLog(@"array2[1]=%@ (%@)", array2[1], [array2[1] class]);
2015-10-12 20:05:04.690 UTC: * ^
2015-10-12 20:05:04.691 UTC: * ../jni/test.m:154:13: error: expected method to read array element not found on object of type 'NSMutableArray *'
2015-10-12 20:05:04.691 UTC: * assert([array2[1] isEqualToString:@"Hello222"]);
2015-10-12 20:05:04.691 UTC: * ^
2015-10-12 20:05:04.691 UTC: * /usr/include/assert.h:93:25: note: expanded from macro 'assert'
2015-10-12 20:05:04.691 UTC: * (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
2015-10-12 20:05:04.691 UTC: * ^
2015-10-12 20:05:04.692 UTC: * ../jni/test.m:158:13: error: expected method to read dictionary element not found on object of type 'NSMutableDictionary *'
2015-10-12 20:05:04.692 UTC: * assert([dictionary2[@"name"] isEqualToString:@"NAME"]);
2015-10-12 20:05:04.692 UTC: * ^
2015-10-12 20:05:04.692 UTC: * /usr/include/assert.h:93:25: note: expanded from macro 'assert'
2015-10-12 20:05:04.692 UTC: * (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
2015-10-12 20:05:04.692 UTC: * ^
2015-10-12 20:05:04.693 UTC: * ../jni/test.m:159:5: error: expected method to write dictionary element not found on object of type 'NSMutableDictionary *'
2015-10-12 20:05:04.693 UTC: * dictionary2[@"name"] = @"NAME2";
2015-10-12 20:05:04.693 UTC: * ^
2015-10-12 20:05:04.693 UTC: * ../jni/test.m:160:13: error: expected method to read dictionary element not found on object of type 'NSMutableDictionary *'
2015-10-12 20:05:04.693 UTC: * assert([dictionary2[@"name"] isEqualToString:@"NAME2"]);
2015-10-12 20:05:04.693 UTC: * ^
2015-10-12 20:05:04.694 UTC: * /usr/include/assert.h:93:25: note: expanded from macro 'assert'
2015-10-12 20:05:04.694 UTC: * (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
2015-10-12 20:05:04.694 UTC: * ^
2015-10-12 20:05:04.694 UTC: * ../jni/test.m:161:13: error: expected method to read dictionary element not found on object of type 'NSMutableDictionary *'
2015-10-12 20:05:04.694 UTC: * assert([dictionary2[@"value"] isEqualToNumber:@1234]);
2015-10-12 20:05:04.694 UTC: * ^
2015-10-12 20:05:04.695 UTC: * /usr/include/assert.h:93:25: note: expanded from macro 'assert'
2015-10-12 20:05:04.695 UTC: * (__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0)
2015-10-12 20:05:04.695 UTC: * ^
2015-10-12 20:05:04.695 UTC: * ../jni/test.m:162:5: error: expected method to write dictionary element not found on object of type 'NSMutableDictionary *'
2015-10-12 20:05:04.695 UTC: * dictionary2[@"value"] = @5678;
2015-10-12 20:05:04.696 UTC: > make: Leaving directory
/private/tmp/ndk-tests-macosx10.7/clang3.7/device/crystax-issue995-objective-c-literals/host-cc/host'
2015-10-12 20:05:04.696 UTC: * ^
2015-10-12 20:05:04.697 UTC: * ../jni/test.m:163:13: error: expected method to read dictionary element not found on object of type 'NSMutableDictionary '
2015-10-12 20:05:04.697 UTC: * assert([dictionary2[@"value"] isEqualToNumber:@5678]);
2015-10-12 20:05:04.697 UTC: * ^
2015-10-12 20:05:04.697 UTC: * /usr/include/assert.h:93:25: note: expanded from macro 'assert'
2015-10-12 20:05:04.697 UTC: * (builtin_expect(!(e), 0) ? __assert_rtn(func_, __FILE, __LINE_, #e) : (void)0)
2015-10-12 20:05:04.697 UTC: * ^
2015-10-12 20:05:04.697 UTC: * 18 errors generated.
2015-10-12 20:05:04.698 UTC: * make: *
* [obj/cc/test.m.o] Error 1
2015-10-12 20:05:04.698 UTC: ERROR: On-host test of crystax-issue995-objective-c-literals failed
2015-10-12 20:05:04.698 UTC: ---> FAILURE: HOST TEST [crystax-issue995-objective-c-literals]

Actions

Also available in: Atom PDF