Hi All,

I just build  http://hg.code.sf.net/p/opensaf/staging with following 
changeset as sanity test

it build failed with .

changeset:   7982:106230d848a6
tag:         tip
parent:      7979:aec46cc64cc8
user:        Anders Widell <[email protected]>
date:        Mon Aug 29 19:29:55 2016 +0200
summary:     uml: Update the UML environment [#1979]

===================================================================================

/gcc -DHAVE_CONFIG_H -I. -I../.. -DSA_CLM_B01=1 -I../.. 
-I../../osaf/libs/saf/include -I../../osaf/libs/core/include 
-I../../osaf/libs/core/leap/include -I../../osaf/libs/core/mds/include 
-I../../osaf/libs/core/common/include -I../../osaf/libs/core/cplusplus 
-I../../tests/unit_test_fw/inc  -std=gnu11 -Wall -fno-strict-aliasing 
-Werror -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector 
-DINTERNAL_VERSION_ID='""' -O2 -g -m64 -fmessage-length=0 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -MT clmtest-tet_ClmLongRdn.o -MD -MP -MF 
.deps/clmtest-tet_ClmLongRdn.Tpo -c -o clmtest-tet_ClmLongRdn.o `test -f 
'tet_ClmLongRdn.c' || echo './'`tet_ClmLongRdn.c
tet_ClmLongRdn.c: In function ‘lock_node’:
tet_ClmLongRdn.c:203:8: error: ignoring return value of ‘system’, 
declared with attribute warn_unused_result [-Werror=unused-result]
   system(command);
         ^
tet_ClmLongRdn.c: In function ‘unlock_node’:
tet_ClmLongRdn.c:195:8: error: ignoring return value of ‘system’, 
declared with attribute warn_unused_result [-Werror=unused-result]
   system(command);
         ^
tet_ClmLongRdn.c: In function ‘remove_node’:
tet_ClmLongRdn.c:212:8: error: ignoring return value of ‘system’, 
declared with attribute warn_unused_result [-Werror=unused-result]
   system(command);
         ^
cc1: all warnings being treated as errors
make[3]: *** [clmtest-tet_ClmLongRdn.o] Error 1
make[3]: Leaving directory 
`/avm/staging-publish/rpms/BUILD/opensaf-5.1.M0/tests/clmsv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/avm/staging-publish/rpms/BUILD/opensaf-5.1.M0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/avm/staging-publish/rpms/BUILD/opensaf-5.1.M0'
error: Bad exit status from /avm/staging-publish/rpms/tmp/rpm-tmp.13949 
(%build)


RPM build errors:
     Bad exit status from /avm/staging-publish/rpms/tmp/rpm-tmp.13949 
(%build)
make: *** [rpm] Error 1
SC-1:/avm/staging-publish # /

===================================================================================

-AVM


------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to