<86>Dec 1 01:11:01 userdel[396381]: delete user 'rooter' <86>Dec 1 01:11:01 userdel[396381]: removed group 'rooter' owned by 'rooter' <86>Dec 1 01:11:01 userdel[396381]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 1 01:11:01 groupadd[396405]: group added to /etc/group: name=rooter, GID=981 <86>Dec 1 01:11:01 groupadd[396405]: group added to /etc/gshadow: name=rooter <86>Dec 1 01:11:01 groupadd[396405]: new group: name=rooter, GID=981 <86>Dec 1 01:11:01 useradd[396431]: new user: name=rooter, UID=981, GID=981, home=/root, shell=/bin/bash <86>Dec 1 01:11:01 userdel[396481]: delete user 'builder' <86>Dec 1 01:11:01 userdel[396481]: removed group 'builder' owned by 'builder' <86>Dec 1 01:11:01 userdel[396481]: removed shadow group 'builder' owned by 'builder' <86>Dec 1 01:11:01 groupadd[396513]: group added to /etc/group: name=builder, GID=982 <86>Dec 1 01:11:01 groupadd[396513]: group added to /etc/gshadow: name=builder <86>Dec 1 01:11:01 groupadd[396513]: new group: name=builder, GID=982 <86>Dec 1 01:11:01 useradd[396543]: new user: name=builder, UID=982, GID=982, home=/usr/src, shell=/bin/bash /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>Dec 1 01:11:02 rpmi: libpopt-devel-1:1.18-alt1 sisyphus+283609.300.5.1 1630003299 installed <13>Dec 1 01:11:02 rpmi: librpm-devel-4.13.0.1-alt35 sisyphus+309543.100.2.1 1668263438 installed <13>Dec 1 01:11:02 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed <13>Dec 1 01:11:02 rpmi: libxml2-devel-1:2.10.3-alt1 sisyphus+308392.100.3.1 1666013203 installed <13>Dec 1 01:11:02 rpmi: libdb4.7-devel-4.7.25-alt12 sisyphus+283793.100.2.1 1629966936 installed <13>Dec 1 01:11:02 rpmi: bzlib-devel-1:1.0.8-alt2 sisyphus+283723.100.1.1 1629847653 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.22931 + 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.22931 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rpm2html-1.11.2 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: running: aclocal --force aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: configure.in: tracing autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoheader-2.60: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.60: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.60: WARNING: is deprecated and discouraged. autoheader-2.60: autoheader-2.60: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.60: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.60: WARNING: `acconfig.h': autoheader-2.60: autoheader-2.60: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.60: [Define if a function `main' is needed.]) autoheader-2.60: autoheader-2.60: WARNING: More sophisticated templates can also be produced, see the autoheader-2.60: WARNING: documentation. autoreconf-default: running: automake --add-missing --force-missing automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:24: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:29: installing './compile' configure.in:24: installing './missing' Makefile.am:21: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -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 --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 --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... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for 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 we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... 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... /bin/cp checking for rm... /bin/rm checking for mv... /bin/mv checking for tar... /bin/tar checking for gzip... /bin/gzip checking for deflate in -lz... yes checking for bzread in -lbz2... no checking for BZ2_bzread in -lbz2... yes checking for gettext in -lintl... no checking for dbopen... no checking for db_create in -ldb-3.1... no checking for db_create in -ldb-3.0... no checking for dbopen in -ldb1... no checking for dbopen in -ldb... no checking for poptGetContext in -lpopt... yes checking for Fopen in -lrpmio... yes checking for rpmdbOpen in -lrpmdb... no checking for rpmReadConfigFiles in -lrpm... yes checking for rpmBuildFileList in -lrpm... no checking for rpmReadConfigFiles in -lrpm... (cached) yes checking for xml2-config... xml2-config checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking db_185.h usability... yes checking db_185.h presence... yes checking for db_185.h... yes checking db1/db.h usability... no checking db1/db.h presence... no checking for db1/db.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking rpm/rpmio.h usability... yes checking rpm/rpmio.h presence... yes checking for rpm/rpmio.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking rpm/rpmlib.h usability... yes checking rpm/rpmlib.h presence... yes checking for rpm/rpmlib.h... yes checking rpm/rpmlegacy.h usability... yes checking rpm/rpmlegacy.h presence... yes checking for rpm/rpmlegacy.h... yes checking for strftime... yes checking for gethostname... yes checking for strdup... yes checking for strndup... yes checking for strerror... yes checking for snprintf... yes checking for unlink... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating rpm2html.spec config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -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 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 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:18, from /usr/include/libxml2/libxml/parser.h:14, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:220, from memory.h:12, 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 memory.o memory.c memory.c: In function 'debugInitMemory': memory.c:495:18: warning: passing argument 1 of 'xmlMemSetup' from incompatible pointer type [-Wincompatible-pointer-types] 495 | xmlMemSetup(debugFree, debugMalloc, debugRealloc, debugStrdup); | ^~~~~~~~~ | | | int (*)(void *) In file included from memory.c:11: /usr/include/libxml2/libxml/xmlmemory.h:104:38: note: expected 'xmlFreeFunc' {aka 'void (*)(void *)'} but argument is of type 'int (*)(void *)' 104 | xmlMemSetup (xmlFreeFunc freeFunc, | ~~~~~~~~~~~~^~~~~~~~ memory.c:495:29: warning: 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:105:40: note: expected 'xmlMallocFunc' {aka 'void * (*)(long unsigned int)'} but argument is of type 'void * (*)(int)' 105 | xmlMallocFunc mallocFunc, | ~~~~~~~~~~~~~~^~~~~~~~~~ memory.c:495:42: warning: 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:106:41: note: expected 'xmlReallocFunc' {aka 'void * (*)(void *, long unsigned int)'} but argument is of type 'void * (*)(void *, int)' 106 | xmlReallocFunc reallocFunc, | ~~~~~~~~~~~~~~~^~~~~~~~~~~ memory.c:497:20: warning: comparison of distinct pointer types lacks a cast 497 | if ((freeFunc != debugFree) || | ^~ memory.c:498:22: warning: comparison of distinct pointer types lacks a cast 498 | (mallocFunc != debugMalloc) || | ^~ memory.c:499:23: warning: comparison of distinct pointer types lacks a cast 499 | (reallocFunc != debugRealloc) || | ^~ memory.c: At top level: memory.c:68:23: warning: 'debugMemSizeMeg' defined but not used [-Wunused-variable] 68 | static unsigned long debugMemSizeMeg = 0; | ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' 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:18, from /usr/include/libxml2/libxml/parser.h:14, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:220, from memory.h:12, 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 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:14, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:220, from memory.h:12, from rpm2html.h:12, from rdf_api.c:13: /usr/include/libxml2/libxml/tree.h:781:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 781 | 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:830:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 830 | 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:774:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | 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:775:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 775 | 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:774:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 774 | 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:775:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 775 | 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:774:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 774 | 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:775:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 775 | 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:994:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 994 | 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:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | 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:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 792 | 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:793:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 793 | const xmlChar *value); | ~~~~~~~~~~~~~~~^~~~~ 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:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 792 | 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:793:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 793 | 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:792:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 792 | 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:793:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 793 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 1018 | 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:18: /usr/include/libxml2/libxml/entities.h:123:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 123 | 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:123:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 123 | 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:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 847 | 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:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 847 | 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:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 847 | 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:847:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 847 | 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:848:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 848 | 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:830:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 830 | 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:123:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'const char *' 123 | 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 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 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:18, from /usr/include/libxml2/libxml/parser.h:14, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:220, from memory.h:12, 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:18, from /usr/include/libxml2/libxml/parser.h:14, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:220, from memory.h:12, 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1031:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1031 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1018 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1018 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1018 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1018 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1018 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1018 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1018 | 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:1017:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1017 | 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:1018:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 1018 | 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:18, from /usr/include/libxml2/libxml/parser.h:14, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:220, from memory.h:12, 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:490, from /usr/include/sys/types.h:25, from rpmdata.c:10: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' 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:18, from /usr/include/libxml2/libxml/parser.h:14, from /usr/include/libxml2/libxml/globals.h:18, from /usr/include/libxml2/libxml/threads.h:35, from /usr/include/libxml2/libxml/xmlmemory.h:220, from memory.h:12, 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' make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -o compressor compressor.o -lrpm -lrpm -lrpmio -lpopt -lbz2 -lpthread -lrt -lz -lbz2 -lrpm -lrpm -lrpmio -lpopt -lbz2 -lpthread -lrt -lz -lbz2 make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' if [ ! -f dir.png ] ; then /bin/cp ./dir.png . ; fi ./compressor dir.png make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' if [ ! -f new.png ] ; then /bin/cp ./new.png . ; fi ./compressor new.png make: Leaving directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' make: Entering directory '/usr/src/RPM/BUILD/rpm2html-1.11.2' 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 html.o html.c html.c: In function 'convertHTML': html.c:379:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 379 | buffer = (char *) xmlMalloc(buffer_size * sizeof(char)); | ^ html.c:393:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 393 | buffer = (char *) xmlRealloc(buffer, buffer_size * sizeof(char)); | ^ html.c:405:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 405 | strcpy(cur, entities[(unsigned int) c]); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from html.c:10: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ html.c:410:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 410 | return(buffer); | ^ html.c: In function 'convertXML': html.c:424:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 424 | buffer = (char *) xmlMalloc(buffer_size * sizeof(char)); | ^ html.c:438:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 438 | buffer = (char *) xmlRealloc(buffer, buffer_size * sizeof(char)); | ^ html.c:452:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 452 | strcpy(cur, entities[(unsigned int) c]); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ html.c:458:11: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 458 | return(buffer); | ^ html.c: In function 'convertCVE': html.c:478:16: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 478 | return str; | ^~~ html.c:481:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 481 | buffer2 = (char *) xmlMalloc(buffer2_size * sizeof(char)); | ^ html.c:495:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 495 | buffer2 = (char *) xmlRealloc(buffer2, buffer2_size * sizeof(char)); | ^ html.c:575:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 575 | sprintf(url, "= set:mhMxdq7XEeGb38t6MPn8jR9Hh6iR0G28Y0xs7jSkhAQPL2GVNL40, librpmio.so.7()(64bit) >= set:liY6yqZJ481alDIp2, libxml2.so.2()(64bit) >= set:ojGbBSnwnAIa1ZiTxrqMXoZjdlnGY0HtlViLKl6Wx6gKE3RIKsZsOl8Qv6npgVmyYkcceTIEAmMt4OroqBt9T0, libxml2.so.2(LIBXML2_2.4.30)(64bit), libz.so.1()(64bit) >= set:khgtd6gjyWbva, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XPe3DO Creating rpm2html-debuginfo package Processing files: rpm2html-debuginfo-1.11.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nj1WmM find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tmkZF9 find-requires: running scripts (debuginfo) Requires: rpm2html = 1.11.2-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(librpm.so.7), debug64(librpmio.so.7), debug64(libxml2.so.2), debug64(libz.so.1) Wrote: /usr/src/RPM/RPMS/x86_64/rpm2html-1.11.2-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/rpm2html-debuginfo-1.11.2-alt1.x86_64.rpm (w2.lzdio) 5.58user 3.03system 0:14.18elapsed 60%CPU (0avgtext+0avgdata 60584maxresident)k 0inputs+0outputs (0major+812448minor)pagefaults 0swaps /.out/rpm2html-1.11.2-alt1.x86_64.rpm: license not found in '/usr/share/license' directory: Copyright /.out/rpm2html-1.11.2-alt1.x86_64.rpm: license not found in '/usr/share/license' directory: like /.out/rpm2html-debuginfo-1.11.2-alt1.x86_64.rpm: license not found in '/usr/share/license' directory: Copyright /.out/rpm2html-debuginfo-1.11.2-alt1.x86_64.rpm: license not found in '/usr/share/license' directory: like 1.74user 1.43system 0:20.17elapsed 15%CPU (0avgtext+0avgdata 108280maxresident)k 384inputs+0outputs (32102major+166526minor)pagefaults 0swaps --- rpm2html-1.11.2-alt1.x86_64.rpm.repo 2016-12-08 18:39:08.000000000 +0000 +++ rpm2html-1.11.2-alt1.x86_64.rpm.hasher 2022-12-01 01:11:19.027753816 +0000 @@ -21,9 +21,10 @@ Requires: libc.so.6(GLIBC_2.3.4)(64bit) +Requires: libc.so.6(GLIBC_2.33)(64bit) +Requires: libc.so.6(GLIBC_2.34)(64bit) Requires: libc.so.6(GLIBC_2.4)(64bit) Requires: libc.so.6(GLIBC_2.7)(64bit) -Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) -Requires: librpm.so.7()(64bit) >= set:mhMxdKGRBH6Rhtp0FPwXOabvAFWAR83Fq0l14uwgKz9rG8iWVn1RYUn2 +Requires: librpm.so.7()(64bit) >= set:mhMxdq7XEeGb38t6MPn8jR9Hh6iR0G28Y0xs7jSkhAQPL2GVNL40 Requires: rpmlib(SetVersions) Requires: librpmio.so.7()(64bit) >= set:liY6yqZJ481alDIp2 -Requires: libxml2.so.2()(64bit) >= set:oiEKk2wuSTxa9qg2l9MbTNddUtcZAjRBa7oZ5lKQHjBxeQ0VyegdHHRSqc6Ol8gZFNa3Cr9Ojh06DrqRJL7p1Txgu3CmVbV6 +Requires: libxml2.so.2()(64bit) >= set:ojGbBSnwnAIa1ZiTxrqMXoZjdlnGY0HtlViLKl6Wx6gKE3RIKsZsOl8Qv6npgVmyYkcceTIEAmMt4OroqBt9T0 Requires: libxml2.so.2(LIBXML2_2.4.30)(64bit) @@ -34,3 +35,3 @@ File: /etc/rpm2html.config 100644 root:root babd89fc33f8896990e7408fecd05f1d -File: /usr/bin/rpm2html 100755 root:root a10981c7ba7fcb37b422f82563bd4fa3 +File: /usr/bin/rpm2html 100755 root:root 589d8496188c9cb85e454c0f78b21824 File: /usr/share/doc/rpm2html-1.11.2 40755 root:root @@ -39,3 +40,3 @@ File: /usr/share/doc/rpm2html-1.11.2/Copyright 100644 root:root 60eca7cfd6985505de67146ccfca835c -File: /usr/share/doc/rpm2html-1.11.2/INSTALL 100644 root:root d0697e131465c2bdd0af3b07a84d2878 +File: /usr/share/doc/rpm2html-1.11.2/INSTALL 100644 root:root f2766448e74c24bd1c1c5d12466093ae File: /usr/share/doc/rpm2html-1.11.2/PRINCIPLES 100644 root:root 294393cedb8e267c4a21507b3ba6a858 @@ -49,2 +50,2 @@ File: /var/www/html/rpm2html/local 40755 root:root -RPMIdentity: 3730520086c85ab4937dd3dcffed7b5ea243bdb3797c0e0d5a04cffcf09ea0ae93742f7c5a8e9cd5736171890093dcc5cc8ab8e562b158f5cd59564cfd7a9824 +RPMIdentity: 2a3c715d7c0f0a09c6766f29d18b7dc2e26c7f1d18758deef577b0e6a5634f994573e862a4fbccc99aea998f6ee2e12dc77daac2d6a6ac9bcbb6a7b207b8c739 --- rpm2html-debuginfo-1.11.2-alt1.x86_64.rpm.repo 2016-12-08 18:39:08.000000000 +0000 +++ rpm2html-debuginfo-1.11.2-alt1.x86_64.rpm.hasher 2022-12-01 01:11:19.112755187 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/f5 40755 root:root -/usr/lib/debug/.build-id/f5/24d9070c361fe648724bdc51a6b689e2b18893 120777 root:root ../../../../bin/rpm2html -/usr/lib/debug/.build-id/f5/24d9070c361fe648724bdc51a6b689e2b18893.debug 120777 root:root ../../usr/bin/rpm2html.debug +/usr/lib/debug/.build-id/2f 40755 root:root +/usr/lib/debug/.build-id/2f/afa57dc1fa71953ad73bdf59da7900d00e65ee 120777 root:root ../../../../bin/rpm2html +/usr/lib/debug/.build-id/2f/afa57dc1fa71953ad73bdf59da7900d00e65ee.debug 120777 root:root ../../usr/bin/rpm2html.debug /usr/lib/debug/usr/bin/rpm2html.debug 100644 root:root @@ -28,3 +28,2 @@ Requires: debug64(libc.so.6) -Requires: debug64(libpthread.so.0) Requires: debug64(librpm.so.7) @@ -35,6 +34,6 @@ Provides: rpm2html-debuginfo = 1.11.2-alt1 -File: /usr/lib/debug/.build-id/f5 40755 root:root -File: /usr/lib/debug/.build-id/f5/24d9070c361fe648724bdc51a6b689e2b18893 120777 root:root ../../../../bin/rpm2html -File: /usr/lib/debug/.build-id/f5/24d9070c361fe648724bdc51a6b689e2b18893.debug 120777 root:root ../../usr/bin/rpm2html.debug -File: /usr/lib/debug/usr/bin/rpm2html.debug 100644 root:root 73375b7d218558ac1943c3ef7dbd65f5 +File: /usr/lib/debug/.build-id/2f 40755 root:root +File: /usr/lib/debug/.build-id/2f/afa57dc1fa71953ad73bdf59da7900d00e65ee 120777 root:root ../../../../bin/rpm2html +File: /usr/lib/debug/.build-id/2f/afa57dc1fa71953ad73bdf59da7900d00e65ee.debug 120777 root:root ../../usr/bin/rpm2html.debug +File: /usr/lib/debug/usr/bin/rpm2html.debug 100644 root:root 629f8474edc270ac6bbf154272ff9a7d File: /usr/src/debug/rpm2html-1.11.2 40755 root:root @@ -60,2 +59,2 @@ File: /usr/src/debug/rpm2html-1.11.2/stringbuf.h 100644 root:root 79d27d51b47549e9aff487a30e107365 -RPMIdentity: 810f45e0d20259c689b88b4a8bc44b4affb9bc35a3a6ca0d19098a97f2a640a5a422b6715e5981bf8faf81da1230a1dd213177ffbcb742bd4e5282e793e527a5 +RPMIdentity: b01cb38a73f94640ebfbf014d61490134c1aeb118257023fbae00558787401bfbad15f05a56817b1e92084ff57db2015d40698f4e0d076170e7d86ad33da6a11