ports/189851: textproc/gdome2 fails to build on FreeBSD 10 / 9
Vikash Badal
vikash.badal at is.co.za
Fri May 16 08:20:01 UTC 2014
>Number: 189851
>Category: ports
>Synopsis: textproc/gdome2 fails to build on FreeBSD 10 / 9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri May 16 08:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Vikash Badal
>Release: 10.0-RELEASE-p3 amd64
>Organization:
Internet Solutions
>Environment:
FreeBSD pkg-engine.isdsl.net 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:31:10 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD laptop.where-ever.za.net 9.1-RELEASE-p13 FreeBSD 9.1-RELEASE-p13 #0: Tue May 13 11:15:38 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
textproc/gdome2 fails to build on FreeBSD 10 / 9
===> Building for gdome2-0.8.1_7
/usr/bin/make all-recursive
Making all in libgdome
Making all in gdomecore
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-xmldtdutil.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-xmldtdutil.c -fPIC -DPIC -o .libs/gdome-xml-xmldtdutil.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-xmldtdutil.c -o gdome-xml-xmldtdutil.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-xmlmemory.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-xmlmemory.c -fPIC -DPIC -o .libs/gdome-xml-xmlmemory.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-xmlmemory.c -o gdome-xml-xmlmemory.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-str.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-str.c -fPIC -DPIC -o .libs/gdome-xml-str.o
gdome-xml-str.c:130:10: warning: assigning to 'gchar *' (aka 'char *') from 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ds->str = str;
^ ~~~
1 warning generated.
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-str.c -o gdome-xml-str.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-text.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-text.c -fPIC -DPIC -o .libs/gdome-xml-text.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-text.c -o gdome-xml-text.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-comment.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-comment.c -fPIC -DPIC -o .libs/gdome-xml-comment.o
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-comment.c -o gdome-xml-comment.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-cdata.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-cdata.c -fPIC -DPIC -o .libs/gdome-xml-cdata.o
gdome-xml-cdata.c:188:34: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
return gdome_xml_str_mkref_own (xmlNodeGetContent (priv->n));
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./gdome-xml-str.h:28:59: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
^
gdome-xml-cdata.c:220:30: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
xmlNodeSetContent (priv->n, data->str);
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1053:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
gdome-xml-cdata.c:316:34: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
return gdome_xml_str_mkref_own (ret);
^~~
./gdome-xml-str.h:28:59: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
^
gdome-xml-cdata.c:352:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
len1 = strlen (old_str);
^~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
gdome-xml-cdata.c:363:36: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
prevValue = gdome_xml_str_mkref (old_str);
^~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
gdome-xml-cdata.c:364:35: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
newValue = gdome_xml_str_mkref (new_str);
^~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
gdome-xml-cdata.c:428:17: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
len1 = strlen (old_str);
^~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
gdome-xml-cdata.c:447:36: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
prevValue = gdome_xml_str_mkref (old_str);
^~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
gdome-xml-cdata.c:448:35: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
newValue = gdome_xml_str_mkref (new_str);
^~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
gdome-xml-cdata.c:519:18: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
len1 = strlen (old_str);
^~~~~~~
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
gdome-xml-cdata.c:531:36: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
prevValue = gdome_xml_str_mkref (old_str);
^~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
gdome-xml-cdata.c:532:35: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
newValue = gdome_xml_str_mkref (new_str);
^~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
12 warnings generated.
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-cdata.c -o gdome-xml-cdata.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-attribute.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-attribute.c -fPIC -DPIC -o .libs/gdome-xml-attribute.o
gdome-xml-attribute.c:252:37: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
return gdome_xml_str_mkref_own (value);
^~~~~
./gdome-xml-str.h:28:59: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
^
1 warning generated.
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-attribute.c -o gdome-xml-attribute.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-element.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-element.c -fPIC -DPIC -o .libs/gdome-xml-element.o
gdome-xml-element.c:196:31: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
value = xmlGetProp (priv->n, name->str);
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1022:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
gdome-xml-element.c:199:35: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
return gdome_xml_str_mkref_own (value);
^~~~~
./gdome-xml-str.h:28:59: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
^
gdome-xml-element.c:202:19: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (xmlStrEqual(strs[0], "xmlns"))
^~~~~~~
/usr/local/include/libxml2/libxml/xmlstring.h:78:58: note: passing argument to parameter 'str1' here
xmlStrEqual (const xmlChar *str1,
^
gdome-xml-element.c:202:28: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (xmlStrEqual(strs[0], "xmlns"))
^~~~~~~
/usr/local/include/libxml2/libxml/xmlstring.h:79:57: note: passing argument to parameter 'str2' here
const xmlChar *str2);
^
gdome-xml-element.c:203:37: warning: passing 'gchar *' (aka 'char *') to parameter of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlGetNsDecl(priv->n, strs[1]);
^~~~~~~
./gdome-xml-xmlutil.h:122:35: note: passing argument to parameter 'localName' here
xmlChar *localName);
^
gdome-xml-element.c:250:61: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
prevValue = gdome_xml_str_mkref_own (xmlGetProp (priv->n, name->str));
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1022:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
gdome-xml-element.c:250:40: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
prevValue = gdome_xml_str_mkref_own (xmlGetProp (priv->n, name->str));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gdome-xml-str.h:28:59: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
^
gdome-xml-element.c:251:61: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
attr = gdome_xml_n_mkref ((xmlNode *)xmlSetProp (priv->n, name->str, value->str));
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1009:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
gdome-xml-element.c:251:72: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
attr = gdome_xml_n_mkref ((xmlNode *)xmlSetProp (priv->n, name->str, value->str));
^~~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1010:22: note: passing argument to parameter 'value' here
const xmlChar *value);
^
gdome-xml-element.c:446:37: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
localName = gdome_xml_str_mkref(gdome_xmlGetName((xmlNode *)attr));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
gdome-xml-element.c:450:37: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
localName = gdome_xml_str_mkref(gdome_xmlGetName((xmlNode *)attr));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
gdome-xml-element.c:451:40: warning: passing 'const xmlChar *' (aka 'const unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign]
namespaceURI = gdome_xml_str_mkref(gdome_xmlGetNsURI((xmlNode *)attr));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gdome-xml-str.h:27:65: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref (const gchar *str);
^
gdome-xml-element.c:536:33: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
value = xmlGetNsProp (priv->n, localName->str, namespaceURI->str);
^~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1032:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
gdome-xml-element.c:536:49: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
value = xmlGetNsProp (priv->n, localName->str, namespaceURI->str);
^~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'nameSpace' here
const xmlChar *nameSpace);
^
gdome-xml-element.c:539:35: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
return gdome_xml_str_mkref_own (value);
^~~~~
./gdome-xml-str.h:28:59: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
^
gdome-xml-element.c:540:23: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
else if (xmlStrEqual(namespaceURI->str, GDOME_XMLNS_NAMESPACE)) {
^~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlstring.h:78:58: note: passing argument to parameter 'str1' here
xmlStrEqual (const xmlChar *str1,
^
gdome-xml-element.c:541:36: warning: passing 'gchar *' (aka 'char *') to parameter of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlGetNsDecl(priv->n, localName->str);
^~~~~~~~~~~~~~
./gdome-xml-xmlutil.h:122:35: note: passing argument to parameter 'localName' here
xmlChar *localName);
^
gdome-xml-element.c:628:32: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlNewNs (doc, namespaceURI->str, prefix);
^~~~~~~~~~~~~~~~~
./gdome-xml-xmlutil.h:129:78: note: passing argument to parameter 'href' here
xmlNs * gdome_xmlNewNs (xmlDoc *doc, const xmlChar *href, const xmlChar *prefix);
^
gdome-xml-element.c:628:51: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlNewNs (doc, namespaceURI->str, prefix);
^~~~~~
./gdome-xml-xmlutil.h:129:99: note: passing argument to parameter 'prefix' here
xmlNs * gdome_xmlNewNs (xmlDoc *doc, const xmlChar *href, const xmlChar *prefix);
^
gdome-xml-element.c:630:42: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
prevValue = gdome_xml_str_mkref_own (xmlGetNsProp (priv->n,
^~~~~~~~~~~~~~~~~~~~~~
./gdome-xml-str.h:28:59: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
^
gdome-xml-element.c:641:42: warning: passing 'xmlChar *' (aka 'unsigned char *') to parameter of type 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign]
prevValue = gdome_xml_str_mkref_own (xmlGetProp (priv->n,
^~~~~~~~~~~~~~~~~~~~
./gdome-xml-str.h:28:59: note: passing argument to parameter 'str' here
GdomeDOMString *gdome_xml_str_mkref_own (gchar *str);
^
gdome-xml-element.c:830:30: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
val = xmlGetProp (priv->n, name->str);
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1022:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
gdome-xml-element.c:837:19: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (xmlStrEqual(strs[0], "xmlns"))
^~~~~~~
/usr/local/include/libxml2/libxml/xmlstring.h:78:58: note: passing argument to parameter 'str1' here
xmlStrEqual (const xmlChar *str1,
^
gdome-xml-element.c:837:28: warning: passing 'char [6]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (xmlStrEqual(strs[0], "xmlns"))
^~~~~~~
/usr/local/include/libxml2/libxml/xmlstring.h:79:57: note: passing argument to parameter 'str2' here
const xmlChar *str2);
^
gdome-xml-element.c:838:37: warning: passing 'gchar *' (aka 'char *') to parameter of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlGetNsDecl(priv->n, strs[1]);
^~~~~~~
./gdome-xml-xmlutil.h:122:35: note: passing argument to parameter 'localName' here
xmlChar *localName);
^
gdome-xml-element.c:870:31: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
val = xmlGetNsProp (priv->n, localName->str, namespaceURI->str);
^~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1032:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
gdome-xml-element.c:870:47: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
val = xmlGetNsProp (priv->n, localName->str, namespaceURI->str);
^~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:1033:22: note: passing argument to parameter 'nameSpace' here
const xmlChar *nameSpace);
^
gdome-xml-element.c:875:25: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
} else if (xmlStrEqual(namespaceURI->str, GDOME_XMLNS_NAMESPACE)) {
^~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlstring.h:78:58: note: passing argument to parameter 'str1' here
xmlStrEqual (const xmlChar *str1,
^
gdome-xml-element.c:876:36: warning: passing 'gchar *' (aka 'char *') to parameter of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlGetNsDecl(priv->n, localName->str);
^~~~~~~~~~~~~~
./gdome-xml-xmlutil.h:122:35: note: passing argument to parameter 'localName' here
xmlChar *localName);
^
29 warnings generated.
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-element.c -o gdome-xml-element.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-document.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-document.c -fPIC -DPIC -o .libs/gdome-xml-document.o
gdome-xml-document.c:309:41: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
result = xmlNewDocNode (priv->n, NULL, tagName->str, NULL);
^~~~~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:824:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
gdome-xml-document.c:370:34: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlNewNs (priv->n, namespaceURI->str, prefix);
^~~~~~~~~~~~~~~~~
./gdome-xml-xmlutil.h:129:78: note: passing argument to parameter 'href' here
xmlNs * gdome_xmlNewNs (xmlDoc *doc, const xmlChar *href, const xmlChar *prefix);
^
gdome-xml-document.c:370:53: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlNewNs (priv->n, namespaceURI->str, prefix);
^~~~~~
./gdome-xml-xmlutil.h:129:99: note: passing argument to parameter 'prefix' here
xmlNs * gdome_xmlNewNs (xmlDoc *doc, const xmlChar *href, const xmlChar *prefix);
^
gdome-xml-document.c:432:35: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
result = xmlNewDocText (priv->n, data->str);
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:846:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
gdome-xml-document.c:457:26: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
result = xmlNewComment (data->str);
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:867:34: note: passing argument to parameter 'content' here
xmlNewComment (const xmlChar *content);
^
gdome-xml-document.c:483:38: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
result = xmlNewCDataBlock (priv->n, data->str, strlen (data->str));
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:870:22: note: passing argument to parameter 'content' here
const xmlChar *content,
^
gdome-xml-document.c:512:21: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
result = xmlNewPI (target->str, data->str);
^~~~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:854:29: note: passing argument to parameter 'name' here
xmlNewPI (const xmlChar *name,
^
gdome-xml-document.c:512:34: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
result = xmlNewPI (target->str, data->str);
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:855:22: note: passing argument to parameter 'content' here
const xmlChar *content);
^
gdome-xml-document.c:543:35: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
result = xmlNewDocProp (priv->n, name->str, NULL);
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:780:22: note: passing argument to parameter 'name' here
const xmlChar *name,
^
gdome-xml-document.c:610:34: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlNewNs (priv->n, namespaceURI->str, prefix);
^~~~~~~~~~~~~~~~~
./gdome-xml-xmlutil.h:129:78: note: passing argument to parameter 'href' here
xmlNs * gdome_xmlNewNs (xmlDoc *doc, const xmlChar *href, const xmlChar *prefix);
^
gdome-xml-document.c:610:53: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
ns = gdome_xmlNewNs (priv->n, namespaceURI->str, prefix);
^~~~~~
./gdome-xml-xmlutil.h:129:99: note: passing argument to parameter 'prefix' here
xmlNs * gdome_xmlNewNs (xmlDoc *doc, const xmlChar *href, const xmlChar *prefix);
^
gdome-xml-document.c:650:37: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
result = xmlNewReference (priv->n, name->str);
^~~~~~~~~
/usr/local/include/libxml2/libxml/tree.h:877:22: note: passing argument to parameter 'name' here
const xmlChar *name);
^
12 warnings generated.
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-document.c -o gdome-xml-document.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-documentt.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libgdome -I../../libgdome/gdomecore -I../../libgdome/events -I../../libgdome/xpath -I/usr/local/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/include -Wall -ansi -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c gdome-xml-documentt.c -fPIC -DPIC -o .libs/gdome-xml-documentt.o
gdome-xml-documentt.c:345:35: error: incomplete definition of type 'struct _xmlBuf'
ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use);
~~~~~~~~~~~~~~~~^
/usr/local/include/libxml2/libxml/tree.h:104:16: note: forward declaration of 'struct _xmlBuf'
typedef struct _xmlBuf xmlBuf;
^
1 error generated.
*** Error code 1
Stop.
make[4]: stopped in /wrkdirs/usr/ports/textproc/gdome2/work/gdome2-0.8.1/libgdome/gdomecore
*** Error code 1
Stop.
make[3]: stopped in /wrkdirs/usr/ports/textproc/gdome2/work/gdome2-0.8.1/libgdome
*** Error code 1
Stop.
make[2]: stopped in /wrkdirs/usr/ports/textproc/gdome2/work/gdome2-0.8.1
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/textproc/gdome2/work/gdome2-0.8.1
*** Error code 1
Stop.
make: stopped in /usr/ports/textproc/gdome2
>How-To-Repeat:
make -C /usr/ports/textproc/gdome2 all
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list