Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/qiv.spec'], chrootPath='/var/lib/mock/f29-build-9361-4183/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/qiv-2.3.1-7.fc29.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/f29-build-9361-4183/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YNsfMh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qiv-2.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/qiv-2.3.1.tgz + /usr/bin/tar -xof - + 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):' Patch #0 (qiv-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .optflags --fuzz=0 patching file Makefile + echo 'Patch #1 (qiv-exit-on-child-error.patch):' Patch #1 (qiv-exit-on-child-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .childexit --fuzz=0 patching file utils.c Hunk #1 succeeded at 283 (offset 5 lines). Patch #2 (qiv-2.3.1-remove-unused-vars.patch): + echo 'Patch #2 (qiv-2.3.1-remove-unused-vars.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .unused --fuzz=0 patching file utils.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FeRPvi + 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 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 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 event.c -o event.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 options.c -o options.o BUILDSTDERR: image.c: In function 'setup_win': BUILDSTDERR: image.c:397:5: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 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: GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, 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 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -pthread 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 xmalloc.c -o xmalloc.o 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: fprintf(stderr, "Error: Insufficient memory " BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xmalloc.c:30:6: BUILDSTDERR: (unsigned int) size); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xmalloc.c:26:27: note: format string is defined here BUILDSTDERR: "(attempt to malloc %zu bytes)\n", BUILDSTDERR: ~~^ 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: fprintf(stderr, "Error: Insufficient memory " BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xmalloc.c:48:6: BUILDSTDERR: (unsigned int) size); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xmalloc.c:44:27: note: format string is defined here BUILDSTDERR: "(attempt to calloc %zu bytes)\n", BUILDSTDERR: ~~^ 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: fprintf(stderr, "Error: Insufficient memory " BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xmalloc.c:73:6: BUILDSTDERR: (unsigned int) size); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: xmalloc.c:69:28: note: format string is defined here BUILDSTDERR: "(attempt to realloc %zu bytes)\n", BUILDSTDERR: ~~^ 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: 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: snprintf(trashfile, sizeof trashfile, "%s/%s/%s", path_result, TRASH_DIR, ptr+1); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: snprintf(trashfile, sizeof trashfile, "%s/%s", TRASH_DIR, path_result); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); 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: snprintf(dstfile, sizeof dstfile, "%s/.qiv-select", select_dir); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: snprintf(dstfile, sizeof dstfile, "%s/%s", select_dir, ptr); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: snprintf(tmp, sizeof dstfilebak, "%s.bak", dstfilebak); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: snprintf(name, sizeof name, "%s/%s", cdirname, entry->d_name); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: 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:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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: 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:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -lfribidi -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lImlib2 -lX11 -lXext -llcms2 -ljpeg -ltiff -lexif -lmagic -o qiv + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W95Yuz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64 + cd qiv-2.3.1 + rm -rf /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64 + install -Dpm 755 qiv /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64/usr/bin/qiv + install -Dpm 644 qiv.1 /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.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-7.fc29 --unique-debug-suffix -2.3.1-7.fc29.riscv64 --unique-debug-src-base qiv-2.3.1-7.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/qiv-2.3.1 extracting debug info from /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64/usr/bin/qiv /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 264 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: qiv-2.3.1-7.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LhRX2Z + umask 022 + cd /builddir/build/BUILD + cd qiv-2.3.1 + DOCDIR=/builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.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-7.fc29.riscv64/usr/share/doc/qiv + cp -pr README /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64/usr/share/doc/qiv + cp -pr Changelog /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64/usr/share/doc/qiv + cp -pr README.COPYING /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64/usr/share/doc/qiv + cp -pr README.TODO /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64/usr/share/doc/qiv + cp -pr contrib/qiv-command.example /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64/usr/share/doc/qiv + exit 0 Provides: qiv = 2.3.1-7.fc29 qiv(riscv-64) = 2.3.1-7.fc29 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) libfribidi.so.0()(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-7.fc29.riscv64 Provides: qiv-debugsource = 2.3.1-7.fc29 qiv-debugsource(riscv-64) = 2.3.1-7.fc29 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-7.fc29.riscv64 Provides: debuginfo(build-id) = 3554a4ff98f9f5872827ca94cf06c543c92c0d1c qiv-debuginfo = 2.3.1-7.fc29 qiv-debuginfo(riscv-64) = 2.3.1-7.fc29 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-7.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64 Wrote: /builddir/build/RPMS/qiv-2.3.1-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/qiv-debugsource-2.3.1-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/qiv-debuginfo-2.3.1-7.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XLJn2Z + umask 022 + cd /builddir/build/BUILD + cd qiv-2.3.1 + rm -rf /builddir/build/BUILDROOT/qiv-2.3.1-7.fc29.riscv64 + exit 0 Child return code was: 0