Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 807631 Details for
Bug 870772
sys-cluster/wulfware-2.6.0 - get_proc_cpuinfo.c: error: call to undeclared function parse; ISO C99
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-cluster:wulfware-2.6.0:20220917-142341.log
sys-cluster:wulfware-2.6.0:20220917-142341.log (text/plain), 71.77 KB, created by
Toralf Förster
on 2022-09-17 15:15:13 UTC
(
hide
)
Description:
sys-cluster:wulfware-2.6.0:20220917-142341.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-17 15:15:13 UTC
Size:
71.77 KB
patch
obsolete
> * Package: sys-cluster/wulfware-2.6.0:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking wulfware-2.6.0.tgz to /var/tmp/portage/sys-cluster/wulfware-2.6.0/work >>>> Source unpacked in /var/tmp/portage/sys-cluster/wulfware-2.6.0/work >>>> Preparing source in /var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0 ... > * Applying wulfware-2.6.0-opts_and_strip.patch ... > [ ok ] > * Applying wulfware-2.6.0-tinfo.patch ... >patching file configure.ac >patching file wulfstat/Makefile.am >Hunk #1 succeeded at 63 with fuzz 1. > [ ok ] > * Running eautoreconf in '/var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal --system-acdir=/var/tmp/portage/sys-cluster/wulfware-2.6.0/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: wulfware-2.6.0/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0 ... > * econf: updating wulfware-2.6.0/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating wulfware-2.6.0/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/wulfware-2.6.0 --htmldir=/usr/share/doc/wulfware-2.6.0/html --with-sysroot=/ --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... none >checking whether make sets $(MAKE)... (cached) yes >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking how to print strings... printf >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld >checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-file... no >checking for file... file >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok >checking for sysroot... / >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for sys/time.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if clang supports -fno-rtti -fno-exceptions... yes >checking for clang option to produce PIC... -fPIC -DPIC >checking if clang PIC flag -fPIC -DPIC works... yes >checking if clang static flag -static works... yes >checking if clang supports -c -o file.o... yes >checking if clang supports -c -o file.o... (cached) yes >checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... yes >checking for size_t... yes >checking for working volatile... yes >checking for inline... inline >checking for main in -ltinfo... yes >checking for main in -lcurses... yes >checking for main in -lm... yes >checking for main in -local_icons... no >checking for main in -lpthread... yes >checking for main in -lwulf... no >checking for main in -lxml2... yes >checking for main in -lz... yes >checking for an ANSI C-conforming const... yes >checking for size_t... (cached) yes >checking for bzero... yes >checking for gethostbyaddr... yes >checking for gethostbyname... yes >checking for gethostname... yes >checking for gettimeofday... yes >checking for inet_ntoa... yes >checking for memset... yes >checking for select... yes >checking for socket... yes >checking for strcasecmp... yes >checking for strerror... yes >checking for strtol... yes >checking for strtoul... yes >checking for strtoull... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating wulfware.spec >config.status: creating include/wulfware/wulfware_version.h >config.status: creating libwulf/Makefile >config.status: creating wulfstat/Makefile >config.status: creating wulflogger/Makefile >config.status: creating wulf2html/Makefile >config.status: creating xmlsysd/Makefile >config.status: creating Makefile >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >'/var/tmp/portage/sys-cluster/wulfware-2.6.0/temp/clang14.log' -> '/var/tmp/clang/sys-cluster/wulfware-2.6.0/clang14.log' >'/var/tmp/portage/sys-cluster/wulfware-2.6.0/temp/clang15.log' -> '/var/tmp/clang/sys-cluster/wulfware-2.6.0/clang15.log' >>>> Compiling source in /var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0 ... >make -j4 -j1 >(cd libwulf; \ >make) >make[1]: Entering directory '/var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/libwulf' >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 connect.c >connect.c:37:6: warning: format specifies type 'unsigned int' but the argument > has type 'List *' (aka 'struct List_ *') [-Wformat] > cl->hostlist,cl->connect_delay); > ^~~~~~~~~~~~ >connect.c:61:28: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > hostptr->hostip,hostptr->inetaddress,hostptr->port); > ^~~~~~~~~~~~~~~~~~~~ >connect.c:115:101: warning: format specifies type 'unsigned int' but the > argument has type 'unsigned long' [-Wformat] > ...to %s at %x:%d by pointer\n",hostptr->hostname,hostptr->inetaddress,host... > ~~ ^~~~~~~~~~~~~~~~~~~~ > %lx >In file included from connect.c:9: >In file included from ../include/wulfware/libwulf.h:88: >../include/wulfware/libwulf_prototypes.h:36:7: warning: a function declaration > without a prototype is deprecated in all versions of C and is treated as a > zero-parameter prototype in C2x, conflicting with a subsequent definition > [-Wdeprecated-non-prototype] > void disconnect_from_all_hosts(); > ^ >connect.c:304:6: note: conflicting prototype is here >void disconnect_from_all_hosts(List *hostlist) > ^ >4 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 cpuinfo.c >cpuinfo.c:43:52: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_UPDATE_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >cpuinfo.c:54:53: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_UPDATE_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >cpuinfo.c:58:82: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul cpuinfo_tv_usec = %ul\n",hostptr->val.cpuinfo_tv_sec,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >cpuinfo.c:58:110: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.cpuinfo_tv_sec,hostptr->val.cpuinfo_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >cpuinfo.c:99:54: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...CPU cores = %d\n",hostptr->val.cpuinfo_cores); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >cpuinfo.c:122:61: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...CPU cachesize = %d KB\n",hostptr->val.cpuinfo_cachesize); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >cpuinfo.c:157:52: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_UPDATE_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >cpuinfo.c:168:53: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_UPDATE_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >cpuinfo.c:172:82: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul cpuinfo_tv_usec = %ul\n",hostptr->val.cpuinfo_tv_sec,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >cpuinfo.c:172:110: warning: format specifies type 'unsigned int' but the > argument has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.cpuinfo_tv_sec,hostptr->val.cpuinfo_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >cpuinfo.c:214:54: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...CPU cores = %d\n",hostptr->val.cpuinfo_cores); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >cpuinfo.c:237:61: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...CPU cachesize = %d KB\n",hostptr->val.cpuinfo_cachesize); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >12 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 host.c >host.c:41:68: warning: format specifies type 'unsigned int' but the argument has > type 'Cpu *' [-Wformat] > ...Freeing cpu struct at %x on %s\n",&hostptr->val.cpu[-1],hostptr->hostname); > ~~ ^~~~~~~~~~~~~~~~~~~~~ >host.c:49:85: warning: format specifies type 'unsigned int' but the argument has > type 'Cpu *' [-Wformat] > ...cpu struct, now pointer value is %x on %s\n",&hostptr->val.cpu[-1],hostp... > ~~ ^~~~~~~~~~~~~~~~~~~~~ >host.c:56:74: warning: format specifies type 'unsigned int' but the argument has > type 'Interface *' [-Wformat] > ...Freeing interface struct at %x on %s\n",&hostptr->val.interface[-1],host... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >host.c:62:91: warning: format specifies type 'unsigned int' but the argument has > type 'Interface *' [-Wformat] > ...struct, now pointer value is %x on %s\n",&hostptr->val.interface[-1],hos... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >host.c:69:83: warning: format specifies type 'unsigned int' but the argument has > type 'List *' (aka 'struct List_ *') [-Wformat] > ...Deleting/freeing pidlist contents at %x on %s\n",hostptr->pidlist,hostpt... > ~~ ^~~~~~~~~~~~~~~~ >host.c:76:81: warning: format specifies type 'unsigned int' but the argument has > type 'Interface *' [-Wformat] > ...list at %x on %s is freed and empty.\n",&hostptr->val.interface[-1],host... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >host.c:106:81: warning: format specifies type 'unsigned int' but the argument > has type 'List *' (aka 'struct List_ *') [-Wformat] > ...Starting clear_host values() for hostlist %0x\n",hostlist); > ~~~ ^~~~~~~~ >7 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 identity.c >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 init.c >init.c:62:51: warning: format specifies type 'unsigned int' but the argument has > type 'Host *' [-Wformat] > fprintf(OUTFP,"D_INIT_VALUES: hostptr = %0x\n",hostptr); > ~~~ ^~~~~~~ >init.c:178:56: warning: cast to smaller integer type 'int' from > 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wpointer-to-int-cast] > fprintf(OUTFP,"D_INIT_VALUES: Freeing context %d\n",(int) hostptr->xp_doc); > ^~~~~~~~~~~~~~~~~~~~~ >init.c:325:51: warning: format specifies type 'unsigned int' but the argument > has type 'Host *' [-Wformat] > fprintf(OUTFP,"D_INIT_VALUES: hostptr = %0x\n",hostptr); > ~~~ ^~~~~~~ >3 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 llists.c >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 loadavg.c >loadavg.c:36:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >loadavg.c:47:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >loadavg.c:51:75: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul loadavg_tv_usec = %ul\n",hostptr->val.loadavg_tv_sec,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >loadavg.c:51:103: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.loadavg_tv_sec,hostptr->val.loadavg_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >loadavg.c:110:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >loadavg.c:121:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >loadavg.c:125:75: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul loadavg_tv_usec = %ul\n",hostptr->val.loadavg_tv_sec,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >loadavg.c:125:103: warning: format specifies type 'unsigned int' but the > argument has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.loadavg_tv_sec,hostptr->val.loadavg_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >8 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 meminfo.c >meminfo.c:37:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >meminfo.c:48:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >meminfo.c:52:75: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul meminfo_tv_usec = %ul\n",hostptr->val.meminfo_tv_sec,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:52:103: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.meminfo_tv_sec,hostptr->val.meminfo_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:71:47: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_total = %d\n",hostptr->val.mem_total); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:89:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_used = %d\n",hostptr->val.mem_used); > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:107:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_free = %d\n",hostptr->val.mem_free); > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:118:48: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_shared = %d\n",hostptr->val.mem_shared); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:136:49: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_buffers = %d\n",hostptr->val.mem_buffers); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:154:48: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_cached = %d\n",hostptr->val.mem_cached); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:173:48: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_total = %d\n",hostptr->val.swap_total); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:191:47: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_used = %d\n",hostptr->val.swap_used); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:209:47: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_free = %d\n",hostptr->val.swap_free); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:238:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >meminfo.c:249:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >meminfo.c:253:75: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul meminfo_tv_usec = %ul\n",hostptr->val.meminfo_tv_sec,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:253:103: warning: format specifies type 'unsigned int' but the > argument has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.meminfo_tv_sec,hostptr->val.meminfo_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:272:47: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_total = %d\n",hostptr->val.mem_total); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:290:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_used = %d\n",hostptr->val.mem_used); > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:308:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_free = %d\n",hostptr->val.mem_free); > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:319:48: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_shared = %d\n",hostptr->val.mem_shared); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:337:49: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_buffers = %d\n",hostptr->val.mem_buffers); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:355:48: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: mem_cached = %d\n",hostptr->val.mem_cached); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:374:48: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_total = %d\n",hostptr->val.swap_total); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:392:47: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_used = %d\n",hostptr->val.swap_used); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %lu >meminfo.c:410:47: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_free = %d\n",hostptr->val.swap_free); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %lu >26 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 net.c >net.c:42:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >net.c:53:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >net.c:57:73: warning: format specifies type 'unsigned int' but the argument has > type 'unsigned long' [-Wformat] > ...netdev_tv_sec = %ul netdev_tv_usec = %ul\n",hostptr->val.netdev_tv_sec,h... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >net.c:57:100: warning: format specifies type 'unsigned int' but the argument has > type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.netdev_tv_sec,hostptr->val.netdev_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >net.c:61:71: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...netdev_tv_sec = %d netdev_tv_usec = %d\n",hostptr->val.netdev_tv_sec,hos... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >net.c:61:98: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...= %d\n",hostptr->val.netdev_tv_sec,hostptr->val.netdev_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >net.c:71:91: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...%d network interfaces on %s (plus 1 for total stats)\n",hostptr->val.num_interfaces... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >net.c:72:52: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: Each needs %d bytes\n",sizeof(Interface)); > ~~ ^~~~~~~~~~~~~~~~~ > %lu >net.c:79:60: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: Need %d bytes per interface\n",sizeof(Interface)); > ~~ ^~~~~~~~~~~~~~~~~ > %lu >net.c:80:77: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...%d bytes in interface struct vector\n",(hostptr->val.num_interfaces+1)*sizeof(Interface)); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >net.c:81:51: warning: format specifies type 'unsigned int' but the argument has > type 'Interface *' [-Wformat] > fprintf(OUTFP,"D_VALUES: base address is %x\n",hostptr->val.interface); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ >net.c:88:65: warning: format specifies type 'unsigned int' but the argument has > type 'Interface *' [-Wformat] > ...displaced base address is now %x\n",hostptr->val.interface); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ >net.c:89:63: warning: format specifies type 'unsigned int' but the argument has > type 'Interface *' [-Wformat] > ...address of interface[-1] is %x\n",&hostptr->val.interface[-1]); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >net.c:148:65: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...interface[%d].rx_bytes = %lu\n",j,hostptr->val.interface[j].rx_bytes); > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:159:67: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...= %lu\n",j,hostptr->val.interface[j].rx_packets); > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:170:64: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...interface[%d].rx_errs = %lu\n",j,hostptr->val.interface[j].rx_errs); > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:181:65: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...interface[%d].tx_bytes = %lu\n",j,hostptr->val.interface[j].tx_bytes); > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:192:67: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...= %lu\n",j,hostptr->val.interface[j].tx_packets); > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:203:64: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...interface[%d].tx_errs = %lu\n",j,hostptr->val.interface[j].tx_errs); > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:275:100: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.netdev_tv_sec,hostptr->val.netdev_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >net.c:304:76: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...= %lu, rate = %f\n",j,hostptr->val.interface[j].rx_bytes,hostptr->val.in... > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:317:78: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...= %lu, rate = %f\n",j,hostptr->val.interface[j].rx_packets,hostptr->val.... > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:330:75: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...= %lu, rate = %f\n",j,hostptr->val.interface[j].rx_errs,hostptr->val.int... > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:343:76: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...= %lu, rate = %f\n",j,hostptr->val.interface[j].tx_bytes,hostptr->val.in... > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:356:78: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...= %lu, rate = %f\n",j,hostptr->val.interface[j].tx_packets,hostptr->val.... > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:369:75: warning: format specifies type 'unsigned long' but the argument > has type 'unsigned long long' [-Wformat] > ...= %lu, rate = %f\n",j,hostptr->val.interface[j].tx_errs,hostptr->val.int... > ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %llu >net.c:391:47: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: tcp_inuse = %d\n",hostptr->val.tcp_inuse); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %ld >27 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 parse.c >parse.c:52:13: warning: cast to smaller integer type 'char' from 'void *' > [-Wvoid-pointer-to-int-cast] > delim[6] = (char) NULL; /* terminator */ > ^~~~~~~~~~~ >1 warning generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 pids.c >pids.c:44:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >pids.c:55:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >pids.c:59:69: warning: format specifies type 'unsigned int' but the argument has > type 'long' [-Wformat] > ...pids_tv_sec = %ul pids_tv_usec = %ul\n",hostptr->val.pids_tv_sec,hostptr... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %ld >pids.c:59:94: warning: format specifies type 'unsigned int' but the argument has > type 'long' [-Wformat] > ...= %ul\n",hostptr->val.pids_tv_sec,hostptr->val.pids_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >pids.c:67:61: warning: format specifies type 'unsigned int' but the argument has > type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') [-Wformat] > fprintf(OUTFP,"D_VALUES: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >pids.c:287:45: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %ld >pids.c:298:46: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %ld >pids.c:302:69: warning: format specifies type 'unsigned int' but the argument > has type 'long' [-Wformat] > ...pids_tv_sec = %ul pids_tv_usec = %ul\n",hostptr->val.pids_tv_sec,hostptr... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %ld >pids.c:302:94: warning: format specifies type 'unsigned int' but the argument > has type 'long' [-Wformat] > ...= %ul\n",hostptr->val.pids_tv_sec,hostptr->val.pids_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > %ld >pids.c:310:61: warning: format specifies type 'unsigned int' but the argument > has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') [-Wformat] > fprintf(OUTFP,"D_VALUES: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >10 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 stat.c >stat.c:38:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >stat.c:49:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >stat.c:53:94: warning: format specifies type 'unsigned int' but the argument has > type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.stat_tv_sec,hostptr->val.stat_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >stat.c:59:52: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: Found %d cpus on %s\n",hostptr->val.num_cpus,ho... > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:65:54: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: Need %d bytes per cpu\n",sizeof(Cpu)); > ~~ ^~~~~~~~~~~ > %lu >stat.c:66:71: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > ...%d bytes in cpu struct vector\n",hostptr->val.num_cpus*sizeof(Cpu)); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >stat.c:67:51: warning: format specifies type 'unsigned int' but the argument has > type 'Cpu *' [-Wformat] > fprintf(OUTFP,"D_VALUES: base address is %x\n",&hostptr->val.cpu[0]); > ~~ ^~~~~~~~~~~~~~~~~~~~ >stat.c:71:65: warning: format specifies type 'unsigned int' but the argument has > type 'Cpu *' [-Wformat] > ...displaced base address is now %x\n",hostptr->val.cpu); > ~~ ^~~~~~~~~~~~~~~~ >stat.c:72:57: warning: format specifies type 'unsigned int' but the argument has > type 'Cpu *' [-Wformat] > fprintf(OUTFP,"D_VALUES: address of cpu[-1] is %x\n",&hostptr->val.cpu[-1]); > ~~ ^~~~~~~~~~~~~~~~~~~~~ >stat.c:89:54: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: cpu[%d].user = %d\n",j,hostptr->val.cpu[j].user); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:99:54: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: cpu[%d].nice = %d\n",j,hostptr->val.cpu[j].nice); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:109:53: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: cpu[%d].sys = %d\n",j,hostptr->val.cpu[j].sys); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:121:54: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: cpu[%d].idle = %d\n",j,hostptr->val.cpu[j].idle); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:133:45: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: page_in = %d\n",hostptr->val.page_in); > ~~ ^~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:143:46: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: page_out = %d\n",hostptr->val.page_out); > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:154:45: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_in = %d\n",hostptr->val.swap_in); > ~~ ^~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:164:46: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_out = %d\n",hostptr->val.swap_out); > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:176:42: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: intr = %d\n",hostptr->val.intr); > ~~ ^~~~~~~~~~~~~~~~~ > %ld >stat.c:185:42: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: ctxt = %d\n",hostptr->val.ctxt); > ~~ ^~~~~~~~~~~~~~~~~ > %ld >stat.c:195:47: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: processes = %d\n",hostptr->val.processes); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:305:65: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...cpu[%d].user = %d, rate = %f\n",j,hostptr->val.cpu[j].user,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:318:65: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...cpu[%d].nice = %d, rate = %f\n",j,hostptr->val.cpu[j].nice,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:331:64: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...cpu[%d].sys = %d, rate = %f\n",j,hostptr->val.cpu[j].sys,hostptr->val.cp... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:344:65: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > ...cpu[%d].idle = %d, rate = %f\n",j,hostptr->val.cpu[j].idle,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:401:45: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: page_in = %d\n",hostptr->val.page_in); > ~~ ^~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:413:46: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: page_out = %d\n",hostptr->val.page_out); > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:426:45: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_in = %d\n",hostptr->val.swap_in); > ~~ ^~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:438:46: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: swap_out = %d\n",hostptr->val.swap_out); > ~~ ^~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:464:46: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: old ctxt = %d\n",hostptr->val.ctxt); > ~~ ^~~~~~~~~~~~~~~~~ > %ld >stat.c:470:42: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: ctxt = %d\n",hostptr->val.ctxt); > ~~ ^~~~~~~~~~~~~~~~~ > %ld >stat.c:479:51: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: old processes = %d\n",hostptr->val.processes); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %ld >stat.c:485:47: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: processes = %d\n",hostptr->val.processes); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %ld >32 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 sysvipc.c >sysvipc.c:37:52: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_UPDATE_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >sysvipc.c:48:53: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_UPDATE_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >sysvipc.c:52:82: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul sysvipc_tv_usec = %ul\n",hostptr->val.sysvipc_tv_sec,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >sysvipc.c:52:110: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.sysvipc_tv_sec,hostptr->val.sysvipc_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >sysvipc.c:81:52: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_UPDATE_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >sysvipc.c:92:53: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_UPDATE_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >sysvipc.c:96:82: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul sysvipc_tv_usec = %ul\n",hostptr->val.sysvipc_tv_sec,hostptr->val.... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >sysvipc.c:96:110: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.sysvipc_tv_sec,hostptr->val.sysvipc_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >8 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 time.c >time.c:36:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >time.c:47:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >time.c:51:69: warning: format specifies type 'unsigned int' but the argument has > type 'unsigned long' [-Wformat] > ...time_tv_sec = %ul time_tv_usec = %ul\n",hostptr->val.time_tv_sec,hostptr... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %lu >time.c:51:94: warning: format specifies type 'unsigned int' but the argument has > type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.time_tv_sec,hostptr->val.time_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >time.c:88:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >time.c:99:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >time.c:103:69: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...time_tv_sec = %ul time_tv_usec = %ul\n",hostptr->val.time_tv_sec,hostptr... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %lu >time.c:103:94: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.time_tv_sec,hostptr->val.time_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >8 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 update.c >update.c:171:60: warning: cast to smaller integer type 'int' from > 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wpointer-to-int-cast] > ...Freeing context %d\n",(int) hostptr->xp_doc); > ^~~~~~~~~~~~~~~~~~~~~ >1 warning generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 uptime.c >uptime.c:37:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >uptime.c:48:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >uptime.c:52:73: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...uptime_tv_sec = %ul uptime_tv_usec = %ul\n",hostptr->val.uptime_tv_sec,h... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >uptime.c:52:100: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.uptime_tv_sec,hostptr->val.uptime_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >uptime.c:63:47: warning: format specifies type 'int' but the argument has type > 'double' [-Wformat] > fprintf(OUTFP,"D_VALUES: uptime_up = %d\n",hostptr->val.uptime_up); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %f >uptime.c:70:49: warning: format specifies type 'int' but the argument has type > 'double' [-Wformat] > fprintf(OUTFP,"D_VALUES: uptime_idle = %d\n",hostptr->val.uptime_idle); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %f >uptime.c:105:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >uptime.c:116:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >uptime.c:120:73: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...uptime_tv_sec = %ul uptime_tv_usec = %ul\n",hostptr->val.uptime_tv_sec,h... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >uptime.c:120:100: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.uptime_tv_sec,hostptr->val.uptime_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >uptime.c:131:47: warning: format specifies type 'int' but the argument has type > 'double' [-Wformat] > fprintf(OUTFP,"D_VALUES: uptime_up = %d\n",hostptr->val.uptime_up); > ~~ ^~~~~~~~~~~~~~~~~~~~~~ > %f >uptime.c:138:49: warning: format specifies type 'int' but the argument has type > 'double' [-Wformat] > fprintf(OUTFP,"D_VALUES: uptime_idle = %d\n",hostptr->val.uptime_idle); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ > %f >12 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 users.c >users.c:37:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >users.c:48:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >users.c:52:71: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...users_tv_sec = %ul users_tv_usec = %ul\n",hostptr->val.users_tv_sec,host... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >users.c:52:97: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.users_tv_sec,hostptr->val.users_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >users.c:60:53: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: number of users = %d\n",hostptr->val.users); > ~~ ^~~~~~~~~~~~~~~~~~ > %ld >users.c:89:45: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: seconds = %d\n",seconds); > ~~ ^~~~~~~ > %lu >users.c:100:46: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > fprintf(OUTFP,"D_VALUES: useconds = %d\n",useconds); > ~~ ^~~~~~~~ > %lu >users.c:104:71: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...users_tv_sec = %ul users_tv_usec = %ul\n",hostptr->val.users_tv_sec,host... > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >users.c:104:97: warning: format specifies type 'unsigned int' but the argument > has type 'unsigned long' [-Wformat] > ...= %ul\n",hostptr->val.users_tv_sec,hostptr->val.users_tv_usec); > ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ > %lu >users.c:112:53: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > fprintf(OUTFP,"D_VALUES: number of users = %d\n",hostptr->val.users); > ~~ ^~~~~~~~~~~~~~~~~~ > %ld >10 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 util.c >util.c:176:2: warning: expression result unused [-Wunused-value] > *msgbuf--; > ^~~~~~~~~ >util.c:262:19: warning: format specifies type 'int' but the argument has type > 'unsigned long' [-Wformat] > sprintf(buf,"%d",k); > ~~ ^ > %lu >2 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 version.c >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 wulfhosts.c >wulfhosts.c:135:49: warning: format specifies type 'unsigned int' but the > argument has type 'xmlDocPtr' (aka 'struct _xmlDoc *') [-Wformat] > fprintf(OUTFP,"D_READHOST: Hostdoc is %x.\n",hostdoc); > ~~ ^~~~~~~ >wulfhosts.c:236:50: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathObjectPtr' (aka 'struct _xmlXPathObject *') > [-Wformat] > fprintf(OUTFP,"D_READHOST: Free xp_op = %x\n",xp_op); > ~~ ^~~~~ >wulfhosts.c:240:55: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > fprintf(OUTFP,"D_READHOST: Free xp_hostdoc = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >wulfhosts.c:244:52: warning: format specifies type 'unsigned int' but the > argument has type 'xmlDocPtr' (aka 'struct _xmlDoc *') [-Wformat] > fprintf(OUTFP,"D_READHOST: Free hostdoc = %x\n",hostdoc); > ~~ ^~~~~~~ >wulfhosts.c:266:44: warning: format specifies type 'unsigned int' but the > argument has type 'unsigned long' [-Wformat] > i,hostptr->hostname,hostptr->hostip,hostptr->inetaddress,hostptr->port); > ^~~~~~~~~~~~~~~~~~~~ >5 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 wulfhosts_util.c >wulfhosts_util.c:47:63: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >wulfhosts_util.c:77:75: warning: format specifies type 'unsigned int' but the > argument has type 'xmlNodePtr' (aka 'struct _xmlNode *') [-Wformat] > fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); > ~~ ^~~ >wulfhosts_util.c:220:42: warning: format specifies type 'unsigned int' but the > argument has type 'unsigned long' [-Wformat] > hostptr->hostname,hostptr->hostip,hostptr->inetaddress,hostptr->port); > ^~~~~~~~~~~~~~~~~~~~ >wulfhosts_util.c:263:56: warning: format specifies type 'unsigned int' but the > argument has type 'struct hostent *' [-Wformat] > fprintf(OUTFP,"D_READHOST: Got host_id = %x.\n",host_id); > ~~ ^~~~~~~ >wulfhosts_util.c:373:42: warning: format specifies type 'unsigned int' but the > argument has type 'unsigned long' [-Wformat] > hostptr->hostname,hostptr->hostip,hostptr->inetaddress,hostptr->port); > ^~~~~~~~~~~~~~~~~~~~ >wulfhosts_util.c:394:63: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >wulfhosts_util.c:421:75: warning: format specifies type 'unsigned int' but the > argument has type 'xmlNodePtr' (aka 'struct _xmlNode *') [-Wformat] > fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); > ~~ ^~~ >wulfhosts_util.c:600:63: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >wulfhosts_util.c:636:75: warning: format specifies type 'unsigned int' but the > argument has type 'xmlNodePtr' (aka 'struct _xmlNode *') [-Wformat] > fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); > ~~ ^~~ >wulfhosts_util.c:768:63: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >wulfhosts_util.c:797:75: warning: format specifies type 'unsigned int' but the > argument has type 'xmlNodePtr' (aka 'struct _xmlNode *') [-Wformat] > fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); > ~~ ^~~ >wulfhosts_util.c:837:63: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >wulfhosts_util.c:866:75: warning: format specifies type 'unsigned int' but the > argument has type 'xmlNodePtr' (aka 'struct _xmlNode *') [-Wformat] > fprintf(OUTFP,"D_READHOST: Ready to walk document from point = %x\n",cur); > ~~ ^~~ >wulfhosts_util.c:908:63: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > fprintf(OUTFP,"D_READHOST: xp_hostdoc (ContextPtr) = %x\n",xp_hostdoc); > ~~ ^~~~~~~~~~ >14 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 xml_xtract.c >xml_xtract.c:75:65: warning: format specifies type 'unsigned int' but the > argument has type 'void *' [-Wformat] > fprintf(OUTFP,"D_EXTRACT_VALUES: xtract(%d,%x,%s,%x)\n",type,dest,xpa... > ~~ ^~~~ >xml_xtract.c:75:76: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > ...xtract(%d,%x,%s,%x)\n",type,dest,xpath,xp_doc); > ~~ ^~~~~~ >xml_xtract.c:339:20: warning: format specifies type 'unsigned int' but the > argument has type 'void *' [-Wformat] > type,dest,xpath,attribute,xp_doc); > ^~~~ >xml_xtract.c:339:41: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > type,dest,xpath,attribute,xp_doc); > ^~~~~~ >xml_xtract.c:528:77: warning: format specifies type 'int' but the argument has > type 'long' [-Wformat] > ...Returning long int = %d in dest.\n",*liptr); > ~~ ^~~~~~ > %ld >5 warnings generated. >clang -fpic -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -I ../include -DVERSION=2.6.0 xmlsysd_util.c >xmlsysd_util.c:88:54: warning: format specifies type 'unsigned int' but the > argument has type 'char *' [-Wformat] > fprintf(OUTFP,"D_XMLSYSD: = %0x, fields = %0x\n",msgbuf,fields); > ~~~ ^~~~~~ > %s >xmlsysd_util.c:88:61: warning: format specifies type 'unsigned int' but the > argument has type 'char **' [-Wformat] > fprintf(OUTFP,"D_XMLSYSD: = %0x, fields = %0x\n",msgbuf,fields); > ~~~ ^~~~~~ >xmlsysd_util.c:89:66: warning: format specifies type 'unsigned int' but the > argument has type 'char *' [-Wformat] > ...fields[0] = %0x, fields[1] = %0x\n",fields[0],fields[1]); > ~~~ ^~~~~~~~~ > %s >xmlsysd_util.c:89:76: warning: format specifies type 'unsigned int' but the > argument has type 'char *' [-Wformat] > ...fields[0] = %0x, fields[1] = %0x\n",fields[0],fields[1]); > ~~~ ^~~~~~~~~ > %s >xmlsysd_util.c:159:22: warning: cast to smaller integer type 'char' from > 'void *' [-Wvoid-pointer-to-int-cast] > msgbuf[msglength] = (char)NULL; /* terminate string */ > ^~~~~~~~~~ >xmlsysd_util.c:242:47: warning: format specifies type 'unsigned int' but the > argument has type 'Host *' [-Wformat] > fprintf(OUTFP,"D_XMLSYSD: hostptr = %0x\n",hostptr); > ~~~ ^~~~~~~ >xmlsysd_util.c:274:54: warning: cast to smaller integer type 'int' from > 'xmlDocPtr' (aka 'struct _xmlDoc *') [-Wpointer-to-int-cast] > fprintf(OUTFP,"D_XMLSYSD: Received xml doc %0x\n",(int) hostptr->doc); > ^~~~~~~~~~~~~~~~~~ >xmlsysd_util.c:280:71: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > ...Done getting xpath context %0x for %s\n",hostptr->xp_doc,hostptr->hostna... > ~~~ ^~~~~~~~~~~~~~~ >xmlsysd_util.c:298:53: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > fprintf(OUTFP,"D_XMLSYSD: Freeing context %0x\n",hostptr->xp_doc); > ~~~ ^~~~~~~~~~~~~~~ >xmlsysd_util.c:310:53: warning: format specifies type 'unsigned int' but the > argument has type 'xmlDocPtr' (aka 'struct _xmlDoc *') [-Wformat] > fprintf(OUTFP,"D_XMLSYSD: Freeing xml doc %0x\n",hostptr->doc); > ~~~ ^~~~~~~~~~~~ >xmlsysd_util.c:316:6: warning: format specifies type 'unsigned int' but the > argument has type 'xmlDocPtr' (aka 'struct _xmlDoc *') [-Wformat] > hostptr->doc, hostptr->xp_doc); > ^~~~~~~~~~~~ >xmlsysd_util.c:316:20: warning: format specifies type 'unsigned int' but the > argument has type 'xmlXPathContextPtr' (aka 'struct _xmlXPathContext *') > [-Wformat] > hostptr->doc, hostptr->xp_doc); > ^~~~~~~~~~~~~~~ >12 warnings generated. >gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fpic --shared -Wl,-soname,libwulf.so.2 -o libwulf.so.2.6.0 connect.o cpuinfo.o host.o identity.o init.o llists.o loadavg.o meminfo.o net.o parse.o pids.o stat.o sysvipc.o time.o update.o uptime.o users.o util.o version.o wulfhosts.o wulfhosts_util.o xml_xtract.o xmlsysd_util.o >ldconfig -n . >ln -sf libwulf.so.2.6.0 libwulf.so >make[1]: Leaving directory '/var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/libwulf' >(cd xmlsysd; \ >make) >make[1]: Entering directory '/var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/xmlsysd' >clang -c -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -fcommon -I/usr/include/libxml2 -DVERSION_MAJOR=2 -DVERSION_MINOR=5.0 -DRELEASE=1 get_proc_cpuinfo.c >get_proc_cpuinfo.c:39:22: warning: format specifies type 'int' but the argument > has type '__time_t' (aka 'long') [-Wformat] > sprintf(outbuf,"%d",tv.tv_sec); > ~~ ^~~~~~~~~ > %ld >get_proc_cpuinfo.c:41:22: warning: format specifies type 'int' but the argument > has type '__suseconds_t' (aka 'long') [-Wformat] > sprintf(outbuf,"%d",tv.tv_usec); > ~~ ^~~~~~~~~~ > %ld >get_proc_cpuinfo.c:78:16: error: call to undeclared function 'parse'; ISO C99 > and later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > numfields = parse(statbuf,fields,MAXFIELDNUMBER,K); > ^ >get_proc_cpuinfo.c:78:16: note: did you mean 'pause'? >/usr/include/unistd.h:489:12: note: 'pause' declared here >extern int pause (void); > ^ >2 warnings and 1 error generated. >make[1]: *** [Makefile:621: get_proc_cpuinfo.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0/xmlsysd' >make: *** [Makefile:938: xmlsysd.time] Error 2 > * ERROR: sys-cluster/wulfware-2.6.0::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-cluster/wulfware-2.6.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-cluster/wulfware-2.6.0::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-cluster:wulfware-2.6.0:20220917-142341.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-cluster/wulfware-2.6.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/wulfware-2.6.0/temp/environment'. > * Working directory: '/var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0' > * S: '/var/tmp/portage/sys-cluster/wulfware-2.6.0/work/wulfware-2.6.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 870772
:
807613
|
807616
|
807619
|
807622
|
807625
|
807628
| 807631 |
807634