Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/qiv.spec'], chrootPath='/var/lib/mock/f31-build-48279-27047/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/qiv.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/qiv-2.3.1-9.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/qiv.spec'], chrootPath='/var/lib/mock/f31-build-48279-27047/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/qiv.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vD4EUh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qiv-2.3.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/qiv-2.3.1.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd qiv-2.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (qiv-optflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .optflags --fuzz=0 + echo 'Patch #1 (qiv-exit-on-child-error.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .childexit --fuzz=0 + echo 'Patch #2 (qiv-2.3.1-remove-unused-vars.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .unused --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (qiv-optflags.patch): patching file Makefile Patch #1 (qiv-exit-on-child-error.patch): patching file utils.c Hunk #1 succeeded at 283 (offset 5 lines). Patch #2 (qiv-2.3.1-remove-unused-vars.patch): patching file utils.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.V2BPah + umask 022 + cd /builddir/build/BUILD + cd qiv-2.3.1 + make -j4 gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -fcaller-saves -ffast-math -fno-strength-reduce -fthread-jumps -DEXTN_GIF -DEXTN_TIFF -DEXTN_XPM -DEXTN_PNG -DEXTN_PPM -DEXTN_PNM -DEXTN_PGM -DEXTN_PCX -DEXTN_BMP -DEXTN_EIM -DEXTN_JPEG -DEXTN_SVG -DEXTN_WMF -DEXTN_ICO -DHAVE_GETOPT_LONG -DSTATUSBAR_FONT='"Monospace 9"' -DCENTER=1 -DFILTER=1 -DCURSOR=84 -DHAVE_MAGIC -DHAVE_EXIF -DSUPPORT_LCMS -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/libmount -I/usr/include/blkid main.c -o main.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -fcaller-saves -ffast-math -fno-strength-reduce -fthread-jumps -DEXTN_GIF -DEXTN_TIFF -DEXTN_XPM -DEXTN_PNG -DEXTN_PPM -DEXTN_PNM -DEXTN_PGM -DEXTN_PCX -DEXTN_BMP -DEXTN_EIM -DEXTN_JPEG -DEXTN_SVG -DEXTN_WMF -DEXTN_ICO -DHAVE_GETOPT_LONG -DSTATUSBAR_FONT='"Monospace 9"' -DCENTER=1 -DFILTER=1 -DCURSOR=84 -DHAVE_MAGIC -DHAVE_EXIF -DSUPPORT_LCMS -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/libmount -I/usr/include/blkid image.c -o image.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -fcaller-saves -ffast-math -fno-strength-reduce -fthread-jumps -DEXTN_GIF -DEXTN_TIFF -DEXTN_XPM -DEXTN_PNG -DEXTN_PPM -DEXTN_PNM -DEXTN_PGM -DEXTN_PCX -DEXTN_BMP -DEXTN_EIM -DEXTN_JPEG -DEXTN_SVG -DEXTN_WMF -DEXTN_ICO -DHAVE_GETOPT_LONG -DSTATUSBAR_FONT='"Monospace 9"' -DCENTER=1 -DFILTER=1 -DCURSOR=84 -DHAVE_MAGIC -DHAVE_EXIF -DSUPPORT_LCMS -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/libmount -I/usr/include/blkid event.c -o event.o BUILDSTDERR: gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -fcaller-saves -ffast-math -fno-strength-reduce -fthread-jumps -DEXTN_GIF -DEXTN_TIFF -DEXTN_XPM -DEXTN_PNG -DEXTN_PPM -DEXTN_PNM -DEXTN_PGM -DEXTN_PCX -DEXTN_BMP -DEXTN_EIM -DEXTN_JPEG -DEXTN_SVG -DEXTN_WMF -DEXTN_ICO -DHAVE_GETOPT_LONG -DSTATUSBAR_FONT='"Monospace 9"' -DCENTER=1 -DFILTER=1 -DCURSOR=84 -DHAVE_MAGIC -DHAVE_EXIF -DSUPPORT_LCMS -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid image.c: In function 'setup_win': BUILDSTDERR: image.c:397:5: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 397 | icon_list.data = gdk_pixbuf_new_from_inline (-1, qiv_icon, FALSE, NULL); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdk.h:33, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkx.h:30, BUILDSTDERR: from image.c:12: BUILDSTDERR: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:362:12: note: declared here BUILDSTDERR: 362 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xmalloc.c: In function 'xmalloc': BUILDSTDERR: xmalloc.c:24:19: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] BUILDSTDERR: 24 | fprintf(stderr, "Error: Insufficient memory " BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 30 | (unsigned int) size); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: xmalloc.c:26:27: note: format string is defined here BUILDSTDERR: 26 | "(attempt to malloc %zu bytes)\n", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %u BUILDSTDERR: xmalloc.c: In function 'xcalloc': BUILDSTDERR: xmalloc.c:42:19: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] BUILDSTDERR: 42 | fprintf(stderr, "Error: Insufficient memory " BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 48 | (unsigned int) size); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: xmalloc.c:44:27: note: format string is defined here BUILDSTDERR: 44 | "(attempt to calloc %zu bytes)\n", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %u BUILDSTDERR: xmalloc.c: In function 'xrealloc': BUILDSTDERR: xmalloc.c:67:19: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] BUILDSTDERR: 67 | fprintf(stderr, "Error: Insufficient memory " BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ...... BUILDSTDERR: 73 | (unsigned int) size); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: xmalloc.c:69:28: note: format string is defined here BUILDSTDERR: 69 | "(attempt to realloc %zu bytes)\n", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | long unsigned int BUILDSTDERR: | %u BUILDSTDERR: utils.c: In function 'copy2select': BUILDSTDERR: utils.c:183:43: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 183 | while((n = read(fdi, buf, BUFSIZ)) > 0) write(fdo, buf, n); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c: In function 'move2trash': BUILDSTDERR: utils.c:60:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1024 [-Wformat-truncation=] BUILDSTDERR: 60 | snprintf(trashfile, sizeof trashfile, "%s/%s/%s", path_result, TRASH_DIR, ptr+1); BUILDSTDERR: | ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from utils.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 4108) into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c:50:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1013 [-Wformat-truncation=] BUILDSTDERR: 50 | snprintf(trashfile, sizeof trashfile, "%s/%s", TRASH_DIR, path_result); BUILDSTDERR: | ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from utils.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 4107 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from utils.c:11: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'move2trash' at utils.c:48:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c: In function 'copy2select': BUILDSTDERR: utils.c:129:40: warning: '/.qiv-select' directive output may be truncated writing 12 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 129 | snprintf(dstfile, sizeof dstfile, "%s/.qiv-select", select_dir); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from utils.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 13 and 1036 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c:156:43: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 156 | snprintf(dstfile, sizeof dstfile, "%s/%s", select_dir, ptr); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from utils.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c:168:41: warning: '.bak' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 168 | snprintf(tmp, sizeof dstfilebak, "%s.bak", dstfilebak); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from utils.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c: In function 'rreaddir': BUILDSTDERR: utils.c:604:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] BUILDSTDERR: 604 | snprintf(name, sizeof name, "%s/%s", cdirname, entry->d_name); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from utils.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c: In function 'get_exif_values': BUILDSTDERR: utils.c:956:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 232 [-Wformat-truncation=] BUILDSTDERR: 956 | snprintf(line, 255, "%-21s: %s\n", exif_tag_get_name_in_ifd(tags[i].tag,tags[i].ifd), buffer); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from utils.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 280) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c:977:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 232 [-Wformat-truncation=] BUILDSTDERR: 977 | snprintf(line, 255, "%-21s: %s\n", exif_tag_get_name_in_ifd(gps_tags[i], EXIF_IFD_GPS), buffer); BUILDSTDERR: | ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from utils.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 280) into a destination of size 255 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/libmount -I/usr/include/blkid options.c -o options.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -fcaller-saves -ffast-math -fno-strength-reduce -fthread-jumps -DEXTN_GIF -DEXTN_TIFF -DEXTN_XPM -DEXTN_PNG -DEXTN_PPM -DEXTN_PNM -DEXTN_PGM -DEXTN_PCX -DEXTN_BMP -DEXTN_EIM -DEXTN_JPEG -DEXTN_SVG -DEXTN_WMF -DEXTN_ICO -DHAVE_GETOPT_LONG -DSTATUSBAR_FONT='"Monospace 9"' -DCENTER=1 -DFILTER=1 -DCURSOR=84 -DHAVE_MAGIC -DHAVE_EXIF -DSUPPORT_LCMS -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/libmount -I/usr/include/blkid utils.c -o utils.o gcc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -fcaller-saves -ffast-math -fno-strength-reduce -fthread-jumps -DEXTN_GIF -DEXTN_TIFF -DEXTN_XPM -DEXTN_PNG -DEXTN_PPM -DEXTN_PNM -DEXTN_PGM -DEXTN_PCX -DEXTN_BMP -DEXTN_EIM -DEXTN_JPEG -DEXTN_SVG -DEXTN_WMF -DEXTN_ICO -DHAVE_GETOPT_LONG -DSTATUSBAR_FONT='"Monospace 9"' -DCENTER=1 -DFILTER=1 -DCURSOR=84 -DHAVE_MAGIC -DHAVE_EXIF -DSUPPORT_LCMS -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/libmount -I/usr/include/blkid xmalloc.c -o xmalloc.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -fcaller-saves -ffast-math -fno-strength-reduce -fthread-jumps -DEXTN_GIF -DEXTN_TIFF -DEXTN_XPM -DEXTN_PNG -DEXTN_PPM -DEXTN_PNM -DEXTN_PGM -DEXTN_PCX -DEXTN_BMP -DEXTN_EIM -DEXTN_JPEG -DEXTN_SVG -DEXTN_WMF -DEXTN_ICO -DHAVE_GETOPT_LONG -DSTATUSBAR_FONT='"Monospace 9"' -DCENTER=1 -DFILTER=1 -DCURSOR=84 -DHAVE_MAGIC -DHAVE_EXIF -DSUPPORT_LCMS main.o image.o event.o options.o utils.o xmalloc.o -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lImlib2 -lX11 -lXext -llcms2 -ljpeg -ltiff -lexif -lmagic -o qiv Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VfaKQf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64 + cd qiv-2.3.1 + rm -rf /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64 + install -Dpm 755 qiv /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/bin/qiv + install -Dpm 644 qiv.1 /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/share/man/man1/qiv.1 + chmod 644 contrib/qiv-command.example + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3.1-9.fc31 --unique-debug-suffix -2.3.1-9.fc31.riscv64 --unique-debug-src-base qiv-2.3.1-9.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/qiv-2.3.1 BUILDSTDERR: 264 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/bin/qiv extracting debug info from /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/bin/qiv original debug info size: 292kB, size after compression: 256kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: qiv-2.3.1-9.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SMeNyd + umask 022 + cd /builddir/build/BUILD + cd qiv-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/share/doc/qiv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/share/doc/qiv + cp -pr README /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/share/doc/qiv + cp -pr Changelog /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/share/doc/qiv + cp -pr README.COPYING /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/share/doc/qiv + cp -pr README.TODO /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/share/doc/qiv + cp -pr contrib/qiv-command.example /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64/usr/share/doc/qiv + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: qiv = 2.3.1-9.fc31 qiv(riscv-64) = 2.3.1-9.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libImlib2.so.1()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libexif.so.12()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) liblcms2.so.2()(64bit) libmagic.so.1()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) rtld(GNU_HASH) Processing files: qiv-debugsource-2.3.1-9.fc31.riscv64 Provides: qiv-debugsource = 2.3.1-9.fc31 qiv-debugsource(riscv-64) = 2.3.1-9.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: qiv-debuginfo-2.3.1-9.fc31.riscv64 Provides: debuginfo(build-id) = 0dbfdefca323cb7c44d9a5eafd1a2f29f059f7c9 qiv-debuginfo = 2.3.1-9.fc31 qiv-debuginfo(riscv-64) = 2.3.1-9.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: qiv-debugsource(riscv-64) = 2.3.1-9.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64 Wrote: /builddir/build/RPMS/qiv-2.3.1-9.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/qiv-debugsource-2.3.1-9.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/qiv-debuginfo-2.3.1-9.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3XQTRh + umask 022 + cd /builddir/build/BUILD + cd qiv-2.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/qiv-2.3.1-9.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0