<86>Nov 12 06:21:40 userdel[128504]: delete user 'rooter' <86>Nov 12 06:21:40 userdel[128504]: removed group 'rooter' owned by 'rooter' <86>Nov 12 06:21:40 userdel[128504]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 12 06:21:40 groupadd[128519]: group added to /etc/group: name=rooter, GID=618 <86>Nov 12 06:21:40 groupadd[128519]: group added to /etc/gshadow: name=rooter <86>Nov 12 06:21:40 groupadd[128519]: new group: name=rooter, GID=618 <86>Nov 12 06:21:40 useradd[128538]: new user: name=rooter, UID=618, GID=618, home=/root, shell=/bin/bash <86>Nov 12 06:21:40 userdel[128566]: delete user 'builder' <86>Nov 12 06:21:40 userdel[128566]: removed group 'builder' owned by 'builder' <86>Nov 12 06:21:40 userdel[128566]: removed shadow group 'builder' owned by 'builder' <86>Nov 12 06:21:40 groupadd[128581]: group added to /etc/group: name=builder, GID=619 <86>Nov 12 06:21:40 groupadd[128581]: group added to /etc/gshadow: name=builder <86>Nov 12 06:21:40 groupadd[128581]: new group: name=builder, GID=619 <86>Nov 12 06:21:40 useradd[128595]: new user: name=builder, UID=619, GID=619, home=/usr/src, shell=/bin/bash <13>Nov 12 06:21:42 rpmi: libpopt-devel-1:1.16-alt1 1500322986 installed <13>Nov 12 06:21:42 rpmi: librpm-devel-4.13.0.1-alt4 sisyphus.214147.300 1538755302 installed <13>Nov 12 06:21:42 rpmi: bzlib-devel-1:1.0.6-alt5 1508883171 installed <13>Nov 12 06:21:42 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed <13>Nov 12 06:21:42 rpmi: libxml2-devel-1:2.9.4.0.12.e905-alt1.1 1525115767 installed <13>Nov 12 06:21:42 rpmi: libdb4.7-devel-4.7.25-alt9 1490438479 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.25451 + 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.83085 + 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: http://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 + '[' -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 + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + readlink -e -- ./configure + ./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 --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 for style of include used by make... GNU 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 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:0: /usr/include/libxml2/libxml/xmlmemory.h:104:2: 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:0: /usr/include/libxml2/libxml/xmlmemory.h:104:2: note: expected 'xmlMallocFunc {aka void * (*)(unsigned int)}' but argument is of type 'void * (*)(int)' xmlMemSetup (xmlFreeFunc freeFunc, ^~~~~~~~~~~ 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:0: /usr/include/libxml2/libxml/xmlmemory.h:104:2: note: expected 'xmlReallocFunc {aka void * (*)(void *, unsigned int)}' but argument is of type 'void * (*)(void *, int)' xmlMemSetup (xmlFreeFunc freeFunc, ^~~~~~~~~~~ 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 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:0, 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 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 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 cleanup.o cleanup.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 -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 -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:0, 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 return 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 -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 rdf_api.o rdf_api.c rdf_api.c: In function 'rdfRead': rdf_api.c:71:16: 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:0: /usr/include/string.h:136: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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:45: 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:0: /usr/include/string.h:136: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:45: 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:0: /usr/include/string.h:136: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:0, 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:0, 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:0, 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:38: 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:0: /usr/include/string.h:384: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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:37: 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:0: /usr/include/string.h:384: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:0, 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:0, 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:0, 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:0, 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:42: 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:0: /usr/include/string.h:136: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 differ in signedness [-Wpointer-sign] *value = xmlNodeListGetString(desc->doc, list->xmlChildrenNode, 1); ^ rdf_api.c:328:18: 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:0: /usr/include/string.h:136: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:18: 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:0: /usr/include/string.h:136: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:18: 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:0: /usr/include/string.h:136: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:18: 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:0: /usr/include/string.h:136: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:20: 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:0: /usr/include/string.h:136: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 differ in signedness [-Wpointer-sign] *value = xmlNodeListGetString(desc->doc, best->xmlChildrenNode, 1); ^ rdf_api.c:353:14: 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:0: /usr/include/string.h:136: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:14: 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:0: /usr/include/string.h:136: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:14: 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:0: /usr/include/string.h:136: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:14: 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:0: /usr/include/string.h:136: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:42: 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:0: /usr/include/string.h:136: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:0, 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:0, 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:0, 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:42: 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:0: /usr/include/string.h:136: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:0, 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:0, 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:0, 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:0, 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:0, 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:17: 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:0: /usr/include/string.h:136: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:17: 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:0: /usr/include/string.h:136: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:17: 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:0: /usr/include/string.h:136: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:17: 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:0: /usr/include/string.h:136: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 return differ in signedness [-Wpointer-sign] return(xmlNodeListGetString(elem->doc, elem->xmlChildrenNode, 1)); ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdf_api.c: In function 'rdfElemGetPropertyName': rdf_api.c:500:19: 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:0: /usr/include/string.h:166: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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 differ in signedness [-Wpointer-sign] } else rpm->os = xmlStrdup("linux"); ^ rdf.c:265:36: 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:0, 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 differ in signedness [-Wpointer-sign] } else rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]); ^ rdf.c:275:35: 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:0, 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 differ in signedness [-Wpointer-sign] } else rpm->group = xmlStrdup(localizedStrings[LANG_NO_GROUP]); ^ rdf.c:279:35: 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:0, 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 differ in signedness [-Wpointer-sign] else rpm->summary = xmlStrdup(localizedStrings[LANG_NO_SUMMARY]); ^ rdf.c:283:46: 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:0, 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 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:0, 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 differ in signedness [-Wpointer-sign] } else rpm->extra->srcrpm = xmlStrdup(""); ^ rdf.c:316:39: 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:0, 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 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:0, 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:0, 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:0, 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:0, 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:0, 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:0: 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:0, 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 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:0, 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 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:0, 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:0, 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:0, 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:0, 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:0, 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:8: 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:0, 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:0, 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:8: 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:0, 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:0, 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:8: 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:0, 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:0, 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:8: 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:0, 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:0, 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:8: 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:0, 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:0, 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:0, 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, ^~~~~~~~~~ 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 differ in signedness [-Wpointer-sign] res->rpmpath = xmlStrdup(rpmpath); ^ rpmdata.c: In function 'protectEmail': rpmdata.c:917:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (char *) xmlMalloc(buffer_size * sizeof(char)); ^ rpmdata.c:931:13: warning: pointer targets in assignment 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:0, 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 return 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:0, 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 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:0, 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 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:0, 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 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:34: 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:0, 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 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:0, 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 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:0, 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:0, 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:0, 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:23: 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:0, 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 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:0, 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 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:38: 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:0, 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 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:0, 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 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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 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:0, 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 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:0, 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:0, 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:0, 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:0, 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 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:0, 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:0, 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:0, 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:0, 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 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:0, 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:0, 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:0, 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:0, 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 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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 differ in signedness [-Wpointer-sign] rpm->extra->changelog = xmlStrdup(protectEmail(buffer)); ^ rpmopen.c:740:37: 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:0, 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 differ in signedness [-Wpointer-sign] rpm->vendor = xmlStrdup(rpm->extra->packager); ^ rpmopen.c:742:37: 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:0, 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 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:0, 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:0, 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:0, 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:0, 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 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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:0, 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 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 differ in signedness [-Wpointer-sign] buffer = (char *) xmlMalloc(buffer_size * sizeof(char)); ^ html.c:393:13: warning: pointer targets in assignment 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:0, 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 return differ in signedness [-Wpointer-sign] return(buffer); ^ html.c: In function 'convertXML': html.c:424:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buffer = (char *) xmlMalloc(buffer_size * sizeof(char)); ^ html.c:438:13: warning: pointer targets in assignment 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:0, 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 return 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 differ in signedness [-Wpointer-sign] buffer2 = (char *) xmlMalloc(buffer2_size * sizeof(char)); ^ html.c:495:14: warning: pointer targets in assignment 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, "= 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.507upM 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.qOkPvl find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.evqhXd 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 10.98user 1.82system 0:16.49elapsed 77%CPU (0avgtext+0avgdata 39396maxresident)k 0inputs+0outputs (0major+669327minor)pagefaults 0swaps 19.22user 4.68system 0:28.48elapsed 83%CPU (0avgtext+0avgdata 123080maxresident)k 0inputs+0outputs (0major+1059789minor)pagefaults 0swaps