Hi everyone !
I tried this morning to recompile latest base and gui on debian-jessie
x86-32bit, with clang/objc2.
Make check fails with several errors.
I've got a lot of network related failed tests because I'm behin an
enterprise firewall and don't have internet acces in the terminal. I think
it maybe not a big deal.
To my surprise, it even fails to build some tests :
base/headers/NSComparisonPredicate.m:
Failed build:
base/headers/NSCompoundPredicate.m:
Failed build:
base/headers/NSPredicate.m:
Failed build:
See the attached extract of the log error.
I've got the same error with a snapshot of base downloaded yertersday
before the last commit on base.
GUI failes to build at all, with an error related to NSPredicate :
Compiling file NSObjectController.m ...
In file included from NSObjectController.m:31:
/GNUstep/System/Library/Headers/Foundation/NSPredicate.h:41:82: error: type
argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of
type
parameter 'KeyT'
...BOOL, id, GS_GENERIC_CLASS(NSDictionary,NSString*,id)*);
^
/GNUstep/System/Library/Headers/Foundation/NSDictionary.h:41:15: note: type
parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
In file included from NSObjectController.m:31:
/GNUstep/System/Library/Headers/Foundation/NSPredicate.h:58:34: error: type
argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of
type
parameter 'KeyT'
(GS_GENERIC_CLASS(NSDictionary,NSString*,id)*)variables;
^
/GNUstep/System/Library/Headers/Foundation/NSDictionary.h:41:15: note: type
parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
In file included from NSObjectController.m:31:
/GNUstep/System/Library/Headers/Foundation/NSPredicate.h:62:35: error: type
argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of
type
parameter 'KeyT'
(GS_GENERIC_CLASS(NSDictionary,NSString*,id)*)variables;
^
/GNUstep/System/Library/Headers/Foundation/NSDictionary.h:41:15: note: type
parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
3 errors generated.
Is this local or is it broken ?
Bertrand Dekoninck
Compiling file NSCompoundPredicate.m ...
In file included from NSComparisonPredicate.m:1:
In file included from
/home/bertrand/gnustep/core/base/Headers/Foundation/NSComparisonPredicate.h:32:
/home/bertrand/gnustep/core/base/Headers/Foundation/NSPredicate.h:41:82: error:
type argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of type
parameter 'KeyT'
DEFINE_BLOCK_TYPE(GSBlockPredicateBlock, BOOL, id,
GS_GENERIC_CLASS(NSDictionary,NSString*,id)*);
^
/home/bertrand/gnustep/core/base/Headers/Foundation/NSDictionary.h:41:15: note:
type parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
In file included from NSComparisonPredicate.m:1:
In file included from
/home/bertrand/gnustep/core/base/Headers/Foundation/NSComparisonPredicate.h:32:
/home/bertrand/gnustep/core/base/Headers/Foundation/NSPredicate.h:58:34: error:
type argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of type
parameter 'KeyT'
(GS_GENERIC_CLASS(NSDictionary,NSString*,id)*)variables;
^
/home/bertrand/gnustep/core/base/Headers/Foundation/NSDictionary.h:41:15: note:
type parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
In file included from NSComparisonPredicate.m:1:
In file included from
/home/bertrand/gnustep/core/base/Headers/Foundation/NSComparisonPredicate.h:32:
/home/bertrand/gnustep/core/base/Headers/Foundation/NSPredicate.h:62:35: error:
type argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of type
parameter 'KeyT'
(GS_GENERIC_CLASS(NSDictionary,NSString*,id)*)variables;
^
/home/bertrand/gnustep/core/base/Headers/Foundation/NSDictionary.h:41:15: note:
type parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
In file included from NSCompoundPredicate.m:1:
In file included from
/home/bertrand/gnustep/core/base/Headers/Foundation/NSCompoundPredicate.h:31:
/home/bertrand/gnustep/core/base/Headers/Foundation/NSPredicate.h:41:82: error:
type argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of type
parameter 'KeyT'
DEFINE_BLOCK_TYPE(GSBlockPredicateBlock, BOOL, id,
GS_GENERIC_CLASS(NSDictionary,NSString*,id)*);
^
/home/bertrand/gnustep/core/base/Headers/Foundation/NSDictionary.h:41:15: note:
type parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
In file included from NSCompoundPredicate.m:1:
In file included from
/home/bertrand/gnustep/core/base/Headers/Foundation/NSCompoundPredicate.h:31:
/home/bertrand/gnustep/core/base/Headers/Foundation/NSPredicate.h:58:34: error:
type argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of type
parameter 'KeyT'
(GS_GENERIC_CLASS(NSDictionary,NSString*,id)*)variables;
^
/home/bertrand/gnustep/core/base/Headers/Foundation/NSDictionary.h:41:15: note:
type parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
In file included from NSCompoundPredicate.m:1:
In file included from
/home/bertrand/gnustep/core/base/Headers/Foundation/NSCompoundPredicate.h:31:
/home/bertrand/gnustep/core/base/Headers/Foundation/NSPredicate.h:62:35: error:
type argument 'NSString *' does not satisfy the bound ('id<NSCopying>') of type
parameter 'KeyT'
(GS_GENERIC_CLASS(NSDictionary,NSString*,id)*)variables;
^
/home/bertrand/gnustep/core/base/Headers/Foundation/NSDictionary.h:41:15: note:
type parameter 'KeyT' declared here
__covariant KeyT:id<NSCopying>, __covariant ValT)
^
3 errors generated.
/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target
'obj/NSComparisonPredicate.obj/NSComparisonPredicate.m.o' failed
make[5]: *** [obj/NSComparisonPredicate.obj/NSComparisonPredicate.m.o] Error 1
/GNUstep/System/Library/Makefiles/Instance/tool.make:74: recipe for target
'internal-tool-all_' failed
make[4]: *** [internal-tool-all_] Error 2
/GNUstep/System/Library/Makefiles/Master/rules.make:311: recipe for target
'NSComparisonPredicate.all.test-tool.variables' failed
make[3]: *** [NSComparisonPredicate.all.test-tool.variables] Error 2
make[3]: *** Attente des tâches non terminées....
3 errors generated.
/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target
'obj/NSCompoundPredicate.obj/NSCompoundPredicate.m.o' failed
make[5]: *** [obj/NSCompoundPredicate.obj/NSCompoundPredicate.m.o] Error 1
/GNUstep/System/Library/Makefiles/Instance/tool.make:74: recipe for target
'internal-tool-all_' failed
make[4]: *** [internal-tool-all_] Error 2
/GNUstep/System/Library/Makefiles/Master/rules.make:311: recipe for target
'NSCompoundPredicate.all.test-tool.variables' failed
make[3]: *** [NSCompoundPredicate.all.test-tool.variables] Error 2
Linking test_tool NSClassDescription ...
Linking test_tool NSCoder ...
/GNUstep/System/Library/Makefiles/Master/test-tool.make:36: recipe for target
'internal-all' failed
make[2]: *** [internal-all] Error 2
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep