Hi,

 

I get the following error during 'fuego build phase', while executing Functional.expat test on x86 Ubuntu target.

Please let me know how it can be fixed.

 

##### doing fuego phase: build ########
Unpacking expat-2.0.0.tar.gz
patching file xmltest.sh
/fuego-rw/buildzone/TRAV-Ethernet-x86.default.Functional.expat-x86_64
checking build system type... x86_64-gnu-linux-gnu
checking host system type... x86_64-gnu-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cpp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether gcc accepts -fexceptions... yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for memmove... yes
checking for bcopy... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for off_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for an ANSI C99-conforming __func__... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating expat_config.h
/bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H   -o lib/xmlparse.lo -c lib/xmlparse.c
/bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H   -o lib/xmltok.lo -c lib/xmltok.c
/bin/sh ./libtool --silent --mode=compile gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H   -o lib/xmlrole.lo -c lib/xmlrole.c
/bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H   -no-undefined -version-info 6:0:5 -rpath /usr/local/lib  -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H   -o xmlwf/xmlwf.o -c xmlwf/xmlwf.c
gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H   -o xmlwf/xmlfile.o -c xmlwf/xmlfile.c
gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H   -o xmlwf/codepage.o -c xmlwf/codepage.c
gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H   -o xmlwf/unixfilemap.o -c xmlwf/unixfilemap.c
/bin/sh ./libtool --silent --mode=link gcc -I./lib -I. -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H    -o xmlwf/xmlwf xmlwf/xmlwf.o xmlwf/xmlfile.o xmlwf/codepage.o xmlwf/unixfilemap.o libexpat.la
g++ -I. -I./lib -g -O2   -c -o tests/runtestspp.o tests/runtestspp.cpp
In file included from tests/runtests.c:18:0,
                 from tests/runtestspp.cpp:6:
tests/runtests.c: In function 'void basic_setup()':
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:38:9: note: in expansion of macro 'fail'
         fail("Parser not created.");
         ^
tests/runtests.c: In function 'void test_nul_byte()':
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:159:9: note: in expansion of macro 'fail'
         fail("Parser did not report error on NUL-byte.");
         ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c: In function 'void test_u0000_char()':
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:169:5: note: in expansion of macro 'expect_failure'
     expect_failure("<doc>&#0;</doc>",
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:169:5: note: in expansion of macro 'expect_failure'
     expect_failure("<doc>&#0;</doc>",
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:169:5: note: in expansion of macro 'expect_failure'
     expect_failure("<doc>&#0;</doc>",
     ^
tests/runtests.c: In function 'void test_bom_utf8()':
tests/runtests.c:178:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     char *text = "\357\273\277<e/>";
                  ^
tests/runtests.c: In function 'void test_danish_latin1()':
tests/runtests.c:260:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<e>J\xF8rgen \xE6\xF8\xE5\xC6\xD8\xC5</e>";
         ^
tests/runtests.c:236:64: warning: deprecated conversion from string constant to 'XML_Char* {aka char*}' [-Wwrite-strings]
         _run_character_check(text, expected, __FILE__, __LINE__)
                                                                ^
tests/runtests.c:261:5: note: in expansion of macro 'run_character_check'
     run_character_check(text,
     ^
tests/runtests.c: In function 'void test_french_charref_hexidecimal()':
tests/runtests.c:272:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>&#xE9;&#xE8;&#xE0;&#xE7;&#xEA;&#xC8;</doc>";
         ^
tests/runtests.c:236:64: warning: deprecated conversion from string constant to 'XML_Char* {aka char*}' [-Wwrite-strings]
         _run_character_check(text, expected, __FILE__, __LINE__)
                                                                ^
tests/runtests.c:273:5: note: in expansion of macro 'run_character_check'
     run_character_check(text,
     ^
tests/runtests.c: In function 'void test_french_charref_decimal()':
tests/runtests.c:282:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>&#233;&#232;&#224;&#231;&#234;&#200;</doc>";
         ^
tests/runtests.c:236:64: warning: deprecated conversion from string constant to 'XML_Char* {aka char*}' [-Wwrite-strings]
         _run_character_check(text, expected, __FILE__, __LINE__)
                                                                ^
tests/runtests.c:283:5: note: in expansion of macro 'run_character_check'
     run_character_check(text,
     ^
tests/runtests.c: In function 'void test_french_latin1()':
tests/runtests.c:292:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>\xE9\xE8\xE0\xE7\xEa\xC8</doc>";
         ^
tests/runtests.c:236:64: warning: deprecated conversion from string constant to 'XML_Char* {aka char*}' [-Wwrite-strings]
         _run_character_check(text, expected, __FILE__, __LINE__)
                                                                ^
tests/runtests.c:293:5: note: in expansion of macro 'run_character_check'
     run_character_check(text,
     ^
tests/runtests.c: In function 'void test_french_utf8()':
tests/runtests.c:302:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>\xC3\xA9</doc>";
         ^
tests/runtests.c:236:64: warning: deprecated conversion from string constant to 'XML_Char* {aka char*}' [-Wwrite-strings]
         _run_character_check(text, expected, __FILE__, __LINE__)
                                                                ^
tests/runtests.c:303:5: note: in expansion of macro 'run_character_check'
     run_character_check(text, "\xC3\xA9");
     ^
tests/runtests.c: In function 'void test_utf8_false_rejection()':
tests/runtests.c:314:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     char *text = "<doc>\xEF\xBA\xBF</doc>";
                  ^
tests/runtests.c:236:64: warning: deprecated conversion from string constant to 'XML_Char* {aka char*}' [-Wwrite-strings]
         _run_character_check(text, expected, __FILE__, __LINE__)
                                                                ^
tests/runtests.c:315:5: note: in expansion of macro 'run_character_check'
     run_character_check(text, "\xEF\xBA\xBF");
     ^
In file included from tests/runtests.c:18:0,
                 from tests/runtestspp.cpp:6:
tests/runtests.c: In function 'void test_utf16_le_epilog_newline()':
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:372:9: note: in expansion of macro 'fail'
         fail("bad value of first_chunk_bytes");
         ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c: In function 'void test_latin1_umlauts()':
tests/runtests.c:392:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "  >\xE4 \xF6 \xFC &#228; &#246; &#252; &#x00E4; &#x0F6; &#xFC; ></e>";
         ^
tests/runtests.c:396:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "\xC3\xA4 \xC3\xB6 \xC3\xBC >";
         ^
tests/runtests.c: In function 'void test_line_number_after_parse()':
tests/runtests.c:409:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "\n</tag>";
         ^
tests/runtests.c: In function 'void test_column_number_after_parse()':
tests/runtests.c:427:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     char *text = "<tag></tag>";
                  ^
tests/runtests.c: In function 'void test_line_and_column_numbers_inside_handlers()':
tests/runtests.c:482:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</a>";
         ^
tests/runtests.c:493:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</a> at col:0 line:8\n";
         ^
tests/runtests.c: In function 'void test_line_number_after_error()':
tests/runtests.c:513:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "  </a>";  /* missing </b> */
         ^
In file included from tests/runtests.c:18:0,
                 from tests/runtestspp.cpp:6:
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:516:9: note: in expansion of macro 'fail'
         fail("Expected a parse error");
         ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c: In function 'void test_column_number_after_error()':
tests/runtests.c:533:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "  </a>";  /* missing </b> */
         ^
In file included from tests/runtests.c:18:0,
                 from tests/runtestspp.cpp:6:
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:536:9: note: in expansion of macro 'fail'
         fail("Expected a parse error");
         ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c: In function 'void test_really_long_lines()':
tests/runtests.c:577:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</e>";
         ^
tests/runtests.c: In function 'void test_end_element_events()':
tests/runtests.c:598:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     char *text = "<a><b><c/></b><d><f/></d></a>";
                  ^
tests/runtests.c:599:22: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     char *expected = "/c/b/f/d/a";
                      ^
tests/runtests.c: In function 'void test_attr_whitespace_normalization()':
tests/runtests.c:714:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</doc>";
         ^
tests/runtests.c: In function 'void test_xmldecl_misplaced()':
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:730:5: note: in expansion of macro 'expect_failure'
     expect_failure("\n"
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:730:5: note: in expansion of macro 'expect_failure'
     expect_failure("\n"
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:730:5: note: in expansion of macro 'expect_failure'
     expect_failure("\n"
     ^
tests/runtests.c: In function 'void test_unknown_encoding_internal_entity()':
tests/runtests.c:759:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<test a='&foo;'/>";
         ^
tests/runtests.c: In function 'int external_entity_loader_set_encoding(XML_Parser, const XML_Char*, const XML_Char*, const XML_Char*, const XML_Char*)':
tests/runtests.c:780:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "\xC3\xA9";
         ^
In file included from tests/runtests.c:18:0,
                 from tests/runtestspp.cpp:6:
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:785:9: note: in expansion of macro 'fail'
         fail("Could not create external entity parser.");
         ^
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:787:9: note: in expansion of macro 'fail'
         fail("XML_SetEncoding() ignored for external entity");
         ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c: In function 'void test_ext_entity_set_encoding()':
tests/runtests.c:802:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>&en;</doc>";
         ^
tests/runtests.c:236:64: warning: deprecated conversion from string constant to 'XML_Char* {aka char*}' [-Wwrite-strings]
         _run_character_check(text, expected, __FILE__, __LINE__)
                                                                ^
tests/runtests.c:806:5: note: in expansion of macro 'run_character_check'
     run_character_check(text, "\xC3\xA9");
     ^
tests/runtests.c: In function 'void test_wfc_undeclared_entity_unread_external_subset()':
tests/runtests.c:816:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>&entity;</doc>";
         ^
tests/runtests.c: In function 'void test_wfc_undeclared_entity_no_external_subset()':
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:827:5: note: in expansion of macro 'expect_failure'
     expect_failure("<doc>&entity;</doc>",
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:827:5: note: in expansion of macro 'expect_failure'
     expect_failure("<doc>&entity;</doc>",
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:827:5: note: in expansion of macro 'expect_failure'
     expect_failure("<doc>&entity;</doc>",
     ^
tests/runtests.c: In function 'void test_wfc_undeclared_entity_standalone()':
tests/runtests.c:840:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>&entity;</doc>";
         ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:842:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:842:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
In file included from tests/runtests.c:18:0,
                 from tests/runtestspp.cpp:6:
tests/runtests.c: In function 'int external_entity_loader(XML_Parser, const XML_Char*, const XML_Char*, const XML_Char*, const XML_Char*)':
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:860:9: note: in expansion of macro 'fail'
         fail("Could not create external entity parser.");
         ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c: In function 'void test_wfc_undeclared_entity_with_external_subset_standalone()':
tests/runtests.c:876:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>&entity;</doc>";
         ^
tests/runtests.c:878:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<!ELEMENT doc (#PCDATA)*>";
         ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:883:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:883:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c: In function 'void test_wfc_undeclared_entity_with_external_subset()':
tests/runtests.c:896:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>&entity;</doc>";
         ^
tests/runtests.c:898:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<!ELEMENT doc (#PCDATA)*>";
         ^
tests/runtests.c: In function 'void test_wfc_no_recursive_entity_refs()':
tests/runtests.c:914:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc>&entity;</doc>";
         ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:916:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:916:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c: In function 'void test_dtd_default_handling()':
tests/runtests.c:933:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "]><doc/>";
         ^
tests/runtests.c:236:64: warning: deprecated conversion from string constant to 'XML_Char* {aka char*}' [-Wwrite-strings]
         _run_character_check(text, expected, __FILE__, __LINE__)
                                                                ^
tests/runtests.c:945:5: note: in expansion of macro 'run_character_check'
     run_character_check(text, "\n\n\n\n\n\n\n<doc/>");
     ^
tests/runtests.c: In function 'void test_empty_ns_without_namespaces()':
tests/runtests.c:960:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</doc>";
         ^
tests/runtests.c: In function 'void test_ns_in_attribute_default_without_namespaces()':
tests/runtests.c:978:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<e:element/>";
         ^
In file included from tests/runtests.c:18:0,
                 from tests/runtestspp.cpp:6:
tests/runtests.c: In function 'void namespace_setup()':
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:995:9: note: in expansion of macro 'fail'
         fail("Parser not created.");
         ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c: In function 'void test_return_ns_triplet()':
tests/runtests.c:1044:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "       xmlns:bar='http://expat.sf.net/'></foo:e>";
         ^
tests/runtests.c:1048:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     };
     ^
tests/runtests.c:1048:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
tests/runtests.c: In function 'void test_ns_tagname_overwrite()':
tests/runtests.c:1101:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</n:e>";
         ^
tests/runtests.c:1110:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "end http://xml.libexpat.org/ e\n";
         ^
tests/runtests.c: In function 'void test_ns_tagname_overwrite_triplet()':
tests/runtests.c:1122:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</n:e>";
         ^
tests/runtests.c:1131:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "end http://xml.libexpat.org/ e n\n";
         ^
In file included from tests/runtests.c:18:0,
                 from tests/runtestspp.cpp:6:
tests/runtests.c: In function 'void start_element_fail(void*, const XML_Char*, const XML_Char**)':
tests/minicheck.h:26:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
#define fail(msg)  _fail_unless(0, __FILE__, __LINE__, msg)
                                                           ^
tests/runtests.c:1144:5: note: in expansion of macro 'fail'
     fail("should never reach start_element_fail()");
     ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c: In function 'void test_start_ns_clears_start_element()':
tests/runtests.c:1161:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     char *text = "<e xmlns='http://xml.libexpat.org/'></e>";
                  ^
In file included from tests/runtests.c:16:0,
                 from tests/runtestspp.cpp:6:
tests/runtests.c: In function 'int external_entity_handler(XML_Parser, const XML_Char*, const XML_Char*, const XML_Char*, const XML_Char*)':
./lib/expat.h:674:52: error: cast from 'void*' to 'int' loses precision [-fpermissive]
#define XML_GetUserData(parser) (*(void **)(parser))
                                                    ^
tests/runtests.c:1179:27: note: in expansion of macro 'XML_GetUserData'
     int callno = 1 + (int)XML_GetUserData(parser);
                           ^
In file included from tests/runtestspp.cpp:6:0:
tests/runtests.c:1184:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         text = ("<!ELEMENT doc (e+)>\n"
              ^
tests/runtests.c:1188:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         text = ("<?xml version='1.0' encoding='us-ascii'?>"
              ^
tests/runtests.c:1191:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     XML_SetUserData(parser, (void *) callno);
                                      ^
tests/runtests.c: In function 'void test_default_ns_from_ext_subset_and_ext_ge()':
tests/runtests.c:1210:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</doc>";
         ^
tests/runtests.c: In function 'void test_ns_prefix_with_empty_uri_1()':
tests/runtests.c:1228:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</doc>";
         ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1230:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1230:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c: In function 'void test_ns_prefix_with_empty_uri_2()':
tests/runtests.c:1242:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<docelem xmlns:pre=''/>";
         ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1244:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1244:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c: In function 'void test_ns_prefix_with_empty_uri_3()':
tests/runtests.c:1259:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<doc/>";
         ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1261:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1261:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c: In function 'void test_ns_prefix_with_empty_uri_4()':
tests/runtests.c:1276:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "<prefix:doc/>";
         ^
tests/runtests.c:1282:5: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     };
     ^
tests/runtests.c: In function 'void test_ns_default_with_empty_uri()':
tests/runtests.c:1296:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "</doc>";
         ^
tests/runtests.c: In function 'void test_ns_duplicate_attrs_diff_prefixes()':
tests/runtests.c:1308:9: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
         "     a:a='v' b:a='v' />";
         ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1309:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1309:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c: In function 'void test_ns_unbound_prefix_on_attribute()':
tests/runtests.c:1318:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     char *text = "<doc a:attr=''/>";
                  ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1319:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1319:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c: In function 'void test_ns_unbound_prefix_on_element()':
tests/runtests.c:1328:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     char *text = "<a:doc/>";
                  ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1329:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c:82:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
                         __FILE__, __LINE__)
                                           ^
tests/runtests.c:1329:5: note: in expansion of macro 'expect_failure'
     expect_failure(text,
     ^
tests/runtests.c: In function 'Suite* make_suite()':
tests/runtests.c:1338:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     Suite *s = suite_create("basic");
                                    ^
tests/runtests.c:1339:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     TCase *tc_basic = tcase_create("basic tests");
                                                 ^
tests/runtests.c:1340:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     TCase *tc_namespace = tcase_create("XML namespaces");
                                                        ^
<builtin>: recipe for target 'tests/runtestspp.o' failed
make: *** [tests/runtestspp.o] Error 1
in signal_handler
scp: /home/a/fuego.Functional.expat/Functional.expat.log: No such file or directory
Build step 'Execute shell' marked build as failure
[description-setter] Description set:  <a href="/storm/userContent/fuego.logs/Functional.expat/TRAV-Ethernet-x86.default.2.2/testlog.txt">testlog</a> <a href="/storm/userContent/fuego.logs/Functional.expat/TRAV-Ethernet-x86.default.2.2/run.json">run.json</a> <a href="/storm/userContent/fuego.logs/Functional.expat/TRAV-Ethernet-x86.default.2.2/consolelog.txt">fuegolog</a> <a href="/storm/userContent/fuego.logs/Functional.expat/TRAV-Ethernet-x86.default.2.2/devlog.txt">devlog</a> <a href="/storm/userContent/fuego.logs/Functional.expat/TRAV-Ethernet-x86.default.2.2/prolog.sh">prolog.sh</a>
Finished: FAILURE

 

Regards,

Dhinakar,

Senior Technical Manager,

2-07-526, Phoenix Building,

+91-9902007650

Samsung Research Institute, Bangalore.