<86>Dec 25 00:52:01 userdel[2454517]: delete user 'rooter' <86>Dec 25 00:52:01 userdel[2454517]: removed group 'rooter' owned by 'rooter' <86>Dec 25 00:52:01 userdel[2454517]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 00:52:01 groupadd[2454573]: group added to /etc/group: name=rooter, GID=1850 <86>Dec 25 00:52:01 groupadd[2454573]: group added to /etc/gshadow: name=rooter <86>Dec 25 00:52:01 groupadd[2454573]: new group: name=rooter, GID=1850 <86>Dec 25 00:52:01 useradd[2454625]: new user: name=rooter, UID=1850, GID=1850, home=/root, shell=/bin/bash, from=none <86>Dec 25 00:52:01 userdel[2454719]: delete user 'builder' <86>Dec 25 00:52:01 userdel[2454719]: removed group 'builder' owned by 'builder' <86>Dec 25 00:52:01 userdel[2454719]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 00:52:01 groupadd[2454797]: group added to /etc/group: name=builder, GID=1851 <86>Dec 25 00:52:01 groupadd[2454797]: group added to /etc/gshadow: name=builder <86>Dec 25 00:52:01 groupadd[2454797]: new group: name=builder, GID=1851 <86>Dec 25 00:52:01 useradd[2454848]: new user: name=builder, UID=1851, GID=1851, home=/usr/src, shell=/bin/bash, from=none <13>Dec 25 00:52:04 rpmi: xorg-proto-devel-2024.1-alt1 sisyphus+343583.40.1.1 1711440649 installed <13>Dec 25 00:52:04 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Dec 25 00:52:04 rpmi: libXau-devel-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Dec 25 00:52:04 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 25 00:52:04 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Dec 25 00:52:05 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 25 00:52:05 rpmi: libturbojpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 25 00:52:05 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 00:52:05 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Dec 25 00:52:05 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 25 00:52:05 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 00:52:05 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Dec 25 00:52:06 rpmi: libxcb-devel-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 25 00:52:06 rpmi: libX11-devel-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 00:52:06 rpmi: libXext-devel-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Dec 25 00:52:06 rpmi: libjpeg-devel-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 25 00:52:06 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 25 00:52:06 rpmi: xorg-cf-files-1.0.7-alt3 sisyphus+299066.100.1.1 1650986799 installed <13>Dec 25 00:52:06 rpmi: imake-1.0.8-alt1 sisyphus+346312.200.2.1 1716446983 installed <13>Dec 25 00:52:06 rpmi: gccmakedep-1.0.3-alt1 sisyphus+276060.100.2.2 1624920151 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/xli-1.17.0-alt9.nosrc.rpm (w1.gzdio) Installing xli-1.17.0-alt9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.48321 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf xli-1.17.0 + echo 'Source #0 (xli-1.17.0.tar):' Source #0 (xli-1.17.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/xli-1.17.0.tar + cd xli-1.17.0 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (xli-1.17.0-mdk-path.patch):' Patch #1 (xli-1.17.0-mdk-path.patch): + /usr/bin/patch -p1 patching file Makefile.std + echo 'Patch #2 (xli-1.17.0-alt-includes.patch):' Patch #2 (xli-1.17.0-alt-includes.patch): + /usr/bin/patch -p2 patching file rlelib.c patching file xli.h patching file xlito.c + echo 'Patch #10 (040-8-bit_palette_support.patch):' Patch #10 (040-8-bit_palette_support.patch): + /usr/bin/patch -p1 patching file pcx.c + echo 'Patch #11 (050-read_past_bufferend_343718.patch):' Patch #11 (050-read_past_bufferend_343718.patch): + /usr/bin/patch -p1 patching file zio.c Hunk #1 succeeded at 400 (offset -36 lines). + echo 'Patch #12 (060-security_fixes.patch):' Patch #12 (060-security_fixes.patch): + /usr/bin/patch -p1 patching file zoom.c Hunk #1 succeeded at 58 (offset 6 lines). patching file reduce.c patching file pbm.c + echo 'Patch #13 (080-fillscreen_forall.patch):' Patch #13 (080-fillscreen_forall.patch): + /usr/bin/patch -p1 patching file options.c patching file options.h patching file xli.c Hunk #1 succeeded at 148 (offset -6 lines). Hunk #2 succeeded at 320 (offset -12 lines). Hunk #3 succeeded at 360 (offset -12 lines). Hunk #4 succeeded at 521 (offset -9 lines). patching file xli.h Hunk #1 succeeded at 83 (offset 1 line). + echo 'Patch #14 (090-multiple_images_merge.patch):' Patch #14 (090-multiple_images_merge.patch): + /usr/bin/patch -p1 patching file xli.c Hunk #1 succeeded at 354 (offset -12 lines). + echo 'Patch #15 (100-xpm_background.patch):' Patch #15 (100-xpm_background.patch): + /usr/bin/patch -p1 patching file xpixmap.c Hunk #1 succeeded at 461 (offset -2 lines). + echo 'Patch #16 (110-arrow_keys.patch):' Patch #16 (110-arrow_keys.patch): + /usr/bin/patch -p1 patching file window.c Hunk #1 succeeded at 796 (offset -4 lines). + echo 'Patch #17 (130-zoom_auto_440768.patch):' Patch #17 (130-zoom_auto_440768.patch): + /usr/bin/patch -p1 patching file TODO Hunk #1 succeeded at 22 (offset 2 lines). patching file misc.c Hunk #1 succeeded at 104 (offset -1 lines). Hunk #2 succeeded at 134 (offset -1 lines). patching file options.c patching file xli.c Hunk #1 succeeded at 90 (offset -6 lines). Hunk #2 succeeded at 203 (offset -6 lines). Hunk #3 succeeded at 557 (offset -9 lines). patching file xli.h Hunk #1 succeeded at 56 (offset 1 line). + echo 'Patch #18 (150-fix-x-resource-leak.patch):' Patch #18 (150-fix-x-resource-leak.patch): + /usr/bin/patch -p2 patching file root.c + echo 'Patch #19 (160-disable-libjpeg-scaling.patch):' Patch #19 (160-disable-libjpeg-scaling.patch): + /usr/bin/patch -p1 patching file jpeg.c + echo 'Patch #20 (170-fix-spelling.patch):' Patch #20 (170-fix-spelling.patch): + /usr/bin/patch -p1 patching file compress.c Hunk #1 succeeded at 148 with fuzz 1 (offset -2 lines). patching file options.c patching file pcx.c + echo 'Patch #21 (180-add_GCC_hardening.patch):' Patch #21 (180-add_GCC_hardening.patch): + /usr/bin/patch -p1 patching file Makefile.std Hunk #1 succeeded at 18 (offset -1 lines). Hunk #2 succeeded at 89 (offset -1 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.48321 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd xli-1.17.0 + xmkmf -a imake -DUseInstalled -I/usr/share/X11/config In file included from /usr/share/X11/config/Imake.tmpl:110, from Imakefile.c:34: /usr/share/X11/config/linux.cf:198: warning: "XAppLoadDir" redefined 198 | # define XAppLoadDir /usr/share/X11/app-defaults In file included from /usr/share/X11/config/site.def:45, from /usr/share/X11/config/Imake.tmpl:47: /usr/share/X11/config/host.def:29: note: this is the location of the previous definition 29 | #define XAppLoadDir /etc/X11/app-defaults In file included from /usr/share/X11/config/site.def:155, from /usr/share/X11/config/Imake.tmpl:116: /usr/share/X11/config/host.def:29: warning: "XAppLoadDir" redefined 29 | #define XAppLoadDir /etc/X11/app-defaults /usr/share/X11/config/linux.cf:198: note: this is the location of the previous definition 198 | # define XAppLoadDir /usr/share/X11/app-defaults In file included from /usr/share/X11/config/Imake.tmpl:2147: /usr/share/X11/config/X11.rules:39: warning: "XBinDir" redefined 39 | # define XBinDir $(XPROJECTROOT)/bin /usr/share/X11/config/host.def:14: note: this is the location of the previous definition 14 | #define XBinDir /usr/bin /usr/share/X11/config/X11.rules:47: warning: "XUsrLibDirPath" redefined 47 | # define XUsrLibDirPath $(USRLIBDIR):$(XPROJECTROOT)/lib /usr/share/X11/config/host.def:16: note: this is the location of the previous definition 16 | #define XUsrLibDirPath /usr/lib64 make Makefiles make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Nothing to be done for 'Makefiles'. make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make includes make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Nothing to be done for 'includes'. make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make depend make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gccmakedep -- -I/usr/include -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHAS_MEMCPY -- bright.c clip.c cmuwmrast.c compress.c dither.c faces.c fbm.c fill.c g3.c gif.c halftone.c imagetypes.c img.c mac.c mcidas.c mc_tables.c merge.c misc.c new.c options.c path.c pbm.c pcx.c reduce.c jpeg.c rle.c rlelib.c root.c rotate.c send.c smooth.c sunraster.c value.c window.c xbitmap.c xli.c xpixmap.c xwd.c zio.c zoom.c ddxli.c tga.c bmp.c pcd.c png.c xlito.c make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' + make -j16 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o mc_tables.o mc_tables.c make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o fill.o fill.c In file included from fill.c:12: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o cmuwmrast.o cmuwmrast.c In file included from cmuwmrast.c:12: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o faces.o faces.c faces.c: In function 'isFaces': faces.c:53:16: warning: pointer targets in passing argument 1 of 'zgets' differ in signedness [-Wpointer-sign] 53 | while (zgets((byte *)buf, BUFSIZ - 1, zf)) { | ^~~~~~~~~~~ | | | byte * {aka unsigned char *} In file included from faces.c:12: xli.h:348:19: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} 348 | char *zgets(char *buf, unsigned int size, ZFILE *zf); | ~~~~~~^~~ In file included from faces.c:11: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o compress.o compress.c compress.c: In function 'compress_cmap': compress.c:142:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 142 | if (badcount) | ^ In file included from xli.h:12, from compress.c:11: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o g3.o g3.c In file included from xli.h:12, from g3.c:24: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o clip.o clip.c In file included from clip.c:11: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o dither.o dither.c In file included from dither.c:26: kljcpyrght.h:26:14: warning: 'KLJCopyright' defined but not used [-Wunused-variable] 26 | static char *KLJCopyright = "Copyright 1989, 1990 Kirk L. Johnson"; | ^~~~~~~~~~~~ In file included from dither.c:25: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o halftone.o halftone.c halftone.c:139:1: warning: missing braces around initializer [-Wmissing-braces] 139 | { | ^ 140 | 0xf, 0xf, 0xf, 0xf, | { } 141 | 0xe, 0xf, 0xf, 0xf, | { } 142 | 0xe, 0xf, 0xb, 0xf, | { } 143 | 0xa, 0xf, 0xb, 0xf, | { } 144 | 0xa, 0xf, 0xa, 0xf, | { } 145 | 0xa, 0xd, 0xa, 0xf, | { } 146 | 0xa, 0xd, 0xa, 0x7, | { } 147 | 0xa, 0x5, 0xa, 0x7, | { } 148 | 0xa, 0x5, 0xa, 0x5, | { } 149 | 0x8, 0x5, 0xa, 0x5, | { } 150 | 0x8, 0x5, 0x2, 0x5, | { } 151 | 0x0, 0x5, 0x2, 0x5, | { } 152 | 0x0, 0x5, 0x0, 0x5, | { } 153 | 0x0, 0x4, 0x0, 0x5, | { } 154 | 0x0, 0x4, 0x0, 0x1, | { } 155 | 0x0, 0x0, 0x0, 0x1, | { } 156 | 0x0, 0x0, 0x0, 0x0 | { 157 | }; | } In file included from halftone.c:16: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o img.o img.c In file included from xli.h:12, from img.c:14: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ In file included from img.c:13: tgncpyrght.h:26:14: warning: 'TGNCopyright' defined but not used [-Wunused-variable] 26 | static char *TGNCopyright = "Copyright (C) 1991 Tim Northrup"; | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o mcidas.o mcidas.c In file included from xli.h:12, from mcidas.c:7: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o gif.o gif.c In file included from xli.h:12, from gif.c:18: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ In file included from gif.c:17: kljcpyrght.h:26:14: warning: 'KLJCopyright' defined but not used [-Wunused-variable] 26 | static char *KLJCopyright = "Copyright 1989, 1990 Kirk L. Johnson"; | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o bright.o bright.c In file included from bright.c:11: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o imagetypes.o imagetypes.c imagetypes.c:24:18: warning: missing braces around initializer [-Wmissing-braces] 24 | } ImageTypes[] = { | ^ imagetypes.c: In function 'loadImage': imagetypes.c:66:29: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 66 | image_ops->fullname = lmalloc(strlen(fullname) + 1); | ^ In file included from imagetypes.c:11: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o mac.o mac.c In file included from xli.h:12, from mac.c:21: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o fbm.o fbm.c In file included from xli.h:12, from fbm.c:17: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o merge.o merge.c In file included from merge.c:11: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o new.o new.c In file included from new.c:11: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o pcx.o pcx.c In file included from xli.h:12, from pcx.c:33: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ In file included from pcx.c:32: tgncpyrght.h:26:14: warning: 'TGNCopyright' defined but not used [-Wunused-variable] 26 | static char *TGNCopyright = "Copyright (C) 1991 Tim Northrup"; | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o path.o path.c In file included from path.c:11: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o misc.o misc.c misc.c: In function 'bfill': misc.c:318:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 318 | b = (0 - (int) s) & (sizeof(unsigned long) - 1); | ^ In file included from misc.c:11: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o rle.o rle.c In file included from xli.h:12, from rle.c:14: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o jpeg.o jpeg.c In file included from xli.h:12, from jpeg.c:6: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o pbm.o pbm.c In file included from xli.h:12, from pbm.c:14: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o options.o options.c options.c: In function 'read_trail_opt': options.c:789:35: warning: pointer targets in passing argument 2 of 'zread' differ in signedness [-Wpointer-sign] 789 | nib = zread(file, buf, TOBUFSZ); | ^~~ | | | char * In file included from options.c:12: xli.h:345:28: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 345 | int zread(ZFILE *zf, byte *buf, int len); | ~~~~~~^~~ options.c:804:36: warning: pointer targets in passing argument 2 of 'zread' differ in signedness [-Wpointer-sign] 804 | nib += zread(file, buf, TOBUFSZ - nib); | ^~~ | | | char * xli.h:345:28: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 345 | int zread(ZFILE *zf, byte *buf, int len); | ~~~~~~^~~ options.c: At top level: options.c:911:23: warning: missing braces around initializer [-Wmissing-braces] 911 | } VisualClassName[] = { | ^ In file included from options.c:11: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o value.o value.c In file included from value.c:14: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o smooth.o smooth.c In file included from smooth.c:12: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o rlelib.o rlelib.c rlelib.c: In function 'buildmap': rlelib.c:331:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 331 | cmap[0] = (rle_pixel *)(nmap +1); | ^ rlelib.c:355:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 355 | cmap[0] = (rle_pixel *)(nmap+1); | ^ rlelib.c:371:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 371 | cmap[0] = (rle_pixel *)(nmap+1); | ^ rlelib.c:391:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 391 | cmap[0] = (rle_pixel *)(nmap+1); | ^ rlelib.c:425:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 425 | lfree((char *) gammap); /* clean up */ | ^~~~~~~~~~~~~~~ | | | char * In file included from rlelib.c:14: xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ rlelib.c: In function 'freemap': rlelib.c:437:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 437 | j = (int)cmap[-1]-1; /* recover size of cmap */ | ^ rlelib.c:440:19: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 440 | lfree((char *)cmap[i]); /* free all its elements */ | ^~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ rlelib.c:441:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 441 | lfree((char *) (--cmap)); /* free it */ | ^~~~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ rlelib.c: In function 'match': rlelib.c:495:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 495 | if (*n == '\0' || *n == '=') | ^ rlelib.c: In function 'rle_free_setup': rlelib.c:764:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 764 | lfree((char *)globals->sv_bg_color); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ rlelib.c:766:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 766 | lfree((char *)globals->sv_cmap); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ rlelib.c:770:19: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 770 | lfree((char *)*globals->sv_comments); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ rlelib.c:771:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 771 | lfree((char *)globals->sv_comments); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ rlelib.c: In function 'rle_getrow': rlelib.c:959:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 959 | if ( debug_f ) | ^ In file included from xli.h:12: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o root.o root.c In file included from root.c:13: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o window.o window.c window.c: In function 'setViewportColormap': window.c:212:16: error: type defaults to 'int' in declaration of 'cmap_atom' [-Wimplicit-int] 212 | static cmap_atom = None; | ^~~~~~~~~ In file included from window.c:12: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: *** [: window.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: *** Waiting for unfinished jobs.... make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o rotate.o rotate.c In file included from rotate.c:8: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o xbitmap.o xbitmap.c xbitmap.c: In function 'isXbitmap': xbitmap.c:74:16: warning: pointer targets in passing argument 1 of 'zgets' differ in signedness [-Wpointer-sign] 74 | while (zgets((byte *)line, MAX_SIZE, zf) && maxlines-- > 0) { | ^~~~~~~~~~~~ | | | byte * {aka unsigned char *} In file included from xbitmap.c:17: xli.h:348:19: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} 348 | char *zgets(char *buf, unsigned int size, ZFILE *zf); | ~~~~~~^~~ xbitmap.c: In function 'xbitmapIdent': xbitmap.c:231:9: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 231 | lfree(title); | ^~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ In file included from xbitmap.c:16: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ In file included from xbitmap.c:15: mit.cpyrght:25:14: warning: 'MitCopyright' defined but not used [-Wunused-variable] 25 | static char *MitCopyright= | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o sunraster.o sunraster.c In file included from sunraster.c:11: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o xli.o xli.c In file included from xli.c:17: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o send.o send.c send.c: In function 'createImage': send.c:139:27: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 139 | xii->ximage->data = | ^ send.c: In function 'imageToXImage': send.c:387:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 387 | if (! XAllocColor(disp, xii->cmap, &xcolor)) | ^ send.c:588:11: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 588 | dst = xii->ximage->data; | ^ send.c:641:14: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 641 | data = xii->ximage->data; | ^ send.c:700:14: warning: pointer targets in assignment from 'char *' to 'byte *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 700 | data = xii->ximage->data; | ^ In file included from send.c:12: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o zoom.o zoom.c In file included from zoom.c:11: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o ddxli.o ddxli.c ddxli.c: In function 'saParseXColor': ddxli.c:144:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 144 | r = hstoi(spec + 1, 1); | ~~~~~^~~ | | | char * In file included from ddxli.c:7: xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:145:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 145 | g = hstoi(spec + 2, 1); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:146:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 146 | b = hstoi(spec + 3, 1); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:156:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 156 | r = hstoi(spec + 1, 2); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:157:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 157 | g = hstoi(spec + 3, 2); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:158:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 158 | b = hstoi(spec + 5, 2); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:168:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 168 | r = hstoi(spec + 1, 3); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:169:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 169 | g = hstoi(spec + 4, 3); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:170:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 170 | b = hstoi(spec + 7, 3); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:180:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 180 | r = hstoi(spec + 1, 4); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:181:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 181 | g = hstoi(spec + 5, 4); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ ddxli.c:182:48: warning: pointer targets in passing argument 1 of 'hstoi' differ in signedness [-Wpointer-sign] 182 | b = hstoi(spec + 9, 4); | ~~~~~^~~ | | | char * xli.h:230:26: note: expected 'unsigned char *' but argument is of type 'char *' 230 | int hstoi(unsigned char *s, int n); | ~~~~~~~~~~~~~~~^ In file included from xli.h:12: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o pcd.o pcd.c pcd.c: In function 'gethufftable': pcd.c:783:15: error: passing argument 1 of 'bfill' from incompatible pointer type [-Wincompatible-pointer-types] 783 | bfill(hufftab, sizeof(huff) * (1 << 12), 0xff); | ^~~~~~~ | | | huff * In file included from xli.h:21, from pcd.c:12: ddxli.h:49:18: note: expected 'char *' but argument is of type 'huff *' 49 | void bfill(char *s, int n, int c); | ~~~~~~^ In file included from xli.h:12: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: *** [: pcd.o] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o tga.o tga.c In file included from xli.h:12, from tga.c:13: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o zio.o zio.c zio.c: In function 'zopen': zio.c:331:25: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 331 | lfree(zf->filename); | ~~^~~~~~~~~~ | | | char * In file included from zio.c:22: xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ zio.c: In function 'zunread': zio.c:488:13: warning: variable 'sizeaxb' set but not used [-Wunused-but-set-variable] 488 | int sizeaxb; /* size of aux buffer */ | ^~~~~~~ zio.c: In function '_zreopen': zio.c:565:25: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 565 | lfree(zf->filename); | ~~^~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ zio.c: At top level: zio.c:801:12: warning: 'buflen' defined but not used [-Wunused-function] 801 | static int buflen(byte *buf, int len) | ^~~~~~ In file included from zio.c:21: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o png.o png.c png.c: In function 'check_png': png.c:24:26: warning: pointer targets in passing argument 2 of 'zread' differ in signedness [-Wpointer-sign] 24 | ret = zread(zfp, buf, 8); | ^~~ | | | char * In file included from png.c:6: xli.h:345:28: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 345 | int zread(ZFILE *zf, byte *buf, int len); | ~~~~~~^~~ png.c:30:15: warning: pointer targets in passing argument 1 of 'png_sig_cmp' differ in signedness [-Wpointer-sign] 30 | ret = png_check_sig(buf, 8); | ^~~~~~~~~~~~~ | | | char * In file included from /usr/include/png.h:335, from png.c:9: /usr/include/png.h:913:1: note: expected 'png_const_bytep' {aka 'const unsigned char *'} but argument is of type 'char *' 913 | PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start, | ^~~~~~~~~~ png.c: In function 'describe_png': png.c:43:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'png_uint_32' {aka 'unsigned int'} [-Wformat=] 43 | printf("%s is a%s %lux%lu %d bit deep %s PNG image", | ~~^ | | | long unsigned int | %u ...... 46 | png_get_image_width(png, info), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | png_uint_32 {aka unsigned int} png.c:43:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'png_uint_32' {aka 'unsigned int'} [-Wformat=] 43 | printf("%s is a%s %lux%lu %d bit deep %s PNG image", | ~~^ | | | long unsigned int | %u ...... 47 | png_get_image_height(png, info), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | png_uint_32 {aka unsigned int} In file included from xli.h:12: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o reduce.o reduce.c reduce.c: In function 'reduce': reduce.c:164:31: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 164 | lfree((char *) Histogram); | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from reduce.c:23: xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ reduce.c:165:31: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 165 | lfree((char *) Boxes); | ^~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ reduce.c:166:31: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 166 | lfree((char *) rgbmap); | ^~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ reduce.c:198:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 198 | lfree((char *) Histogram); | ^~~~~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ reduce.c:199:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 199 | lfree((char *) Boxes); | ^~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ reduce.c:205:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 205 | lfree((char *) rgbmap); | ^~~~~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ reduce.c: In function 'CopyToNewImage': reduce.c:1282:23: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 1282 | lfree((char *) nna); | ^~~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ In file included from xli.h:12: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o xpixmap.o xpixmap.c xpixmap.c: In function 'freeCtable': xpixmap.c:33:37: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 33 | lfree(ctable[i]); | ~~~~~~^~~ | | | char * In file included from xpixmap.c:20: xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c: In function 'isXpixmap': xpixmap.c:111:28: warning: pointer targets in passing argument 1 of 'zgets' differ in signedness [-Wpointer-sign] 111 | if (!zgets((byte *) buf, BUFSIZ - 1, zf)) { | ^~~~~~~~~~~~ | | | byte * {aka unsigned char *} xli.h:348:19: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} 348 | char *zgets(char *buf, unsigned int size, ZFILE *zf); | ~~~~~~^~~ xpixmap.c:113:39: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 113 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c:119:47: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 119 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c:153:37: warning: pointer targets in passing argument 2 of 'zunread' differ in signedness [-Wpointer-sign] 153 | zunread(zf, buf, strlen(buf)); /* stuff it back so we can read it again */ | ^~~ | | | char * xli.h:347:37: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *' 347 | void zunread(ZFILE *zf, byte const *buf, int len); | ~~~~~~~~~~~~^~~ xpixmap.c:168:31: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 168 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c:173:36: warning: pointer targets in passing argument 1 of 'zgets' differ in signedness [-Wpointer-sign] 173 | if (!zgets((byte *) buf, BUFSIZ - 1, zf)) { | ^~~~~~~~~~~~ | | | byte * {aka unsigned char *} xli.h:348:19: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} 348 | char *zgets(char *buf, unsigned int size, ZFILE *zf); | ~~~~~~^~~ xpixmap.c:175:47: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 175 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c:189:39: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 189 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c:196:39: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 196 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c:205:47: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 205 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c:213:39: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 213 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c:216:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 216 | } else if (p = rindex(what, '_')) { /* get the name in the image if there is */ | ^ xpixmap.c:222:31: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 222 | lfree(*imagetitle); | ^~~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ xpixmap.c: In function 'xpixmapLoad': xpixmap.c:311:44: warning: pointer targets in passing argument 1 of 'zgets' differ in signedness [-Wpointer-sign] 311 | if (!zgets((byte *) buf, BUFSIZ - 1, zf)) { | ^~~~~~~~~~~~ | | | byte * {aka unsigned char *} xli.h:348:19: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} 348 | char *zgets(char *buf, unsigned int size, ZFILE *zf); | ~~~~~~^~~ xpixmap.c: In function 'xpixmapIdent': xpixmap.c:576:15: warning: pointer targets in passing argument 1 of 'lfree' differ in signedness [-Wpointer-sign] 576 | lfree(imagetitle); | ^~~~~~~~~~ | | | char * xli.h:301:18: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *' 301 | void lfree(byte *area); | ~~~~~~^~~~ In file included from xpixmap.c:19: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o xwd.o xwd.c xwd.c: In function 'isXWD': xwd.c:158:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 158 | if (header->pixmap_format != ZPixmap || header->pixmap_depth == 1) | ^ xwd.c: In function 'loadZPixmap': xwd.c:391:13: warning: variable 'pixlen' set but not used [-Wunused-but-set-variable] 391 | int pixlen; /* length of pixel in bytes */ | ^~~~~~ In file included from xwd.c:15: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' make: Entering directory '/usr/src/RPM/BUILD/xli-1.17.0' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Werror=implicit-function-declaration -c -o bmp.o bmp.c bmp.c: In function 'bmpLoad': bmp.c:389:47: warning: pointer targets in passing argument 1 of 'bfill' differ in signedness [-Wpointer-sign] 389 | bfill(data, d, e); | ^~~~ | | | byte * {aka unsigned char *} In file included from xli.h:21, from bmp.c:11: ddxli.h:49:18: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'} 49 | void bfill(char *s, int n, int c); | ~~~~~~^ In file included from xli.h:12: copyright.h: At top level: copyright.h:24:14: warning: 'Copyright' defined but not used [-Wunused-variable] 24 | static char *Copyright= "Copyright 1989, 1990, 1991 Jim Frost"; | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/xli-1.17.0' error: Bad exit status from /usr/src/tmp/rpm-tmp.48321 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.48321 (%build) Command exited with non-zero status 1 3.58user 1.13system 0:01.08elapsed 433%CPU (0avgtext+0avgdata 36184maxresident)k 0inputs+0outputs (0major+146453minor)pagefaults 0swaps hsh-rebuild: rebuild of `xli-1.17.0-alt9.src.rpm' failed. Command exited with non-zero status 1 3.36user 2.61system 0:10.51elapsed 56%CPU (0avgtext+0avgdata 139360maxresident)k 16inputs+0outputs (0major+192774minor)pagefaults 0swaps