+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/stbi.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rWtuik + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stbi-1.33 + /usr/bin/mkdir -p stbi-1.33 + cd stbi-1.33 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + head -62 /builddir/build/SOURCES/stb_image.c + head -184 /builddir/build/SOURCES/stb_image.c + tail -112 + head -65 /builddir/build/SOURCES/stb_image.c + tail -2 + head -332 /builddir/build/SOURCES/stb_image.c + tail -146 + echo '#include "stb_image.h"' + head -4586 /builddir/build/SOURCES/stb_image.c + tail -4254 + tail -86 /builddir/build/SOURCES/stb_image.c + dos2unix CHANGES README stb_image.c stb_image.h dos2unix: converting file CHANGES to Unix format... dos2unix: converting file README to Unix format... dos2unix: converting file stb_image.c to Unix format... dos2unix: converting file stb_image.h to Unix format... + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.65ML4u + umask 022 + cd /builddir/build/BUILD + cd stbi-1.33 + gcc -O2 -g -pipe -Wall -I. -fPIC -c stb_image.c stb_image.c: In function 'convert_format': stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:526:10: note: in expansion of macro 'CASE' CASE(1,2) dest[0]=src[0], dest[1]=255; break; ^~~~ stb_image.c:526:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(1,2) dest[0]=src[0], dest[1]=255; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:527:10: note: in expansion of macro 'CASE' CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~ stb_image.c:527:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:528:10: note: in expansion of macro 'CASE' CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; ^~~~ stb_image.c:528:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:529:10: note: in expansion of macro 'CASE' CASE(2,1) dest[0]=src[0]; break; ^~~~ stb_image.c:529:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(2,1) dest[0]=src[0]; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:530:10: note: in expansion of macro 'CASE' CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~ stb_image.c:530:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:531:10: note: in expansion of macro 'CASE' CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; ^~~~ stb_image.c:531:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:532:10: note: in expansion of macro 'CASE' CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; ^~~~ stb_image.c:532:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:533:10: note: in expansion of macro 'CASE' CASE(3,1) dest[0]=compute_y(src[0],src[1],src[2]); break; ^~~~ stb_image.c:533:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(3,1) dest[0]=compute_y(src[0],src[1],src[2]); break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:534:10: note: in expansion of macro 'CASE' CASE(3,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = 255; break; ^~~~ stb_image.c:534:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(3,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = 255; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:535:10: note: in expansion of macro 'CASE' CASE(4,1) dest[0]=compute_y(src[0],src[1],src[2]); break; ^~~~ stb_image.c:535:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(4,1) dest[0]=compute_y(src[0],src[1],src[2]); break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:536:10: note: in expansion of macro 'CASE' CASE(4,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; ^~~~ stb_image.c:536:79: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(4,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; ^~~~~ stb_image.c:522:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) ^ stb_image.c:537:10: note: in expansion of macro 'CASE' CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; ^~~~ stb_image.c:537:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; ^~~~~ stb_image.c: In function 'create_png_image_raw': stb_image.c:2157:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2159:13: note: in expansion of macro 'CASE' CASE(F_none) cur[k] = raw[k]; break; ^~~~ stb_image.c:2159:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_none) cur[k] = raw[k]; break; ^~~~~ stb_image.c:2157:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2160:13: note: in expansion of macro 'CASE' CASE(F_sub) cur[k] = raw[k] + cur[k-img_n]; break; ^~~~ stb_image.c:2160:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_sub) cur[k] = raw[k] + cur[k-img_n]; break; ^~~~~ stb_image.c:2157:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2161:13: note: in expansion of macro 'CASE' CASE(F_up) cur[k] = raw[k] + prior[k]; break; ^~~~ stb_image.c:2161:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_up) cur[k] = raw[k] + prior[k]; break; ^~~~~ stb_image.c:2157:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2162:13: note: in expansion of macro 'CASE' CASE(F_avg) cur[k] = raw[k] + ((prior[k] + cur[k-img_n])>>1); break; ^~~~ stb_image.c:2162:77: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_avg) cur[k] = raw[k] + ((prior[k] + cur[k-img_n])>>1); break; ^~~~~ stb_image.c:2157:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2163:13: note: in expansion of macro 'CASE' CASE(F_paeth) cur[k] = (uint8) (raw[k] + paeth(cur[k-img_n],prior[k],prior[k-img_n])); break; ^~~~ stb_image.c:2163:101: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_paeth) cur[k] = (uint8) (raw[k] + paeth(cur[k-img_n],prior[k],prior[k-img_n])); break; ^~~~~ stb_image.c:2157:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2164:13: note: in expansion of macro 'CASE' CASE(F_avg_first) cur[k] = raw[k] + (cur[k-img_n] >> 1); break; ^~~~ stb_image.c:2164:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_avg_first) cur[k] = raw[k] + (cur[k-img_n] >> 1); break; ^~~~~ stb_image.c:2157:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2165:13: note: in expansion of macro 'CASE' CASE(F_paeth_first) cur[k] = (uint8) (raw[k] + paeth(cur[k-img_n],0,0)); break; ^~~~ stb_image.c:2165:87: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_paeth_first) cur[k] = (uint8) (raw[k] + paeth(cur[k-img_n],0,0)); break; ^~~~~ stb_image.c:2173:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2175:13: note: in expansion of macro 'CASE' CASE(F_none) cur[k] = raw[k]; break; ^~~~ stb_image.c:2175:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_none) cur[k] = raw[k]; break; ^~~~~ stb_image.c:2173:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2176:13: note: in expansion of macro 'CASE' CASE(F_sub) cur[k] = raw[k] + cur[k-out_n]; break; ^~~~ stb_image.c:2176:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_sub) cur[k] = raw[k] + cur[k-out_n]; break; ^~~~~ stb_image.c:2173:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2177:13: note: in expansion of macro 'CASE' CASE(F_up) cur[k] = raw[k] + prior[k]; break; ^~~~ stb_image.c:2177:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_up) cur[k] = raw[k] + prior[k]; break; ^~~~~ stb_image.c:2173:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2178:13: note: in expansion of macro 'CASE' CASE(F_avg) cur[k] = raw[k] + ((prior[k] + cur[k-out_n])>>1); break; ^~~~ stb_image.c:2178:77: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_avg) cur[k] = raw[k] + ((prior[k] + cur[k-out_n])>>1); break; ^~~~~ stb_image.c:2173:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2179:13: note: in expansion of macro 'CASE' CASE(F_paeth) cur[k] = (uint8) (raw[k] + paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; ^~~~ stb_image.c:2179:101: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_paeth) cur[k] = (uint8) (raw[k] + paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; ^~~~~ stb_image.c:2173:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2180:13: note: in expansion of macro 'CASE' CASE(F_avg_first) cur[k] = raw[k] + (cur[k-out_n] >> 1); break; ^~~~ stb_image.c:2180:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_avg_first) cur[k] = raw[k] + (cur[k-out_n] >> 1); break; ^~~~~ stb_image.c:2173:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (k=0; k < img_n; ++k) ^ stb_image.c:2181:13: note: in expansion of macro 'CASE' CASE(F_paeth_first) cur[k] = (uint8) (raw[k] + paeth(cur[k-out_n],0,0)); break; ^~~~ stb_image.c:2181:87: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CASE(F_paeth_first) cur[k] = (uint8) (raw[k] + paeth(cur[k-out_n],0,0)); break; ^~~~~ stb_image.c: In function 'bmp_load': stb_image.c:2623:38: warning: variable 'fake_a' set but not used [-Wunused-but-set-variable] unsigned int mr=0,mg=0,mb=0,ma=0, fake_a=0; ^~~~~~ + gcc -O2 -g -pipe -Wall -I. -shared -Wl,-soname,libstbi.so.1 stb_image.o -o libstbi.so.1.0.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.09YGGj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64 + cd stbi-1.33 + install -Dpm0755 libstbi.so.1.0.0 /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64/usr/lib64/libstbi.so.1.0.0 + ln -s libstbi.so.1.0.0 /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64/usr/lib64/libstbi.so.1 + ln -s libstbi.so.1.0.0 /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64/usr/lib64/libstbi.so + install -Dpm0644 stb_image.h /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64/usr/include/stb_image.h + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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: stbi-1.33-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ObQPIx + umask 022 + cd /builddir/build/BUILD + cd stbi-1.33 + DOCDIR=/builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64/usr/share/doc/stbi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64/usr/share/doc/stbi + cp -pr README /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64/usr/share/doc/stbi + cp -pr CHANGES /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64/usr/share/doc/stbi + exit 0 Provides: libstbi.so.1()(64bit) stbi = 1.33-6.fc28 stbi(riscv-64) = 1.33-6.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: stbi-devel-1.33-6.fc28.riscv64 Provides: stbi-devel = 1.33-6.fc28 stbi-devel(riscv-64) = 1.33-6.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libstbi.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/stbi-1.33-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/stbi-1.33-6.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/stbi-devel-1.33-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WtpaW1 + umask 022 + cd /builddir/build/BUILD + cd stbi-1.33 + /usr/bin/rm -rf /builddir/build/BUILDROOT/stbi-1.33-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff