Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/json.spec'], gid=425timeout=172800env={'TERM': 'vt100', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}printOutput=Falseuser='mockbuild'uid=1000shell=Falselogger=chrootPath='/var/lib/mock/f24-build-5982395-617781/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/json.spec'] with env {'TERM': 'vt100', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False warning: Could not canonicalize hostname: buildvm-09.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/json-2.0.1-1.fc24.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/json.spec'], gid=425private_network=Truetimeout=172800env={'TERM': 'vt100', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'}printOutput=Falseuser='mockbuild'uid=1000shell=Falselogger=chrootPath='/var/lib/mock/f24-build-5982395-617781/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/json.spec'] with env {'TERM': 'vt100', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NeWCzz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf json-2.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd json-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xwCdNT + umask 022 + cd /builddir/build/BUILD + cd json-2.0.1 + doxygen doc/Doxyfile warning: tag INPUT: input source `../src/json.hpp' does not exist warning: tag INPUT: input source `index.md' does not exist warning: source examples is not a readable file or directory... skipping. warning: source images is not a readable file or directory... skipping. warning: source ../src/json.hpp is not a readable file or directory... skipping. warning: source index.md is not a readable file or directory... skipping. sh: dot: command not found error: Problems running dot: exit code=127, command='dot', arguments='"/builddir/build/BUILD/json-2.0.1/html/graph_legend.dot" -Tsvg -o "/builddir/build/BUILD/json-2.0.1/html/graph_legend.svg"' error: Problem extracting size from SVG file /builddir/build/BUILD/json-2.0.1/html/graph_legend.svg error: Style sheet 'css/mylayout.css' specified by HTML_EXTRA_STYLESHEET does not exist! + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7I5tze + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386 ++ dirname /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386 + cd json-2.0.1 + mkdir -p /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/include + install -p -m 0644 src/json.hpp /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/include/json.hpp + /usr/lib/rpm/check-buildroot + /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-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.X9Qitz + umask 022 + cd /builddir/build/BUILD + cd json-2.0.1 + make cppcheck cppcheck --enable=all --inconclusive --std=c++11 src/json.hpp Checking src/json.hpp... [src/json.hpp:9571]: (style) Variable 'x' is assigned a value that is never used. [src/json.hpp:1974]: (performance) Variable 'm_value' is assigned in constructor body. Consider performing initialization in initialization list. [src/json.hpp:6337]: (performance, inconclusive) Technically the member function 'nlohmann::basic_json::iteration_proxy::begin' can be static. [src/json.hpp:6343]: (performance, inconclusive) Technically the member function 'nlohmann::basic_json::iteration_proxy::end' can be static. [src/json.hpp:967]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1019]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1042]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1077]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1104]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1144]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1173]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1197]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1228]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1246]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1308]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1345]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1404]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1433]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:1480]: (style) Class 'basic_json' has a constructor with 1 argument that is not explicit. [src/json.hpp:7057]: (style) Class 'json_reverse_iterator' has a constructor with 1 argument that is not explicit. [src/json.hpp:7062]: (style) Class 'json_reverse_iterator' has a constructor with 1 argument that is not explicit. Checking src/json.hpp: _MSC_VER... [src/json.hpp:98]: (style) The function 'do_decimal_point' is never used. [src/json.hpp:3643]: (style) The function 'front' is never used. [src/json.hpp:248]: (style) The function 'get_allocator' is never used. [src/json.hpp:2190]: (style) The function 'is_structured' is never used. [src/json.hpp:4387]: (style) The function 'iterator_wrapper' is never used. [src/json.hpp:9519]: (style) The function 'patch' is never used. [src/json.hpp:4263]: (style) The function 'rbegin' is never used. [src/json.hpp:4300]: (style) The function 'rend' is never used. (information) Cppcheck cannot find all the include files (use --check-config for details) + make json_unit g++ -std=c++11 -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wfloat-equal -I src -I test test/src/unit.cpp -o json_unit test/src/unit.cpp: In lambda function: test/src/unit.cpp:12091:43: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'std::size_t {aka unsigned int}' [-Wformat=] sprintf(buffer, "\\u%04lx", cp); ^ + ./json_unit =============================================================================== All tests passed (8393 assertions in 30 test cases) + exit 0 Processing files: json-devel-2.0.1-1.fc24.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.z3j5zH + umask 022 + cd /builddir/build/BUILD + cd json-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/share/doc/json-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/share/doc/json-devel + cp -pr README.md /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/share/doc/json-devel + cp -pr html/ /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/share/doc/json-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FhIWIP + umask 022 + cd /builddir/build/BUILD + cd json-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/share/licenses/json-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/share/licenses/json-devel + cp -pr LICENSE.MIT /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386/usr/share/licenses/json-devel + exit 0 Provides: json = 2.0.1-1.fc24 json-devel = 2.0.1-1.fc24 json-devel(x86-32) = 2.0.1-1.fc24 json-static = 2.0.1-1.fc24 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386 warning: Could not canonicalize hostname: buildvm-09.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/json-devel-2.0.1-1.fc24.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kUtlkY + umask 022 + cd /builddir/build/BUILD + cd json-2.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/json-2.0.1-1.fc24.i386 + exit 0 Child return code was: 0