D: [iurt_root_command] chroot warning: %patchN is deprecated (11 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/dcraw-9.28.0-12.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PzsyQY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf dcraw-9.28.0 + /usr/bin/mkdir -p dcraw-9.28.0 + cd dcraw-9.28.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/dcraw-9.28.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/dcraw-9.28.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dcraw-9.28.0-SPECPARTS + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/CRWInfo-0.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir gimp2.0 + install -m644 /home/pterjan/rpmbuild/SOURCES/rawphoto.c gimp2.0/rawphoto.c + install -m644 /home/pterjan/rpmbuild/SOURCES/.badpixels .badpixels + install -m644 /home/pterjan/rpmbuild/SOURCES/dcraw.1.html dcraw.1 + install -m644 /home/pterjan/rpmbuild/SOURCES/dcwrap dcwrap + install -m644 /home/pterjan/rpmbuild/SOURCES/parse.c parse.c + install -m644 /home/pterjan/rpmbuild/SOURCES/clean_crw.c clean_crw.c + install -m644 /home/pterjan/rpmbuild/SOURCES/fixdates.c fixdates.c + install -m644 /home/pterjan/rpmbuild/SOURCES/decompress.c decompress.c + install -m644 /home/pterjan/rpmbuild/SOURCES/pgm.c pgm.c + install -m644 /home/pterjan/rpmbuild/SOURCES/sony_clear.c sony_clear.c + install -m644 /home/pterjan/rpmbuild/SOURCES/fujiturn.c fujiturn.c + install -m644 /home/pterjan/rpmbuild/SOURCES/fuji_green.c fuji_green.c + install -m644 /home/pterjan/rpmbuild/SOURCES/renum renum + install -m644 /home/pterjan/rpmbuild/SOURCES/lcfile lcfile + bzcat /home/pterjan/rpmbuild/SOURCES/dcraw.html.bz2 + install -m644 /home/pterjan/rpmbuild/SOURCES/secrets.html secrets.html + install -m644 /home/pterjan/rpmbuild/SOURCES/read_ndf.c read_ndf.c + pushd CRWInfo-0.2 ~/rpmbuild/BUILD/dcraw-9.28.0/CRWInfo-0.2 ~/rpmbuild/BUILD/dcraw-9.28.0 + echo 'Patch #0 (crwinfo-help.patch):' Patch #0 (crwinfo-help.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .help --fuzz=0 patching file crwinfo.c + popd ~/rpmbuild/BUILD/dcraw-9.28.0 + echo 'Patch #1 (dcraw-7.42-sony-clear-gcc-4.patch):' Patch #1 (dcraw-7.42-sony-clear-gcc-4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .gcc4 --fuzz=0 patching file sony_clear.c + echo 'Patch #8 (fuji_green.c_fix_gcc_warnings.patch):' Patch #8 (fuji_green.c_fix_gcc_warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .fuji_green.c_fix_gcc_warnings --fuzz=0 patching file fuji_green.c + echo 'Patch #10 (iowrappers-part2.patch):' Patch #10 (iowrappers-part2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .iowrappers-part2 --fuzz=0 patching file parse.c + pushd dcraw ~/rpmbuild/BUILD/dcraw-9.28.0/dcraw ~/rpmbuild/BUILD/dcraw-9.28.0 + echo 'Patch #3 (dcraw-9.27.0-CVE-2013-1438.patch):' Patch #3 (dcraw-9.27.0-CVE-2013-1438.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2013-1438 --fuzz=0 patching file dcraw.c Hunk #1 succeeded at 934 (offset 3 lines). Hunk #2 succeeded at 955 (offset 3 lines). Hunk #3 succeeded at 5851 (offset 14 lines). Hunk #4 succeeded at 6209 (offset 14 lines). Hunk #5 succeeded at 6235 (offset 18 lines). Hunk #6 succeeded at 6341 (offset 26 lines). + echo 'Patch #4 (dcraw-CVE-2018-5801.patch):' Patch #4 (dcraw-CVE-2018-5801.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2018-5801 --fuzz=0 patching file dcraw.c Hunk #1 succeeded at 1253 (offset 5 lines). Hunk #2 succeeded at 1898 (offset 5 lines). Hunk #3 succeeded at 2209 (offset 13 lines). Hunk #4 succeeded at 2374 (offset 13 lines). Hunk #5 succeeded at 2474 (offset 13 lines). Hunk #6 succeeded at 2503 (offset 13 lines). Hunk #7 succeeded at 2634 (offset 13 lines). Hunk #8 succeeded at 2666 (offset 13 lines). Hunk #9 succeeded at 2686 (offset 13 lines). Hunk #10 succeeded at 3159 (offset 13 lines). Hunk #11 succeeded at 3210 (offset 13 lines). + echo 'Patch #5 (dcraw-CVE-2017-13735.patch):' Patch #5 (dcraw-CVE-2017-13735.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2017-13735 --fuzz=0 patching file dcraw.c Hunk #1 succeeded at 2254 (offset 4 lines). + echo 'Patch #6 (dcraw-CVE-2017-14608.patch):' Patch #6 (dcraw-CVE-2017-14608.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2017-14608 --fuzz=0 patching file dcraw.c Hunk #1 succeeded at 2631 (offset 4 lines). + echo 'Patch #7 (dcraw-CVE-2018-19655.patch):' Patch #7 (dcraw-CVE-2018-19655.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2018-19655 --fuzz=0 patching file dcraw.c Hunk #1 succeeded at 8389 (offset 44 lines). Hunk #2 succeeded at 8406 (offset 44 lines). + echo 'Patch #9 (iowrappers-part1.patch):' Patch #9 (iowrappers-part1.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .iowrappers-part1 --fuzz=0 patching file dcraw.c Hunk #11 succeeded at 1128 (offset 4 lines). Hunk #12 succeeded at 1159 (offset 4 lines). Hunk #13 succeeded at 1193 (offset 4 lines). Hunk #14 succeeded at 1232 (offset 4 lines). Hunk #15 succeeded at 1249 (offset 4 lines). Hunk #16 succeeded at 1311 (offset 4 lines). Hunk #17 succeeded at 1328 (offset 4 lines). Hunk #18 succeeded at 1351 (offset 4 lines). Hunk #19 succeeded at 1369 (offset 4 lines). Hunk #20 succeeded at 1385 (offset 4 lines). Hunk #21 succeeded at 1401 (offset 4 lines). Hunk #22 succeeded at 1416 (offset 4 lines). Hunk #23 succeeded at 1531 (offset 4 lines). Hunk #24 succeeded at 1598 (offset 4 lines). Hunk #25 succeeded at 1682 (offset 4 lines). Hunk #26 succeeded at 1723 (offset 4 lines). Hunk #27 succeeded at 1772 (offset 4 lines). Hunk #28 succeeded at 1884 (offset 4 lines). Hunk #29 succeeded at 1921 (offset 4 lines). Hunk #30 succeeded at 1933 (offset 4 lines). Hunk #31 succeeded at 1975 (offset 4 lines). Hunk #32 succeeded at 2051 (offset 4 lines). Hunk #33 succeeded at 2090 (offset 4 lines). Hunk #34 succeeded at 2420 (offset 4 lines). Hunk #35 succeeded at 2447 (offset 4 lines). Hunk #36 succeeded at 2518 (offset 4 lines). Hunk #37 succeeded at 2579 (offset 4 lines). Hunk #38 succeeded at 2615 (offset 4 lines). Hunk #39 succeeded at 2760 (offset 4 lines). Hunk #40 succeeded at 2809 (offset 4 lines). Hunk #41 succeeded at 2838 (offset 4 lines). Hunk #42 succeeded at 2891 (offset 4 lines). Hunk #43 succeeded at 2948 (offset 4 lines). Hunk #44 succeeded at 3004 (offset 4 lines). Hunk #45 succeeded at 3055 (offset 4 lines). Hunk #46 succeeded at 3171 (offset 4 lines). Hunk #47 succeeded at 3256 (offset 4 lines). Hunk #48 succeeded at 3280 (offset 4 lines). Hunk #49 succeeded at 4017 (offset 4 lines). Hunk #50 succeeded at 5220 (offset 4 lines). Hunk #51 succeeded at 5232 (offset 4 lines). Hunk #52 succeeded at 5283 (offset 4 lines). Hunk #53 succeeded at 5305 (offset 4 lines). Hunk #54 succeeded at 5318 (offset 4 lines). Hunk #55 succeeded at 5352 (offset 4 lines). Hunk #56 succeeded at 5364 (offset 4 lines). Hunk #57 succeeded at 5377 (offset 4 lines). Hunk #58 succeeded at 5404 (offset 4 lines). Hunk #59 succeeded at 5433 (offset 4 lines). Hunk #60 succeeded at 5480 (offset 4 lines). Hunk #61 succeeded at 5518 (offset 4 lines). Hunk #62 succeeded at 5546 (offset 4 lines). Hunk #63 succeeded at 5566 (offset 4 lines). Hunk #64 succeeded at 5607 (offset 4 lines). Hunk #65 succeeded at 5628 (offset 4 lines). Hunk #66 succeeded at 5658 (offset 4 lines). Hunk #67 succeeded at 5708 (offset 4 lines). Hunk #68 succeeded at 5738 (offset 4 lines). Hunk #69 succeeded at 5760 (offset 4 lines). Hunk #70 succeeded at 5811 (offset 4 lines). Hunk #71 succeeded at 5820 (offset 4 lines). Hunk #72 succeeded at 5848 (offset 4 lines). Hunk #73 succeeded at 5865 (offset 4 lines). Hunk #74 succeeded at 5912 (offset 4 lines). Hunk #75 succeeded at 5938 (offset 5 lines). Hunk #76 succeeded at 5982 (offset 5 lines). Hunk #77 succeeded at 5992 (offset 5 lines). Hunk #78 succeeded at 6005 (offset 5 lines). Hunk #79 succeeded at 6022 (offset 5 lines). Hunk #80 succeeded at 6064 (offset 5 lines). Hunk #81 succeeded at 6078 (offset 5 lines). Hunk #82 succeeded at 6099 (offset 5 lines). Hunk #83 succeeded at 6113 (offset 5 lines). Hunk #84 succeeded at 6136 (offset 5 lines). Hunk #85 succeeded at 6205 (offset 5 lines). Hunk #86 succeeded at 6227 (offset 5 lines). Hunk #87 succeeded at 6273 (offset 5 lines). Hunk #88 succeeded at 6291 (offset 5 lines). Hunk #89 succeeded at 6463 (offset 12 lines). Hunk #90 succeeded at 6473 (offset 12 lines). Hunk #91 succeeded at 6486 (offset 12 lines). Hunk #92 succeeded at 6576 (offset 12 lines). Hunk #93 succeeded at 6617 (offset 12 lines). Hunk #94 succeeded at 6642 (offset 12 lines). Hunk #95 succeeded at 6672 (offset 12 lines). Hunk #96 succeeded at 6681 (offset 12 lines). Hunk #97 succeeded at 6720 (offset 12 lines). Hunk #98 succeeded at 6753 (offset 12 lines). Hunk #99 succeeded at 6765 (offset 12 lines). Hunk #100 succeeded at 6797 (offset 12 lines). Hunk #101 succeeded at 6819 (offset 12 lines). Hunk #102 succeeded at 6848 (offset 12 lines). Hunk #103 succeeded at 6858 (offset 12 lines). Hunk #104 succeeded at 6875 (offset 12 lines). Hunk #105 succeeded at 6889 (offset 12 lines). Hunk #106 succeeded at 6902 (offset 12 lines). Hunk #107 succeeded at 6917 (offset 12 lines). Hunk #108 succeeded at 6939 (offset 12 lines). Hunk #109 succeeded at 6948 (offset 12 lines). Hunk #110 succeeded at 6963 (offset 12 lines). Hunk #111 succeeded at 6980 (offset 12 lines). Hunk #112 succeeded at 6995 (offset 12 lines). Hunk #113 succeeded at 7010 (offset 12 lines). Hunk #114 succeeded at 7030 (offset 12 lines). Hunk #115 succeeded at 7065 (offset 12 lines). Hunk #116 succeeded at 7080 (offset 12 lines). Hunk #117 succeeded at 7106 (offset 12 lines). Hunk #118 succeeded at 7119 (offset 12 lines). Hunk #119 succeeded at 7130 (offset 12 lines). Hunk #120 succeeded at 7151 (offset 12 lines). Hunk #121 succeeded at 7171 (offset 12 lines). Hunk #122 succeeded at 7200 (offset 12 lines). Hunk #123 succeeded at 8400 (offset 12 lines). Hunk #124 succeeded at 8427 (offset 12 lines). Hunk #125 succeeded at 8761 (offset 12 lines). Hunk #126 succeeded at 8777 (offset 12 lines). Hunk #127 succeeded at 8802 (offset 12 lines). Hunk #128 succeeded at 8822 (offset 12 lines). Hunk #129 succeeded at 8845 (offset 12 lines). Hunk #130 succeeded at 8859 (offset 12 lines). Hunk #131 succeeded at 9241 (offset 12 lines). Hunk #132 succeeded at 9419 (offset 12 lines). Hunk #133 succeeded at 9575 (offset 12 lines). Hunk #134 succeeded at 9662 (offset 12 lines). Hunk #135 succeeded at 9693 (offset 12 lines). Hunk #136 succeeded at 9764 (offset 12 lines). Hunk #137 succeeded at 9774 (offset 12 lines). Hunk #138 succeeded at 10120 (offset 12 lines). Hunk #139 succeeded at 10159 (offset 12 lines). Hunk #140 succeeded at 10179 (offset 12 lines). Hunk #141 succeeded at 10386 (offset 12 lines). Hunk #142 succeeded at 10494 (offset 12 lines). + echo 'Patch #11 (dcraw-CVE-2021-3624.patch):' Patch #11 (dcraw-CVE-2021-3624.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2021-3624 --fuzz=0 patching file dcraw.c Hunk #1 succeeded at 3293 (offset 4 lines). + popd ~/rpmbuild/BUILD/dcraw-9.28.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wTSZxT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd dcraw-9.28.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dcraw + cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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 '-DLOCALEDIR="/usr/share/locale/"' dcraw.c -o dcraw -lm -ljpeg -llcms2 -ljasper dcraw.c: In function 'parse_makernote': dcraw.c:5369:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 5369 | fgets (model2, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~ dcraw.c: In function 'parse_gps': dcraw.c:5635:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 5635 | fgets ((char *) (gpsdata+14+tag/3), MIN(len,12), ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcraw.c: In function 'parse_mos': dcraw.c:5683:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5683 | fscanf (ifp, "%d", &i); | ^~~~~~~~~~~~~~~~~~~~~~ dcraw.c:5694:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5694 | fscanf (ifp, "%f", (float *)romm_cam + i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcraw.c:5698:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5698 | fscanf (ifp, "%d", &planes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dcraw.c:5700:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5700 | fscanf (ifp, "%d", &flip); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dcraw.c:5703:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5703 | fscanf (ifp, "%d", &i); | ^~~~~~~~~~~~~~~~~~~~~~ dcraw.c:5707:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5707 | fscanf (ifp, "%d", &i); | ^~~~~~~~~~~~~~~~~~~~~~ dcraw.c:5711:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 5711 | FORC4 fscanf (ifp, "%d", neut+c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dcraw.c: In function 'parse_tiff_ifd': dcraw.c:5860:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 5860 | fgets (make, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~ dcraw.c:5863:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 5863 | fgets (model, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~~ dcraw.c:5908:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 5908 | fgets (software, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ dcraw.c:5978:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 5978 | fgets (model2, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~ dcraw.c:6018:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 6018 | FORC4 fscanf (ifp, "%f", &rgb_cam[i][c^1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dcraw.c:6135:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 6135 | fgets (make, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~ dcraw.c:6243:24: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 6243 | if (type == 2) fgets (model2, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~ dcraw.c: In function 'parse_rollei': dcraw.c:6693:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 6693 | fgets (line, 128, ifp); | ^~~~~~~~~~~~~~~~~~~~~~ dcraw.c: In function 'identify': dcraw.c:9299:33: warning: '%-10s' directive writing between 10 and 56 bytes into a region of size 38 [-Wformat-overflow=] 9299 | sprintf (model+20, "DYNAX %-10s", model+6+(model[0]=='M')); | ^~~~~ In file included from /usr/include/stdio.h:980, from dcraw.c:39: In function 'sprintf', inlined from 'identify' at dcraw.c:9299:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 17 and 63 bytes into a destination of size 44 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dcraw.c: In function 'tiff_head': dcraw.c:10067:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 8 and 15 [-Wformat-overflow=] 10067 | sprintf (th->date, "%04d:%02d:%02d %02d:%02d:%02d", | ^~~~ dcraw.c:10067:22: note: directive argument in the range [-2147483647, 2147483647] 10067 | sprintf (th->date, "%04d:%02d:%02d %02d:%02d:%02d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'tiff_head' at dcraw.c:10067:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ + cd .. + for file in *.c + '[' clean_crw.c '!=' dcraw.c ']' + cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o clean_crw clean_crw.c -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lm clean_crw.c: In function 'main': clean_crw.c:50:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fread (buffer, 1, size, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + for file in *.c + '[' decompress.c '!=' dcraw.c ']' + cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o decompress decompress.c -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lm decompress.c: In function 'parse': decompress.c:80:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | fread (name, 64, 1, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~ decompress.c: In function 'canon_has_lowbits': decompress.c:109:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 109 | fread (test, 1, sizeof test, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ decompress.c: In function 'open_and_id': decompress.c:135:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | fread (head, 1, 8, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~ + for file in *.c + '[' fixdates.c '!=' dcraw.c ']' + cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o fixdates fixdates.c -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lm fixdates.c: In function 'main': fixdates.c:102:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | fread (head, 1, 26, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~ + for file in *.c + '[' fuji_green.c '!=' dcraw.c ']' + cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -o fuji_green fuji_green.c -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lm fuji_green.c: In function 'read_shorts': fuji_green.c:75:5: error: implicit declaration of function 'swab' [-Wimplicit-function-declaration] 75 | swab (pixel, pixel, count*2); | ^~~~ fuji_green.c:73:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fread (pixel, 2, count, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fuji_green.c: In function 'parse_tiff': fuji_green.c:142:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fgets (make, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~ fuji_green.c:145:11: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | fgets (model, 64, ifp); | ^~~~~~~~~~~~~~~~~~~~~~ fuji_green.c: In function 'identify': fuji_green.c:162:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | fread (head, 1, 32, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wTSZxT (%build) RPM build warnings: %patchN is deprecated (11 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wTSZxT (%build) I: [iurt_root_command] ERROR: chroot