Closed MikeFultonDev closed 1 year ago
this appears to be due to our 'ar' facility not being happy having .o's that have no code or data in them. I am testing out a patch that creates a dummy external symbol in dummy.c (similar to a sun #ifdef)
next bug in the test suite is that test-sameacls.c expects macros to be defined that aren't, on z/OS
In file included from ./test-sameacls.c:37:
../gnulib-lib/xalloc.h:82:1: warning: unknown attribute '_Noreturn' ignored [-Wunknown-attributes]
_GL_NORETURN_FUNC extern void xalloc_die (void);
^
../gnulib-lib/noreturn.h:68:44: note: expanded from macro '_GL_NORETURN_FUNC'
# define _GL_NORETURN_FUNC __attribute__ ((__noreturn__))
^
/nfsmnts/bpidrivers/clcv241/S2141/util/usr/include/le/features.h:791:26: note: expanded from macro '__noreturn__'
#define __noreturn__ _Noreturn
^
./test-sameacls.c:121:9: error: use of undeclared identifier 'ACL_TYPE_ACCESS'
ACL_TYPE_ACCESS
^
./test-sameacls.c:128:28: error: invalid application of 'sizeof' to an incomplete type 'const int []'
for (t = 0; t < sizeof (types) / sizeof (types[0]); t++)
^~~~~~~
./test-sameacls.c:131:9: error: unknown type name 'acl_t'; did you mean 'lacl_t'?
acl_t acl1;
^~~~~
lacl_t
...
fixed in latest build
Starting to work on getting testing going.
Here is what I see:
Presumably because the script is running a .o file through echo and into sed?