D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: Macro expanded in comment on line 10: %{name}/%{name}-%{fver}.tar.gz

warning: line 25: It's not recommended to have unversioned Obsoletes: Obsoletes:	xloadimage
Installing /home/pterjan/rpmbuild/SRPMS/xli-20061110-17.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tuEOsq
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ test -d /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xli-20061110-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OhZRdD
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/xli-20061110-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
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /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
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xli-fix-building-with-gcc14.patch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LkAPfj
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xli-20061110-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 -j16 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 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 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 halftone.o halftone.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 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 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 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 imagetypes.o imagetypes.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 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 dither.o dither.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 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 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 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 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 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 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 new.o new.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 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 gif.o gif.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 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 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 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 rotate.o rotate.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 smooth.o smooth.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
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 tga.o tga.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 xli.o xli.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
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 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 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 send.o send.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 xlito.o xlito.c
xlito.c: In function 'main':
xlito.c:211:39: warning: '%04d' directive writing between 4 and 11 bytes into a region of size 5 [-Wformat-overflow=]
  211 |                         sprintf(tt+1,"%04d",tlen);
      |                                       ^~~~
xlito.c:211:38: note: directive argument in the range [-2147483648, 985]
  211 |                         sprintf(tt+1,"%04d",tlen);
      |                                      ^~~~~~
In file included from /usr/include/stdio.h:970,
                 from xlito.c:2:
In function 'sprintf',
    inlined from 'main' at xlito.c:211:4:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 12 bytes into a destination of size 5
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
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
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 png.o png.c
png.c: In function 'describe_png':
png.c:45:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'png_uint_32' {aka 'unsigned int'} [-Wformat=]
   45 |         printf("%s is a%s %lux%lu %d bit deep %s PNG image",
      |                           ~~^
      |                             |
      |                             long unsigned int
      |                           %u
......
   48 |                 png_get_image_width(png, info),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 |
      |                 png_uint_32 {aka unsigned int}
png.c:45:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'png_uint_32' {aka 'unsigned int'} [-Wformat=]
   45 |         printf("%s is a%s %lux%lu %d bit deep %s PNG image",
      |                               ~~^
      |                                 |
      |                                 long unsigned int
      |                               %u
......
   49 |                 png_get_image_height(png, info),
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 |
      |                 png_uint_32 {aka unsigned int}
rm -f xlito
gcc -o xlito -O2 -fno-strength-reduce -fno-strict-aliasing   -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   -L/usr/lib64   xlito.o    -lm   
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 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 bmp.o bmp.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 pcd.o pcd.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
rm -f xli
gcc -o xli -O2 -fno-strength-reduce -fno-strict-aliasing   -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   -L/usr/lib64   bright.o clip.o cmuwmrast.o compress.o dither.o faces.o fbm.o fill.o  g3.o gif.o halftone.o imagetypes.o img.o mac.o mcidas.o mc_tables.o merge.o misc.o new.o options.o path.o pbm.o pcx.o reduce.o jpeg.o rle.o rlelib.o root.o rotate.o send.o smooth.o sunraster.o  value.o window.o xbitmap.o xli.o xpixmap.o xwd.o zio.o zoom.o ddxli.o tga.o bmp.o pcd.o png.o -DHAS_MEMCPY -lXext -lX11   -ljpeg -lpng -lz   -lm   
rm -f xli._man
if test -z "" ; then \
   cd `dirname xli` && \
   ln -s `basename xli.man` `basename xli._man`; \
else \
      	     cpp -undef -traditional  -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org"  \
     < xli.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d' 			-e '/^#line  *[0-9][0-9]*  *.*$/d' 			-e '/^[ 	]*XCOMM$/s/XCOMM/#/' 			-e '/^[ 	]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' 			-e '/^[ 	]*XHASH/s/XHASH/#/' 			-e '/\@\@$/s/\@\@$/\\/' >xli._man; \
fi
rm -f xlito._man
if test -z "" ; then \
   cd `dirname xlito` && \
   ln -s `basename xlito.man` `basename xlito._man`; \
else \
      	     cpp -undef -traditional  -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org"  \
     < xlito.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d' 			-e '/^#line  *[0-9][0-9]*  *.*$/d' 			-e '/^[ 	]*XCOMM$/s/XCOMM/#/' 			-e '/^[ 	]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' 			-e '/^[ 	]*XHASH/s/XHASH/#/' 			-e '/\@\@$/s/\@\@$/\\/' >xlito._man; \
fi
+ for i in xli xlito
+ cp -f xli.man xli.1
+ for i in xli xlito
+ cp -f xlito.man xlito.1
+ cp -f xliguide.man xliguide.5
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PDbGUK
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ mkdir /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT
+ cd xli-2006-11-10
+ '[' 1 -eq 1 ']'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin
+ mkdir -p /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/etc/X11/app-defaults/
+ make install SYSPATHFILE=/home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/etc/X11/app-defaults/Xli BINDIR=/home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin
install -c   xli /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xli
install -c   xlito /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xlito
*** Creating default /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/etc/X11/app-defaults/Xli since you
*** don't have one. This file is used to set up default places
*** and names to look for images.  You probably want to edit
*** it for your site.  See the xloadimage manual page for
*** details on the contents of this file.
cp /dev/null /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/etc/X11/app-defaults/Xli
echo "path=/usr/include/bitmaps /usr/include/images" 		>> /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/etc/X11/app-defaults/Xli
echo "extension=.gif .jpg .rle .csun .msun .sun .face .xbm .bm" 		>>/home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/etc/X11/app-defaults/Xli
chmod a+r /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/etc/X11/app-defaults/Xli
rm -f /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xview /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xsetbg
ln -s /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xli /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xview
ln -s /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xli /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xsetbg
install in . done
+ for i in *.1
+ install -m644 xli.1 -D /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/man/man1/xli.1
+ for i in *.1
+ install -m644 xlito.1 -D /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/man/man1/xlito.1
+ install -m644 xliguide.5 -D /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/man/man5/xliguide.5
+ ln -sf xli /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xsetbg
+ ln -sf xli /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xview
+ ln -sf xli /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/bin/xloadimage
+ chmod 644 README README.xloadimage
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 20061110-17.mga10 --unique-debug-suffix -20061110-17.mga10.x86_64 --unique-debug-src-base xli-20061110-17.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/xli-20061110-build/xli-2006-11-10
find-debuginfo: starting

Extracting debug info from 2 files
DWARF-compressing 2 files
sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/xli-20061110-17.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/xli-20061110-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: xli-20061110-17.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5YBoAr
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ cd xli-2006-11-10
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/doc/xli
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/doc/xli
+ cp -pr /home/pterjan/rpmbuild/BUILD/xli-20061110-build/xli-2006-11-10/chkgamma.jpg /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/doc/xli
+ cp -pr /home/pterjan/rpmbuild/BUILD/xli-20061110-build/xli-2006-11-10/README /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/doc/xli
+ cp -pr /home/pterjan/rpmbuild/BUILD/xli-20061110-build/xli-2006-11-10/README.xloadimage /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/doc/xli
+ cp -pr /home/pterjan/rpmbuild/BUILD/xli-20061110-build/xli-2006-11-10/ABOUTGAMMA /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT/usr/share/doc/xli
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: config(xli) = 20061110-17.mga10 xli = 20061110-17.mga10 xli(x86-64) = 20061110-17.mga10 xloadimage
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libX11.so.6()(64bit) libXext.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libjpeg.so.8()(64bit) libjpeg.so.8(LIBJPEG_8.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit)
Obsoletes: xloadimage
Processing files: xli-debugsource-20061110-17.mga10.x86_64
Provides: xli-debugsource = 20061110-17.mga10 xli-debugsource(x86-64) = 20061110-17.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: xli-debuginfo-20061110-17.mga10.x86_64
Provides: debuginfo(build-id) = 69780f1743a888d73def197534efcbc9a8754e88 debuginfo(build-id) = 803179dc49c9e155947956f2888938ea30fa2783 xli-debuginfo = 20061110-17.mga10 xli-debuginfo(x86-64) = 20061110-17.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: xli-debugsource(x86-64) = 20061110-17.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/xli-20061110-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xli-20061110-17.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xli-debuginfo-20061110-17.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/xli-debugsource-20061110-17.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.b0lvXD
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ test -d /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/xli-20061110-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    Macro expanded in comment on line 10: %{name}/%{name}-%{fver}.tar.gz

    line 25: It's not recommended to have unversioned Obsoletes: Obsoletes:	xloadimage
D: [iurt_root_command] Success!