discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreeBSD ports for GDL2 and GSWeb


From: David Chisnall
Subject: Re: FreeBSD ports for GDL2 and GSWeb
Date: Tue, 21 May 2019 09:10:09 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi,

I'd strongly recommend that you only ever build ports using Poudriere. The makeplist target doesn't work reliably, but if you build with poudriere testport then it will tell you all of the things that are wrong in the plist and you can just copy and paste them to construct the pkg-plist file.

Building in poudriere will build the package in a clean jail with only the dependencies installed, which prevents you from accidentally picking up other stuff that you may have in your environment.

A few comments on the Makefile:

- You're missing a version. This is a requirement, I'm a bit surprised the ports system builds at all without it.

- Please set yourself as the maintainer, not me.

- You've set GNU_CONFIGURE, does GDL actually use autoconf?

- Please don't put the libs- prefix in the ports name.  gdl2 is fine.

- The $FreeBSD$ tag at the top is incorrect (it looks as if you copied this file from SimpleAgenda), if you truncate it to $FreeBSD$ then svn will fix it for you on commit.

- Please add gnustep as a category.

David

On 21/05/2019 08:26, Edwin Ancaer wrote:
Hello all,

I do not want to look impatient, but as the best way to learn is to try it yourself, I tried to use the ports system, to locally create a port for gdl2 (Makefile is attached).

I generated the distinfo file with the makesum command  (result also attached), but then,  when using make makeplist to generate the list of installed files after the compiation, I got some compilation errors.

root@ottopedi:/usr/local/poudriere/ports/head/databases/gdl2 # make makeplist
===>  Building for libs-gdl2-
gmake[1]: Entering directory '/usr/local/poudriere/ports/head/databases/gdl2/work/libs-gdl2-gdl2-0_12_0'
This is gnustep-make 2.7.0. Type 'gmake print-gnustep-make-help' for help.
Running in gnustep-make version 2 strict mode.
Making all in EOControl ...
gmake[2]: Entering directory '/usr/local/poudriere/ports/head/databases/gdl2/work/libs-gdl2-gdl2-0_12_0/EOControl'
Making all for library EOControl...
/usr/local/bin/clang70 EOGenericRecord.m -c \
      -MMD -MP -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -g -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-import -I/usr/local/include -fobjc-runtime=gnustep-1.8 -fblocks -fconstant-string-class=NSConstantString -I./. -I.. -I. -I/usr/local/poudriere/ports/head/databases/gdl2/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
        -o obj/EOControl.obj/EOGenericRecord.m.o
/usr/local/bin/clang70 EOQualifier.m -c \
      -MMD -MP -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -g -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-import -I/usr/local/include -fobjc-runtime=gnustep-1.8 -fblocks -fconstant-string-class=NSConstantString -I./. -I.. -I. -I/usr/local/poudriere/ports/head/databases/gdl2/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
        -o obj/EOControl.obj/EOQualifier.m.o
/usr/local/bin/clang70 EOKeyValueQualifier.m -c \
      -MMD -MP -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -g -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-import -I/usr/local/include -fobjc-runtime=gnustep-1.8 -fblocks -fconstant-string-class=NSConstantString -I./. -I.. -I. -I/usr/local/poudriere/ports/head/databases/gdl2/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
        -o obj/EOControl.obj/EOKeyValueQualifier.m.o
/usr/local/bin/clang70 EOKeyComparisonQualifier.m -c \
      -MMD -MP -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -g -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-import -I/usr/local/include -fobjc-runtime=gnustep-1.8 -fblocks -fconstant-string-class=NSConstantString -I./. -I.. -I. -I/usr/local/poudriere/ports/head/databases/gdl2/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
        -o obj/EOControl.obj/EOKeyComparisonQualifier.m.o
In file included from EOKeyComparisonQualifier.m:51:
In file included from EOKeyValueQualifier.m:57:
In file included from ../EOControl/EOQualifier.h:36:
../EOControl/EOKeyValueArchiver.h:84:3: error: unknown type name 'NSMutableArray'
   NSMutableArray *_allUnarchivedObjects;
   ^
../EOControl/EOQualifier.h:239:12: error: cannot define category for undefined class 'NSArray'
@interface NSArray (EOQualifierExtras)
            ^
/usr/local/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h:92:8: note: forward declaration of class here
@class  NSArray;
         ^
In file included from EOKeyValueQualifier.m:57:
../EOControl/EOQualifier.h:239:12: error: cannot define category for undefined class 'NSArray'
@interface NSArray (EOQualifierExtras)
            ^
/usr/local/GNUstep/System/Library/Headers/GNUstepBase/GSObjCRuntime.h:92:8: note: forward declaration of class here
@class  NSArray;
         ^
EOKeyComparisonQualifier.m:190:7: warning: 'sel_eq' is deprecated [-Wdeprecated-declarations]
   if (sel_eq(_selector, EOQualifierOperatorEqual) == YES)


Could someone with knowledge of GNUStep and the FreeBSD ports system have a look to see where things go wrong.

Your help is very much appreciated.

Kind regards



reply via email to

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