D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/ppmtomd-1.6-9.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hTsgg7 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yl5r2s + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + rm -rf ppmtomd-1.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ppmtomd-1.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ppmtomd-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ppmtomd-mdv_conf.diff):' Patch #0 (ppmtomd-mdv_conf.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile + echo 'Patch #1 (ppmtomd-1.5-LDFLAGS.diff):' Patch #1 (ppmtomd-1.5-LDFLAGS.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile + echo 'Patch #2 (ppmtomd-1.6-mdv-fix-netpbm-includes.patch):' Patch #2 (ppmtomd-1.6-mdv-fix-netpbm-includes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ppmtomd.c + chmod 644 LICENCE Makefile README dyesubcolcor.c mddata.c mddata.h photocolcor.c ppmtomd.c ppmtomd.man version.h vphotocolcor.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RGxeYp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ppmtomd-1.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /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' 'LDFLAGS=-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' 'CDEBUGFLAGS=-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' 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 mddata.o mddata.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 photocolcor.o photocolcor.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 vphotocolcor.o vphotocolcor.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 dyesubcolcor.o dyesubcolcor.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 -W -Wall -Wstrict-prototypes -c ppmtomd.c ppmtomd.c: In function 'main': ppmtomd.c:1725:36: warning: variable 'hascmyk' set but not used [-Wunused-but-set-variable] 1725 | int hasfoil = 0, hasspot = 0, hascmyk = 0; | ^~~~~~~ ppmtomd.c:1725:23: warning: variable 'hasspot' set but not used [-Wunused-but-set-variable] 1725 | int hasfoil = 0, hasspot = 0, hascmyk = 0; | ^~~~~~~ ppmtomd.c:2204:59: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2204 | page_info.out_function(page_info.comp_fds[i],buffer,4); | ^~~~~~ | | | char * ppmtomd.c:2204:59: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2224:59: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2224 | page_info.out_function(page_info.comp_fds[i],buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2224:59: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2229:61: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2229 | page_info.out_function(page_info.comp_fds[i],buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2229:61: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2234:59: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2234 | page_info.out_function(page_info.comp_fds[i],buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2234:59: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2240:59: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2240 | page_info.out_function(page_info.comp_fds[i],buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2240:59: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2244:57: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2244 | page_info.out_function(page_info.comp_fds[i],buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2244:57: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2264:59: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2264 | page_info.out_function(page_info.comp_fds[i],buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2264:59: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2284:40: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2284 | page_info.out_function(STDOUT,buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2284:40: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2313:38: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2313 | page_info.out_function(STDOUT,buffer,1); | ^~~~~~ | | | char * ppmtomd.c:2313:38: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2326:38: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2326 | page_info.out_function(STDOUT,buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2326:38: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2334:40: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2334 | page_info.out_function(STDOUT,buffer,4); | ^~~~~~ | | | char * ppmtomd.c:2334:40: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2337:38: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2337 | page_info.out_function(STDOUT,buffer,1); | ^~~~~~ | | | char * ppmtomd.c:2337:38: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2340:38: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2340 | page_info.out_function(STDOUT,buffer,4); | ^~~~~~ | | | char * ppmtomd.c:2340:38: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2344:40: warning: pointer targets in passing argument 2 of 'page_info.out_function' differ in signedness [-Wpointer-sign] 2344 | page_info.out_function(STDOUT,buffer,2); | ^~~~~~ | | | char * ppmtomd.c:2344:40: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c: In function 'rgl_init_page': ppmtomd.c:2488:30: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2488 | page_info->out_function(fd,"\033%\200A",4); /* select RGL mode */ /* resolution defaults to 600 dpi */ | ^~~~~~~~~~~~ | | | char * ppmtomd.c:2488:30: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2490:30: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2490 | page_info->out_function(fd,buffer,6); | ^~~~~~ | | | char * ppmtomd.c:2490:30: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2495:30: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2495 | page_info->out_function(fd,buffer,6); | ^~~~~~ | | | char * ppmtomd.c:2495:30: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2497:30: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2497 | page_info->out_function(fd,buffer,6); | ^~~~~~ | | | char * ppmtomd.c:2497:30: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2501:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2501 | page_info->out_function(fd,buffer,6); | ^~~~~~ | | | char * ppmtomd.c:2501:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2506:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2506 | page_info->out_function(fd,buffer,6); | ^~~~~~ | | | char * ppmtomd.c:2506:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2511:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2511 | page_info->out_function(fd,buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2511:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2516:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2516 | page_info->out_function(fd,buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2516:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2522:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2522 | page_info->out_function(fd,buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2522:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2543:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2543 | page_info->out_function(fd,buffer,num+6); | ^~~~~~ | | | char * ppmtomd.c:2543:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2550:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2550 | page_info->out_function(fd,buffer,6); | ^~~~~~ | | | char * ppmtomd.c:2550:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2554:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2554 | page_info->out_function(fd,buffer,6); | ^~~~~~ | | | char * ppmtomd.c:2554:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:2561:32: warning: pointer targets in passing argument 2 of 'page_info->out_function' differ in signedness [-Wpointer-sign] 2561 | page_info->out_function(fd,buffer,5); | ^~~~~~ | | | char * ppmtomd.c:2561:32: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c: In function 'print_page': ppmtomd.c:581:2: warning: macro expands to multiple statements [-Wmultistatement-macros] 581 | if ( (h)->comps[c].y == 0 ) { (h)->comps[c].hcol++ ; } else { \ | ^~ ppmtomd.c:3073:62: note: in expansion of macro 'ht_inc' 3073 | if (vphoto) { vph_ht_inc(&kht,compY); } else ht_inc(&kht,compY); | ^~~~~~ ppmtomd.c:3073:57: note: some parts of macro expansion are not guarded by this 'else' clause 3073 | if (vphoto) { vph_ht_inc(&kht,compY); } else ht_inc(&kht,compY); | ^~~~ ppmtomd.c:581:2: warning: macro expands to multiple statements [-Wmultistatement-macros] 581 | if ( (h)->comps[c].y == 0 ) { (h)->comps[c].hcol++ ; } else { \ | ^~ ppmtomd.c:3079:64: note: in expansion of macro 'ht_inc' 3079 | if ( vphoto ) { vph_ht_inc(&kht,compK); } else ht_inc(&kht,compK); | ^~~~~~ ppmtomd.c:3079:59: note: some parts of macro expansion are not guarded by this 'else' clause 3079 | if ( vphoto ) { vph_ht_inc(&kht,compK); } else ht_inc(&kht,compK); | ^~~~ ppmtomd.c:581:2: warning: macro expands to multiple statements [-Wmultistatement-macros] 581 | if ( (h)->comps[c].y == 0 ) { (h)->comps[c].hcol++ ; } else { \ | ^~ ppmtomd.c:3085:64: note: in expansion of macro 'ht_inc' 3085 | if ( vphoto ) { vph_ht_inc(&kht,compC); } else ht_inc(&kht,compC); | ^~~~~~ ppmtomd.c:3085:59: note: some parts of macro expansion are not guarded by this 'else' clause 3085 | if ( vphoto ) { vph_ht_inc(&kht,compC); } else ht_inc(&kht,compC); | ^~~~ ppmtomd.c:581:2: warning: macro expands to multiple statements [-Wmultistatement-macros] 581 | if ( (h)->comps[c].y == 0 ) { (h)->comps[c].hcol++ ; } else { \ | ^~ ppmtomd.c:3091:62: note: in expansion of macro 'ht_inc' 3091 | if (vphoto) { vph_ht_inc(&kht,compM); } else ht_inc(&kht,compM); | ^~~~~~ ppmtomd.c:3091:57: note: some parts of macro expansion are not guarded by this 'else' clause 3091 | if (vphoto) { vph_ht_inc(&kht,compM); } else ht_inc(&kht,compM); | ^~~~ ppmtomd.c:3241:22: warning: pointer targets in passing argument 2 of 'prn_out' differ in signedness [-Wpointer-sign] 3241 | prn_out(STDOUT,(char *)(pixels),cols); | ^~~~~~~~~~~~~~~~ | | | char * ppmtomd.c:3241:22: note: expected 'unsigned char *' but argument is of type 'char *' ppmtomd.c:3269:37: warning: pointer targets in passing argument 1 of 'packbits' differ in signedness [-Wpointer-sign] 3269 | n = packbits(outbytes[i][0],cols,outu,outc); | ~~~~~~~~~~~^~~ | | | unsigned char * ppmtomd.c:2362:27: note: expected 'char *' but argument is of type 'unsigned char *' 2362 | static int packbits(char *bp, int n, char *outu, char *outc) | ~~~~~~^~ ppmtomd.c:3269:46: warning: pointer targets in passing argument 3 of 'packbits' differ in signedness [-Wpointer-sign] 3269 | n = packbits(outbytes[i][0],cols,outu,outc); | ^~~~ | | | unsigned char * ppmtomd.c:2362:44: note: expected 'char *' but argument is of type 'unsigned char *' 2362 | static int packbits(char *bp, int n, char *outu, char *outc) | ~~~~~~^~~~ ppmtomd.c:3269:51: warning: pointer targets in passing argument 4 of 'packbits' differ in signedness [-Wpointer-sign] 3269 | n = packbits(outbytes[i][0],cols,outu,outc); | ^~~~ | | | unsigned char * ppmtomd.c:2362:56: note: expected 'char *' but argument is of type 'unsigned char *' 2362 | static int packbits(char *bp, int n, char *outu, char *outc) | ~~~~~~^~~~ ppmtomd.c:3306:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3306 | sprintf(buffer,"\033*b%c%cM",0,0); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from ppmtomd.c:25: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ppmtomd.c:3313:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3313 | sprintf(buffer,"\033*b%c%cM",2,0); | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ppmtomd.c:3320:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3320 | sprintf(buffer,"\033*b%c%cY",rowstoskip[i]%256,rowstoskip[i]/256); | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ppmtomd.c:3327:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3327 | sprintf(buffer,"\033\032%c%cc",page_info->comp_colours[i],0); | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ppmtomd.c:3335:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3335 | sprintf(buffer,"\033*b%c%cV",0,0); | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ppmtomd.c:3339:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3339 | sprintf(buffer,"\033*b%c%c%c", | ^~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ppmtomd.c:2595:7: warning: variable 'black' set but not used [-Wunused-but-set-variable] 2595 | int black; | ^~~~~ ppmtomd.c:2584:7: warning: variable 'hrhalf' set but not used [-Wunused-but-set-variable] 2584 | int hrhalf, hrtoggle ; /* variables used in highres halftoning */ | ^~~~~~ ppmtomd.c: In function 'main': ppmtomd.c:2126:16: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 2126 | mkstemp(buf); | ^~~~~~~~~~~~ ppmtomd.c:2287:12: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2287 | write(1,buf,n); | ^~~~~~~~~~~~~~ ppmtomd.c: At top level: ppmtomd.c:772:18: warning: 'tile44' defined but not used [-Wunused-const-variable=] 772 | static const int tile44[4*4] = { | ^~~~~~ ppmtomd.c:764:18: warning: 'tile74' defined but not used [-Wunused-const-variable=] 764 | static const int tile74[7*4] = { | ^~~~~~ ppmtomd.c:684:18: warning: 'dithmat5line' defined but not used [-Wunused-const-variable=] 684 | static const int dithmat5line[5*5] = { | ^~~~~~~~~~~~ ppmtomd.c:676:18: warning: 'dithmat4line' defined but not used [-Wunused-const-variable=] 676 | static const int dithmat4line[4*4] = { | ^~~~~~~~~~~~ ppmtomd.c:655:18: warning: 'dithmat8line' defined but not used [-Wunused-const-variable=] 655 | static const int dithmat8line[8*8] = { | ^~~~~~~~~~~~ ppmtomd.c:15:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 15 | static const char rcsid[] = "$Header: /home/jcb/piva/ppmtomd/RCS/ppmtomd.c,v 2.18 2009/09/09 16:23:27 jcb Exp $"; | ^~~~~ 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 -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 -o ppmtomd ppmtomd.o mddata.o photocolcor.o vphotocolcor.o dyesubcolcor.o -lnetpbm -lm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ub3wVa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + mkdir /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ppmtomd-1.6 + '[' 1 -eq 1 ']' + install -d /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/bin + install -d /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/share/man/man1 + install -m0755 ppmtomd /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/bin/ + install -m0644 ppmtomd.man /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/share/man/man1/ppmtomd.1 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.6-9.mga10 --unique-debug-suffix -1.6-9.mga10.x86_64 --unique-debug-src-base ppmtomd-1.6-9.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/ppmtomd-1.6 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ppmtomd-1.6-9.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/ppmtomd-1.6-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ppmtomd-1.6-9.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VfZGlr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + cd ppmtomd-1.6 + DOCDIR=/home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/share/doc/ppmtomd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/share/doc/ppmtomd + cp -pr /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/ppmtomd-1.6/README /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/share/doc/ppmtomd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oYfL60 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + cd ppmtomd-1.6 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/share/licenses/ppmtomd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/share/licenses/ppmtomd + cp -pr /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/ppmtomd-1.6/LICENCE /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT/usr/share/licenses/ppmtomd + RPM_EC=0 ++ jobs -p + exit 0 Provides: ppmtomd = 1.6-9.mga10 ppmtomd(x86-64) = 1.6-9.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(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.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libnetpbm.so.11()(64bit) Processing files: ppmtomd-debugsource-1.6-9.mga10.x86_64 Provides: ppmtomd-debugsource = 1.6-9.mga10 ppmtomd-debugsource(x86-64) = 1.6-9.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ppmtomd-debuginfo-1.6-9.mga10.x86_64 Provides: debuginfo(build-id) = d5de6f76ca6c9f172c6aaacd6e433c9f5cfb8a0e ppmtomd-debuginfo = 1.6-9.mga10 ppmtomd-debuginfo(x86-64) = 1.6-9.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ppmtomd-debugsource(x86-64) = 1.6-9.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ppmtomd-debuginfo-1.6-9.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ppmtomd-1.6-9.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ppmtomd-debugsource-1.6-9.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.K3xgnI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + test -d /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + rm -rf /home/pterjan/rpmbuild/BUILD/ppmtomd-1.6-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!