Mock Version: 3.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/multiblend.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1669580300.430991/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tkgwoqk_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tkgwoqk_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a0071c09a2d64957a1118bd4701f9ffe', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1669580300.430991/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tkgwoqk_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/multiblend.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1617494400 Wrote: /builddir/build/SRPMS/multiblend-2.0-0.1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/multiblend.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1669580300.430991/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tkgwoqk_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tkgwoqk_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd652df4a58a048b19c262c7303158ccb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1669580300.430991/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tkgwoqk_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/multiblend.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1617494400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UAVRLq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf multiblend + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/multiblend2.0rc3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd multiblend + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -x build.txt gpl-3.0.txt licences.txt src/functions.cpp src/geotiff.cpp src/image.cpp src/mapalloc.cpp src/multiblend.cpp src/pnger.cpp src/pyramid.cpp src/threadpool.cpp src/mapalloc.h src/pyramid.h src/threadpool.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kkqBOj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 multiblend + cd src + g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -msse4.1 -pthread -ffast-math -Ofast multiblend.cpp -lm -lpng -ltiff -ljpeg -o multiblend In file included from multiblend.cpp:48: pyramid.cpp: In member function 'void Pyramid::Subsample(int, int, Pyramid*)': pyramid.cpp:395:13: warning: unused variable 'p' [-Wunused-variable] 395 | int p = 0; | ^ pyramid.cpp: In member function 'void Pyramid::Shrink()': pyramid.cpp:492:22: warning: unused variable 'four' [-Wunused-variable] 492 | const __m128 four = _mm_set_ps1(4); | ^~~~ pyramid.cpp:493:22: warning: unused variable 'six' [-Wunused-variable] 493 | const __m128 six = _mm_set_ps1(6); | ^~~ pyramid.cpp:494:22: warning: unused variable 'eleven' [-Wunused-variable] 494 | const __m128 eleven = _mm_set_ps1(11); | ^~~~~~ pyramid.cpp:495:22: warning: unused variable 'fifteen' [-Wunused-variable] 495 | const __m128 fifteen = _mm_set_ps1(15); | ^~~~~~~ pyramid.cpp:496:22: warning: unused variable '_16th' [-Wunused-variable] 496 | const __m128 _16th = _mm_set_ps1(1.0 / 16); | ^~~~~ pyramid.cpp:497:22: warning: unused variable '_256th' [-Wunused-variable] 497 | const __m128 _256th = _mm_set_ps1(1.0 / 256); | ^~~~~~ pyramid.cpp: In member function 'float Pyramid::Average()': pyramid.cpp:918:16: warning: unused variable 'one' [-Wunused-variable] 918 | __m128 one = _mm_set_ps1(1.0f); | ^~~ pyramid.cpp: In member function 'void Pyramid::Add(float, int)': pyramid.cpp:960:25: warning: unused variable 'data' [-Wunused-variable] 960 | __m128* data = (__m128*)levels[i].data; | ^~~~ In file included from multiblend.cpp:49: functions.cpp: In member function 'void Flex::NextLine()': functions.cpp:22:37: warning: unused variable 'prev_size' [-Wunused-variable] 22 | int prev_size = size; | ^~~~~~~~~ functions.cpp: In function 'int Squish(uint32_t*, uint32_t*, int, int)': functions.cpp:184:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 184 | current_val = *((float*)&cur); | ~^~~~~~~~~~~~~ functions.cpp:234:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 234 | current_val = *((float*)&cur); | ~^~~~~~~~~~~~~ functions.cpp:262:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 262 | current_val = *((float*)&cur); | ~^~~~~~~~~~~~~ functions.cpp: In function 'void ShrinkMasks(std::vector&, int)': functions.cpp:361:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 361 | vals[i] = *((float*)&cur); | ~^~~~~~~~~~~~~ functions.cpp:380:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 380 | masks[l]->Write32(*((uint32_t*)&val)); | ~^~~~~~~~~~~~~~~~ functions.cpp:389:61: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 389 | masks[l]->Write32(*((uint32_t*)&val)); | ~^~~~~~~~~~~~~~~~ functions.cpp: In function 'void CompositeLine(float*, float*, int, int, int, int, int, uint8_t*, size_t)': functions.cpp:451:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 451 | current_val = *((float*)&cur); | ~^~~~~~~~~~~~~ functions.cpp: At global scope: functions.cpp:565:86: warning: 'int64' is deprecated [-Wdeprecated-declarations] 565 | void ReadSeamDT(Flex* flex, int& current_count, int64& current_step, uint64_t& dt_val) { | ^ In file included from /usr/include/tiffio.h:31, from multiblend.cpp:31: /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ functions.cpp: In function 'void ReadSeamDT(Flex*, int&, int64&, uint64_t&)': functions.cpp:575:42: warning: 'int64' is deprecated [-Wdeprecated-declarations] 575 | current_step = ((int64)(_byte & 7) - 3) << 32; | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ functions.cpp:579:49: warning: 'int64' is deprecated [-Wdeprecated-declarations] 579 | current_step = (int64)(_byte & 0x3f) << 32; | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ functions.cpp: In function 'int CompressSeamLine(uint64_t*, uint8_t*, int)': functions.cpp:678:15: warning: 'int64' is deprecated [-Wdeprecated-declarations] 678 | int64 step; | ^~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ functions.cpp:691:73: warning: 'int64' is deprecated [-Wdeprecated-declarations] 691 | if (!((right_val ^ left_val) & 0xffffffff) && (step = ((int64)(right_val - left_val) >> 32) + 3) < 67 && step >= 0) { // was <= 7 | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ functions.cpp: In function 'void SwapUnswapV(Pyramid*, bool)': functions.cpp:773:71: warning: 'int64' is deprecated [-Wdeprecated-declarations] 773 | uint8_t* upper = (uint8_t*)(py->GetData() + ((int64)height >> 1) * py->GetPitch()); | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ functions.cpp:774:71: warning: 'int64' is deprecated [-Wdeprecated-declarations] 774 | uint8_t* lower = (uint8_t*)(py->GetData() + ((int64)height - 1) * py->GetPitch()); | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ functions.cpp:790:71: warning: 'int64' is deprecated [-Wdeprecated-declarations] 790 | uint8_t* lower = (uint8_t*)(py->GetData() + ((int64)height >> 1) * py->GetPitch()); | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ functions.cpp:809:62: warning: 'int64' is deprecated [-Wdeprecated-declarations] 809 | uint8_t* lower = (uint8_t*)(py->GetData() + (int64)half_height * py->GetPitch()); | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ In file included from multiblend.cpp:51: mapalloc.cpp: In static member function 'static void MapAlloc::SetTmpdir(const char*)': mapalloc.cpp:60:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 60 | while (tmpdir[l - 1] == '\\' || tmpdir[l - 1] == '/' && l > 0) tmpdir[--l] = 0; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from multiblend.cpp:63: image.cpp: In member function 'void Image::Open()': image.cpp:165:54: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 165 | if (first_strip || end_strip != TIFFNumberOfStrips(tiff)) { // double check that min strips are (probably) transparent | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ image.cpp:183:39: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 183 | if (end_strip == TIFFNumberOfStrips(tiff)) tiff_u_height -= rows_missing; | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ image.cpp:218:32: warning: unused variable 'r' [-Wunused-variable] 218 | size_t r = fread(sig, 1, 8, file); // assignment suppresses g++ -Ofast warning | ^ image.cpp:97:16: warning: enumeration value 'MB_NONE' not handled in switch [-Wswitch] 97 | switch (type) { | ^ image.cpp: In member function 'void Image::Read(void*, bool)': image.cpp:269:16: warning: enumeration value 'MB_NONE' not handled in switch [-Wswitch] 269 | switch (type) { | ^ image.cpp: In member function 'void Image::MaskPng(int)': image.cpp:806:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 806 | val = *((float*)&cur); | ~^~~~~~~~~~~~~ multiblend.cpp: In function 'int main(int, char**)': multiblend.cpp:254:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 254 | if (n != len) { | ~~^~~~~~ multiblend.cpp:255:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 255 | if (n == len - 1) { | ~~^~~~~~~~~~ multiblend.cpp:305:94: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 305 | else if (!strcmp(my_argv[i], "--tempdir") || !strcmp(my_argv[i], "--tmpdir") && i < (int)my_argv.size() - 1) MapAlloc::SetTmpdir(my_argv[++i]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiblend.cpp:401:16: warning: enumeration value 'MB_NONE' not handled in switch [-Wswitch] 401 | switch (output_type) { | ^ multiblend.cpp:790:15: warning: 'int64' is deprecated [-Wdeprecated-declarations] 790 | int64 current_step; | ^~~~~~~~~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ multiblend.cpp:1121:31: warning: comparison of integer expressions of different signedness: 'png_uint_32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1121 | if (png_width != width || png_height != png_height) die("Error: Seam PNG dimensions don't match workspace"); | ~~~~~~~~~~^~~~~~~~ multiblend.cpp:1121:54: warning: self-comparison always evaluates to false [-Wtautological-compare] 1121 | if (png_width != width || png_height != png_height) die("Error: Seam PNG dimensions don't match workspace"); | ~~~~~~~~~~ ^~ ~~~~~~~~~~ multiblend.cpp:1129:29: warning: unused variable 'ms' [-Wunused-variable] 1129 | int ms = 0; | ^~ multiblend.cpp:1108:24: warning: unused variable 'r' [-Wunused-variable] 1108 | size_t r = fread(sig, 1, 8, f); // assignment suppresses g++ -Ofast warning | ^ multiblend.cpp:1377:174: warning: 'int64' is deprecated [-Wdeprecated-declarations] 1377 | wrap_pyramids[p]->Copy((uint8_t*)(output_pyramid->GetData() + wrap_pyramids[p]->GetX() + wrap_pyramids[p]->GetY() * (int64)output_pyramid->GetPitch()), 1, output_pyramid->GetPitch(), false, 32); | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ multiblend.cpp:1436:63: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] 1436 | v = x + v & 0x7fffffff; | ~~^~~ multiblend.cpp:1465:72: warning: 'int64' is deprecated [-Wdeprecated-declarations] 1465 | output_channels[c] = MapAlloc::Alloc(((int64)width * height) << (output_bpp >> 4)); | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ multiblend.cpp:1500:57: warning: 'int64' is deprecated [-Wdeprecated-declarations] 1500 | void* strip = malloc((ROWS_PER_STRIP * (int64)width) * bytes_per_pixel); | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ multiblend.cpp:1504:24: warning: enumeration value 'MB_NONE' not handled in switch [-Wswitch] 1504 | switch (output_type) { | ^ multiblend.cpp:1622:92: warning: 'int64' is deprecated [-Wdeprecated-declarations] 1622 | TIFFWriteEncodedStrip(tiff_file, s, strip, rows * (int64)bytes_per_row); | ^~~~~ /usr/include/tiff.h:86:38: note: declared here 86 | typedef TIFF_MSC_DEPRECATED int64_t int64 TIFF_GCC_DEPRECATED; | ^~~~~ multiblend.cpp:1620:32: warning: enumeration value 'MB_NONE' not handled in switch [-Wswitch] 1620 | switch (output_type) { | ^ multiblend.cpp:1635:24: warning: enumeration value 'MB_NONE' not handled in switch [-Wswitch] 1635 | switch (output_type) { | ^ multiblend.cpp:1635:24: warning: enumeration value 'MB_PNG' not handled in switch [-Wswitch] multiblend.cpp:573:14: warning: variable 'arbitrary_seam' set but not used [-Wunused-but-set-variable] 573 | bool arbitrary_seam = false; | ^~~~~~~~~~~~~~ multiblend.cpp:576:13: warning: unused variable 'max_queue' [-Wunused-variable] 576 | int max_queue = 0; | ^~~~~~~~~ In file included from /usr/lib/gcc/x86_64-redhat-linux/12/include/immintrin.h:31, from pyramid.h:5, from pyramid.cpp:1: In function '_mm_shuffle_ps(float __vector(4), float __vector(4), int)', inlined from 'Pyramid::Squeeze(float __vector(4)*, float __vector(4)*, int, int, float __vector(4), bool)' at pyramid.cpp:645:22: /usr/lib/gcc/x86_64-redhat-linux/12/include/xmmintrin.h:746:10: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized] 746 | return (__m128) __builtin_ia32_shufps ((__v4sf)__A, (__v4sf)__B, __mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyramid.cpp: In member function 'Pyramid::Squeeze(float __vector(4)*, float __vector(4)*, int, int, float __vector(4), bool)': pyramid.cpp:636:16: note: 'a' was declared here 636 | __m128 a, b, c, d, e, f, g, h, i, j; | ^ In function '_mm_shuffle_ps(float __vector(4), float __vector(4), int)', inlined from 'Pyramid::LaplaceExpand(float __vector(4)*, float __vector(4)*, int, int)' at pyramid.cpp:731:22: /usr/lib/gcc/x86_64-redhat-linux/12/include/xmmintrin.h:746:10: warning: 'q' may be used uninitialized [-Wmaybe-uninitialized] 746 | return (__m128) __builtin_ia32_shufps ((__v4sf)__A, (__v4sf)__B, __mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyramid.cpp: In function 'Pyramid::LaplaceExpand(float __vector(4)*, float __vector(4)*, int, int)': pyramid.cpp:698:19: note: 'q' was declared here 698 | __m128 p, q; | ^ In function '_mm_shuffle_ps(float __vector(4), float __vector(4), int)', inlined from 'Pyramid::LaplaceExpandShifted(float __vector(4)*, float __vector(4)*, int, int)' at pyramid.cpp:776:22: /usr/lib/gcc/x86_64-redhat-linux/12/include/xmmintrin.h:746:10: warning: 'q' may be used uninitialized [-Wmaybe-uninitialized] 746 | return (__m128) __builtin_ia32_shufps ((__v4sf)__A, (__v4sf)__B, __mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pyramid.cpp: In function 'Pyramid::LaplaceExpandShifted(float __vector(4)*, float __vector(4)*, int, int)': pyramid.cpp:757:19: note: 'q' was declared here 757 | __m128 p, q, t; | ^ In function '_mm_add_ps(float __vector(4), float __vector(4))', inlined from 'Pyramid::BlurXThread(float, Pyramid*, int, int)' at pyramid.cpp:1262:21: /usr/lib/gcc/x86_64-redhat-linux/12/include/xmmintrin.h:186:45: warning: 'temp2' may be used uninitialized [-Wmaybe-uninitialized] 186 | return (__m128) ((__v4sf)__A + (__v4sf)__B); | ^ pyramid.cpp: In member function 'Pyramid::BlurXThread(float, Pyramid*, int, int)': pyramid.cpp:1190:23: note: 'temp2' was declared here 1190 | __m128 temp1, temp2; | ^~~~~ image.cpp: In member function 'Image::Open()': image.cpp:173:33: warning: 'trans' may be used uninitialized [-Wmaybe-uninitialized] 173 | if (!trans) { | ^~ image.cpp:168:38: note: 'trans' was declared here 168 | bool trans; | ^~~~~ image.cpp: In member function 'Image::Read(void*, bool)': image.cpp:692:87: warning: 'left' may be used uninitialized [-Wmaybe-uninitialized] 692 | uint32_t* line = ((uint32_t*)data) + top * tiff_width + left; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ image.cpp:300:18: note: 'left' was declared here 300 | int top, left, bottom, right; | ^~~~ image.cpp:692:74: warning: 'top' may be used uninitialized [-Wmaybe-uninitialized] 692 | uint32_t* line = ((uint32_t*)data) + top * tiff_width + left; | ~~~~^~~~~~~~~~~~ image.cpp:300:13: note: 'top' was declared here 300 | int top, left, bottom, right; | ^~~ In function 'ReadInpaintDT(Flex*, int&, int&, unsigned int&)', inlined from 'ReadInpaintDT(Flex*, int&, int&, unsigned int&)' at functions.cpp:537:6, inlined from 'Image::Read(void*, bool)' at image.cpp:634:7: functions.cpp:560:32: warning: 'dt_val' may be used uninitialized [-Wmaybe-uninitialized] 560 | dt_val += current_step; | ~~~~~~~^~~~~~~~~~~~~~~ image.cpp: In member function 'Image::Read(void*, bool)': image.cpp:577:26: note: 'dt_val' was declared here 577 | uint32_t dt_val; | ^~~~~~ image.cpp:603:51: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized] 603 | d += 3; | ~~^~~~ image.cpp:416:35: note: 'd' was declared here 416 | uint32_t a, b, c, d; | ^ image.cpp:406:31: warning: 'right' may be used uninitialized [-Wmaybe-uninitialized] 406 | width = right + 1 - left; | ~~~~~~^~~ image.cpp:300:32: note: 'right' was declared here 300 | int top, left, bottom, right; | ^~~~~ image.cpp:407:33: warning: 'bottom' may be used uninitialized [-Wmaybe-uninitialized] 407 | height = bottom + 1 - top; | ~~~~~~~^~~ image.cpp:300:24: note: 'bottom' was declared here 300 | int top, left, bottom, right; | ^~~~~~ multiblend.cpp: In function 'main': multiblend.cpp:992:55: warning: 'best' may be used uninitialized [-Wmaybe-uninitialized] 992 | utemp = best + 0x300000000; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ multiblend.cpp:566:18: note: 'best' was declared here 566 | uint64_t best; | ^~~~ functions.cpp:513:9: warning: 'xor_image' may be used uninitialized [-Wmaybe-uninitialized] 513 | if ((I) != current_i) {\ | ^~ multiblend.cpp:562:13: note: 'xor_image' was declared here 562 | int xor_image; | ^~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Fn5ZL1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 multiblend + cd src + /usr/bin/install -D -m0755 multiblend /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64//usr/bin/multiblend + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.0-0.1.fc38 --unique-debug-suffix -2.0-0.1.fc38.x86_64 --unique-debug-src-base multiblend-2.0-0.1.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/multiblend extracting debug info from /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64/usr/bin/multiblend original debug info size: 1368kB, size after compression: 1308kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 340 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: multiblend-2.0-0.1.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kUx24b + umask 022 + cd /builddir/build/BUILD + cd multiblend + DOCDIR=/builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64/usr/share/doc/multiblend + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64/usr/share/doc/multiblend + cp -pr build.txt /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64/usr/share/doc/multiblend + cp -pr gpl-3.0.txt /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64/usr/share/doc/multiblend + RPM_EC=0 ++ jobs -p + exit 0 Provides: multiblend = 2.0-0.1.fc38 multiblend(x86-64) = 2.0-0.1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) rtld(GNU_HASH) Processing files: multiblend-debugsource-2.0-0.1.fc38.x86_64 Provides: multiblend-debugsource = 2.0-0.1.fc38 multiblend-debugsource(x86-64) = 2.0-0.1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: multiblend-debuginfo-2.0-0.1.fc38.x86_64 Provides: debuginfo(build-id) = f2d0df440945d868f81427b17bca18cb2c01d7f9 multiblend-debuginfo = 2.0-0.1.fc38 multiblend-debuginfo(x86-64) = 2.0-0.1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: multiblend-debugsource(x86-64) = 2.0-0.1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64 Wrote: /builddir/build/RPMS/multiblend-2.0-0.1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/multiblend-debugsource-2.0-0.1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/multiblend-debuginfo-2.0-0.1.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SCrMA8 + umask 022 + cd /builddir/build/BUILD + cd multiblend + /usr/bin/rm -rf /builddir/build/BUILDROOT/multiblend-2.0-0.1.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.8zEnWI + umask 022 + cd /builddir/build/BUILD + rm -rf multiblend multiblend.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0