D: [iurt_root_command] chroot warning: Macro expanded in comment on line 10: %{name}/%{name}-%{fver}.tar.gz warning: line 24: It's not recommended to have unversioned Obsoletes: Obsoletes: xloadimage sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/xli-20061110-16.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vz18XO + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf xli-2006-11-10 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xli-2006-11-10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xli-2006-11-10 + rm -rf /home/pterjan/rpmbuild/BUILD/xli-2006-11-10-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xli-2006-11-10-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xli-1.17.0-mdkpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xli-1.17.0-compile-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JIYFyz + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xli-2006-11-10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + xmkmf -a imake -DUseInstalled -I/usr/share/X11/config make Makefiles make: Nothing to be done for 'Makefiles'. make includes make: Nothing to be done for 'includes'. make depend gccmakedep -- -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 + /usr/bin/make -O -j48 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'EXTRA_LDOPTIONS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dither.o dither.c dither.c: In function 'dither': dither.c:77:36: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 77 | image->title = (char *)lmalloc(strlen(cimage->title) + 12); | ^~~~~~ dither.c:28:1: note: include '' or provide a declaration of 'strlen' 27 | #include "xli.h" +++ |+#include 28 | dither.c:77:36: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 77 | image->title = (char *)lmalloc(strlen(cimage->title) + 12); | ^~~~~~ dither.c:77:36: note: include '' or provide a declaration of 'strlen' make: *** [: dither.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o gif.o gif.c gif.c: In function 'gifin_open_file': gif.c:193:7: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 193 | if (strcmp((char *) buf, GIF_SIG) == 0) | ^~~~~~ gif.c:21:1: note: include '' or provide a declaration of 'strcmp' 20 | #include "imagetypes.h" +++ |+#include 21 | make: *** [: gif.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o halftone.o halftone.c halftone.c: In function 'halftone': halftone.c:189:49: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 189 | image->title = (char *) lmalloc(strlen(cimage->title) + 13); | ^~~~~~ halftone.c:18:1: note: include '' or provide a declaration of 'strlen' 17 | #include "xli.h" +++ |+#include 18 | halftone.c:189:49: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 189 | image->title = (char *) lmalloc(strlen(cimage->title) + 13); | ^~~~~~ halftone.c:189:49: note: include '' or provide a declaration of 'strlen' make: *** [: halftone.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o imagetypes.o imagetypes.c imagetypes.c: In function 'loadImage': imagetypes.c:66:39: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 66 | image_ops->fullname = lmalloc(strlen(fullname) + 1); | ^~~~~~ imagetypes.c:15:1: note: include '' or provide a declaration of 'strlen' 14 | #include +++ |+#include 15 | imagetypes.c:66:39: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 66 | image_ops->fullname = lmalloc(strlen(fullname) + 1); | ^~~~~~ imagetypes.c:66:39: note: include '' or provide a declaration of 'strlen' imagetypes.c:67:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 67 | strcpy(image_ops->fullname, fullname); | ^~~~~~ imagetypes.c:67:9: note: include '' or provide a declaration of 'strcpy' imagetypes.c:67:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] imagetypes.c:67:9: note: include '' or provide a declaration of 'strcpy' make: *** [: imagetypes.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mc_tables.o mc_tables.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o new.o new.c new.c: In function 'dupString': new.c:71:30: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 71 | d = (char *) lmalloc(strlen(s) + 1); | ^~~~~~ new.c:13:1: note: include '' or provide a declaration of 'strlen' 12 | #include "xli.h" +++ |+#include 13 | new.c:71:30: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 71 | d = (char *) lmalloc(strlen(s) + 1); | ^~~~~~ new.c:71:30: note: include '' or provide a declaration of 'strlen' new.c:72:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 72 | strcpy(d, s); | ^~~~~~ new.c:72:9: note: include '' or provide a declaration of 'strcpy' new.c:72:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] new.c:72:9: note: include '' or provide a declaration of 'strcpy' make: *** [: new.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rotate.o rotate.c rotate.c: In function 'rotate': rotate.c:171:42: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 171 | dimage->title = (char *) lmalloc(strlen(iimage->title) + 40); | ^~~~~~ rotate.c:10:1: note: include '' or provide a declaration of 'strlen' 9 | #include "xli.h" +++ |+#include 10 | rotate.c:171:42: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 171 | dimage->title = (char *) lmalloc(strlen(iimage->title) + 40); | ^~~~~~ rotate.c:171:42: note: include '' or provide a declaration of 'strlen' make: *** [: rotate.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o smooth.o smooth.c smooth.c: In function 'doSmooth': smooth.c:32:32: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 32 | dest->title= (char *)lmalloc(strlen(src->title) + 12); | ^~~~~~ smooth.c:14:1: note: include '' or provide a declaration of 'strlen' 13 | #include "xli.h" +++ |+#include 14 | smooth.c:32:32: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 32 | dest->title= (char *)lmalloc(strlen(src->title) + 12); | ^~~~~~ smooth.c:32:32: note: include '' or provide a declaration of 'strlen' make: *** [: smooth.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o zoom.o zoom.c zoom.c: In function 'zoom': zoom.c:78:5: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 78 | strcpy(buf,oimage->title); | ^~~~~~ zoom.c:13:1: note: include '' or provide a declaration of 'strcpy' 12 | #include "xli.h" +++ |+#include 13 | zoom.c:78:5: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 78 | strcpy(buf,oimage->title); | ^~~~~~ zoom.c:78:5: note: include '' or provide a declaration of 'strcpy' make: *** [: zoom.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xli.o xli.c xli.c: In function 'main': xli.c:133:14: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 133 | if (!strcmp(tail(argv[0]), "xview")) { | ^~~~~~ xli.c:21:1: note: include '' or provide a declaration of 'strcmp' 20 | #include +++ |+#include 21 | make: *** [: xli.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o fill.o fill.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o send.o send.c send.c: In function 'imageToXImage': send.c:594:9: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 594 | memcpy(dst, src, rowbytes); | ^~~~~~ send.c:15:1: note: include '' or provide a declaration of 'memcpy' 14 | #include +++ |+#include 15 | send.c:594:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 594 | memcpy(dst, src, rowbytes); | ^~~~~~ send.c:594:9: note: include '' or provide a declaration of 'memcpy' make: *** [: send.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cmuwmrast.o cmuwmrast.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mac.o mac.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mcidas.o mcidas.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pcx.o pcx.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o value.o value.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xbitmap.o xbitmap.c xbitmap.c: In function 'isXbitmap': xbitmap.c:75:9: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 75 | if (strlen(line) == MAX_SIZE-1) { | ^~~~~~ xbitmap.c:20:1: note: include '' or provide a declaration of 'strlen' 19 | #include +++ |+#include 20 | xbitmap.c:75:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 75 | if (strlen(line) == MAX_SIZE-1) { | ^~~~~~ xbitmap.c:75:9: note: include '' or provide a declaration of 'strlen' xbitmap.c:88:12: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 88 | if (!strcmp("width", type)) | ^~~~~~ xbitmap.c:88:12: note: include '' or provide a declaration of 'strcmp' make: *** [: xbitmap.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o root.o root.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o faces.o faces.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o ddxli.o ddxli.c ddxli.c: In function 'saParseXColor': ddxli.c:135:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 135 | n = strlen(spec); | ^~~~~~ ddxli.c:111:1: note: include '' or provide a declaration of 'strlen' 110 | #include "rgbtab.h" /* Equivalent of an X color table */ +++ |+#include 111 | ddxli.c:135:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 135 | n = strlen(spec); | ^~~~~~ ddxli.c:135:13: note: include '' or provide a declaration of 'strlen' ddxli.c:198:37: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 198 | if (strcmp(spec, tp->name) == 0) { | ^~~~~~ ddxli.c:198:37: note: include '' or provide a declaration of 'strcmp' make: *** [: ddxli.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o img.o img.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o compress.o compress.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rle.o rle.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o jpeg.o jpeg.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o fbm.o fbm.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o bright.o bright.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o clip.o clip.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o path.o path.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sunraster.o sunraster.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o merge.o merge.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o misc.o misc.c misc.c: In function 'bfill': misc.c:304:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 304 | b = (0 - (int) s) & (sizeof(unsigned long) - 1); | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o g3.o g3.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o pbm.o pbm.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o options.o options.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o zio.o zio.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o window.o window.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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: 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 */ | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xpixmap.o xpixmap.c In file included from /usr/include/strings.h:144, from ddxli.h:29, from xli.h:20, from xpixmap.c:20: In function 'bzero', inlined from 'xpixmapLoad' at xpixmap.c:493:2: /usr/include/bits/strings_fortified.h:32:10: warning: '__builtin_memset' specified bound 18446744072635809796 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 32 | (void) __builtin___memset_chk (__dest, '\0', __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xwd.o xwd.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o reduce.o reduce.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JIYFyz (%build) RPM build warnings: Macro expanded in comment on line 10: %{name}/%{name}-%{fver}.tar.gz line 24: It's not recommended to have unversioned Obsoletes: Obsoletes: xloadimage RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JIYFyz (%build) I: [iurt_root_command] ERROR: chroot