Cocoa - Primitive Obj-C/Cocoa frontend - check results
RForge.net

Cocoa

About Cocoa
SVN access
Download/Files
News
Check results

Version: 0.2-0
Result: ERROR
Check time: 2014-03-29 14:09
* using log directory ''
* using R Under development (unstable) (2014-03-29 r65336)
* using platform: x86_64-unknown-linux-gnu (64-bit)
* using session charset: ISO8859-1
* checking for file 'Cocoa/DESCRIPTION' ... OK
* this is package 'Cocoa' version '0.2-0'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... ERROR
All packages need a namespace as from R 3.0.0.
R CMD build will produce a suitable starting point, but it is better to
handcraft a NAMESPACE file.

Distribution log

SVN checkout/GIT clone log


Build log for Windows (R 2.11.x)

* checking for file 'Cocoa/DESCRIPTION' ... OK
* preparing 'Cocoa':
* checking DESCRIPTION meta-information ... OK
* cleaning src
make: Nothing to be done for `clean'.
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
WARNING: some HTML links may not be found
* installing *source* package 'Cocoa' ...
** libs
making DLL ...
gcc -c cocoa.m -o cocoa.o -I"c:/PROGRA~1/r/R-211~1.0/include" -O3 -Wall -std=gnu99
cocoa.m:1:34: error: Foundation/Foundation.h: No such file or directory
cocoa.m:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
cocoa.m: In function 'InitializeCocoa':
cocoa.m:32: warning: implicit declaration of function 'objc_lookup_class'
cocoa.m:33: error: 'pool' undeclared (first use in this function)
cocoa.m:33: error: (Each undeclared identifier is reported only once
cocoa.m:33: error: for each function it appears in.)
cocoa.m:33: error: 'NSAutoreleasePool' undeclared (first use in this function)
cocoa.m: In function 'DeInitializeCocoa':
cocoa.m:46: error: 'pool' undeclared (first use in this function)
cocoa.m: In function 'idObjCfinalizer':
cocoa.m:57: warning: no '-release' method found
cocoa.m:57: warning: (Messages without a matching method signature
cocoa.m:57: warning: will be assumed to return 'id' and accept
cocoa.m:57: warning: '...' as arguments.)
cocoa.m: In function 'ObjC2SEXP':
cocoa.m:68: warning: no '-retain' method found
cocoa.m: At top level:
cocoa.m:125: error: expected ')' before 'sel'
cocoa.m:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SEXP2SEL'
cocoa.m:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'selectorFromRString'
cocoa.m: In function 'ObjCselector':
cocoa.m:216: error: 'SEL' undeclared (first use in this function)
cocoa.m:216: error: expected ';' before 's'
cocoa.m:217: error: 's' undeclared (first use in this function)
cocoa.m:218: warning: implicit declaration of function 'SEL2SEXP'
cocoa.m:218: warning: return makes pointer from integer without a cast
cocoa.m:215: warning: unused variable 'arg'
cocoa.m: In function 'parseReturnValue':
cocoa.m:242: error: 'SEL' undeclared (first use in this function)
cocoa.m:242: error: expected ';' before 's'
cocoa.m:244: error: 's' undeclared (first use in this function)
cocoa.m:244: warning: return makes pointer from integer without a cast
cocoa.m: In function 'convertArgument':
cocoa.m:364: error: 'BOOL' undeclared (first use in this function)
cocoa.m:364: error: expected ';' before 'isConst'
cocoa.m:366: error: 'isConst' undeclared (first use in this function)
cocoa.m:366: error: 'YES' undeclared (first use in this function)
cocoa.m:382: error: expected expression before ')' token
cocoa.m:382: error: expected ';' before 'Rf_asLogical'
cocoa.m:386: error: 'SEL' undeclared (first use in this function)
cocoa.m:386: error: expected expression before ')' token
cocoa.m:386: error: expected ';' before 'selectorFromRString'
cocoa.m:398: error: cannot find interface declaration for 'NXConstantString'
cocoa.m:399: error: 'NSString' undeclared (first use in this function)
cocoa.m:433: warning: unused variable 'i'
cocoa.m: In function 'ObjCsendMsg':
cocoa.m:475: error: 'NSInvocation' undeclared (first use in this function)
cocoa.m:475: error: 'invocation' undeclared (first use in this function)
cocoa.m:476: error: 'NSMethodSignature' undeclared (first use in this function)
cocoa.m:476: error: 'ms' undeclared (first use in this function)
cocoa.m:477: error: 'SEL' undeclared (first use in this function)
cocoa.m:477: error: expected ';' before 'sel'
cocoa.m:502: error: 'sel' undeclared (first use in this function)
cocoa.m:502: warning: implicit declaration of function 'selectorFromRString'
cocoa.m:505: warning: no '-methodSignatureForSelector:' method found
cocoa.m:541: error: 'BOOL' undeclared (first use in this function)
cocoa.m:541: error: expected ';' before 'isOk'
cocoa.m:542: error: 'NS_DURING' undeclared (first use in this function)
cocoa.m:543: error: expected ']' before 'invoke'
cocoa.m:544: error: 'NS_HANDLER' undeclared (first use in this function)
cocoa.m:545: error: expected ';' before 'NSLog'
cocoa.m:546: error: 'isOk' undeclared (first use in this function)
cocoa.m:546: error: 'NO' undeclared (first use in this function)
cocoa.m:547: error: 'NS_ENDHANDLER' undeclared (first use in this function)
cocoa.m:548: error: expected ';' before 'if'
cocoa.m: In function 'printObjC':
cocoa.m:570: error: 'NSString' undeclared (first use in this function)
cocoa.m:570: error: 's' undeclared (first use in this function)
cocoa.m:574: error: 'SEL' undeclared (first use in this function)
cocoa.m:574: error: expected ';' before 'sec'
cocoa.m:575: error: 'sec' undeclared (first use in this function)
cocoa.m:576: warning: implicit declaration of function 'NSStringFromSelector'
cocoa.m:580: warning: no '-description' method found
make: *** [cocoa.o] Error 1
... done
ERROR: compilation failed for package 'Cocoa'
* removing 'c:/tmp/Rinst43610501/Cocoa'
ERROR
* installation failed


Build log for Windows 64-bit (R 2.11.x)

* checking for file 'Cocoa/DESCRIPTION' ... OK
* preparing 'Cocoa':
* checking DESCRIPTION meta-information ... OK
* cleaning src
make: Nothing to be done for `clean'.
* removing junk files
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building binary distribution
WARNING: some HTML links may not be found
* installing *source* package 'Cocoa' ...
** libs
making DLL ...
gcc -c cocoa.m -o cocoa.o -I"c:/PROGRA~1/r/R-211~1.0DE/include" -O3 -Wall -std=gnu99
gcc.exe: cocoa.m: Objective-C compiler not installed on this system
make: *** [cocoa.o] Error 1
... done
ERROR: compilation failed for package 'Cocoa'
* removing 'c:/tmp/Rinst62892260/Cocoa'
ERROR
* installation failed


Build log for Mac OS X 10.5 (R 2.16.x)

* installing *source* package 'Cocoa' ...
** Creating default NAMESPACE file
** libs
*** arch - i386
gcc -arch i386 -std=gnu99 -c cocoa.m -o cocoa.o -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -fPIC -g -O2
gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c cglue.c -o cglue.o
gcc -arch i386 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o Cocoa.so cocoa.o cglue.o -framework Foundation -lobjc -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/Cocoa/libs/i386
*** arch - ppc
gcc -arch ppc -std=gnu99 -c cocoa.m -o cocoa.o -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -DNDEBUG -I/usr/local/include -fPIC -g -O2
gcc -arch ppc -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/ppc -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c cglue.c -o cglue.o
gcc -arch ppc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o Cocoa.so cocoa.o cglue.o -framework Foundation -lobjc -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/Cocoa/libs/ppc
*** arch - x86_64
gcc -arch x86_64 -std=gnu99 -c cocoa.m -o cocoa.o -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/usr/local/include -fPIC -g -O2
gcc -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/x86_64 -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c cglue.c -o cglue.o
gcc -arch x86_64 -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o Cocoa.so cocoa.o cglue.o -framework Foundation -lobjc -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Tiger/Builds/rforge/Rlib/osx9-2.16/Cocoa/libs/x86_64
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
running .First.lib() for package 'Cocoa' as .onLoad/.onAttach were not found
*** arch - ppc
running .First.lib() for package 'Cocoa' as .onLoad/.onAttach were not found
*** arch - x86_64
running .First.lib() for package 'Cocoa' as .onLoad/.onAttach were not found
packaged installation of 'Cocoa' as 'Cocoa_0.2-0.tgz'

* DONE (Cocoa)

Build log for Windows 7 (R 3.0.x)

(Cocoa 0.2-0)
* installing to library 'z:/rforge/Rlib/win7-3.0'
* installing *source* package 'Cocoa' ...
ERROR: a 'NAMESPACE' file is required
* removing 'z:/rforge/Rlib/win7-3.0/Cocoa'