<86>Oct 29 15:48:54 userdel[1901147]: delete user 'rooter' <86>Oct 29 15:48:54 userdel[1901147]: removed group 'rooter' owned by 'rooter' <86>Oct 29 15:48:54 userdel[1901147]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 29 15:48:54 groupadd[1901174]: group added to /etc/group: name=rooter, GID=1850 <86>Oct 29 15:48:54 groupadd[1901174]: group added to /etc/gshadow: name=rooter <86>Oct 29 15:48:54 groupadd[1901174]: new group: name=rooter, GID=1850 <86>Oct 29 15:48:54 useradd[1901194]: new user: name=rooter, UID=1850, GID=1850, home=/root, shell=/bin/bash, from=none <86>Oct 29 15:48:54 userdel[1901232]: delete user 'builder' <86>Oct 29 15:48:54 userdel[1901232]: removed group 'builder' owned by 'builder' <86>Oct 29 15:48:54 userdel[1901232]: removed shadow group 'builder' owned by 'builder' <86>Oct 29 15:48:54 groupadd[1901269]: group added to /etc/group: name=builder, GID=1851 <86>Oct 29 15:48:54 groupadd[1901269]: group added to /etc/gshadow: name=builder <86>Oct 29 15:48:54 groupadd[1901269]: new group: name=builder, GID=1851 <86>Oct 29 15:48:54 useradd[1901287]: new user: name=builder, UID=1851, GID=1851, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/rpm2html-1.11.2-alt1.src.rpm: license not found in '/usr/share/license' directory: Copyright /usr/src/in/srpm/rpm2html-1.11.2-alt1.src.rpm: license not found in '/usr/share/license' directory: like <13>Oct 29 15:48:57 rpmi: libpopt-devel-1:1.18-alt1 sisyphus+283609.300.5.1 1630003299 installed <13>Oct 29 15:48:57 rpmi: librpm-devel-4.13.0.1-alt40 sisyphus+327286.4100.14.1 1711485411 installed <13>Oct 29 15:48:57 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Oct 29 15:48:57 rpmi: libxml2-devel-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333686 installed <13>Oct 29 15:48:57 rpmi: libdb4.7-devel-4.7.25-alt13 sisyphus+341099.200.4.1 1709732031 installed <13>Oct 29 15:48:57 rpmi: bzlib-devel-1:1.0.8-alt3 sisyphus+327286.5000.14.1 1711487039 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/rpm2html-1.11.2-alt1.nosrc.rpm (w1.gzdio) Installing rpm2html-1.11.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.65409 + 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.65409 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rpm2html-1.11.2 + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' 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 Gtkdoc autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.in:4: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.in:4: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:745: AM_CONFIG_HEADER is expanded from... configure.in:4: the top level configure.in:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:24: the top level configure.in:140: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:140: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:140: the top level configure.in:213: warning: AC_OUTPUT should be used without arguments. configure.in:213: You should run autoupdate. autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoheader-2.71: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader-2.71: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader-2.71: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader-2.71: WARNING: is deprecated and discouraged. autoheader-2.71: autoheader-2.71: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader-2.71: WARNING: 'AC_DEFINE' allows one to define a template without autoheader-2.71: WARNING: 'acconfig.h': autoheader-2.71: autoheader-2.71: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.71: [Define if a function 'main' is needed.]) autoheader-2.71: autoheader-2.71: WARNING: More sophisticated templates can also be produced, see the autoheader-2.71: WARNING: documentation. autoreconf-default: running: automake --add-missing --force-missing automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:24: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:29: installing './compile' configure.in:24: installing './missing' Makefile.am:21: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: Leaving directory '.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-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 the compiler supports GNU C... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to enable C11 features... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-alt-linux-gcc... none checking whether ln -s works... yes checking for cp... /usr/bin/cp checking for rm... /usr/bin/rm checking for mv... /usr/bin/mv checking for tar... /usr/bin/tar checking for gzip... /usr/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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for db_185.h... yes checking for db1/db.h... no checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for malloc.h... yes checking for rpm/rpmio.h... yes checking for stdarg.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for time.h... yes checking for zlib.h... yes checking for rpm/rpmlib.h... 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 -j16 make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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] 168 | return(xmlStrdup(str)); | ^~~ | | | const char * In file included from /usr/include/libxml2/libxml/tree.h:27, from /usr/include/libxml2/libxml/parser.h:15, from memory.h:13, from stringbuf.c:15: /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ stringbuf.c:168:12: warning: pointer targets in returning 'xmlChar *' {aka 'unsigned char *'} from a function with return type 'const char *' differ in signedness [-Wpointer-sign] 168 | 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' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o memory.o memory.c memory.c: In function 'debugInitMemory': memory.c:495:18: error: passing argument 1 of 'xmlMemSetup' from incompatible pointer type [-Wincompatible-pointer-types] 495 | xmlMemSetup(debugFree, debugMalloc, debugRealloc, debugStrdup); | ^~~~~~~~~ | | | int (*)(void *) In file included from memory.c:11: /usr/include/libxml2/libxml/xmlmemory.h:106:38: note: expected 'xmlFreeFunc' {aka 'void (*)(void *)'} but argument is of type 'int (*)(void *)' 106 | xmlMemSetup (xmlFreeFunc freeFunc, | ~~~~~~~~~~~~^~~~~~~~ memory.c:495:29: error: passing argument 2 of 'xmlMemSetup' from incompatible pointer type [-Wincompatible-pointer-types] 495 | xmlMemSetup(debugFree, debugMalloc, debugRealloc, debugStrdup); | ^~~~~~~~~~~ | | | void * (*)(int) /usr/include/libxml2/libxml/xmlmemory.h:107:40: note: expected 'xmlMallocFunc' {aka 'void * (*)(long unsigned int)'} but argument is of type 'void * (*)(int)' 107 | xmlMallocFunc mallocFunc, | ~~~~~~~~~~~~~~^~~~~~~~~~ memory.c:495:42: error: passing argument 3 of 'xmlMemSetup' from incompatible pointer type [-Wincompatible-pointer-types] 495 | xmlMemSetup(debugFree, debugMalloc, debugRealloc, debugStrdup); | ^~~~~~~~~~~~ | | | void * (*)(void *, int) /usr/include/libxml2/libxml/xmlmemory.h:108:41: note: expected 'xmlReallocFunc' {aka 'void * (*)(void *, long unsigned int)'} but argument is of type 'void * (*)(void *, int)' 108 | xmlReallocFunc reallocFunc, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ memory.c:497:20: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 497 | if ((freeFunc != debugFree) || | ^~ memory.c:498:22: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 498 | (mallocFunc != debugMalloc) || | ^~ memory.c:499:23: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 499 | (reallocFunc != debugRealloc) || | ^~ memory.c:502:10: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 502 | exit(1); | ^~~~ memory.c:13:1: note: include '' or provide a declaration of 'exit' 12 | #include "memory.h" +++ |+#include 13 | memory.c:502:10: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 502 | exit(1); | ^~~~ memory.c:502:10: note: include '' or provide a declaration of 'exit' memory.c: At top level: memory.c:68:23: warning: 'debugMemSizeMeg' defined but not used [-Wunused-variable] 68 | static unsigned long debugMemSizeMeg = 0; | ^~~~~~~~~~~~~~~ make: *** [Makefile:515: memory.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o language.o language.c language.c: In function 'readLanguageFile': language.c:216:63: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 216 | "File %s contains too many localized messages (%d expected)\n", | ~^ | | | int | %ld language.c:225:61: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 225 | localizedStrings[currentString] = xmlStrdup(buffer); | ^~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/tree.h:27, from /usr/include/libxml2/libxml/parser.h:15, from memory.h:13, from rpm2html.h:12, from language.c:17: /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ language.c:225:49: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 225 | 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' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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] 155 | 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' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o rdf_api.o rdf_api.c rdf_api.c: In function 'rdfRead': rdf_api.c:71:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 71 | if (strcmp(root->name, "RDF")) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} In file included from rdf_api.c:11: /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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] 111 | res = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from /usr/include/libxml2/libxml/parser.h:15, from memory.h:13, from rpm2html.h:12, from rdf_api.c:13: /usr/include/libxml2/libxml/tree.h:817:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 817 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ rdf_api.c:112:49: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 112 | res->xmlRootNode = xmlNewDocNode(res, NULL, "RDF", NULL); | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:866:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 866 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:113:38: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 113 | rdf = xmlNewNs(res->xmlRootNode, "http://www.w3.org/TR/WD-rdf-syntax#", "RDF"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:810:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 810 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:113:77: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 113 | rdf = xmlNewNs(res->xmlRootNode, "http://www.w3.org/TR/WD-rdf-syntax#", "RDF"); | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:811:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 811 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ rdf_api.c:114:38: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 114 | rdf = xmlNewNs(res->xmlRootNode, "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:810:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 810 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:114:85: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 114 | rdf = xmlNewNs(res->xmlRootNode, "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "rdf"); | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:811:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 811 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ rdf_api.c: In function 'rdfNewNamespace': rdf_api.c:130:29: warning: pointer targets in passing argument 2 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 130 | ns = xmlNewNs(root, url, namespace); | ^~~ | | | const char * /usr/include/libxml2/libxml/tree.h:810:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 810 | const xmlChar *href, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:130:34: warning: pointer targets in passing argument 3 of 'xmlNewNs' differ in signedness [-Wpointer-sign] 130 | ns = xmlNewNs(root, url, namespace); | ^~~~~~~~~ | | | const char * /usr/include/libxml2/libxml/tree.h:811:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 811 | const xmlChar *prefix); | ~~~~~~~~~~~~~~~^~~~~~ 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] 144 | return((rdfNamespace) xmlSearchNsByHref(rdf, root, href)); | ^~~~ | | | const char * /usr/include/libxml2/libxml/tree.h:1030:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1030 | const xmlChar *href); | ~~~~~~~~~~~~~~~^~~~ rdf_api.c: In function 'rdfFirstDescription': rdf_api.c:186:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 186 | if ((tree->ns == rdfNs) && (!strcmp(tree->name, "Description"))) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c: In function 'rdfNextDescription': rdf_api.c:201:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 201 | if ((desc->ns == rdfNs) && (!strcmp(desc->name, "Description"))) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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] 219 | tree = xmlNewChild(root, NULL, "Description", NULL); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:883:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 883 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:221:26: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign] 221 | xmlNewProp(tree, "ID", id); | ^~~~ | | | char * /usr/include/libxml2/libxml/tree.h:828:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 828 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:221:32: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign] 221 | xmlNewProp(tree, "ID", id); | ^~ | | | const char * /usr/include/libxml2/libxml/tree.h:829:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 829 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf_api.c:224:9: warning: '__oldXMLWDcompatibility' is deprecated [-Wdeprecated-declarations] 224 | if (oldXMLWDcompatibility) { | ^~ In file included from /usr/include/libxml2/libxml/xmlmemory.h:16, from memory.h:12: /usr/include/libxml2/libxml/xmlversion.h:499:27: note: declared here 499 | attrs XMLPUBFUN type *__##name(void); | ^~ /usr/include/libxml2/libxml/parser.h:885:16: note: in expansion of macro 'XML_DECLARE_GLOBAL' 885 | #define XML_OP XML_DECLARE_GLOBAL | ^~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/parser.h:853:3: note: in expansion of macro 'XML_OP' 853 | XML_OP(oldXMLWDcompatibility, int, XML_DEPRECATED) \ | ^~~~~~ /usr/include/libxml2/libxml/parser.h:881:3: note: in expansion of macro 'XML_GLOBALS_PARSER_CORE' 881 | XML_GLOBALS_PARSER_CORE \ | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/parser.h:886:1: note: in expansion of macro 'XML_GLOBALS_PARSER' 886 | XML_GLOBALS_PARSER | ^~~~~~~~~~~~~~~~~~ rdf_api.c:229:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 229 | buf = (char *) xmlMalloc(strlen(ns->prefix) + 10); | ~~^~~~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ rdf_api.c:231:30: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign] 231 | xmlNewProp(tree, buf, about); | ^~~ | | | char * /usr/include/libxml2/libxml/tree.h:828:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 828 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:231:35: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign] 231 | xmlNewProp(tree, buf, about); | ^~~~~ | | | const char * /usr/include/libxml2/libxml/tree.h:829:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 829 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf_api.c:234:30: warning: pointer targets in passing argument 2 of 'xmlNewProp' differ in signedness [-Wpointer-sign] 234 | xmlNewProp(tree, "about", about); | ^~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:828:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 828 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:234:39: warning: pointer targets in passing argument 3 of 'xmlNewProp' differ in signedness [-Wpointer-sign] 234 | xmlNewProp(tree, "about", about); | ^~~~~ | | | const char * /usr/include/libxml2/libxml/tree.h:829:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 829 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ 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] 246 | res = (char *) xmlGetProp(desc, "ID"); | ^~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ 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] 255 | res = (char *) xmlGetProp(desc, "about"); | ^~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:261:37: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 261 | res = (char *) xmlGetProp(desc, "HREF"); | ^~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:264:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 264 | buf = (char *) xmlMalloc(strlen(ns->prefix) + 10); | ~~^~~~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 407 | 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] 266 | res = (char *) xmlGetProp(desc, buf); | ^~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ 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] 277 | res = (char *) xmlGetProp(elem, "resource"); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ 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] 282 | xmlSetProp(elem, "resource", URI); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:282:34: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 282 | xmlSetProp(elem, "resource", URI); | ^~~ | | | const char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf_api.c: In function 'rdfGetValue': rdf_api.c:316:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 316 | if ((list->ns == ns) && (!strcmp(list->name, property))) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:321:24: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 321 | *value = xmlNodeListGetString(desc->doc, list->xmlChildrenNode, 1); | ^ rdf_api.c:328:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 328 | if (!strcmp(list->name, "Bag")) return(RDF_BAG); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:329:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 329 | if (!strcmp(list->name, "Seq")) return(RDF_SEQ); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:330:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 330 | if (!strcmp(list->name, "Alt")) return(RDF_ALT); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:331:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 331 | if (!strcmp(list->name, "Description")) return(RDF_DESC); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:335:31: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 335 | (!strcmp(list->name, property))) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:350:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 350 | *value = xmlNodeListGetString(desc->doc, best->xmlChildrenNode, 1); | ^ rdf_api.c:353:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 353 | if (!strcmp(best->name, "Bag")) return(RDF_BAG); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:354:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 354 | if (!strcmp(best->name, "Seq")) return(RDF_SEQ); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:355:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 355 | if (!strcmp(best->name, "Alt")) return(RDF_ALT); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:356:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 356 | if (!strcmp(best->name, "Description")) return(RDF_DESC); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c: In function 'rdfSetValue': rdf_api.c:377:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 377 | if ((list->ns == ns) && (!strcmp(list->name, property))) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:383:57: warning: pointer targets in passing argument 2 of 'xmlEncodeEntitiesReentrant' differ in signedness [-Wpointer-sign] 383 | tmp = xmlEncodeEntitiesReentrant(desc->doc, value); | ^~~~~ | | | const char * In file included from /usr/include/libxml2/libxml/parser.h:20: /usr/include/libxml2/libxml/entities.h:125:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 125 | const xmlChar *input); | ~~~~~~~~~~~~~~~^~~~~ rdf_api.c:395:49: warning: pointer targets in passing argument 2 of 'xmlEncodeEntitiesReentrant' differ in signedness [-Wpointer-sign] 395 | tmp = xmlEncodeEntitiesReentrant(desc->doc, value); | ^~~~~ | | | const char * /usr/include/libxml2/libxml/entities.h:125:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 125 | const xmlChar *input); | ~~~~~~~~~~~~~~~^~~~~ rdf_api.c:396:27: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 396 | xmlNewChild(desc, ns, property, tmp); | ^~~~~~~~ | | | const char * /usr/include/libxml2/libxml/tree.h:883:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 883 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c: In function 'rdfRemoveProperty': rdf_api.c:413:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 413 | if ((list->ns == ns) && (!strcmp(list->name, property))) { | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | 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] 444 | cur = xmlNewChild(desc, ns, property, NULL); | ^~~~~~~~ | | | const char * /usr/include/libxml2/libxml/tree.h:883:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 883 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:445:33: warning: pointer targets in passing argument 3 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 445 | cur = xmlNewChild(cur, rdf, "Bag", NULL); | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:883:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 883 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ 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] 457 | cur = xmlNewChild(bag, ns, property, (char *) value); | ^~~~~~~~ | | | const char * /usr/include/libxml2/libxml/tree.h:883:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 883 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c:457:46: warning: pointer targets in passing argument 4 of 'xmlNewChild' differ in signedness [-Wpointer-sign] 457 | cur = xmlNewChild(bag, ns, property, (char *) value); | ^~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:884:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 884 | const xmlChar *content); | ~~~~~~~~~~~~~~~^~~~~~~ rdf_api.c:459:43: warning: pointer targets in passing argument 3 of 'xmlNewDocNode' differ in signedness [-Wpointer-sign] 459 | cur = xmlNewDocNode(bag->doc, ns, property, NULL); | ^~~~~~~~ | | | const char * /usr/include/libxml2/libxml/tree.h:866:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 866 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf_api.c: In function 'rdfElemGetType': rdf_api.c:489:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 489 | if (!strcmp(elem->name, "Bag")) return(RDF_BAG); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:490:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 490 | if (!strcmp(elem->name, "Seq")) return(RDF_SEQ); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:491:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 491 | if (!strcmp(elem->name, "Alt")) return(RDF_ALT); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c:492:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 492 | if (!strcmp(elem->name, "Description")) return(RDF_DESC); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ rdf_api.c: In function 'rdfElemGetValue': rdf_api.c:497:12: warning: pointer targets in returning 'xmlChar *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] 497 | return(xmlNodeListGetString(elem->doc, elem->xmlChildrenNode, 1)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rdf_api.c: In function 'rdfElemGetPropertyName': rdf_api.c:500:23: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 500 | return(strdup(elem->name)); | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} 187 | 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] 513 | tmp = xmlEncodeEntitiesReentrant(elem->doc, value); | ^~~~~ | | | const char * /usr/include/libxml2/libxml/entities.h:125:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 125 | const xmlChar *input); | ~~~~~~~~~~~~~~~^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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] 224 | cur->color = xmlStrdup("#ffffff"); | ^~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/tree.h:27, from /usr/include/libxml2/libxml/parser.h:15, from memory.h:13, from rpm2html.h:12, from config.c:23: /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:224:16: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 224 | cur->color = xmlStrdup("#ffffff"); | ^ config.c:236:29: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 236 | cur->rpmdir = xmlStrdup(dirname); | ^~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:236:17: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 236 | cur->rpmdir = xmlStrdup(dirname); | ^ config.c: In function 'addConfigEntry': config.c:270:38: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 270 | rpm2html_url = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:270:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 270 | rpm2html_url = xmlStrdup(value); | ^ config.c:272:40: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 272 | rpm2html_maint = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:272:28: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 272 | rpm2html_maint = xmlStrdup(value); | ^ config.c:274:39: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 274 | rpm2html_help = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:274:27: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 274 | rpm2html_help = xmlStrdup(value); | ^ config.c:276:39: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 276 | rpm2html_mail = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:276:27: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 276 | rpm2html_mail = xmlStrdup(value); | ^ config.c:278:38: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 278 | rpm2html_dir = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:278:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 278 | rpm2html_dir = xmlStrdup(value); | ^ config.c:280:38: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 280 | rpm2html_ftp = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:280:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 280 | rpm2html_ftp = xmlStrdup(value); | ^ config.c:282:41: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 282 | rpm2html_ftpsrc = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:282:29: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 282 | rpm2html_ftpsrc = xmlStrdup(value); | ^ config.c:284:39: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 284 | rpm2html_name = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:284:27: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 284 | rpm2html_name = xmlStrdup(value); | ^ config.c:286:39: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 286 | rpm2html_host = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:286:27: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 286 | rpm2html_host = xmlStrdup(value); | ^ config.c:310:42: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 310 | rpm2html_rdf_dir = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:310:30: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 310 | rpm2html_rdf_dir = xmlStrdup(value); | ^ config.c:323:52: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 323 | rpm2html_rdf_resources_dir = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:323:40: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 323 | rpm2html_rdf_resources_dir = xmlStrdup(value); | ^ config.c:414:65: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 414 | metadata_mirrors[nb_metadata_mirrors++] = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:414:53: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 414 | metadata_mirrors[nb_metadata_mirrors++] = xmlStrdup(value); | ^ config.c:426:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 426 | cur->name = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:426:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 426 | cur->name = xmlStrdup(value); | ^ config.c:428:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 428 | cur->dir = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:428:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 428 | cur->dir = xmlStrdup(value); | ^ config.c:430:33: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 430 | cur->subdir = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:430:21: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 430 | cur->subdir = xmlStrdup(value); | ^ config.c:432:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 432 | cur->dbpath = xmlStrdup(value); /* Added by A. Gibert */ | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:432:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 432 | cur->dbpath = xmlStrdup(value); /* Added by A. Gibert */ | ^ config.c:434:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 434 | cur->url = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:434:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 434 | cur->url = xmlStrdup(value); | ^ config.c:436:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 436 | cur->ftp = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:436:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 436 | cur->ftp = xmlStrdup(value); | ^ config.c:438:33: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 438 | cur->ftpsrc = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:438:21: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 438 | cur->ftpsrc = xmlStrdup(value); | ^ config.c:441:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 441 | cur->color = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:441:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 441 | cur->color = xmlStrdup(value); | ^ config.c:444:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 444 | cur->trust = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:444:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 444 | cur->trust = xmlStrdup(value); | ^ config.c:446:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 446 | rpm2html_host = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:446:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 446 | rpm2html_host = xmlStrdup(value); | ^ config.c:448:38: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 448 | rpm2html_rdf_dir = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:448:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 448 | rpm2html_rdf_dir = xmlStrdup(value); | ^ config.c:506:53: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 506 | cur->mirrors[cur->nb_mirrors++] = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:506:41: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 506 | 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] 562 | url = xmlStrdup(value); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:562:9: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 562 | url = xmlStrdup(value); | ^ config.c:579:66: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 579 | rpm2html_headers_name[rpm2html_nb_extra_headers] = xmlStrdup(name); | ^~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ config.c:579:54: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 579 | 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' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o rdf.o rdf.c rdf.c: In function 'rpmOpenRdfFile': rdf.c:193:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 193 | fprintf(stderr, "cannot allocate %d bytes: %s\n", sizeof(rpmData), | ~^ ~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld rdf.c:200:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 200 | fprintf(stderr, "cannot allocate %d bytes: %s\n", sizeof(rpmExtraData), | ~^ ~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld rdf.c:247:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 247 | } else rpm->arch = xmlStrdup("noarch"); | ^~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/tree.h:27, from /usr/include/libxml2/libxml/parser.h:15, from memory.h:13, from rpm2html.h:12, from rdf.c:25: /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:247:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 247 | } else rpm->arch = xmlStrdup("noarch"); | ^ rdf.c:253:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 253 | } else rpm->os = xmlStrdup("linux"); | ^~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:253:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 253 | } else rpm->os = xmlStrdup("linux"); | ^ rdf.c:265:52: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 265 | } else rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:265:24: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 265 | } else rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]); | ^ rdf.c:275:51: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 275 | } else rpm->group = xmlStrdup(localizedStrings[LANG_NO_GROUP]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:275:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 275 | } else rpm->group = xmlStrdup(localizedStrings[LANG_NO_GROUP]); | ^ rdf.c:279:51: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 279 | else rpm->summary = xmlStrdup(localizedStrings[LANG_NO_SUMMARY]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:279:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 279 | else rpm->summary = xmlStrdup(localizedStrings[LANG_NO_SUMMARY]); | ^ rdf.c:283:62: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 283 | else rpm->extra->description = xmlStrdup(localizedStrings[LANG_NO_DESCRIPTION]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:283:34: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 283 | 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] 296 | } else rpm->extra->srcrpm = xmlStrdup(""); | ^~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:296:31: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 296 | } else rpm->extra->srcrpm = xmlStrdup(""); | ^ rdf.c:316:55: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 316 | else rpm->extra->host = xmlStrdup(localizedStrings[LANG_NO_HOST]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:316:27: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 316 | else rpm->extra->host = xmlStrdup(localizedStrings[LANG_NO_HOST]); | ^ rdf.c:413:52: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 413 | if ((reqval = xmlGetProp(elem, "gt")) != NULL) { | ^~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ rdf.c:415:59: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 415 | } else if ((reqval = xmlGetProp(elem, "geq")) != NULL) { | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ rdf.c:417:59: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 417 | } else if ((reqval = xmlGetProp(elem, "lt")) != NULL) { | ^~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ rdf.c:419:59: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 419 | } else if ((reqval = xmlGetProp(elem, "leq")) != NULL) { | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ rdf.c:421:59: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] 421 | } else if ((reqval = xmlGetProp(elem, "equ")) != NULL) { | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1067 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ rdf.c:429:58: warning: pointer targets in passing argument 2 of 'rpmRequAdd' differ in signedness [-Wpointer-sign] 429 | reqval, dep, rpm, 0); | ^~~~~~ | | | xmlChar * {aka unsigned char *} In file included from rdf.c:26: rpmdata.h:221:48: note: expected 'char *' but argument is of type 'xmlChar *' {aka 'unsigned char *'} 221 | extern rpmRessPtr rpmRequAdd(char *requ, char *requv, rpm_dep_flag requf, rpmDataPtr rpm, int installed); | ~~~~~~^~~~~ rdf.c:455:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 455 | rpm->filename = xmlStrdup(filename); | ^~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:455:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 455 | rpm->filename = xmlStrdup(filename); | ^ rdf.c:460:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 460 | rpm->filename = xmlStrdup(nameBuffer); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rdf.c:460:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 460 | rpm->filename = xmlStrdup(nameBuffer); | ^ rdf.c: In function 'dumpRpmRdf': rdf.c:624:34: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 624 | xmlSetProp(elem, "href", buf); | ^~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf.c:624:42: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 624 | xmlSetProp(elem, "href", buf); | ^~~ | | | char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf.c:636:34: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 636 | xmlSetProp(elem, "href", buf); | ^~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf.c:636:42: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 636 | xmlSetProp(elem, "href", buf); | ^~~ | | | char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf.c:641:42: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 641 | xmlSetProp(elem, "lt", | ^~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf.c:642:59: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 642 | rpm->extra->requires[i]->version); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf.c:645:42: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 645 | xmlSetProp(elem, "leq", | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf.c:646:59: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 646 | rpm->extra->requires[i]->version); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf.c:649:42: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 649 | xmlSetProp(elem, "gt", | ^~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf.c:650:59: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 650 | rpm->extra->requires[i]->version); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf.c:653:42: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 653 | xmlSetProp(elem, "geq", | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf.c:654:59: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 654 | rpm->extra->requires[i]->version); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf.c:657:42: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 657 | xmlSetProp(elem, "equ", | ^~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf.c:658:59: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 658 | rpm->extra->requires[i]->version); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ rdf.c: In function 'dumpResRdf': rdf.c:828:26: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 828 | xmlSetProp(desc, "href", buf); | ^~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:1053:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1053 | const xmlChar *name, | ~~~~~~~~~~~~~~~^~~~ rdf.c:828:34: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness [-Wpointer-sign] 828 | xmlSetProp(desc, "href", buf); | ^~~ | | | char * /usr/include/libxml2/libxml/tree.h:1054:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1054 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o rpmdata.o rpmdata.c rpmdata.c: In function 'rpmRessAdd': rpmdata.c:213:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 213 | fprintf(stderr, "cannot allocate %d bytes: %s\n", sizeof(rpmRess), | ~^ ~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld rpmdata.c:222:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 222 | fprintf(stderr, "cannot allocate %d bytes: %s\n", | ~^ | | | int | %ld 223 | cur->max_provider * sizeof(rpmDataPtr), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int rpmdata.c:227:27: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 227 | cur->name = xmlStrdup(ress); | ^~~~ | | | char * In file included from /usr/include/libxml2/libxml/tree.h:27, from /usr/include/libxml2/libxml/parser.h:15, from memory.h:13, from rpm2html.h:12, from rpmdata.c:26: /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:227:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 227 | cur->name = xmlStrdup(ress); | ^ rpmdata.c: In function 'rpmRequAdd': rpmdata.c:282:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 282 | fprintf(stderr, "cannot allocate %d bytes: %s\n", sizeof(rpmRess), | ~^ ~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld rpmdata.c:291:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 291 | fprintf(stderr, "cannot allocate %d bytes: %s\n", | ~^ | | | int | %ld 292 | cur->max_provider * sizeof(rpmDataPtr), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int rpmdata.c:296:27: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 296 | cur->name = xmlStrdup(requ); | ^~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:296:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 296 | cur->name = xmlStrdup(requ); | ^ rpmdata.c:298:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 298 | cur->version = xmlStrdup(requv); | ^~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:298:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 298 | 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] 702 | res->name = xmlStrdup(name); | ^~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:702:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 702 | res->name = xmlStrdup(name); | ^ rpmdata.c:705:32: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 705 | res->color = xmlStrdup(color); | ^~~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:705:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 705 | 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] 710 | 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] 712 | res->htmlpath = xmlStrdup(name); | ^~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:712:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 712 | res->htmlpath = xmlStrdup(name); | ^ rpmdata.c:722:43: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 722 | res->htmlpath = xmlStrdup(buf); | ^~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:722:31: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 722 | res->htmlpath = xmlStrdup(buf); | ^ rpmdata.c:724:43: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 724 | res->htmlpath = xmlStrdup(name); | ^~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:724:31: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 724 | res->htmlpath = xmlStrdup(name); | ^ rpmdata.c:726:39: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 726 | res->htmlpath = xmlStrdup(htmlpath); | ^~~~~~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:726:27: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 726 | res->htmlpath = xmlStrdup(htmlpath); | ^ rpmdata.c:731:42: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 731 | res->rpmpath = xmlStrdup(buf); | ^~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:731:30: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 731 | res->rpmpath = xmlStrdup(buf); | ^ rpmdata.c:733:42: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 733 | res->rpmpath = xmlStrdup(name); | ^~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:733:30: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 733 | res->rpmpath = xmlStrdup(name); | ^ rpmdata.c:735:38: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 735 | res->rpmpath = xmlStrdup(rpmpath); | ^~~~~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:735:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 735 | res->rpmpath = xmlStrdup(rpmpath); | ^ rpmdata.c: In function 'protectEmail': rpmdata.c:917:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 917 | buffer = (char *) xmlMalloc(buffer_size * sizeof(char)); | ^ rpmdata.c:931:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 931 | buffer = (char *) xmlRealloc(buffer, buffer_size * sizeof(char)); | ^ rpmdata.c:941:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 941 | strcpy(cur, at); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from rpmdata.c:10: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ rpmdata.c:948:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 948 | 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] 967 | res->name = xmlStrdup("/"); | ^~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:967:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 967 | 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] 1049 | parent->names[i] = xmlStrdup(file); | ^~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:1049:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1049 | 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] 1081 | res->name = xmlStrdup(subdir); | ^~~~~~ | | | const char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmdata.c:1081:15: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1081 | 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' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/libxml2 -I/usr/include/rpm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -c -o rpmopen.o rpmopen.c rpmopen.c: In function 'checkResourceName': rpmopen.c:150:17: warning: unused variable 'base' [-Wunused-variable] 150 | const char *base = res; | ^~~~ rpmopen.c: In function 'checkGroupName': rpmopen.c:209:17: warning: unused variable 'base' [-Wunused-variable] 209 | const char *base = res; | ^~~~ rpmopen.c: In function 'checkVersionName': rpmopen.c:233:17: warning: unused variable 'base' [-Wunused-variable] 233 | const char *base = res; | ^~~~ rpmopen.c: In function 'rpmAnalyze': rpmopen.c:412:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 412 | headerGetEntry(h, RPMTAG_NAME, &type, (void **) &name, &count); | ^~~~~~~~~~~~~~ In file included from rpmdata.h:15, from rpmopen.c:51: /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 412 | headerGetEntry(h, RPMTAG_NAME, &type, (void **) &name, &count); | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:412:60: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 412 | headerGetEntry(h, RPMTAG_NAME, &type, (void **) &name, &count); | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:429:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 429 | headerGetEntry(h, RPMTAG_VERSION, &type, (void **) &version, &count); | ^~~~~~~~~~~~~~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 429 | headerGetEntry(h, RPMTAG_VERSION, &type, (void **) &version, &count); | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:429:66: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 429 | headerGetEntry(h, RPMTAG_VERSION, &type, (void **) &version, &count); | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:442:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 442 | headerGetEntry(h, RPMTAG_RELEASE, &type, (void **) &release, &count); | ^~~~~~~~~~~~~~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 442 | headerGetEntry(h, RPMTAG_RELEASE, &type, (void **) &release, &count); | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:442:66: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 442 | headerGetEntry(h, RPMTAG_RELEASE, &type, (void **) &release, &count); | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:461:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 461 | fprintf(stderr, "cannot allocate %d bytes: %s\n", sizeof(rpmData), | ~^ ~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld rpmopen.c:468:43: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 468 | fprintf(stderr, "cannot allocate %d bytes: %s\n", | ~^ | | | int | %ld 469 | sizeof(rpmExtraData), strerror(errno)); | ~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int rpmopen.c:490:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 490 | if (!headerGetEntry(h, RPMTAG_SUMMARY, &type, &p, &count) || !p) { | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 490 | if (!headerGetEntry(h, RPMTAG_SUMMARY, &type, &p, &count) || !p) { | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:490:55: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 490 | if (!headerGetEntry(h, RPMTAG_SUMMARY, &type, &p, &count) || !p) { | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:491:50: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 491 | rpm->summary = xmlStrdup(localizedStrings[LANG_NO_SUMMARY]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | | | char * In file included from /usr/include/libxml2/libxml/tree.h:27, from /usr/include/libxml2/libxml/parser.h:15, from memory.h:13, from rpm2html.h:12, from rpmopen.c:50: /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:491:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 491 | 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] 493 | rpm->summary = xmlStrdup((char *) p); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:493:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 493 | rpm->summary = xmlStrdup((char *) p); | ^ rpmopen.c:496:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 496 | if (!headerGetEntry(h, RPMTAG_DESCRIPTION, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 496 | if (!headerGetEntry(h, RPMTAG_DESCRIPTION, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:496:59: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 496 | if (!headerGetEntry(h, RPMTAG_DESCRIPTION, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:499:39: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 499 | xmlStrdup(localizedStrings[LANG_NO_DESCRIPTION]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:498:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 498 | rpm->extra->description = | ^ rpmopen.c:501:45: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 501 | rpm->extra->description = xmlStrdup((char *) p); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:501:33: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 501 | rpm->extra->description = xmlStrdup((char *) p); | ^ rpmopen.c:504:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 504 | if (!headerGetEntry(h, RPMTAG_DISTRIBUTION, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 504 | if (!headerGetEntry(h, RPMTAG_DISTRIBUTION, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:504:60: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 504 | if (!headerGetEntry(h, RPMTAG_DISTRIBUTION, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:519:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 519 | if (!headerGetEntry(h, RPMTAG_ARCH, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 519 | if (!headerGetEntry(h, RPMTAG_ARCH, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:519:56: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 519 | if (!headerGetEntry(h, RPMTAG_ARCH, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:550:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 550 | if (!headerGetEntry(h, RPMTAG_OS, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 550 | if (!headerGetEntry(h, RPMTAG_OS, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:550:50: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 550 | if (!headerGetEntry(h, RPMTAG_OS, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:570:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 570 | if (!headerGetEntry(h, RPMTAG_VENDOR, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 570 | if (!headerGetEntry(h, RPMTAG_VENDOR, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:570:54: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 570 | if (!headerGetEntry(h, RPMTAG_VENDOR, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:577:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 577 | if (!headerGetEntry(h, RPMTAG_GROUP, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 577 | if (!headerGetEntry(h, RPMTAG_GROUP, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:577:53: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 577 | if (!headerGetEntry(h, RPMTAG_GROUP, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:607:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 607 | if (!headerGetEntry(h, RPMTAG_BUILDHOST, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 607 | if (!headerGetEntry(h, RPMTAG_BUILDHOST, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:607:57: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 607 | if (!headerGetEntry(h, RPMTAG_BUILDHOST, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:609:54: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 609 | rpm->extra->host = xmlStrdup(localizedStrings[LANG_NO_HOST]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:609:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 609 | 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] 611 | rpm->extra->host = xmlStrdup((char *) p); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:611:26: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 611 | rpm->extra->host = xmlStrdup((char *) p); | ^ rpmopen.c:614:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 614 | if (!headerGetEntry(h, RPMTAG_SIZE, &type, &p, &count) || !p) { | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 614 | if (!headerGetEntry(h, RPMTAG_SIZE, &type, &p, &count) || !p) { | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:614:52: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 614 | if (!headerGetEntry(h, RPMTAG_SIZE, &type, &p, &count) || !p) { | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:621:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 621 | if (!headerGetEntry(h, RPMTAG_INSTALLTIME, &type, &p, &count) | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 621 | if (!headerGetEntry(h, RPMTAG_INSTALLTIME, &type, &p, &count) | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:621:63: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 621 | if (!headerGetEntry(h, RPMTAG_INSTALLTIME, &type, &p, &count) | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:629:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 629 | if (!headerGetEntry(h, RPMTAG_BUILDTIME, &type, &p, &count) || !p) { | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 629 | if (!headerGetEntry(h, RPMTAG_BUILDTIME, &type, &p, &count) || !p) { | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:629:61: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 629 | if (!headerGetEntry(h, RPMTAG_BUILDTIME, &type, &p, &count) || !p) { | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:636:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 636 | if (!headerGetEntry(h, RPMTAG_SOURCERPM, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 636 | if (!headerGetEntry(h, RPMTAG_SOURCERPM, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:636:57: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 636 | if (!headerGetEntry(h, RPMTAG_SOURCERPM, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:638:40: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 638 | rpm->extra->srcrpm = xmlStrdup(""); | ^~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:638:28: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 638 | rpm->extra->srcrpm = xmlStrdup(""); | ^ rpmopen.c:640:40: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 640 | rpm->extra->srcrpm = xmlStrdup((char *) p); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:640:28: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 640 | rpm->extra->srcrpm = xmlStrdup((char *) p); | ^ rpmopen.c:643:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 643 | if (!headerGetEntry(h, RPMTAG_URL, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 643 | if (!headerGetEntry(h, RPMTAG_URL, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:643:51: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 643 | if (!headerGetEntry(h, RPMTAG_URL, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:647:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 647 | rpm->url = xmlStrdup((char *) p); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:647:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 647 | rpm->url = xmlStrdup((char *) p); | ^ rpmopen.c:650:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 650 | if (!headerGetEntry(h, RPMTAG_PACKAGER, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 650 | if (!headerGetEntry(h, RPMTAG_PACKAGER, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:650:56: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 650 | if (!headerGetEntry(h, RPMTAG_PACKAGER, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:654:42: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 654 | rpm->extra->packager = xmlStrdup(protectEmail((char *) p)); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:654:30: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 654 | rpm->extra->packager = xmlStrdup(protectEmail((char *) p)); | ^ rpmopen.c:657:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 657 | if (!headerGetEntry(h, RPMTAG_LICENSE, &type, &p, &count) || !p || | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 657 | if (!headerGetEntry(h, RPMTAG_LICENSE, &type, &p, &count) || !p || | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:657:55: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 657 | if (!headerGetEntry(h, RPMTAG_LICENSE, &type, &p, &count) || !p || | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:661:43: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 661 | rpm->extra->copyright = xmlStrdup((char *) p); | ^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:661:31: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 661 | rpm->extra->copyright = xmlStrdup((char *) p); | ^ rpmopen.c:665:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 665 | if (!headerGetEntry(h, RPMTAG_CHANGELOGTEXT, &type, &p, &count) || !p) { | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 665 | if (!headerGetEntry(h, RPMTAG_CHANGELOGTEXT, &type, &p, &count) || !p) { | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:665:61: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 665 | if (!headerGetEntry(h, RPMTAG_CHANGELOGTEXT, &type, &p, &count) || !p) { | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:681:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 681 | headerGetEntry(h, RPMTAG_CHANGELOGTIME, &type, (void *) &dates, | ^~~~~~~~~~~~~~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 681 | headerGetEntry(h, RPMTAG_CHANGELOGTIME, &type, (void *) &dates, | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:682:24: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 682 | &count); | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:683:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 683 | headerGetEntry(h, RPMTAG_CHANGELOGNAME, &type, (void *) &names, | ^~~~~~~~~~~~~~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 683 | headerGetEntry(h, RPMTAG_CHANGELOGNAME, &type, (void *) &names, | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:684:24: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 684 | &count); | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:734:43: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 734 | rpm->extra->changelog = xmlStrdup(protectEmail(buffer)); | ^~~~~~~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:734:31: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 734 | rpm->extra->changelog = xmlStrdup(protectEmail(buffer)); | ^ rpmopen.c:740:47: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 740 | rpm->vendor = xmlStrdup(rpm->extra->packager); | ~~~~~~~~~~^~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:740:25: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 740 | rpm->vendor = xmlStrdup(rpm->extra->packager); | ^ rpmopen.c:742:53: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 742 | rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:742:25: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'const char *' differ in signedness [-Wpointer-sign] 742 | rpm->vendor = xmlStrdup(localizedStrings[LANG_UNKNOWN]); | ^ rpmopen.c:758:14: warning: 'headerNextIterator' is deprecated [-Wdeprecated-declarations] 758 | headerNextIterator(sIter, &tag, &type, (void *) &p, &count);) { | ^~~~~~~~~~~~~~~~~~ /usr/include/rpm/rpmlegacy.h:170:5: note: declared here 170 | int headerNextIterator(HeaderIterator hi, | ^~~~~~~~~~~~~~~~~~ rpmopen.c:758:46: warning: pointer targets in passing argument 3 of 'headerNextIterator' differ in signedness [-Wpointer-sign] 758 | headerNextIterator(sIter, &tag, &type, (void *) &p, &count);) { | ^~~~~ | | | int * /usr/include/rpm/rpmlegacy.h:172:33: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int *' 172 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:758:66: warning: pointer targets in passing argument 5 of 'headerNextIterator' differ in signedness [-Wpointer-sign] 758 | headerNextIterator(sIter, &tag, &type, (void *) &p, &count);) { | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:174:31: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 174 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:790:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 790 | rpm->filename = xmlStrdup(nameRpm); | ^~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:790:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 790 | rpm->filename = xmlStrdup(nameRpm); | ^ rpmopen.c:794:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 794 | if (!headerGetEntry(h, val, &type, &p, &count) || !p) { | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 794 | if (!headerGetEntry(h, val, &type, &p, &count) || !p) { | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:794:44: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 794 | if (!headerGetEntry(h, val, &type, &p, &count) || !p) { | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:830:5: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 830 | if (!headerGetEntry(h, val, &type, &p, &count) || !p) { | ^~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 830 | if (!headerGetEntry(h, val, &type, &p, &count) || !p) { | ^~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:830:44: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 830 | if (!headerGetEntry(h, val, &type, &p, &count) || !p) { | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:853:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 853 | headerGetEntry(h, valv, &type2, &q, &count2); | ^~~~~~~~~~~~~~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 853 | headerGetEntry(h, valv, &type2, &q, &count2); | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:853:45: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 853 | headerGetEntry(h, valv, &type2, &q, &count2); | ^~~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:854:9: warning: 'headerGetEntry' is deprecated [-Wdeprecated-declarations] 854 | headerGetEntry(h, valf, &type3, &r, &count3); | ^~~~~~~~~~~~~~ /usr/include/rpm/rpmlegacy.h:48:5: note: declared here 48 | 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] 854 | headerGetEntry(h, valf, &type3, &r, &count3); | ^~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:49:41: note: expected 'rpm_tagtype_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 49 | rpm_tagtype_t * type, | ~~~~~~~~~~~~~~~~^~~~ rpmopen.c:854:45: warning: pointer targets in passing argument 5 of 'headerGetEntry' differ in signedness [-Wpointer-sign] 854 | headerGetEntry(h, valf, &type3, &r, &count3); | ^~~~~~~ | | | int32_t * {aka int *} /usr/include/rpm/rpmlegacy.h:51:39: note: expected 'rpm_count_t *' {aka 'unsigned int *'} but argument is of type 'int32_t *' {aka 'int *'} 51 | rpm_count_t * c) RPM_GNUC_DEPRECATED; | ~~~~~~~~~~~~~~^ rpmopen.c:944:42: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 944 | rpm->extra->filelist = xmlStrdup(buffer); | ^~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:944:30: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 944 | rpm->extra->filelist = xmlStrdup(buffer); | ^ rpmopen.c: In function 'rpmBaseScan': rpmopen.c:1395:11: warning: unused variable 'prefix' [-Wunused-variable] 1395 | 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] 1486 | dir->maint = xmlStrdup(rpm2html_maint); | ^~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1486:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1486 | dir->maint = xmlStrdup(rpm2html_maint); | ^ rpmopen.c:1488:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1488 | dir->mail = xmlStrdup(rpm2html_mail); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1488:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1488 | dir->mail = xmlStrdup(rpm2html_mail); | ^ rpmopen.c:1490:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1490 | dir->ftp = xmlStrdup(rpm2html_ftp); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1490:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1490 | dir->ftp = xmlStrdup(rpm2html_ftp); | ^ rpmopen.c:1492:33: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1492 | dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc); | ^~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1492:21: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1492 | dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc); | ^ rpmopen.c:1494:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1494 | dir->dir = xmlStrdup(rpm2html_dir); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1494:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1494 | dir->dir = xmlStrdup(rpm2html_dir); | ^ rpmopen.c:1496:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1496 | dir->host = xmlStrdup(rpm2html_host); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1496:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1496 | dir->host = xmlStrdup(rpm2html_host); | ^ rpmopen.c:1498:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1498 | dir->name = xmlStrdup(rpm2html_name); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1498:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1498 | dir->name = xmlStrdup(rpm2html_name); | ^ rpmopen.c:1500:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1500 | dir->url = xmlStrdup(rpm2html_url); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1500:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1500 | dir->url = xmlStrdup(rpm2html_url); | ^ rpmopen.c:1456:16: warning: variable 'cur' set but not used [-Wunused-but-set-variable] 1456 | 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] 1575 | dir->maint = xmlStrdup(rpm2html_maint); | ^~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1575:20: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1575 | dir->maint = xmlStrdup(rpm2html_maint); | ^ rpmopen.c:1577:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1577 | dir->mail = xmlStrdup(rpm2html_mail); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1577:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1577 | dir->mail = xmlStrdup(rpm2html_mail); | ^ rpmopen.c:1579:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1579 | dir->ftp = xmlStrdup(rpm2html_ftp); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1579:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1579 | dir->ftp = xmlStrdup(rpm2html_ftp); | ^ rpmopen.c:1581:33: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1581 | dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc); | ^~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1581:21: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1581 | dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc); | ^ rpmopen.c:1583:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1583 | dir->dir = xmlStrdup(rpm2html_dir); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1583:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1583 | dir->dir = xmlStrdup(rpm2html_dir); | ^ rpmopen.c:1585:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1585 | dir->host = xmlStrdup(rpm2html_host); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1585:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1585 | dir->host = xmlStrdup(rpm2html_host); | ^ rpmopen.c:1587:31: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1587 | dir->name = xmlStrdup(rpm2html_name); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1587:19: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1587 | dir->name = xmlStrdup(rpm2html_name); | ^ rpmopen.c:1589:30: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1589 | dir->url = xmlStrdup(rpm2html_url); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1589:18: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1589 | dir->url = xmlStrdup(rpm2html_url); | ^ rpmopen.c:1529:16: warning: variable 'cur' set but not used [-Wunused-but-set-variable] 1529 | 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] 1670 | dir->maint = xmlStrdup(rpm2html_maint); | ^~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1670:24: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1670 | dir->maint = xmlStrdup(rpm2html_maint); | ^ rpmopen.c:1672:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1672 | dir->mail = xmlStrdup(rpm2html_mail); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1672:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1672 | dir->mail = xmlStrdup(rpm2html_mail); | ^ rpmopen.c:1674:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1674 | dir->ftp = xmlStrdup(rpm2html_ftp); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1674:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1674 | dir->ftp = xmlStrdup(rpm2html_ftp); | ^ rpmopen.c:1676:37: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1676 | dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc); | ^~~~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1676:25: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1676 | dir->ftpsrc = xmlStrdup(rpm2html_ftpsrc); | ^ rpmopen.c:1678:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1678 | dir->dir = xmlStrdup(rpm2html_dir); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1678:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1678 | dir->dir = xmlStrdup(rpm2html_dir); | ^ rpmopen.c:1680:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1680 | dir->host = xmlStrdup(rpm2html_host); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1680:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1680 | dir->host = xmlStrdup(rpm2html_host); | ^ rpmopen.c:1682:35: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1682 | dir->name = xmlStrdup(rpm2html_name); | ^~~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1682:23: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1682 | dir->name = xmlStrdup(rpm2html_name); | ^ rpmopen.c:1684:34: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness [-Wpointer-sign] 1684 | dir->url = xmlStrdup(rpm2html_url); | ^~~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/xmlstring.h:41:58: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 41 | xmlStrdup (const xmlChar *cur); | ~~~~~~~~~~~~~~~^~~ rpmopen.c:1684:22: warning: pointer targets in assignment from 'xmlChar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 1684 | dir->url = xmlStrdup(rpm2html_url); | ^ rpmopen.c: In function 'rpmBaseScan': rpmopen.c:1431:9: warning: 'db' is used uninitialized [-Wuninitialized] 1431 | if (rpmdbOpenAll(db)) { | ^~~~~~~~~~~~~~~~ rpmopen.c:1393:11: note: 'db' was declared here 1393 | rpmdb db; | ^~ make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' error: Bad exit status from /usr/src/tmp/rpm-tmp.65409 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.65409 (%build) Command exited with non-zero status 1 2.66user 2.29system 0:04.86elapsed 102%CPU (0avgtext+0avgdata 35128maxresident)k 0inputs+0outputs (0major+498276minor)pagefaults 0swaps hsh-rebuild: rebuild of `rpm2html-1.11.2-alt1.src.rpm' failed. Command exited with non-zero status 1 3.16user 2.53system 0:13.02elapsed 43%CPU (0avgtext+0avgdata 138540maxresident)k 384inputs+0outputs (0major+184648minor)pagefaults 0swaps