discuss-gnustep
[Top][All Lists]
Advanced

[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, 05 Apr 2011 19:36:07 +0200
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.2.14) Gecko/20110316 Thunderbird/3.1.8

On 04/05/11 17:52, Riccardo Mottola wrote:
> Hi,
>
> I use gcc. Thus your problems must be with llvm.
yes, this seems to be the case. I also tried to enable the nonfragile
abi, but with that, even more ports failed to build. Right now I'm
rebuilding everything with gcc-4.2.1. Gemas and PRICE, and all the
others that failed so far, compiled successfully. Right now I build
without libobjc2. In the next round I'll uninstall everything again, and
rebuild everything with libobjc2 and gcc. Afterwards I'll make test with
llvm again, just to test the patch you sent me.

I just tested since I don't want surprises with the new releases and
existing ports. My goal was actually trying to use llvm/libobjc2 and
even enable the nonfragile-abi for the openbsd ports. Whenever gnustep
core will be updated, I want to get it in kind of "fast". But with gcc
compiling, I'm not as fast as with llvm ;)
As far as I can see, all the existing ports (still some are compiling)
seem to work with gcc. I hope that I'll have the same result with
libobjc2 again, probably tomorrow.
Enabling llvm as the default compiler for gnustep based ports will then
stay for later.

The final goal is to make OpenBSD the best Linux distro for GNUstep ;)

cheers,
Sebastian

>
>> 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,
> -> using latest SVN works for me. In any case, PDFKit is not a hard
> dependency. Without PDFKit, I compiled GWorkspace even on
> OpenBSD/Sparc with gcc 2.95 :)
>> 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?
> -> I compiled both Graphos and PRICE from CVS and they built fine on
> Linux+gcc
>> * projectcenter failes, even with latest svn checkout
> -> just built it.
>
> Riccardo
>
>> * steptalk is from svn, but still fails.
>>
>>
>>      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/ProjectCenter'
>>
>> Making all in Parsers/ProjectCenter ...
>> gmake[2]: Entering directory
>> `/home/ports/pobj/projectcenter-0.7.0/ProjectCenter-0.7.0/Modules/Parsers/ProjectCenter'
>>
>> 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/ProjectCenter'
>>
>> 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
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]