[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: applications that fail to build with new gnustep from svn
From: |
Sebastian Reitenbach |
Subject: |
Re: applications that fail to build with new gnustep from svn |
Date: |
Tue, 5 Apr 2011 15:57:46 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34.7-0.7-xen; KDE/4.4.4; x86_64; ; ) |
On Tuesday, April 05, 2011 03:48:06 pm Sebastian Reitenbach wrote:
> Hi,
>
> the list below are the gnustep related ports on OpenBSD (some are not yet
> in there, but I plan to add them). The commented out ports fail to build
> with llvm/clang and gcc objective-c runtime.
> * libobjc2 works, but is just commented out, to just not build it at the
> time being, the ports below fail too, also with libobjc2
> * gnumail is commented out, because pantomime failed to build, the mail I
> sent earlier, where I need to check the header thingie, Fred pointed out.
> * gworkspace fails, due to failing pdfkit. Also probably only a header
> issue, the port is patch to use the xpdf from the ports tree, instead of
> the one that is bundled with the pdfkit sources.
> * with price and graphos, I haven't yet tested the latest svn checkout,
> Riccardo, do you tested to compile those two?
Both versions from cvs fail with the same error.
> * projectcenter failes, even with latest svn checkout
> * steptalk is from svn, but still fails.
I forgot to mention, sogo also fails, since I building sope fails, and also
building oolite based on gnustep base fails.
Sebastian
>
>
> SUBDIR += addresses
> SUBDIR += back
> SUBDIR += base
> SUBDIR += dl2
> SUBDIR += easydiff
> SUBDIR += examples
> SUBDIR += fisicalab
> SUBDIR += ftp
> SUBDIR += gemas
> # SUBDIR += gnumail
> SUBDIR += gorm
> # SUBDIR += graphos
> SUBDIR += gshisen
> SUBDIR += gspdf
> SUBDIR += gui
> # SUBDIR += gworkspace
> SUBDIR += highlighterkit
> SUBDIR += imageviewer
> SUBDIR += laternamagica
> # SUBDIR += libobjc2
> SUBDIR += make
> # SUBDIR += pantomime
> SUBDIR += performance
> # SUBDIR += pdfkit
> # SUBDIR += price
> # SUBDIR += projectcenter
> SUBDIR += remotedesk
> SUBDIR += renaissance
> SUBDIR += simpleagenda
> SUBDIR += sqlclient
> # SUBDIR += steptalk
> SUBDIR += systempreferences
> SUBDIR += terminal
> SUBDIR += timemon
> SUBDIR += webserver
> SUBDIR += webservices
>
> Graphos error:
> Making all for app Graphos...
> clang GRText.m -c \
> -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
> -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
> -fno-strict-aliasing -fPIC -DDEBUG - fno-omit-frame-pointer -Wall -DGSWARN
> -DGSDIAGNOSE -Wno-import -O2 -pipe -g - fgnu-runtime
> -fconstant-string-class=NSConstantString -I. -I/usr/local/include
> -I/graphos-0.2_writes_to_HOME/GNUstep/Library/Headers -I/usr/local/include
> \ -o obj/Graphos.obj/GRText.m.o
> GRText.m:253:13: error: cannot pass object with interface type 'NSColor'
> by- value through variadic method
> strokeColor[0], strokeColor[1], strokeColor[2],
> strokeColor[3]]; ^
> GRText.m:253:29: error: cannot pass object with interface type 'NSColor'
> by- value through variadic method
> strokeColor[0], strokeColor[1], strokeColor[2],
> strokeColor[3]]; ^
> GRText.m:253:45: error: cannot pass object with interface type 'NSColor'
> by- value through variadic method
> strokeColor[0], strokeColor[1], strokeColor[2],
> strokeColor[3]]; ^
> GRText.m:253:61: error: cannot pass object with interface type 'NSColor'
> by- value through variadic method
> strokeColor[0], strokeColor[1], strokeColor[2],
> strokeColor[3]]; ^
> GRText.m:256:13: error: cannot pass object with interface type 'NSColor'
> by- value through variadic method
> fillColor[0], fillColor[1], fillColor[2], fillColor[3]];
> ^
> GRText.m:256:27: error: cannot pass object with interface type 'NSColor'
> by- value through variadic method
> fillColor[0], fillColor[1], fillColor[2], fillColor[3]];
> ^
> GRText.m:256:41: error: cannot pass object with interface type 'NSColor'
> by- value through variadic method
> fillColor[0], fillColor[1], fillColor[2], fillColor[3]];
> ^
> GRText.m:256:55: error: cannot pass object with interface type 'NSColor'
> by- value through variadic method
> fillColor[0], fillColor[1], fillColor[2], fillColor[3]];
> ^
> 8 errors generated.
> gmake[3]: *** [obj/Graphos.obj/GRText.m.o] Error 1
> gmake[2]: *** [internal-app-run-compile-submake] Error 2
> gmake[1]: *** [Graphos.all.app.variables] Error 2
> gmake: *** [internal-all] Error 2
>
>
>
> Price error:
> Running in gnustep-make version 2 strict mode.
> Making all for app PRICE...
> clang PRCustTraceEdges.m -c \
> -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
> -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
> -fno-strict-aliasing -fPIC -DDEBUG - fno-omit-frame-pointer -Wall -DGSWARN
> -DGSDIAGNOSE -Wno-import -O2 -pipe -g - fgnu-runtime
> -fconstant-string-class=NSConstantString -I. -I/usr/local/include
> -I/price-1.0.0_writes_to_HOME/GNUstep/Library/Headers -I/usr/local/include
> \ -o obj/PRICE.obj/PRCustTraceEdges.m.o
> In file included from PRCustTraceEdges.m:11:
> ./PRCustTraceEdges.h:21:127: warning: declaration of 'enum medianForms'
> will not be visible outside of this function
> - (PRImage *)edgeImage :(PRImage *)srcImage :(int)filterType :
> (float)thresholdLevel :(BOOL)useZeroCross :(BOOL)enable1 :(enum
> medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum
> medianForms)form2 ...
>
> ^
> PRCustTraceEdges.m:59:19: error: argument type 'enum medianForms' is
> incomplete
>
> :enable1 :form1 :size1 :separable1
>
> ^~~~~
> In file included from PRCustTraceEdges.m:11:
> ./PRCustTraceEdges.h:21:127: note: forward declaration of 'enum
> medianForms' - (PRImage *)edgeImage :(PRImage *)srcImage :(int)filterType
> :
> (float)thresholdLevel :(BOOL)useZeroCross :(BOOL)enable1 :(enum
> medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum
> medianForms)form2 ...
>
> ^
> PRCustTraceEdges.m:86:23: warning: unused variable 'destBytesPerRow' [-
> Wunused-variable]
> int destBytesPerRow;
> ^
> PRCustTraceEdges.m:71:139: warning: conflicting parameter types in
> implementation of 'edgeImage:::::::::::::::::': 'enum medianForms' vs 'enum
> medianForms'
> - (PRImage *)edgeImage :(PRImage *)srcImage :(int)filterType :
> (float)thresholdLevel :(BOOL)useZeroCross :(BOOL)enable1 :(enum
> medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum
> medianForms)form2 ...
>
> ~~~~~~~~~~~~~~~~ ^
> In file included from PRCustTraceEdges.m:11:
> ./PRCustTraceEdges.h:21:139: note: previous definition is here
> - (PRImage *)edgeImage :(PRImage *)srcImage :(int)filterType :
> (float)thresholdLevel :(BOOL)useZeroCross :(BOOL)enable1 :(enum
> medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum
> medianForms)form2 ...
>
> ~~~~~~~~~~~~~~~~ ^
> PRCustTraceEdges.m:71:209: warning: conflicting parameter types in
> implementation of 'edgeImage:::::::::::::::::': 'enum medianForms' vs 'enum
> medianForms'
> - (PRImage *)edgeImage :(PRImage *)srcImage :(int)filterType :
> (float)thresholdLevel :(BOOL)useZeroCross :(BOOL)enable1 :(enum
> medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum
> medianForms)form2 ...
>
>
> ~~~~~~~~~~~~~~~~ ^
> In file included from PRCustTraceEdges.m:11:
> ./PRCustTraceEdges.h:21:209: note: previous definition is here
> - (PRImage *)edgeImage :(PRImage *)srcImage :(int)filterType :
> (float)thresholdLevel :(BOOL)useZeroCross :(BOOL)enable1 :(enum
> medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum
> medianForms)form2 ...
>
>
> ~~~~~~~~~~~~~~~~ ^
> PRCustTraceEdges.m:71:280: warning: conflicting parameter types in
> implementation of 'edgeImage:::::::::::::::::': 'enum medianForms' vs 'enum
> medianForms'
> ...medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum
> medianForms)form2 :(int)size2 :(BOOL)separable2 :(BOOL) enable3 :(enum
> medianForms)form3 :(int)size3 :(BOOL)separable3 :(PRCProgress *)prPanel
>
>
> ~~~~~~~~~~~~~~~~ ^
> In file included from PRCustTraceEdges.m:11:
> ./PRCustTraceEdges.h:21:280: note: previous definition is here
> ...medianForms)form1 :(int)size1 :(BOOL)separable1 :(BOOL)enable2 :(enum
> medianForms)form2 :(int)size2 :(BOOL)separable2 :(BOOL) enable3 :(enum
> medianForms)form3 :(int)size3 :(BOOL)separable3 :(PRCProgress *)prPanel;
>
>
> ~~~~~~~~~~~~~~~~ ^
> 5 warnings and 1 error generated.
> gmake[3]: *** [obj/PRICE.obj/PRCustTraceEdges.m.o] Error 1
> gmake[2]: *** [internal-app-run-compile-submake] Error 2
> gmake[1]: *** [PRICE.all.app.variables] Error 2
> gmake: *** [internal-all] Error 2
>
>
>
> ProjectCenter:
> gmake[2]: Leaving directory
> `/home/ports/pobj/projectcenter-0.7.0/ProjectCenter-0.7.0/Modules/Editors/P
> rojectCenter' Making all in Parsers/ProjectCenter ...
> gmake[2]: Entering directory
> `/home/ports/pobj/projectcenter-0.7.0/ProjectCenter-0.7.0/Modules/Parsers/P
> rojectCenter' Making all for bundle ProjectCenter...
> clang PCParser.m -c \
> -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
> -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
> -fno-strict-aliasing -fPIC -DDEBUG - fno-omit-frame-pointer -Wall -DGSWARN
> -DGSDIAGNOSE -Wno-import -O2 -pipe -g - fgnu-runtime
> -fconstant-string-class=NSConstantString -I../../../ - I../../../Headers
> -I. -I/usr/local/include -
> I/projectcenter-0.7.0_writes_to_HOME/GNUstep/Library/Headers -
> I/usr/local/include \
> -o obj/ProjectCenter.obj/PCParser.m.o
> PCParser.m:127:24: error: initializer element is not a compile-time
> constant static SEL selString = @selector(string:);
> ^~~~~~~~~~~~~~~~~~
> PCParser.m:128:24: error: initializer element is not a compile-time
> constant static SEL selNumber = @selector(number:);
> ^~~~~~~~~~~~~~~~~~
> PCParser.m:129:33: error: initializer element is not a compile-time
> constant static SEL selSpaceAndNewLine = @selector(spaceAndNewLine:);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> PCParser.m:130:27: error: initializer element is not a compile-time
> constant static SEL selInvisible = @selector(invisible:);
> ^~~~~~~~~~~~~~~~~~~~~
> PCParser.m:131:24: error: initializer element is not a compile-time
> constant static SEL selSymbol = @selector(symbol:);
> ^~~~~~~~~~~~~~~~~~
> 5 errors generated.
> gmake[5]: *** [obj/ProjectCenter.obj/PCParser.m.o] Error 1
> gmake[4]: *** [internal-bundle-run-compile-submake] Error 2
> gmake[3]: *** [ProjectCenter.all.bundle.variables] Error 2
> gmake[2]: *** [internal-all] Error 2
> gmake[2]: Leaving directory
> `/home/ports/pobj/projectcenter-0.7.0/ProjectCenter-0.7.0/Modules/Parsers/P
> rojectCenter' gmake[1]: *** [internal-all] Error 2
> gmake[1]: Leaving directory
> `/home/ports/pobj/projectcenter-0.7.0/ProjectCenter-0.7.0/Modules'
> gmake: *** [internal-all] Error 2
> *** Error code 2
>
>
>
>
> StepTalk error:
> Making all for framework StepTalk...
> clang derived_src/NSFramework_StepTalk.m -c -MMD -MP -pipe -DGNUSTEP -
> DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -
> DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fPIC -DDEBUG
> -fno-omit-frame- pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe
> -g -fgnu-runtime - Wno-import -DSTEPTALK_VERSION=0.10.0
> -fconstant-string-class=NSConstantString -I./derived_src -I.
> -I/usr/local/include -I/gnustep-
> steptalk-0.11.0_writes_to_HOME/GNUstep/Library/Headers -I/usr/local/include
> - o obj/StepTalk.obj/NSFramework_StepTalk.o
> \
> clang -shared -Wl,-E -o
> ./StepTalk.framework/Versions/0.0/./libStepTalk.so.0.0
> obj/StepTalk.obj/NSFramework_StepTalk.o
> obj/StepTalk.obj/NSInvocation+additions.m.o obj/StepTalk.obj/STActor.m.o
> obj/StepTalk.obj/STBehaviourInfo.m.o obj/StepTalk.obj/STBundleInfo.m.o
> obj/StepTalk.obj/STClassInfo.m.o obj/StepTalk.obj/STContext.m.o
> obj/StepTalk.obj/STConversation.m.o
> obj/StepTalk.obj/STRemoteConversation.m.o obj/StepTalk.obj/STEngine.m.o
> obj/StepTalk.obj/STEnvironment.m.o
> obj/StepTalk.obj/STEnvironmentDescription.m.o
> obj/StepTalk.obj/STExterns.m.o obj/StepTalk.obj/STFunctions.m.o
> obj/StepTalk.obj/STFileScript.m.o obj/StepTalk.obj/STLanguageManager.m.o
> obj/StepTalk.obj/STObjCRuntime.m.o obj/StepTalk.obj/STObjectReference.m.o
> obj/StepTalk.obj/STScript.m.o obj/StepTalk.obj/STScriptsManager.m.o
> obj/StepTalk.obj/STScripting.m.o obj/StepTalk.obj/STMethod.m.o
> obj/StepTalk.obj/STScriptObject.m.o
> obj/StepTalk.obj/STSelector.m.o obj/StepTalk.obj/STStructure.m.o
> obj/StepTalk.obj/STUndefinedObject.m.o
> obj/StepTalk.obj/NSNumber+additions.m.o
> obj/StepTalk.obj/NSObject+additions.m.o
> obj/StepTalk.obj/StepTalkScriptingInfo.m.o -L/gnustep-
> steptalk-0.11.0_writes_to_HOME/GNUstep/Library/Libraries -L/usr/local/lib
> - L/usr/local/lib && (cd ./StepTalk.framework/Versions/0.0/.; rm -f
> libStepTalk.so; if [ "libStepTalk.so.0.0" != "libStepTalk.so.0.0" ]; then
> rm - f libStepTalk.so.0.0; fi;) || rm -f
> ./StepTalk.framework/Versions/0.0/./libStepTalk.so.0.0 ; \
> (cd ./StepTalk.framework/Versions/0.0/.; \
> rm -f StepTalk) \
>
> for f in ScriptingInfo.plist Environments; do \
> if [ -f $f -o -d $f ]; then \
> cp -fr $f ./StepTalk.framework/Versions/0.0/Resources/; \
> else \
> echo "Warning: $f not found - ignoring"; \
> fi; \
> done
> cd ./StepTalk.framework/.; \
> rm -f StepTalk libStepTalk.so
> gmake[2]: Leaving directory `/home/ports/pobj/gnustep-
> steptalk-0.11.0/StepTalk-0.11.0/Frameworks/StepTalk'
> gmake[1]: Leaving directory `/home/ports/pobj/gnustep-
> steptalk-0.11.0/StepTalk-0.11.0/Frameworks'
> Making all in Languages ...
> gmake[1]: Entering directory `/home/ports/pobj/gnustep-
> steptalk-0.11.0/StepTalk-0.11.0/Languages'
> Making all in Smalltalk ...
> gmake[2]: Entering directory `/home/ports/pobj/gnustep-
> steptalk-0.11.0/StepTalk-0.11.0/Languages/Smalltalk'
> Making all for bundle Smalltalk...
> bison -p STC -o STGrammar.m STGrammar.y
> gmake[5]: bison: Command not found
> gmake[5]: *** [STGrammar.m] Error 127
> gmake[4]: *** [internal-bundle-run-compile-submake] Error 2
> gmake[3]: *** [Smalltalk.all.bundle.variables] Error 2
> gmake[2]: *** [internal-all] Error 2
> gmake[2]: Leaving directory `/home/ports/pobj/gnustep-
> steptalk-0.11.0/StepTalk-0.11.0/Languages/Smalltalk'
> gmake[1]: *** [internal-all] Error 2
> gmake[1]: Leaving directory `/home/ports/pobj/gnustep-
> steptalk-0.11.0/StepTalk-0.11.0/Languages'
> gmake: *** [internal-all] Error 2
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep