Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/qiv.spec'], chrootPath='/var/lib/mock/f38-build-698047-86893/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/qiv-2.3.2-5.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/qiv.spec'], chrootPath='/var/lib/mock/f38-build-698047-86893/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cE5fTV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qiv-2.3.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/qiv-2.3.2.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd qiv-2.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/qiv-makefile-destdir.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IeKGHc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd qiv-2.3.2 + /usr/bin/make -O -j4 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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"' -DCOMMENT_FONT='"Monospace 20"' -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/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -pthread main.c -o main.o main.c: In function 'main': main.c:116:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_new" 116 | qiv_main_loop = g_main_new(TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:211:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_run" 211 | g_main_run(qiv_main_loop); /* will never return */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'qiv_exit': main.c:226:13: warning: Deprecated pre-processor symbol: replace with "g_main_loop_unref" 226 | g_main_destroy(qiv_main_loop); | ^~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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"' -DCOMMENT_FONT='"Monospace 20"' -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/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -pthread options.c -o options.o gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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"' -DCOMMENT_FONT='"Monospace 20"' -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/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -pthread xmalloc.c -o xmalloc.o xmalloc.c: In function 'xmalloc': xmalloc.c:24:33: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] 24 | fprintf(stderr, "Error: Insufficient memory " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 30 | (unsigned int) size); | ~~~~~~~~~~~~~~~~~~~ | | | unsigned int xmalloc.c:26:55: note: format string is defined here 26 | "(attempt to malloc %zu bytes)\n", | ~~^ | | | long unsigned int | %u xmalloc.c: In function 'xcalloc': xmalloc.c:42:33: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] 42 | fprintf(stderr, "Error: Insufficient memory " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 48 | (unsigned int) size); | ~~~~~~~~~~~~~~~~~~~ | | | unsigned int xmalloc.c:44:55: note: format string is defined here 44 | "(attempt to calloc %zu bytes)\n", | ~~^ | | | long unsigned int | %u xmalloc.c: In function 'xrealloc': xmalloc.c:67:33: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] 67 | fprintf(stderr, "Error: Insufficient memory " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 73 | (unsigned int) size); | ~~~~~~~~~~~~~~~~~~~ | | | unsigned int xmalloc.c:69:56: note: format string is defined here 69 | "(attempt to realloc %zu bytes)\n", | ~~^ | | | long unsigned int | %u gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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"' -DCOMMENT_FONT='"Monospace 20"' -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/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -pthread image.c -o image.o image.c: In function 'setup_win': image.c:397:5: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 397 | icon_list.data = gdk_pixbuf_new_from_inline (-1, qiv_icon, FALSE, NULL); | ^~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from /usr/include/gtk-2.0/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from image.c:12: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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"' -DCOMMENT_FONT='"Monospace 20"' -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/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -pthread event.c -o event.o gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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"' -DCOMMENT_FONT='"Monospace 20"' -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/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -pthread utils.c -o utils.o utils.c: In function 'get_icc_profile': utils.c:916:5: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 916 | uint16 count; | ^~~~~~ utils.c: In function 'copy2select': utils.c:218:43: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 218 | while((n = read(fdi, buf, BUFSIZ)) > 0) write(fdo, buf, n); | ^~~~~~~~~~~~~~~~~~ utils.c: In function 'move2trash': utils.c:60:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1024 [-Wformat-truncation=] 60 | snprintf(trashfile, sizeof trashfile, "%s/%s/%s", path_result, TRASH_DIR, ptr+1); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from utils.c:10: In function 'snprintf', inlined from 'move2trash' at utils.c:60:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 13 or more bytes (assuming 4108) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c: In function 'move2trash': utils.c:48:5: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 48 | strncpy(path_result, filename, PATH_MAX); | ^ utils.c: In function 'copy2select': utils.c:164:40: warning: '/.qiv-select' directive output may be truncated writing 12 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 164 | snprintf(dstfile, sizeof dstfile, "%s/.qiv-select", select_dir); | ^~~~~~~~~~~~ In function 'snprintf', inlined from 'copy2select' at utils.c:164:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 13 and 1036 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c: In function 'copy2select': utils.c:191:43: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 191 | snprintf(dstfile, sizeof dstfile, "%s/%s", select_dir, ptr); | ^ In function 'snprintf', inlined from 'copy2select' at utils.c:191:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c: In function 'copy2select': utils.c:203:41: warning: '.bak' directive output may be truncated writing 4 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 203 | snprintf(tmp, sizeof dstfilebak, "%s.bak", dstfilebak); | ^~~~ In function 'snprintf', inlined from 'copy2select' at utils.c:203:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c: In function 'rreaddir': utils.c:641:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 641 | snprintf(name, sizeof name, "%s/%s", cdirname, entry->d_name); | ^~ In function 'snprintf', inlined from 'rreaddir' at utils.c:641:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ utils.c: In function 'get_exif_values': utils.c:1006:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 232 [-Wformat-truncation=] 1006 | snprintf(line, 255, "%-21s: %s\n", exif_tag_get_name_in_ifd(tags[i].tag,tags[i].ifd), buffer); | ^~ ~~~~~~ In function 'snprintf', inlined from 'get_exif_values' at utils.c:1006:9: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 25 or more bytes (assuming 280) into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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"' -DCOMMENT_FONT='"Monospace 20"' -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 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lImlib2 -lxml2 -lX11 -lXext -lgio-2.0 -llcms2 -ljpeg -ltiff -lexif -lmagic -o qiv + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vqQxW8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd qiv-2.3.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/usr Installing QIV... /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/bin /usr/bin/install -p -m 0755 qiv /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/bin /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/man/man1 /usr/bin/install -p -m 0644 qiv.1 /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/man/man1 gzip -9f /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/man/man1/qiv.1 /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/pixmaps /usr/bin/install -p -m 0644 qiv.png /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/pixmaps/qiv.png /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/applications /usr/bin/install -p -m 0644 qiv.desktop /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/applications/qiv.desktop (qiv:70778): Gdk-WARNING **: 11:33:46.947: cannot open display: -- Test Failed -- \nDont forget to look into the "qiv-command" file and install it!\n-> cp qiv-command.example /usr/bin/qiv-command\n\n + chmod 644 contrib/qiv-command.example + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.3.2-5.fc38 --unique-debug-suffix -2.3.2-5.fc38.riscv64 --unique-debug-src-base qiv-2.3.2-5.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/qiv-2.3.2 extracting debug info from /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/bin/qiv original debug info size: 664kB, size after compression: 644kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 275 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: qiv-2.3.2-5.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.A0ZAV4 + umask 022 + cd /builddir/build/BUILD + cd qiv-2.3.2 + DOCDIR=/builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/doc/qiv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/doc/qiv + cp -pr README /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/doc/qiv + cp -pr Changelog /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/doc/qiv + cp -pr README.COPYING /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/doc/qiv + cp -pr README.TODO /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/doc/qiv + cp -pr contrib/qiv-command.example /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64/usr/share/doc/qiv + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(qiv.desktop) mimehandler(image/bmp) mimehandler(image/gif) mimehandler(image/jpeg) mimehandler(image/jpg) mimehandler(image/pjpeg) mimehandler(image/png) mimehandler(image/svg+xml) mimehandler(image/svg+xml-compressed) mimehandler(image/tiff) mimehandler(image/vnd.wap.wbmp) mimehandler(image/x-bmp) mimehandler(image/x-gray) mimehandler(image/x-icb) mimehandler(image/x-ico) mimehandler(image/x-pcx) mimehandler(image/x-png) mimehandler(image/x-portable-anymap) mimehandler(image/x-portable-bitmap) mimehandler(image/x-portable-graymap) mimehandler(image/x-portable-pixmap) mimehandler(image/x-xbitmap) mimehandler(image/x-xpixmap) qiv = 2.3.2-5.fc38 qiv(riscv-64) = 2.3.2-5.fc38 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcairo.so.2()(64bit) libexif.so.12()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libharfbuzz.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) libxml2.so.2()(64bit) rtld(GNU_HASH) Processing files: qiv-debugsource-2.3.2-5.fc38.riscv64 Provides: qiv-debugsource = 2.3.2-5.fc38 qiv-debugsource(riscv-64) = 2.3.2-5.fc38 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.2-5.fc38.riscv64 Provides: debuginfo(build-id) = 0302e84990a69e45036d1ef2e4ae5702001748c1 qiv-debuginfo = 2.3.2-5.fc38 qiv-debuginfo(riscv-64) = 2.3.2-5.fc38 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.2-5.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64 Wrote: /builddir/build/RPMS/qiv-2.3.2-5.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/qiv-debugsource-2.3.2-5.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/qiv-debuginfo-2.3.2-5.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pM64rh + umask 022 + cd /builddir/build/BUILD + cd qiv-2.3.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/qiv-2.3.2-5.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.4mvXLb + umask 022 + cd /builddir/build/BUILD + rm -rf qiv-2.3.2 qiv-2.3.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0