+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/csstidy.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 warning: Macro expanded in comment on line 11: %{version}; cd csstidy-%{version} warning: Macro expanded in comment on line 14: %{version}.tar.gz csstidy-%{version} Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YGNXkJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf csstidy-1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/csstidy-1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd csstidy-1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (csstidy-1.4-fix-misc.cpp.patch):' Patch #0 (csstidy-1.4-fix-misc.cpp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file csstidy/misc.cpp + echo 'Patch #1 (csstidy-1.4-optflags.patch):' Patch #1 (csstidy-1.4-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file SConstruct + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MizkqT + umask 022 + cd /builddir/build/BUILD + cd csstidy-1.4 + scons -j4 DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out scons: Reading SConscript files ... **** Compiling in release mode... scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead. File "/builddir/build/BUILD/csstidy-1.4/csstidy/SConscript", line 7, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/builddir/build/BUILD/csstidy-1.4/csstidy/SConscript", line 21, in scons: done reading SConscript files. scons: Building targets ... g++ -o release/csstidy/background.o -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 csstidy/background.cpp g++ -o release/csstidy/conversions.o -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 csstidy/conversions.cpp g++ -o release/csstidy/cssopt.o -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 csstidy/cssopt.cpp g++ -o release/csstidy/csspp_globals.o -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 csstidy/csspp_globals.cpp g++ -o release/csstidy/trim.o -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 csstidy/trim.cpp csstidy/cssopt.cpp: In function 'std::__cxx11::string compress_numbers(std::__cxx11::string, std::__cxx11::string)': csstidy/cssopt.cpp:94:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < temp.size(); ++i) ~~^~~~~~~~~~~~~ csstidy/cssopt.cpp: In function 'bool property_is_next(std::__cxx11::string, int)': csstidy/cssopt.cpp:150:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pos == string::npos) ~~~~^~~~~~~~~ csstidy/cssopt.cpp: In function 'std::__cxx11::string cut_color(std::__cxx11::string)': csstidy/cssopt.cpp:164:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < color_tmp.size(); ++i) ~~^~~~~~~~~~~~~~~~~~ csstidy/cssopt.cpp:175:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < color_tmp.size(); ++i) ~~^~~~~~~~~~~~~~~~~~ csstidy/background.cpp: In function 'std::map, std::__cxx11::basic_string > dissolve_short_bg(std::__cxx11::string)': csstidy/background.cpp:53:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < str_values.size(); i++) ~~^~~~~~~~~~~~~~~~~~~ csstidy/background.cpp:60:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < temp_values.size(); j++) ~~^~~~~~~~~~~~~~~~~~~~ csstidy/background.cpp: In function 'std::vector > explode_ws(char, std::__cxx11::string)': csstidy/background.cpp:146:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if(istring[i] == '"' || istring[i] == '\'' || istring[i] == '(' && !escaped(istring,i)) csstidy/background.cpp: In function 'void merge_bg(umap, std::__cxx11::basic_string >&)': csstidy/background.cpp:192:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if((bg_img_array.size() <= i || bg_img_array[i] == "none") ~~~~~~~~~~~~~~~~~~~~^~~~ csstidy/background.cpp:214:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(temp.size() > i) ~~~~~~~~~~~~^~~ csstidy/cssopt.cpp: In function 'void merge_selectors(sstore&)': csstidy/cssopt.cpp:275:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0; k < keys.size(); ++k) ~~^~~~~~~~~~~~~ csstidy/trim.cpp: In function 'std::__cxx11::string strip_tags(std::__cxx11::string)': csstidy/trim.cpp:63:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < istring.length(); i++) ~~^~~~~~~~~~~~~~~~~~ In file included from csstidy/csspp_globals.hpp:32:0, from csstidy/cssopt.cpp:19: csstidy/umap.hpp: In instantiation of 'bool umap::operator==(umap&) const [with keyT = std::__cxx11::basic_string; valT = std::__cxx11::basic_string]': csstidy/cssopt.cpp:265:40: required from here csstidy/umap.hpp:95:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sortv.size(); ++i) g++ -o release/csstidy/umap.o -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 csstidy/umap.cpp g++ -o release/csstidy/misc.o -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 csstidy/misc.cpp g++ -o release/csstidy/important.o -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 csstidy/important.cpp csstidy/misc.cpp: In function 'char s_at(const string&, int)': csstidy/misc.cpp:30:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(pos > (istring.length()-1) && pos < 0) ~~~~^~~~~~~~~~~~~~~~~~~~~~ csstidy/misc.cpp: In function 'std::__cxx11::string implode(std::__cxx11::string, std::vector >)': csstidy/misc.cpp:66:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < s.size(); i++) ~~^~~~~~~~~~ csstidy/misc.cpp:69:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i != (s.size()-1)) ret += e; ~~^~~~~~~~~~~~~~~ csstidy/misc.cpp: In function 'std::__cxx11::string str_replace(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string)': csstidy/misc.cpp:96:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(pos != string::npos) ~~~~^~~~~~~~~ csstidy/misc.cpp: In function 'std::__cxx11::string str_replace(const std::vector >&, std::__cxx11::string, std::__cxx11::string)': csstidy/misc.cpp:108:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < find.size(); ++i) ~~^~~~~~~~~~~~~ csstidy/misc.cpp:113:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(pos != string::npos) ~~~~^~~~~~~~~ csstidy/misc.cpp: In function 'bool in_char_arr(const char*, char)': csstidy/misc.cpp:125:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < strlen(haystack); ++i) ~~^~~~~~~~~~~~~~~~~~ csstidy/misc.cpp: In function 'bool in_str_array(const std::vector >&, std::__cxx11::string)': csstidy/misc.cpp:142:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < haystack.size(); ++i) ~~^~~~~~~~~~~~~~~~~ csstidy/misc.cpp: In function 'std::vector > unserialise_sa(std::__cxx11::string)': csstidy/misc.cpp:205:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = strpos; (i 47 && hexdec(add) < 58 || hexdec(add) > 64 && hexdec(add) < 91 || hexdec(add) > 96 && hexdec(add) < 123) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ csstidy/csstidy.cpp:143:102: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(hexdec(add) > 47 && hexdec(add) < 58 || hexdec(add) > 64 && hexdec(add) < 91 || hexdec(add) > 96 && hexdec(add) < 123) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ csstidy/csstidy.cpp:156:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(ctype_xdigit(istring[i+1]) && ctype_space(istring[i]) && !replaced || !ctype_space(istring[i])) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ csstidy/csstidy.cpp: In member function 'void csstidy::explode_selectors()': csstidy/csstidy.cpp:266:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sel_separate.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~~ csstidy/csstidy.cpp:268:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == sel_separate.size()-1) { ~~^~~~~~~~~~~~~~~~~~~~~~~~ csstidy/csstidy.cpp:278:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < new_sels.size(); ++i) ~~^~~~~~~~~~~~~~~~~ g++ -o release/csstidy/main.o -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 csstidy/main.cpp In file included from csstidy/csspp_globals.hpp:32:0, from csstidy/csstidy.cpp:19: csstidy/umap.hpp: In member function 'valT& umap::at(int) [with keyT = std::__cxx11::basic_string; valT = std::__cxx11::basic_string]': csstidy/umap.hpp:124:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ csstidy/print_css.cpp: In member function 'int csstidy::_seeknocomment(int, int)': csstidy/print_css.cpp:66:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i < 0 || i > csstokens.size()) { ~~^~~~~~~~~~~~~~~~~~ csstidy/print_css.cpp: In member function 'void csstidy::print_css(std::__cxx11::string)': csstidy/print_css.cpp:102:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < csstemplate.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ csstidy/print_css.cpp:128:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < import.size(); i ++) ~~^~~~~~~~~~~~~~~ csstidy/print_css.cpp:144:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < csstokens.size(); ++i) ~~^~~~~~~~~~~~~~~~~~ csstidy/print_css.cpp:217:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < j->second.size(); ++i) ~~^~~~~~~~~~~~~~~~~~ csstidy/print_css.cpp: In member function 'int csstidy::_seeknocomment(int, int)': csstidy/print_css.cpp:75:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ g++ -o release/csstidy/parse_css.o -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 csstidy/parse_css.cpp csstidy/parse_css.cpp: In member function 'void csstidy::parse_css(std::__cxx11::string)': csstidy/parse_css.cpp:87:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(lastpos == -1 || !( (ctype_space(cur_at[lastpos]) || is_token(cur_at,lastpos) && cur_at[lastpos] == ',') && ctype_space(css_input[i]))) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ csstidy/parse_css.cpp:175:81: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(!( (ctype_space(cur_selector[lastpos]) || is_token(cur_selector,lastpos) && cur_selector[lastpos] == ',') && ctype_space(css_input[i]))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csstidy/parse_css.cpp:186:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(css_input[i] == ':' || css_input[i] == '=' && cur_property != "") // IE really accepts =, so csstidy will fix those mistakes csstidy/parse_css.cpp:226:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] pn = ((css_input[i] == '\n' || css_input[i] == '\r') && property_is_next(css_input,i+1) || i == str_size-1); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o release/csstidy/csstidy release/csstidy/trim.o release/csstidy/umap.o release/csstidy/conversions.o release/csstidy/misc.o release/csstidy/important.o release/csstidy/csstidy.o release/csstidy/prepare.o release/csstidy/cssopt.o release/csstidy/file_functions.o release/csstidy/print_css.o release/csstidy/main.o release/csstidy/parse_css.o release/csstidy/csspp_globals.o release/csstidy/background.o scons: done building targets. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JLL34g + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64 + cd csstidy-1.4 + rm -rf /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/bin + install -cpm 755 release/csstidy/csstidy /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/bin/csstidy + /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: csstidy-1.4-18.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CSBpDB + umask 022 + cd /builddir/build/BUILD + cd csstidy-1.4 + DOCDIR=/builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + cp -pr AUTHORS /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + cp -pr BUGS /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + cp -pr ChangeLog /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + cp -pr COPYING /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + cp -pr NEWS /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + cp -pr README /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + cp -pr TODO /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64/usr/share/doc/csstidy + exit 0 Provides: csstidy = 1.4-18.fc28 csstidy(riscv-64) = 1.4-18.fc28 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(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.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/csstidy-1.4-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/csstidy-1.4-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/csstidy-1.4-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WyhMdM + umask 022 + cd /builddir/build/BUILD + cd csstidy-1.4 + rm -rf /builddir/build/BUILDROOT/csstidy-1.4-18.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