86>Feb 28 09:22:53 userdel[1887111]: delete user 'rooter'
<86>Feb 28 09:22:53 userdel[1887111]: removed group 'rooter' owned by 'rooter'
<86>Feb 28 09:22:53 userdel[1887111]: removed shadow group 'rooter' owned by 'rooter'
<86>Feb 28 09:22:53 groupadd[1887128]: group added to /etc/group: name=rooter, GID=642
<86>Feb 28 09:22:53 groupadd[1887128]: group added to /etc/gshadow: name=rooter
<86>Feb 28 09:22:53 groupadd[1887128]: new group: name=rooter, GID=642
<86>Feb 28 09:22:53 useradd[1887142]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash
<86>Feb 28 09:22:53 userdel[1887157]: delete user 'builder'
<86>Feb 28 09:22:53 userdel[1887157]: removed group 'builder' owned by 'builder'
<86>Feb 28 09:22:53 userdel[1887157]: removed shadow group 'builder' owned by 'builder'
<86>Feb 28 09:22:53 groupadd[1887165]: group added to /etc/group: name=builder, GID=643
<86>Feb 28 09:22:53 groupadd[1887165]: group added to /etc/gshadow: name=builder
<86>Feb 28 09:22:53 groupadd[1887165]: new group: name=builder, GID=643
<86>Feb 28 09:22:53 useradd[1887187]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash
<13>Feb 28 09:22:55 rpmi: libpopt-devel-1:1.16-alt1 1500322986 installed
<13>Feb 28 09:22:55 rpmi: librpm-devel-4.13.0.1-alt24 p9+254187.340.9.1 1598671565 installed
<13>Feb 28 09:22:55 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550601058 installed
<13>Feb 28 09:22:55 rpmi: libxml2-devel-1:2.9.10-alt6 p9+266566.100.3.1 1614357035 installed
<13>Feb 28 09:22:55 rpmi: libdb4.7-devel-4.7.25-alt9 1490438479 installed
<13>Feb 28 09:22:55 rpmi: bzlib-devel-1:1.0.8-alt1 p9+261810.100.1.1 1605510817 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/rpm2html-1.11.2-alt1.nosrc.rpm
Installing rpm2html-1.11.2-alt1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.50544
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf rpm2html-1.11.2
+ echo 'Source #0 (rpm2html-1.11.2.tar):'
Source #0 (rpm2html-1.11.2.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/rpm2html-1.11.2.tar
+ cd rpm2html-1.11.2
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #10 (manpage.patch):'
Patch #10 (manpage.patch):
+ /usr/bin/patch -p1
patching file rpm2html.1
+ echo 'Patch #11 (rpm-4.9.patch):'
Patch #11 (rpm-4.9.patch):
+ /usr/bin/patch -p1
patching file rpmopen.c
+ echo 'Patch #12 (fix-segfault.patch):'
Patch #12 (fix-segfault.patch):
+ /usr/bin/patch -p1
patching file html.c
+ echo 'Patch #13 (cve-syntax.patch):'
Patch #13 (cve-syntax.patch):
+ /usr/bin/patch -p1
patching file html.c
+ echo 'Patch #14 (fix-strndup.patch):'
Patch #14 (fix-strndup.patch):
+ /usr/bin/patch -p1
patching file config.c
+ echo 'Patch #15 (int_32.patch):'
Patch #15 (int_32.patch):
+ /usr/bin/patch -p1
patching file rpmdata.h
patching file rpmopen.c
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.50544
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd rpm2html-1.11.2
+ autoreconf -fisv
autoreconf-default: Entering directory `.'
autoreconf-default: configure.in: not using Gettext
autoreconf-default: running: aclocal --force
aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf-default: configure.in: tracing
autoreconf-default: configure.in: not using Libtool
autoreconf-default: configure.in: not using Intltool
autoreconf-default: configure.in: not using gtk-doc
autoreconf-default: running: /usr/bin/autoconf-2.60 --force
autoreconf-default: running: /usr/bin/autoheader-2.60 --force
autoheader-2.60: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.60: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.60: WARNING: is deprecated and discouraged.
autoheader-2.60:
autoheader-2.60: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.60: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader-2.60: WARNING: `acconfig.h':
autoheader-2.60:
autoheader-2.60: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.60: [Define if a function `main' is needed.])
autoheader-2.60:
autoheader-2.60: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.60: WARNING: documentation.
autoreconf-default: running: automake --add-missing --force-missing
automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:24: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:29: installing './compile'
configure.in:24: installing './missing'
Makefile.am:21: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf-default: Leaving directory `.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext
configure: WARNING: unrecognized options: --without-included-gettext
checking build system type... i586-alt-linux-gnu
checking host system type... i586-alt-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for i586-alt-linux-gcc... i586-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to accept ISO C89... none needed
checking whether i586-alt-linux-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of i586-alt-linux-gcc... none
checking whether ln -s works... yes
checking for cp... /bin/cp
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking for deflate in -lz... yes
checking for bzread in -lbz2... no
checking for BZ2_bzread in -lbz2... yes
checking for gettext in -lintl... no
checking for dbopen... no
checking for db_create in -ldb-3.1... no
checking for db_create in -ldb-3.0... no
checking for dbopen in -ldb1... no
checking for dbopen in -ldb... no
checking for poptGetContext in -lpopt... yes
checking for Fopen in -lrpmio... yes
checking for rpmdbOpen in -lrpmdb... no
checking for rpmReadConfigFiles in -lrpm... yes
checking for rpmBuildFileList in -lrpm... no
checking for rpmReadConfigFiles in -lrpm... (cached) yes
checking for xml2-config... xml2-config
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... i586-alt-linux-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 db_185.h usability... yes
checking db_185.h presence... yes
checking for db_185.h... yes
checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking rpm/rpmio.h usability... yes
checking rpm/rpmio.h presence... yes
checking for rpm/rpmio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking rpm/rpmlib.h usability... yes
checking rpm/rpmlib.h presence... yes
checking for rpm/rpmlib.h... yes
checking rpm/rpmlegacy.h usability... yes
checking rpm/rpmlegacy.h presence... yes
checking for rpm/rpmlegacy.h... yes
checking for strftime... yes
checking for gethostname... yes
checking for strdup... yes
checking for strndup... yes
checking for strerror... yes
checking for snprintf... yes
checking for unlink... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating rpm2html.spec
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --without-included-gettext
+ make -j8
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o compressor.o compressor.c
compressor.c: In function 'main':
compressor.c:155:9: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
getcwd(pwd, sizeof(pwd));
^~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o memory.o memory.c
memory.c: In function 'debugInitMemory':
memory.c:495:18: warning: passing argument 1 of 'xmlMemSetup' from incompatible pointer type [-Wincompatible-pointer-types]
xmlMemSetup(debugFree, debugMalloc, debugRealloc, debugStrdup);
^~~~~~~~~
In file included from memory.c:11:
/usr/include/libxml2/libxml/xmlmemory.h:104:27: note: expected 'xmlFreeFunc' {aka 'void (*)(void *)'} but argument is of type 'int (*)(void *)'
xmlMemSetup (xmlFreeFunc freeFunc,
~~~~~~~~~~~~^~~~~~~~
memory.c:495:29: warning: passing argument 2 of 'xmlMemSetup' from incompatible pointer type [-Wincompatible-pointer-types]
xmlMemSetup(debugFree, debugMalloc, debugRealloc, debugStrdup);
^~~~~~~~~~~
In file included from memory.c:11:
/usr/include/libxml2/libxml/xmlmemory.h:105:19: note: expected 'xmlMallocFunc' {aka 'void * (*)(unsigned int)'} but argument is of type 'void * (*)(int)'
xmlMallocFunc mallocFunc,
~~~~~~~~~~~~~~^~~~~~~~~~
memory.c:495:42: warning: passing argument 3 of 'xmlMemSetup' from incompatible pointer type [-Wincompatible-pointer-types]
xmlMemSetup(debugFree, debugMalloc, debugRealloc, debugStrdup);
^~~~~~~~~~~~
In file included from memory.c:11:
/usr/include/libxml2/libxml/xmlmemory.h:106:20: note: expected 'xmlReallocFunc' {aka 'void * (*)(void *, unsigned int)'} but argument is of type 'void * (*)(void *, int)'
xmlReallocFunc reallocFunc,
~~~~~~~~~~~~~~~^~~~~~~~~~~
memory.c:497:20: warning: comparison of distinct pointer types lacks a cast
if ((freeFunc != debugFree) ||
^~
memory.c:498:15: warning: comparison of distinct pointer types lacks a cast
(mallocFunc != debugMalloc) ||
^~
memory.c:499:16: warning: comparison of distinct pointer types lacks a cast
(reallocFunc != debugRealloc) ||
^~
At top level:
memory.c:68:23: warning: 'debugMemSizeMeg' defined but not used [-Wunused-variable]
static unsigned long debugMemSizeMeg = 0;
^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o cleanup.o cleanup.c
cleanup.c: In function 'rpmDirCleanupAll':
cleanup.c:455:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1999 [-Wformat-truncation=]
snprintf(path, sizeof(path), "%s/%s", dir, filename);
^~
In file included from /usr/include/stdio.h:862,
from cleanup.c:31:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 2256 bytes into a destination of size 2000
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o language.o language.c
language.c: In function 'readLanguageFile':
language.c:225:47: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
localizedStrings[currentString] = xmlStrdup(buffer);
^~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from language.c:17:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
language.c:225:35: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
localizedStrings[currentString] = xmlStrdup(buffer);
^
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rdf_api.o rdf_api.c
rdf_api.c: In function 'rdfRead':
rdf_api.c:71:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (strcmp(root->name, "RDF")) {
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c: In function 'rdfNewSchema':
rdf_api.c:111:21: warning: pointer targets in passing argument 1 of 'xmlNewDoc' differ in signedness [-Wpointer-sign]
res = xmlNewDoc("1.0");
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:780:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewDoc (const xmlChar *version);
^~~~~~~~~
rdf_api.c:112:49: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign]
res->xmlRootNode = xmlNewDocNode(res, NULL, "RDF", NULL);
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:827:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewDocNode (xmlDocPtr doc,
^~~~~~~~~~~~~
rdf_api.c:113:38: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign]
rdf = xmlNewNs(res->xmlRootNode, "http://www.w3.org/TR/WD-rdf-syntax#", "RDF");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:772:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewNs (xmlNodePtr node,
^~~~~~~~
rdf_api.c:113:77: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign]
rdf = xmlNewNs(res->xmlRootNode, "http://www.w3.org/TR/WD-rdf-syntax#", "RDF");
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:772:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewNs (xmlNodePtr node,
^~~~~~~~
rdf_api.c:114:38: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign]
rdf = xmlNewNs(res->xmlRootNode, "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:772:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewNs (xmlNodePtr node,
^~~~~~~~
rdf_api.c:114:85: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign]
rdf = xmlNewNs(res->xmlRootNode, "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf");
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:772:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewNs (xmlNodePtr node,
^~~~~~~~
rdf_api.c: In function 'rdfNewNamespace':
rdf_api.c:130:22: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign]
ns = xmlNewNs(root, url, namespace);
^~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:772:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewNs (xmlNodePtr node,
^~~~~~~~
rdf_api.c:130:27: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign]
ns = xmlNewNs(root, url, namespace);
^~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:772:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewNs (xmlNodePtr node,
^~~~~~~~
rdf_api.c: In function 'rdfGetNamespace':
rdf_api.c:144:56: warning: pointer targets in passing argument 3 of 'xmlSearchNsByHref' differ in signedness [-Wpointer-sign]
return((rdfNamespace) xmlSearchNsByHref(rdf, root, href));
^~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:991:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlSearchNsByHref (xmlDocPtr doc,
^~~~~~~~~~~~~~~~~
rdf_api.c: In function 'rdfFirstDescription':
rdf_api.c:186:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if ((tree->ns == rdfNs) && (!strcmp(tree->name, "Description")))
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c: In function 'rdfNextDescription':
rdf_api.c:201:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if ((desc->ns == rdfNs) && (!strcmp(desc->name, "Description")))
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c: In function 'rdfAddDescription':
rdf_api.c:219:36: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
tree = xmlNewChild(root, NULL, "Description", NULL);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:844:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewChild (xmlNodePtr parent,
^~~~~~~~~~~
rdf_api.c:221:26: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
xmlNewProp(tree, "ID", id);
^~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:790:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewProp (xmlNodePtr node,
^~~~~~~~~~
rdf_api.c:221:32: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
xmlNewProp(tree, "ID", id);
^~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:790:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewProp (xmlNodePtr node,
^~~~~~~~~~
rdf_api.c:229:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
buf = (char *) xmlMalloc(strlen(ns->prefix) + 10);
~~^~~~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern size_t strlen (const char *__s)
^~~~~~
rdf_api.c:231:23: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
xmlNewProp(tree, buf, about);
^~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:790:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewProp (xmlNodePtr node,
^~~~~~~~~~
rdf_api.c:231:28: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
xmlNewProp(tree, buf, about);
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:790:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewProp (xmlNodePtr node,
^~~~~~~~~~
rdf_api.c:234:23: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
xmlNewProp(tree, "about", about);
^~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:790:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewProp (xmlNodePtr node,
^~~~~~~~~~
rdf_api.c:234:32: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign]
xmlNewProp(tree, "about", about);
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:790:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewProp (xmlNodePtr node,
^~~~~~~~~~
rdf_api.c: In function 'rdfGetDescriptionId':
rdf_api.c:246:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
res = (char *) xmlGetProp(desc, "ID");
^~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf_api.c: In function 'rdfGetDescriptionAbout':
rdf_api.c:255:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
res = (char *) xmlGetProp(desc, "about");
^~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf_api.c:261:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
res = (char *) xmlGetProp(desc, "HREF");
^~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf_api.c:264:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
buf = (char *) xmlMalloc(strlen(ns->prefix) + 10);
~~^~~~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern size_t strlen (const char *__s)
^~~~~~
rdf_api.c:266:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
res = (char *) xmlGetProp(desc, buf);
^~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf_api.c: In function 'rdfGetElementResource':
rdf_api.c:277:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
res = (char *) xmlGetProp(elem, "resource");
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf_api.c: In function 'rdfSetElementResource':
rdf_api.c:282:22: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "resource", URI);
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf_api.c:282:34: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "resource", URI);
^~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf_api.c: In function 'rdfGetValue':
rdf_api.c:316:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if ((list->ns == ns) && (!strcmp(list->name, property))) {
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:321:10: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
*value = xmlNodeListGetString(desc->doc, list->xmlChildrenNode, 1);
^
rdf_api.c:328:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(list->name, "Bag")) return(RDF_BAG);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:329:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(list->name, "Seq")) return(RDF_SEQ);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:330:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(list->name, "Alt")) return(RDF_ALT);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:331:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(list->name, "Description")) return(RDF_DESC);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:335:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
(!strcmp(list->name, property))) {
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:350:13: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
*value = xmlNodeListGetString(desc->doc, best->xmlChildrenNode, 1);
^
rdf_api.c:353:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(best->name, "Bag")) return(RDF_BAG);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:354:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(best->name, "Seq")) return(RDF_SEQ);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:355:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(best->name, "Alt")) return(RDF_ALT);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:356:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(best->name, "Description")) return(RDF_DESC);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c: In function 'rdfSetValue':
rdf_api.c:377:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if ((list->ns == ns) && (!strcmp(list->name, property))) {
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:383:50: warning: pointer targets in passing argument 2 of 'xmlEncodeEntitiesReentrant' differ in signedness [-Wpointer-sign]
tmp = xmlEncodeEntitiesReentrant(desc->doc, value);
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:20,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/entities.h:120:4: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlEncodeEntitiesReentrant(xmlDocPtr doc,
^~~~~~~~~~~~~~~~~~~~~~~~~~
rdf_api.c:395:49: warning: pointer targets in passing argument 2 of 'xmlEncodeEntitiesReentrant' differ in signedness [-Wpointer-sign]
tmp = xmlEncodeEntitiesReentrant(desc->doc, value);
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:20,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/entities.h:120:4: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlEncodeEntitiesReentrant(xmlDocPtr doc,
^~~~~~~~~~~~~~~~~~~~~~~~~~
rdf_api.c:396:27: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
xmlNewChild(desc, ns, property, tmp);
^~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:844:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewChild (xmlNodePtr parent,
^~~~~~~~~~~
rdf_api.c: In function 'rdfRemoveProperty':
rdf_api.c:413:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if ((list->ns == ns) && (!strcmp(list->name, property))) {
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c: In function 'rdfBagCreate':
rdf_api.c:444:33: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
cur = xmlNewChild(desc, ns, property, NULL);
^~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:844:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewChild (xmlNodePtr parent,
^~~~~~~~~~~
rdf_api.c:445:33: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
cur = xmlNewChild(cur, rdf, "Bag", NULL);
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:844:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewChild (xmlNodePtr parent,
^~~~~~~~~~~
rdf_api.c: In function 'rdfBagAddValue':
rdf_api.c:457:36: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
cur = xmlNewChild(bag, ns, property, (char *) value);
^~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:844:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewChild (xmlNodePtr parent,
^~~~~~~~~~~
rdf_api.c:457:46: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign]
cur = xmlNewChild(bag, ns, property, (char *) value);
^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:844:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlNewChild (xmlNodePtr parent,
^~~~~~~~~~~
rdf_api.c:459:43: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign]
cur = xmlNewDocNode(bag->doc, ns, property, NULL);
^~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/tree.h:827:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlNewDocNode (xmlDocPtr doc,
^~~~~~~~~~~~~
rdf_api.c: In function 'rdfElemGetType':
rdf_api.c:489:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(elem->name, "Bag")) return(RDF_BAG);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:490:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(elem->name, "Seq")) return(RDF_SEQ);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:491:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(elem->name, "Alt")) return(RDF_ALT);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c:492:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign]
if (!strcmp(elem->name, "Description")) return(RDF_DESC);
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:137:12: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern int strcmp (const char *__s1, const char *__s2)
^~~~~~
rdf_api.c: In function 'rdfElemGetValue':
rdf_api.c:497:12: warning: pointer targets in returning 'xmlChar *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign]
return(xmlNodeListGetString(elem->doc, elem->xmlChildrenNode, 1));
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rdf_api.c: In function 'rdfElemGetPropertyName':
rdf_api.c:500:23: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
return(strdup(elem->name));
~~~~^~~~~~
In file included from rdf_api.c:11:
/usr/include/string.h:167:14: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'}
extern char *strdup (const char *__s)
^~~~~~
rdf_api.c: In function 'rdfElemSetValue':
rdf_api.c:513:49: warning: pointer targets in passing argument 2 of 'xmlEncodeEntitiesReentrant' differ in signedness [-Wpointer-sign]
tmp = xmlEncodeEntitiesReentrant(elem->doc, value);
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:20,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf_api.c:13:
/usr/include/libxml2/libxml/entities.h:120:4: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlEncodeEntitiesReentrant(xmlDocPtr doc,
^~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o stringbuf.o stringbuf.c
stringbuf.c: In function 'stringAdd':
stringbuf.c:168:22: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
return(xmlStrdup(str));
^~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from stringbuf.c:15:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
stringbuf.c:168:12: warning: pointer targets in returning 'xmlChar *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign]
return(xmlStrdup(str));
~^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rpm2html.o rpm2html.c
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o compressor compressor.o -lrpm -lrpm -lrpmio -lpopt -lbz2 -lpthread -lrt -lz -lbz2 -lrpm -lrpm -lrpmio -lpopt -lbz2 -lpthread -lrt -lz -lbz2
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
if [ ! -f dir.png ] ; then /bin/cp ./dir.png . ; fi
./compressor dir.png
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
if [ ! -f new.png ] ; then /bin/cp ./new.png . ; fi
./compressor new.png
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o config.o config.c
config.c: In function 'rpmDirSearch':
config.c:224:28: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->color = xmlStrdup("#ffffff");
^~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:224:16: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->color = xmlStrdup("#ffffff");
^
config.c:236:29: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->rpmdir = xmlStrdup(dirname);
^~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:236:17: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->rpmdir = xmlStrdup(dirname);
^
config.c: In function 'addConfigEntry':
config.c:270:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_url = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:270:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_url = xmlStrdup(value);
^
config.c:272:33: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_maint = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:272:21: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_maint = xmlStrdup(value);
^
config.c:274:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_help = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:274:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_help = xmlStrdup(value);
^
config.c:276:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_mail = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:276:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_mail = xmlStrdup(value);
^
config.c:278:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_dir = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:278:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_dir = xmlStrdup(value);
^
config.c:280:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_ftp = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:280:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_ftp = xmlStrdup(value);
^
config.c:282:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_ftpsrc = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:282:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_ftpsrc = xmlStrdup(value);
^
config.c:284:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_name = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:284:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_name = xmlStrdup(value);
^
config.c:286:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_host = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:286:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_host = xmlStrdup(value);
^
config.c:310:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_rdf_dir = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:310:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_rdf_dir = xmlStrdup(value);
^
config.c:323:45: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_rdf_resources_dir = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:323:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_rdf_resources_dir = xmlStrdup(value);
^
config.c:414:58: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
metadata_mirrors[nb_metadata_mirrors++] = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:414:46: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
metadata_mirrors[nb_metadata_mirrors++] = xmlStrdup(value);
^
config.c:426:24: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->name = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:426:12: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->name = xmlStrdup(value);
^
config.c:428:23: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->dir = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:428:11: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->dir = xmlStrdup(value);
^
config.c:430:26: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->subdir = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:430:14: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->subdir = xmlStrdup(value);
^
config.c:432:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->dbpath = xmlStrdup(value); /* Added by A. Gibert */
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:432:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->dbpath = xmlStrdup(value); /* Added by A. Gibert */
^
config.c:434:23: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->url = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:434:11: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->url = xmlStrdup(value);
^
config.c:436:23: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->ftp = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:436:11: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->ftp = xmlStrdup(value);
^
config.c:438:26: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->ftpsrc = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:438:14: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->ftpsrc = xmlStrdup(value);
^
config.c:441:25: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->color = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:441:13: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->color = xmlStrdup(value);
^
config.c:444:25: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->trust = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:444:13: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->trust = xmlStrdup(value);
^
config.c:446:28: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_host = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:446:16: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_host = xmlStrdup(value);
^
config.c:448:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_rdf_dir = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:448:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_rdf_dir = xmlStrdup(value);
^
config.c:506:46: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->mirrors[cur->nb_mirrors++] = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:506:34: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->mirrors[cur->nb_mirrors++] = xmlStrdup(value);
^
config.c: In function 'addHeader':
config.c:562:21: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
url = xmlStrdup(value);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:562:9: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
url = xmlStrdup(value);
^
config.c:579:66: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm2html_headers_name[rpm2html_nb_extra_headers] = xmlStrdup(name);
^~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from config.c:23:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
config.c:579:54: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm2html_headers_name[rpm2html_nb_extra_headers] = xmlStrdup(name);
^
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rdf.o rdf.c
rdf.c: In function 'rpmOpenRdfFile':
rdf.c:247:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
} else rpm->arch = xmlStrdup("noarch");
^~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:247:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign]
} else rpm->arch = xmlStrdup("noarch");
^
rdf.c:253:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
} else rpm->os = xmlStrdup("linux");
^~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:253:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign]
} else rpm->os = xmlStrdup("linux");
^
rdf.c:265:52: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
} else rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:265:24: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign]
} else rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]);
^
rdf.c:275:51: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
} else rpm->group = xmlStrdup(localizedStrings[LANG_NO_GROUP]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:275:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign]
} else rpm->group = xmlStrdup(localizedStrings[LANG_NO_GROUP]);
^
rdf.c:279:51: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
else rpm->summary = xmlStrdup(localizedStrings[LANG_NO_SUMMARY]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:279:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
else rpm->summary = xmlStrdup(localizedStrings[LANG_NO_SUMMARY]);
^
rdf.c:283:62: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
else rpm->extra->description = xmlStrdup(localizedStrings[LANG_NO_DESCRIPTION]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:283:34: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
else rpm->extra->description = xmlStrdup(localizedStrings[LANG_NO_DESCRIPTION]);
^
rdf.c:296:43: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
} else rpm->extra->srcrpm = xmlStrdup("");
^~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:296:31: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
} else rpm->extra->srcrpm = xmlStrdup("");
^
rdf.c:316:55: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
else rpm->extra->host = xmlStrdup(localizedStrings[LANG_NO_HOST]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:316:27: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
else rpm->extra->host = xmlStrdup(localizedStrings[LANG_NO_HOST]);
^
rdf.c:413:38: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
if ((reqval = xmlGetProp(elem, "gt")) != NULL) {
^~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf.c:415:45: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
} else if ((reqval = xmlGetProp(elem, "geq")) != NULL) {
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf.c:417:45: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
} else if ((reqval = xmlGetProp(elem, "lt")) != NULL) {
^~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf.c:419:45: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
} else if ((reqval = xmlGetProp(elem, "leq")) != NULL) {
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf.c:421:45: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign]
} else if ((reqval = xmlGetProp(elem, "equ")) != NULL) {
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1029:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlGetProp (const xmlNode *node,
^~~~~~~~~~
rdf.c:429:37: warning: pointer targets in passing argument 2 of 'rpmRequAdd' differ in signedness [-Wpointer-sign]
reqval, dep, rpm, 0);
^~~~~~
In file included from rdf.c:26:
rpmdata.h:221:19: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'}
extern rpmRessPtr rpmRequAdd(char *requ, char *requv, rpm_dep_flag requf, rpmDataPtr rpm, int installed);
^~~~~~~~~~
rdf.c:455:28: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->filename = xmlStrdup(filename);
^~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:455:16: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->filename = xmlStrdup(filename);
^
rdf.c:460:28: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->filename = xmlStrdup(nameBuffer);
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rdf.c:460:16: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->filename = xmlStrdup(nameBuffer);
^
rdf.c: In function 'dumpRpmRdf':
rdf.c:624:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "href", buf);
^~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:624:28: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "href", buf);
^~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:636:20: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "href", buf);
^~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:636:28: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "href", buf);
^~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:641:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "lt",
^~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:642:31: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
rpm->extra->requires[i]->version);
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:645:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "leq",
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:646:31: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
rpm->extra->requires[i]->version);
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:649:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "gt",
^~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:650:31: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
rpm->extra->requires[i]->version);
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:653:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "geq",
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:654:31: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
rpm->extra->requires[i]->version);
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:657:21: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(elem, "equ",
^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:658:31: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
rpm->extra->requires[i]->version);
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c: In function 'dumpResRdf':
rdf.c:828:19: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(desc, "href", buf);
^~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:828:27: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign]
xmlSetProp(desc, "href", buf);
^~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rdf.c:25:
/usr/include/libxml2/libxml/tree.h:1015:3: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlSetProp (xmlNodePtr node,
^~~~~~~~~~
rdf.c:775:42: warning: '%s' directive output may be truncated writing up to 9999 bytes into a region of size 999 [-Wformat-truncation=]
snprintf(file, sizeof(file), "%s/%s.rdf", base, buf);
^~ ~~~
In file included from /usr/include/stdio.h:862,
from rdf.c:14:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 10005) into a destination of size 1000
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rpmdata.o rpmdata.c
rpmdata.c: In function 'rpmRessAdd':
rpmdata.c:227:27: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->name = xmlStrdup(ress);
^~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:227:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->name = xmlStrdup(ress);
^
rpmdata.c: In function 'rpmRequAdd':
rpmdata.c:296:27: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->name = xmlStrdup(requ);
^~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:296:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->name = xmlStrdup(requ);
^
rpmdata.c:298:27: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
cur->version = xmlStrdup(requv);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:298:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
cur->version = xmlStrdup(requv);
^
rpmdata.c: In function 'rpmNewSubdir':
rpmdata.c:702:27: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->name = xmlStrdup(name);
^~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:702:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->name = xmlStrdup(name);
^
rpmdata.c:705:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->color = xmlStrdup(color);
^~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:705:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->color = xmlStrdup(color);
^
rpmdata.c:710:35: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(res->subdirs, 0, sizeof(res->subdirs));
^
rpmdata.c:712:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->htmlpath = xmlStrdup(name);
^~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:712:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->htmlpath = xmlStrdup(name);
^
rpmdata.c:722:29: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->htmlpath = xmlStrdup(buf);
^~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:722:17: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->htmlpath = xmlStrdup(buf);
^
rpmdata.c:724:29: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->htmlpath = xmlStrdup(name);
^~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:724:17: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->htmlpath = xmlStrdup(name);
^
rpmdata.c:726:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->htmlpath = xmlStrdup(htmlpath);
^~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:726:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->htmlpath = xmlStrdup(htmlpath);
^
rpmdata.c:731:28: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->rpmpath = xmlStrdup(buf);
^~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:731:16: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->rpmpath = xmlStrdup(buf);
^
rpmdata.c:733:28: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->rpmpath = xmlStrdup(name);
^~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:733:16: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->rpmpath = xmlStrdup(name);
^
rpmdata.c:735:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->rpmpath = xmlStrdup(rpmpath);
^~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:735:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->rpmpath = xmlStrdup(rpmpath);
^
rpmdata.c: In function 'protectEmail':
rpmdata.c:917:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
buffer = (char *) xmlMalloc(buffer_size * sizeof(char));
^
rpmdata.c:931:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
buffer = (char *) xmlRealloc(buffer, buffer_size * sizeof(char));
^
rpmdata.c:941:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(cur, at);
^~~
In file included from /usr/include/features.h:428,
from /usr/include/sys/types.h:25,
from rpmdata.c:10:
/usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^~~~~
rpmdata.c:948:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
return(buffer);
^
rpmdata.c: In function 'rpmCreateRealRoot':
rpmdata.c:967:27: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->name = xmlStrdup("/");
^~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:967:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->name = xmlStrdup("/");
^
rpmdata.c: In function 'rpmGetRealFile':
rpmdata.c:1049:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
parent->names[i] = xmlStrdup(file);
^~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:1049:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
parent->names[i] = xmlStrdup(file);
^
rpmdata.c: In function 'rpmGetRealSubdir':
rpmdata.c:1081:27: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
res->name = xmlStrdup(subdir);
^~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmdata.c:26:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmdata.c:1081:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
res->name = xmlStrdup(subdir);
^
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o rpmopen.o rpmopen.c
rpmopen.c: In function 'checkResourceName':
rpmopen.c:150:17: warning: unused variable 'base' [-Wunused-variable]
const char *base = res;
^~~~
rpmopen.c: In function 'checkGroupName':
rpmopen.c:209:17: warning: unused variable 'base' [-Wunused-variable]
const char *base = res;
^~~~
rpmopen.c: In function 'checkVersionName':
rpmopen.c:233:17: warning: unused variable 'base' [-Wunused-variable]
const char *base = res;
^~~~
rpmopen.c: In function 'rpmAnalyze':
rpmopen.c:412:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
headerGetEntry(h, RPMTAG_NAME, &type, (void **) &name, &count);
^~~~~~~~~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:412:36: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, RPMTAG_NAME, &type, (void **) &name, &count);
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:412:60: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, RPMTAG_NAME, &type, (void **) &name, &count);
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:429:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
headerGetEntry(h, RPMTAG_VERSION, &type, (void **) &version, &count);
^~~~~~~~~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:429:39: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, RPMTAG_VERSION, &type, (void **) &version, &count);
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:429:66: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, RPMTAG_VERSION, &type, (void **) &version, &count);
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:442:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
headerGetEntry(h, RPMTAG_RELEASE, &type, (void **) &release, &count);
^~~~~~~~~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:442:39: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, RPMTAG_RELEASE, &type, (void **) &release, &count);
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:442:66: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, RPMTAG_RELEASE, &type, (void **) &release, &count);
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:490:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_SUMMARY, &type, &p, &count) || !p) {
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:490:44: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_SUMMARY, &type, &p, &count) || !p) {
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:490:55: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_SUMMARY, &type, &p, &count) || !p) {
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:491:50: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->summary = xmlStrdup(localizedStrings[LANG_NO_SUMMARY]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:491:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->summary = xmlStrdup(localizedStrings[LANG_NO_SUMMARY]);
^
rpmopen.c:493:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->summary = xmlStrdup((char *) p);
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:493:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->summary = xmlStrdup((char *) p);
^
rpmopen.c:496:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_DESCRIPTION, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:496:48: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_DESCRIPTION, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:496:59: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_DESCRIPTION, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:499:39: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
xmlStrdup(localizedStrings[LANG_NO_DESCRIPTION]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:498:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->description =
^
rpmopen.c:501:45: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->description = xmlStrdup((char *) p);
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:501:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->description = xmlStrdup((char *) p);
^
rpmopen.c:504:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_DISTRIBUTION, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:504:49: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_DISTRIBUTION, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:504:60: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_DISTRIBUTION, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:519:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_ARCH, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:519:45: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_ARCH, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:519:56: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_ARCH, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:550:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_OS, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:550:39: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_OS, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:550:50: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_OS, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:570:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_VENDOR, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:570:43: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_VENDOR, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:570:54: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_VENDOR, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:577:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_GROUP, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:577:42: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_GROUP, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:577:53: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_GROUP, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:607:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_BUILDHOST, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:607:46: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_BUILDHOST, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:607:57: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_BUILDHOST, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:609:54: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->host = xmlStrdup(localizedStrings[LANG_NO_HOST]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:609:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->host = xmlStrdup(localizedStrings[LANG_NO_HOST]);
^
rpmopen.c:611:38: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->host = xmlStrdup((char *) p);
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:611:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->host = xmlStrdup((char *) p);
^
rpmopen.c:614:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_SIZE, &type, &p, &count) || !p) {
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:614:41: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_SIZE, &type, &p, &count) || !p) {
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:614:52: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_SIZE, &type, &p, &count) || !p) {
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:621:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_INSTALLTIME, &type, &p, &count)
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:621:52: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_INSTALLTIME, &type, &p, &count)
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:621:63: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_INSTALLTIME, &type, &p, &count)
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:629:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_BUILDTIME, &type, &p, &count) || !p) {
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:629:50: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_BUILDTIME, &type, &p, &count) || !p) {
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:629:61: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_BUILDTIME, &type, &p, &count) || !p) {
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:636:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_SOURCERPM, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:636:46: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_SOURCERPM, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:636:57: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_SOURCERPM, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:638:40: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->srcrpm = xmlStrdup("");
^~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:638:28: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->srcrpm = xmlStrdup("");
^
rpmopen.c:640:40: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->srcrpm = xmlStrdup((char *) p);
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:640:28: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->srcrpm = xmlStrdup((char *) p);
^
rpmopen.c:643:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_URL, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:643:40: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_URL, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:643:51: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_URL, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:647:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->url = xmlStrdup((char *) p);
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:647:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->url = xmlStrdup((char *) p);
^
rpmopen.c:650:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_PACKAGER, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:650:45: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_PACKAGER, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:650:56: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_PACKAGER, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:654:42: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->packager = xmlStrdup(protectEmail((char *) p));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:654:30: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->packager = xmlStrdup(protectEmail((char *) p));
^
rpmopen.c:657:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_LICENSE, &type, &p, &count) || !p ||
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:657:44: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_LICENSE, &type, &p, &count) || !p ||
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:657:55: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_LICENSE, &type, &p, &count) || !p ||
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:661:43: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->copyright = xmlStrdup((char *) p);
^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:661:31: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->copyright = xmlStrdup((char *) p);
^
rpmopen.c:665:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, RPMTAG_CHANGELOGTEXT, &type, &p, &count) || !p) {
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:665:50: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_CHANGELOGTEXT, &type, &p, &count) || !p) {
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:665:61: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, RPMTAG_CHANGELOGTEXT, &type, &p, &count) || !p) {
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:681:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
headerGetEntry(h, RPMTAG_CHANGELOGTIME, &type, (void *) &dates,
^~~~~~~~~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:681:49: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, RPMTAG_CHANGELOGTIME, &type, (void *) &dates,
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:682:24: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
&count);
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:683:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
headerGetEntry(h, RPMTAG_CHANGELOGNAME, &type, (void *) &names,
^~~~~~~~~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:683:49: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, RPMTAG_CHANGELOGNAME, &type, (void *) &names,
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:684:24: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
&count);
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:734:43: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->changelog = xmlStrdup(protectEmail(buffer));
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:734:31: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->changelog = xmlStrdup(protectEmail(buffer));
^
rpmopen.c:740:47: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->vendor = xmlStrdup(rpm->extra->packager);
~~~~~~~~~~^~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:740:25: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign]
rpm->vendor = xmlStrdup(rpm->extra->packager);
^
rpmopen.c:742:53: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]);
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:742:25: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign]
rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]);
^
rpmopen.c:758:14: warning: 'headerNextIterator' is deprecated [-Wdeprecated-declarations]
headerNextIterator(sIter, &tag, &type, (void *) &p, &count);) {
^~~~~~~~~~~~~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:170:5: note: declared here
int headerNextIterator(HeaderIterator hi,
^~~~~~~~~~~~~~~~~~
rpmopen.c:758:46: warning: pointer targets in passing argument 3 of 'headerNextIterator' differ in signedness [-Wpointer-sign]
headerNextIterator(sIter, &tag, &type, (void *) &p, &count);) {
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:170:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int *'
int headerNextIterator(HeaderIterator hi,
^~~~~~~~~~~~~~~~~~
rpmopen.c:758:66: warning: pointer targets in passing argument 5 of 'headerNextIterator' differ in signedness [-Wpointer-sign]
headerNextIterator(sIter, &tag, &type, (void *) &p, &count);) {
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:170:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerNextIterator(HeaderIterator hi,
^~~~~~~~~~~~~~~~~~
rpmopen.c:790:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->filename = xmlStrdup(nameRpm);
^~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:790:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->filename = xmlStrdup(nameRpm);
^
rpmopen.c:794:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, val, &type, &p, &count) || !p) {
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:794:33: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, val, &type, &p, &count) || !p) {
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:794:44: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, val, &type, &p, &count) || !p) {
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:830:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
if (!headerGetEntry(h, val, &type, &p, &count) || !p) {
^~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:830:33: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, val, &type, &p, &count) || !p) {
^~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:830:44: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
if (!headerGetEntry(h, val, &type, &p, &count) || !p) {
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:853:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
headerGetEntry(h, valv, &type2, &q, &count2);
^~~~~~~~~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:853:33: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, valv, &type2, &q, &count2);
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:853:45: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, valv, &type2, &q, &count2);
^~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:854:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations]
headerGetEntry(h, valf, &type3, &r, &count3);
^~~~~~~~~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: declared here
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:854:33: warning: pointer targets in passing argument 3 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, valf, &type3, &r, &count3);
^~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:854:45: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign]
headerGetEntry(h, valf, &type3, &r, &count3);
^~~~~~~
In file included from rpmdata.h:15,
from rpmopen.c:51:
/usr/include/rpm/rpmlegacy.h:48:5: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'}
int headerGetEntry(Header h, rpm_tag_t tag,
^~~~~~~~~~~~~~
rpmopen.c:944:42: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
rpm->extra->filelist = xmlStrdup(buffer);
^~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:944:30: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
rpm->extra->filelist = xmlStrdup(buffer);
^
rpmopen.c: In function 'rpmBaseScan':
rpmopen.c:1395:11: warning: unused variable 'prefix' [-Wunused-variable]
char *prefix = "/";
^~~~~~
rpmopen.c: In function 'rpmDirScanOneDir':
rpmopen.c:1486:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->maint = xmlStrdup(rpm2html_maint);
^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1486:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->maint = xmlStrdup(rpm2html_maint);
^
rpmopen.c:1488:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->mail = xmlStrdup(rpm2html_mail);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1488:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->mail = xmlStrdup(rpm2html_mail);
^
rpmopen.c:1490:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->ftp = xmlStrdup(rpm2html_ftp);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1490:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->ftp = xmlStrdup(rpm2html_ftp);
^
rpmopen.c:1492:33: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc);
^~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1492:21: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc);
^
rpmopen.c:1494:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->dir = xmlStrdup(rpm2html_dir);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1494:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->dir = xmlStrdup(rpm2html_dir);
^
rpmopen.c:1496:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->host = xmlStrdup(rpm2html_host);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1496:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->host = xmlStrdup(rpm2html_host);
^
rpmopen.c:1498:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->name = xmlStrdup(rpm2html_name);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1498:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->name = xmlStrdup(rpm2html_name);
^
rpmopen.c:1500:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->url = xmlStrdup(rpm2html_url);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1500:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->url = xmlStrdup(rpm2html_url);
^
rpmopen.c:1456:16: warning: variable 'cur' set but not used [-Wunused-but-set-variable]
rpmDataPtr cur;
^~~
rpmopen.c: In function 'rpmDirScanOneDist':
rpmopen.c:1575:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->maint = xmlStrdup(rpm2html_maint);
^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1575:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->maint = xmlStrdup(rpm2html_maint);
^
rpmopen.c:1577:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->mail = xmlStrdup(rpm2html_mail);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1577:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->mail = xmlStrdup(rpm2html_mail);
^
rpmopen.c:1579:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->ftp = xmlStrdup(rpm2html_ftp);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1579:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->ftp = xmlStrdup(rpm2html_ftp);
^
rpmopen.c:1581:33: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc);
^~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1581:21: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc);
^
rpmopen.c:1583:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->dir = xmlStrdup(rpm2html_dir);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1583:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->dir = xmlStrdup(rpm2html_dir);
^
rpmopen.c:1585:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->host = xmlStrdup(rpm2html_host);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1585:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->host = xmlStrdup(rpm2html_host);
^
rpmopen.c:1587:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->name = xmlStrdup(rpm2html_name);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1587:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->name = xmlStrdup(rpm2html_name);
^
rpmopen.c:1589:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->url = xmlStrdup(rpm2html_url);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1589:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->url = xmlStrdup(rpm2html_url);
^
rpmopen.c:1529:16: warning: variable 'cur' set but not used [-Wunused-but-set-variable]
rpmDataPtr cur;
^~~
rpmopen.c: In function 'rpmDirScanAll':
rpmopen.c:1670:36: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->maint = xmlStrdup(rpm2html_maint);
^~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1670:24: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->maint = xmlStrdup(rpm2html_maint);
^
rpmopen.c:1672:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->mail = xmlStrdup(rpm2html_mail);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1672:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->mail = xmlStrdup(rpm2html_mail);
^
rpmopen.c:1674:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->ftp = xmlStrdup(rpm2html_ftp);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1674:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->ftp = xmlStrdup(rpm2html_ftp);
^
rpmopen.c:1676:37: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc);
^~~~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1676:25: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc);
^
rpmopen.c:1678:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->dir = xmlStrdup(rpm2html_dir);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1678:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->dir = xmlStrdup(rpm2html_dir);
^
rpmopen.c:1680:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->host = xmlStrdup(rpm2html_host);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1680:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->host = xmlStrdup(rpm2html_host);
^
rpmopen.c:1682:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->name = xmlStrdup(rpm2html_name);
^~~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1682:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->name = xmlStrdup(rpm2html_name);
^
rpmopen.c:1684:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign]
dir->url = xmlStrdup(rpm2html_url);
^~~~~~~~~~~~
In file included from /usr/include/libxml2/libxml/tree.h:18,
from /usr/include/libxml2/libxml/parser.h:16,
from /usr/include/libxml2/libxml/globals.h:18,
from /usr/include/libxml2/libxml/threads.h:35,
from /usr/include/libxml2/libxml/xmlmemory.h:218,
from memory.h:12,
from rpm2html.h:12,
from rpmopen.c:50:
/usr/include/libxml2/libxml/xmlstring.h:41:17: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *'
xmlStrdup (const xmlChar *cur);
^~~~~~~~~
rpmopen.c:1684:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
dir->url = xmlStrdup(rpm2html_url);
^
rpmopen.c: In function 'rpmBaseScan':
rpmopen.c:1431:9: warning: 'db' is used uninitialized in this function [-Wuninitialized]
if (rpmdbOpenAll(db)) {
^~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o html.o html.c
html.c: In function 'convertHTML':
html.c:379:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
buffer = (char *) xmlMalloc(buffer_size * sizeof(char));
^
html.c:393:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
buffer = (char *) xmlRealloc(buffer, buffer_size * sizeof(char));
^
html.c:405:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(cur, entities[(unsigned int) c]);
^~~
In file included from /usr/include/features.h:428,
from /usr/include/sys/types.h:25,
from html.c:10:
/usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^~~~~
html.c:410:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
return(buffer);
^
html.c: In function 'convertXML':
html.c:424:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
buffer = (char *) xmlMalloc(buffer_size * sizeof(char));
^
html.c:438:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
buffer = (char *) xmlRealloc(buffer, buffer_size * sizeof(char));
^
html.c:452:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
strcpy(cur, entities[(unsigned int) c]);
^~~
In file included from /usr/include/features.h:428,
from /usr/include/sys/types.h:25,
from html.c:10:
/usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *'
__NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
^~~~~
html.c:458:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
return(buffer);
^
html.c: In function 'convertCVE':
html.c:478:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
return str;
^~~
html.c:481:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
buffer2 = (char *) xmlMalloc(buffer2_size * sizeof(char));
^
html.c:495:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
buffer2 = (char *) xmlRealloc(buffer2, buffer2_size * sizeof(char));
^
html.c:575:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
sprintf(url, "%s", path,
^~ ~~~~
In file included from /usr/include/stdio.h:862,
from html.c:15:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 17 or more bytes (assuming 1215) into a destination of size 1000
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
html.c:4406:46: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 990 [-Wformat-truncation=]
snprintf(tmp, sizeof(tmp), " /%s", path,
^~ ~~~~
In file included from /usr/include/stdio.h:862,
from html.c:15:
/usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 18 or more bytes (assuming 1216) into a destination of size 1000
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -o rpm2html cleanup.o config.o html.o language.o memory.o rdf_api.o rdf.o rpm2html.o rpmdata.o rpmopen.o stringbuf.o -lxml2 -lrpm -lrpm -lrpmio -lpopt -lbz2 -lpthread -lrt -lz -lbz2 -lrpm -lrpm -lrpmio -lpopt -lbz2 -lpthread -lrt -lz -lbz2
make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2'
make all-am
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.19190
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/rpm2html-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/rpm2html-buildroot
+ cd rpm2html-1.11.2
+ mkdir -pv /usr/src/tmp/rpm2html-buildroot/var/www/html/rpm2html/local
mkdir: created directory '/usr/src/tmp/rpm2html-buildroot'
mkdir: created directory '/usr/src/tmp/rpm2html-buildroot/var'
mkdir: created directory '/usr/src/tmp/rpm2html-buildroot/var/www'
mkdir: created directory '/usr/src/tmp/rpm2html-buildroot/var/www/html'
mkdir: created directory '/usr/src/tmp/rpm2html-buildroot/var/www/html/rpm2html'
mkdir: created directory '/usr/src/tmp/rpm2html-buildroot/var/www/html/rpm2html/local'
+ install -d /usr/src/tmp/rpm2html-buildroot/usr/share/rpm2html
+ install -pD -m755 rpm2html /usr/src/tmp/rpm2html-buildroot/usr/bin/rpm2html
+ install -pD -m644 rpm2html.config /usr/src/tmp/rpm2html-buildroot/etc/rpm2html.config
+ install -pD -m644 rpm2html.1 /usr/src/tmp/rpm2html-buildroot/usr/share/man/man1/rpm2html.1
+ subst 's@url\=\/rpm2html@url=/var/www/html/rpm2html@g' /usr/src/tmp/rpm2html-buildroot/etc/rpm2html.config
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/rpm2html-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/rpm2html-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/rpm2html-buildroot/ (default)
Compressing files in /usr/src/tmp/rpm2html-buildroot (auto)
Verifying ELF objects in /usr/src/tmp/rpm2html-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: WARNING: ./usr/bin/rpm2html: uses non-LFS functions: __lxstat __xstat creat fopen readdir
Hardlinking identical .pyc and .pyo files
Processing files: rpm2html-1.11.2-alt1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.71282
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd rpm2html-1.11.2
+ DOCDIR=/usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ export DOCDIR
+ rm -rf /usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ /bin/mkdir -p /usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ cp -prL CHANGES BUGS Copyright INSTALL PRINCIPLES README TODO /usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ chmod -R go-w /usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ chmod -R a+rX /usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ cp -prL rpm2html-cdrom.config rpm2html-en.config /usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ chmod -R go-w /usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ chmod -R a+rX /usr/src/tmp/rpm2html-buildroot/usr/share/doc/rpm2html-1.11.2
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.aBVqGH
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NOtNUw
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services)
Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libpthread.so.0(GLIBC_2.0), librpm.so.7 >= set:mhMxdKGRBH6Rhtp0FPwXOabvAFWAR83Fq0l14uwgKz9rG8iWVn1RYUn2, librpmio.so.7 >= set:liY6yqZJ481alDIp2, libxml2.so.2 >= set:oiEKk2wuSTxa9qg2l9MbTNddUtcZAjRBa7oZ5lKQHjBxeQ0VyegdHHRSqc6Ol8gZFNa3Cr9Ojh06DrqRJL7p1Txgu3CmVbV6, libxml2.so.2(LIBXML2_2.4.30), libz.so.1 >= set:khgtd6gjyWbva, rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.b7Lwgz
Creating rpm2html-debuginfo package
Processing files: rpm2html-debuginfo-1.11.2-alt1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.H4ScCG
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.yhGDN5
find-requires: running scripts (debuginfo)
Requires: rpm2html = 1.11.2-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libpthread.so.0), debug(librpm.so.7), debug(librpmio.so.7), debug(libxml2.so.2), debug(libz.so.1)
Wrote: /usr/src/RPM/RPMS/i586/rpm2html-1.11.2-alt1.i586.rpm
Wrote: /usr/src/RPM/RPMS/i586/rpm2html-debuginfo-1.11.2-alt1.i586.rpm
9.49user 1.86system 0:14.34elapsed 79%CPU (0avgtext+0avgdata 42408maxresident)k
0inputs+0outputs (0major+726267minor)pagefaults 0swaps
13.08user 4.24system 0:20.25elapsed 85%CPU (0avgtext+0avgdata 114656maxresident)k
0inputs+0outputs (0major+1022239minor)pagefaults 0swaps