Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libreport.spec'], False, '/srv/build/7/F/mock-root/c7-updates-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libreport.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libreport-2.1.11-10.el7.centos.0.1.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libreport.spec'], False, '/srv/build/7/F/mock-root/c7-updates-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libreport.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.19fQGd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libreport-2.1.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/libreport-2.1.11.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libreport-2.1.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q -a --author 'rpm-build ' -m 'libreport-2.1.11 base' + /usr/bin/cat /builddir/build/SOURCES/0001-wizard-do-not-use-deprecated-gtk3-API.patch + /usr/bin/git am Applying: wizard: do not use deprecated gtk3 API + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0002-replace-all-Fedora-URLs-by-corresponding-values-for-.patch Applying: replace all Fedora URLs by corresponding values for RHEL + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0003-don-t-offer-uploading-on-failure-in-report-gtk.patch Applying: don't offer uploading on failure in report-gtk + /usr/bin/cat /builddir/build/SOURCES/0004-add-a-workflow-for-libreport-type-problems.patch + /usr/bin/git am Applying: add a workflow for libreport type problems + /usr/bin/cat /builddir/build/SOURCES/0006-make-add-libreport-workflow-fedora-to-dist-files.patch + /usr/bin/git am Applying: make: add libreport workflow fedora to dist files + /usr/bin/cat /builddir/build/SOURCES/0007-define-DBus-config-interfaces-for-all-plugins.patch + /usr/bin/git am Applying: define DBus config interfaces for all plugins + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0009-add-Java-reporting-workflows.patch Applying: add Java reporting workflows + /usr/bin/cat /builddir/build/SOURCES/0011-Remove-Workflows-tab-in-Preferences.patch + /usr/bin/git am Applying: Remove Workflows tab in Preferences + /usr/bin/cat /builddir/build/SOURCES/0012-ureport-add-support-for-client-side-authentication.patch + /usr/bin/git am Applying: ureport: add support for client-side authentication + /usr/bin/cat /builddir/build/SOURCES/0013-add-SSLClientAuth-to-ureport-dbus-config-interface.patch + /usr/bin/git am Applying: add SSLClientAuth to ureport dbus config interface + /usr/bin/cat /builddir/build/SOURCES/0014-ureport.conf-turn-on-SSL-auth-with-RHSM-cert.patch + /usr/bin/git am Applying: ureport.conf: turn on SSL auth with RHSM cert + /usr/bin/cat /builddir/build/SOURCES/0015-Export-plugin-config-dir-in-pkg-config.patch + /usr/bin/git am Applying: Export plugin config dir in pkg-config + /usr/bin/cat /builddir/build/SOURCES/0016-report-cli-use-the-Client-API-for-communication-to-u.patch + /usr/bin/git am Applying: report-cli: use the Client API for communication to user + /usr/bin/cat /builddir/build/SOURCES/0017-workflow_RHELvmcore-run-analyze_VMcore-too.patch + /usr/bin/git am Applying: workflow_RHELvmcore: run analyze_VMcore too + /usr/bin/cat /builddir/build/SOURCES/0019-event-configuration-load-default-values-from-configu.patch + /usr/bin/git am Applying: event configuration: load default values from configuration directory + /usr/bin/cat /builddir/build/SOURCES/0020-testsuite-xml-translations.patch + /usr/bin/git am Applying: testsuite: xml translations + /usr/bin/cat /builddir/build/SOURCES/0021-testsuite-complex-testing-of-xml-locales.patch + /usr/bin/git am Applying: testsuite: complex testing of xml locales + /usr/bin/cat /builddir/build/SOURCES/0022-localization-properly-handle-locales-with-encoding-s.patch + /usr/bin/git am Applying: localization: properly handle locales with encoding suffix + /usr/bin/cat /builddir/build/SOURCES/0023-fix-loading-of-the-user-list-of-ignored-words.patch + /usr/bin/git am Applying: fix loading of the user list of ignored words + /usr/bin/cat /builddir/build/SOURCES/0024-use-a-KB-article-URL-instead-of-upstream-wiki-URL.patch + /usr/bin/git am Applying: use a KB article URL instead of upstream wiki URL + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0025-Provide-SYSLOG_FACILITY-when-logging-through-journal.patch Applying: Provide SYSLOG_FACILITY when logging through journal + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0026-offer-reporting-to-Bugzilla-only-for-pre-GA-Anaconda.patch Applying: offer reporting to Bugzilla only for pre-GA Anaconda exceptions + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0027-correct-name-of-RH-Customer-Portal.patch Applying: correct name of RH Customer Portal + /usr/bin/cat /builddir/build/SOURCES/0028-Fix-typos-in-error-messages.patch + /usr/bin/git am Applying: Fix typos in error messages + /usr/bin/cat /builddir/build/SOURCES/0029-send-ureport-before-creating-case-in-RH-Customer-Por.patch + /usr/bin/git am Applying: send ureport before creating case in RH Customer Portal + /usr/bin/cat /builddir/build/SOURCES/0030-wizard-update-the-help-text-for-screen-casters.patch + /usr/bin/git am Applying: wizard: update the help text for screen casters + /usr/bin/cat /builddir/build/SOURCES/0031-introduce-import-event-options-in-xml-event-definiti.patch + /usr/bin/git am Applying: introduce import-event-options in xml event definitions + /usr/bin/cat /builddir/build/SOURCES/0032-rhtsupport-import-event-options-from-uReport.patch + /usr/bin/git am Applying: rhtsupport: import event options from uReport + /usr/bin/cat /builddir/build/SOURCES/0033-Translation-updates.patch + /usr/bin/git am Applying: Translation updates + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0034-remove-invalid-bytes-from-sv-strings.patch Applying: remove invalid bytes from 'sv' strings + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0035-config-do-not-export-empty-environment-variables.patch Applying: config: do not export empty environment variables + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0036-Translation-updates.patch Applying: Translation updates + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0037-Bugzilla-pass-Bugzilla_token-in-all-XML-RPC-calls.patch Applying: Bugzilla: pass Bugzilla_token in all XML RPC calls + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/1000-centos-branding-changes.patch Applying: centos branding changes + /usr/bin/cat /builddir/build/SOURCES/1001-Provide-generic-workflows.patch + /usr/bin/git am Applying: Provide generic workflows + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/1003-Add-uReport-workflow.patch Applying: Add uReport workflow + /usr/bin/cat /builddir/build/SOURCES/1005-use-public-ABRT-server.patch + /usr/bin/git am Applying: use public ABRT server + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tyuXOi + umask 022 + cd /builddir/build/BUILD + cd libreport-2.1.11 + autoreconf --force --install Copying file m4/codeset.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/printf-posix.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:52: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:52: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:52: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. doc/Makefile.am:4: warning: ASCIIDOC_SILENT_$(V: non-POSIX recursive variable expansion doc/Makefile.am:5: warning: ASCIIDOC_SILENT_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/Makefile.am:8: warning: XMLTO_SILENT_$(V: non-POSIX recursive variable expansion doc/Makefile.am:9: warning: XMLTO_SILENT_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion doc/plugins-dbus/Makefile.am:1: warning: wildcard *.xml.in: non-POSIX variable name doc/plugins-dbus/Makefile.am:1: (probably a GNU make extension) doc/plugins-dbus/Makefile.am:3: warning: '%'-style pattern rules are a GNU make extension + intltoolize --force --copy You should update your 'aclocal.m4' by running aclocal. + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Werror' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Werror' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-doxygen-docs --disable-silent-rules checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for x86_64-redhat-linux-gnu-ar... no checking for x86_64-redhat-linux-gnu-lib... no checking for x86_64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for intltool >= 0.35.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... (cached) /usr/bin/msgmerge checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.16.3 checking for XML::Parser... ok checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for asciidoc... /usr/bin/asciidoc checking for xmlto... /usr/bin/xmlto checking for xmlrpc-c-config... /usr/bin/xmlrpc-c-config checking for python-config... /usr/bin/python-config checking for x86_64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GOBJECT... yes checking for DBUS... yes checking for LIBXML... yes checking for NSS... yes checking for CURL... yes checking for PROXY... yes checking for SATYR... yes checking for JOURNAL... yes checking for AUGEAS... yes checking for NEWT... yes checking for GTK... yes checking for GIO... yes checking for JSON_C... no checking for JSON_C... no configure: error: Package requirements (json-c) were not met: No package 'json-c' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables JSON_C_CFLAGS and JSON_C_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.tyuXOi (%build) Bad exit status from /var/tmp/rpm-tmp.tyuXOi (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libreport.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 377, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libreport.spec'] LEAVE do --> EXCEPTION RAISED