Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libreport.spec'], chrootPath='/var/lib/mock/centos-7-x86_64/root'shell=FalseprintOutput=Trueenv={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1004) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libreport.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libreport-2.1.11-35.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libreport.spec'], chrootPath='/var/lib/mock/centos-7-x86_64/root'shell=Falseuid=1004env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=True) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libreport.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iz3GPQ + 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/git am + /usr/bin/cat /builddir/build/SOURCES/0001-wizard-do-not-use-deprecated-gtk3-API.patch Applying: wizard: do not use deprecated gtk3 API + /usr/bin/cat /builddir/build/SOURCES/0002-replace-all-Fedora-URLs-by-corresponding-values-for-.patch + /usr/bin/git am Applying: replace all Fedora URLs by corresponding values for RHEL + /usr/bin/cat /builddir/build/SOURCES/0003-don-t-offer-uploading-on-failure-in-report-gtk.patch + /usr/bin/git am Applying: don't offer uploading on failure in report-gtk + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0004-add-a-workflow-for-libreport-type-problems.patch 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/cat /builddir/build/SOURCES/0009-add-Java-reporting-workflows.patch + /usr/bin/git am Applying: add Java reporting workflows + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0011-Remove-Workflows-tab-in-Preferences.patch 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/cat /builddir/build/SOURCES/0025-Provide-SYSLOG_FACILITY-when-logging-through-journal.patch + /usr/bin/git am Applying: Provide SYSLOG_FACILITY when logging through journal + /usr/bin/cat /builddir/build/SOURCES/0026-offer-reporting-to-Bugzilla-only-for-pre-GA-Anaconda.patch + /usr/bin/git am Applying: offer reporting to Bugzilla only for pre-GA Anaconda exceptions + /usr/bin/cat /builddir/build/SOURCES/0027-correct-name-of-RH-Customer-Portal.patch + /usr/bin/git am 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/git am + /usr/bin/cat /builddir/build/SOURCES/0031-introduce-import-event-options-in-xml-event-definiti.patch 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/cat /builddir/build/SOURCES/0034-remove-invalid-bytes-from-sv-strings.patch + /usr/bin/git am Applying: remove invalid bytes from 'sv' strings + /usr/bin/cat /builddir/build/SOURCES/0035-config-do-not-export-empty-environment-variables.patch + /usr/bin/git am Applying: config: do not export empty environment variables + /usr/bin/cat /builddir/build/SOURCES/0036-Translation-updates.patch + /usr/bin/git am Applying: Translation updates + /usr/bin/cat /builddir/build/SOURCES/0037-Bugzilla-pass-Bugzilla_token-in-all-XML-RPC-calls.patch + /usr/bin/git am Applying: Bugzilla: pass Bugzilla_token in all XML RPC calls + /usr/bin/cat /builddir/build/SOURCES/0038-stop-using-deprecated-json-c-functions.patch + /usr/bin/git am Applying: stop using deprecated json-c functions + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0040-report-gtk-confirm-the-ask-dialogs-on-Enter.patch Applying: report-gtk: confirm the ask dialogs on 'Enter' + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0041-testsuite-check-return-value-of-setlocale.patch Applying: testsuite: check return value of setlocale() + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0042-include-package-in-AVC-bugzilla-bug-reports.patch Applying: include 'package' in AVC bugzilla bug reports + /usr/bin/cat /builddir/build/SOURCES/0043-localization-fix-gettext.patch + /usr/bin/git am Applying: localization: fix gettext + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0044-wizard-introduce-the-searched-words-list.patch Applying: wizard: introduce the searched words list + /usr/bin/cat /builddir/build/SOURCES/0045-wizard-use-a-tab-for-Advanced-opts-instead-of-an-exp.patch + /usr/bin/git am Applying: wizard: use a tab for Advanced opts instead of an expander + /usr/bin/cat /builddir/build/SOURCES/0046-gui-apply-configuration-dialogues-changes-on-Enter-k.patch + /usr/bin/git am Applying: gui: apply configuration dialogues changes on Enter key + /usr/bin/cat /builddir/build/SOURCES/0047-gui-close-ask-dialogues-on-Enter-key.patch + /usr/bin/git am Applying: gui: close ask dialogues on Enter key + /usr/bin/cat /builddir/build/SOURCES/0048-gui-conver-report-gtk-to-GtkApplication.patch + /usr/bin/git am Applying: gui: conver report-gtk to GtkApplication + /usr/bin/cat /builddir/build/SOURCES/0049-gui-clear-the-sensitive-cache-between-two-event-runs.patch + /usr/bin/git am Applying: gui: clear the sensitive cache between two event runs + /usr/bin/cat /builddir/build/SOURCES/0050-gui-don-t-remove-already-removed-GTimeoutSource.patch + /usr/bin/git am Applying: gui: don't remove already removed GTimeoutSource + /usr/bin/cat /builddir/build/SOURCES/0051-gui-reload-destroyed-sensitive-data-warn-widgets-fro.patch + /usr/bin/git am Applying: gui: reload destroyed sensitive data warn widgets from the galde + /usr/bin/cat /builddir/build/SOURCES/0052-gui-add-Repeat-button.patch + /usr/bin/git am Applying: gui: add "Repeat" button + /usr/bin/cat /builddir/build/SOURCES/0053-wizard-terminate-event-chain-after-the-emergency-ana.patch + /usr/bin/git am Applying: wizard: terminate event chain after the emergency analysis + /usr/bin/cat /builddir/build/SOURCES/0054-wizard-don-t-work-with-destroyed-widgets.patch + /usr/bin/git am Applying: wizard: don't work with destroyed widgets + /usr/bin/cat /builddir/build/SOURCES/0055-report-parse-release-version-from-os-release.patch + /usr/bin/git am Applying: report: parse release/version from os-release + /usr/bin/cat /builddir/build/SOURCES/0056-testsuite-report-python-sanity-tests.patch + /usr/bin/git am Applying: testsuite: report python sanity tests + /usr/bin/cat /builddir/build/SOURCES/0057-testsuite-work-around-the-issue-with-report-python.patch + /usr/bin/git am Applying: testsuite: work around the issue with 'report-python' + /usr/bin/cat /builddir/build/SOURCES/0058-testsuite-add-test-not-reportable.patch + /usr/bin/git am Applying: testsuite: add test not-reportable + /usr/bin/cat /builddir/build/SOURCES/0059-lib-make_description-show-not-reportable.patch + /usr/bin/git am Applying: lib: make_description show not-reportable + /usr/bin/cat /builddir/build/SOURCES/0060-wizard-make-report-gtk-s-application-nonunique.patch + /usr/bin/git am Applying: wizard: make report-gtk's application nonunique + /usr/bin/cat /builddir/build/SOURCES/0061-ureport-enabled-inclusion-of-Authentication-data.patch + /usr/bin/git am Applying: ureport: enabled inclusion of Authentication data + /usr/bin/cat /builddir/build/SOURCES/0062-lib-add-xstrdup_between-str-open-close.patch + /usr/bin/git am Applying: lib: add xstrdup_between(str, open, close) + /usr/bin/cat /builddir/build/SOURCES/0063-testsuite-add-test-for-xstrdup_between-src-open-clos.patch + /usr/bin/git am Applying: testsuite: add test for xstrdup_between(src, open, close) + /usr/bin/cat /builddir/build/SOURCES/0064-lib-add-wrapper-for-g_hash_table_size.patch + /usr/bin/git am Applying: lib: add wrapper for g_hash_table_size() + /usr/bin/cat /builddir/build/SOURCES/0065-lib-add-strremovech-str-ch.patch + /usr/bin/git am Applying: lib: add strremovech(str, ch) + /usr/bin/cat /builddir/build/SOURCES/0066-testsuite-add-test-for-strremovech-str-ch.patch + /usr/bin/git am Applying: testsuite: add test for strremovech(str, ch) + /usr/bin/cat /builddir/build/SOURCES/0067-ureport-use-additional-HTTP-headers-with-rhsm-entitl.patch + /usr/bin/git am Applying: ureport: use additional HTTP headers with 'rhsm-entitlement' cert auth + /usr/bin/cat /builddir/build/SOURCES/0068-lib-add-function-index_of_string_in_list.patch + /usr/bin/git am Applying: lib: add function index_of_string_in_list + /usr/bin/cat /builddir/build/SOURCES/0069-testsuite-add-a-test-for-index_of_string_in_list.patch + /usr/bin/git am Applying: testsuite: add a test for index_of_string_in_list + /usr/bin/cat /builddir/build/SOURCES/0070-testsuite-change-test-for-make_description.patch + /usr/bin/git am Applying: testsuite: change test for make_description + /usr/bin/cat /builddir/build/SOURCES/0071-lib-use-user-friendly-order-in-make_description.patch + /usr/bin/git am Applying: lib: use user-friendly order in make_description() + /usr/bin/cat /builddir/build/SOURCES/0072-make_desc-add-reason-to-the-list.patch + /usr/bin/git am Applying: make_desc: add reason to the list + /usr/bin/cat /builddir/build/SOURCES/0073-logging-test-log-level-at-first-step.patch + /usr/bin/git am Applying: logging: test log level at first step + /usr/bin/cat /builddir/build/SOURCES/0074-augeas-exclude-bugzilla-format-configurations.patch + /usr/bin/git am Applying: augeas: exclude bugzilla format configurations + /usr/bin/cat /builddir/build/SOURCES/0075-make-dist-use-tar-ustar-due-to-long-filenames.patch + /usr/bin/git am Applying: make dist: use tar-ustar due to long filenames + /usr/bin/cat /builddir/build/SOURCES/0076-workflow-add-new-workflows.patch + /usr/bin/git am Applying: workflow: add new workflows /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:96: new blank line at EOF. + /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:148: new blank line at EOF. + /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:200: new blank line at EOF. + warning: 3 lines add whitespace errors. + /usr/bin/cat /builddir/build/SOURCES/0078-doc-updated-manpages-reporter.patch + /usr/bin/git am Applying: doc: updated manpages reporter-* + /usr/bin/cat /builddir/build/SOURCES/0079-ureport-publish-ureport.h-and-refactore-uReport-sour.patch + /usr/bin/git am Applying: ureport: publish ureport.h and refactore uReport source + /usr/bin/cat /builddir/build/SOURCES/0080-ureport-aggressive-refactorization-of-uReport-source.patch + /usr/bin/git am Applying: ureport: aggressive refactorization of uReport source + /usr/bin/cat /builddir/build/SOURCES/0082-ureport-support-HTTP-Basic-authentication.patch + /usr/bin/git am Applying: ureport: support HTTP Basic authentication + /usr/bin/cat /builddir/build/SOURCES/0083-rhtsupport-submit-ureport-and-attach-case-ID-to-urep.patch + /usr/bin/git am Applying: rhtsupport: submit ureport and attach case ID to ureport + /usr/bin/cat /builddir/build/SOURCES/0084-rhtsupport-check-for-hints-only-when-creating-a-new-.patch + /usr/bin/git am Applying: rhtsupport: check for hints only when creating a new case + /usr/bin/cat /builddir/build/SOURCES/0085-ureport-provide-default-URLs.patch + /usr/bin/git am Applying: ureport: provide default URLs + /usr/bin/cat /builddir/build/SOURCES/0086-ureport-include-AuthDataItems-if-SSLClientAuth-is-co.patch + /usr/bin/git am Applying: ureport: include AuthDataItems if SSLClientAuth is configured + /usr/bin/cat /builddir/build/SOURCES/0087-report_RHTSupport-adapt-event-to-the-recent-changes.patch + /usr/bin/git am Applying: report_RHTSupport: adapt event to the recent changes + /usr/bin/cat /builddir/build/SOURCES/0088-bugzilla-add-comment-to-closed-bugs-too.patch + /usr/bin/git am Applying: bugzilla: add comment to closed bugs too + /usr/bin/cat /builddir/build/SOURCES/0089-lib-handle-access-denials-in-upload_file.patch + /usr/bin/git am Applying: lib: handle access denials in upload_file() + /usr/bin/cat /builddir/build/SOURCES/0090-upload-read-credentials-from-environment-variables.patch + /usr/bin/git am Applying: upload: read credentials from environment variables + /usr/bin/cat /builddir/build/SOURCES/0091-rhtsupport-re-prompt-for-credentials.patch + /usr/bin/git am Applying: rhtsupport: re-prompt for credentials + /usr/bin/cat /builddir/build/SOURCES/0092-uploader-correct-capitalization-of-the-event-name.patch + /usr/bin/git am Applying: uploader: correct capitalization of the event name + /usr/bin/cat /builddir/build/SOURCES/0093-lib-process-NULL-arg-as-an-empty-list-in-parse_list.patch + /usr/bin/git am Applying: lib: process NULL arg as an empty list in parse_list() + /usr/bin/cat /builddir/build/SOURCES/0094-Translation-updates.patch + /usr/bin/git am Applying: Translation updates /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:219: trailing whitespace. # /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:172461: trailing whitespace. # warning: 2 lines add whitespace errors. + /usr/bin/cat /builddir/build/SOURCES/0095-upload-don-t-ask-for-password-if-the-env-var-is-empt.patch + /usr/bin/git am Applying: upload: don't ask for password if the env var is empty string + /usr/bin/cat /builddir/build/SOURCES/0096-lib-fix-a-bug-in-ureport-response-parser.patch + /usr/bin/git am Applying: lib: fix a bug in ureport response parser + /usr/bin/cat /builddir/build/SOURCES/0097-rhtsupport-attach-the-contact-email-to-bthash.patch + /usr/bin/git am Applying: rhtsupport: attach the contact email to bthash + /usr/bin/cat /builddir/build/SOURCES/0098-ureport-document-rhsm-entitlement-in-the-man-page.patch + /usr/bin/git am Applying: ureport: document rhsm-entitlement in the man page + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0099-rhtsupport-send-ureport-before-creating-description.patch Applying: rhtsupport: send ureport before creating description + /usr/bin/cat /builddir/build/SOURCES/0100-ureport-allow-multiple-cert-file-in-rhsm-entitlement.patch + /usr/bin/git am Applying: ureport: allow multiple cert file in rhsm-entitlement dir + /usr/bin/cat /builddir/build/SOURCES/0101-ureport-use-entit-certs-with-rhsm-and-drop-rhsm-enti.patch + /usr/bin/git am Applying: ureport: use entit certs with 'rhsm' and drop 'rhsm-entitlement' + /usr/bin/cat /builddir/build/SOURCES/0102-ureport-get-rhsm-entitlement-cert-dir-from-rhsm-conf.patch + /usr/bin/git am Applying: ureport: get rhsm entitlement cert dir from rhsm conf + /usr/bin/cat /builddir/build/SOURCES/0103-ureport-consistently-die-on-all-client-auth-errors.patch + /usr/bin/git am Applying: ureport: consistently die on all client auth errors + /usr/bin/cat /builddir/build/SOURCES/0104-rhtsupport-never-use-uReport-URL-from-ureport.config.patch + /usr/bin/git am Applying: rhtsupport: never use uReport URL from ureport.config + /usr/bin/cat /builddir/build/SOURCES/0105-rhtsupport-do-not-leak-the-hints-results.patch + /usr/bin/git am Applying: rhtsupport: do not leak the hints results + /usr/bin/cat /builddir/build/SOURCES/0106-ureport-fall-back-to-the-hardcoded-rhsm-cert-dir.patch + /usr/bin/git am Applying: ureport: fall back to the hardcoded rhsm cert dir + /usr/bin/cat /builddir/build/SOURCES/0107-workflows-do-not-use-the-Retrace-server-for-generati.patch + /usr/bin/git am Applying: workflows: do not use the Retrace server for generating backtrace + /usr/bin/cat /builddir/build/SOURCES/0108-Translation-updates.patch + /usr/bin/git am Applying: Translation updates + /usr/bin/cat /builddir/build/SOURCES/0109-ureport-fix-a-memory-leak-related-to-AuthDataItems.patch + /usr/bin/git am Applying: ureport: fix a memory leak related to AuthDataItems + /usr/bin/cat /builddir/build/SOURCES/0110-ureport-use-rhsm-ssl-client-auth-by-default.patch + /usr/bin/git am Applying: ureport: use 'rhsm' ssl client auth by default + /usr/bin/cat /builddir/build/SOURCES/0111-ureport-be-able-to-configure-ContactEmail-from-GUI.patch + /usr/bin/git am Applying: ureport: be able to configure ContactEmail from GUI + /usr/bin/cat /builddir/build/SOURCES/0112-rhtsupport-be-able-to-turn-uReport-off-from-GUI.patch + /usr/bin/git am Applying: rhtsupport: be able to turn uReport off from GUI + /usr/bin/cat /builddir/build/SOURCES/0113-rhtsupport-move-RH-Portal-URL-c.-o.-to-Advanced-sect.patch + /usr/bin/git am Applying: rhtsupport: move RH Portal URL c. o. to Advanced section + /usr/bin/cat /builddir/build/SOURCES/0114-Revert-ureport-consistently-die-on-all-client-auth-e.patch + /usr/bin/git am Applying: Revert "ureport: consistently die on all client auth errors" + /usr/bin/cat /builddir/build/SOURCES/0115-testsuite-add-unittests-for-uReport-API.patch + /usr/bin/git am Applying: testsuite: add unittests for uReport API /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:1149: new blank line at EOF. + warning: 1 line adds whitespace errors. + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0116-testsuite-changed-atlocal.in-to-work-with-last-commi.patch Applying: testsuite: changed atlocal.in to work with last commit + /usr/bin/cat /builddir/build/SOURCES/0117-testsuite-do-not-expected-ureport-exiting-on-rhsm-ce.patch + /usr/bin/git am Applying: testsuite: do not expected ureport exiting on rhsm cert errors + /usr/bin/cat /builddir/build/SOURCES/0119-ureport-uReport_ContactEmail-setting-can-be-left-emp.patch + /usr/bin/git am Applying: ureport: uReport_ContactEmail setting can be left empty + /usr/bin/cat /builddir/build/SOURCES/0120-gui-support-Enter-2Click-in-Preferences-list.patch + /usr/bin/git am Applying: gui: support Enter & 2Click in Preferences list + /usr/bin/cat /builddir/build/SOURCES/0121-lib-make-config-files-loading-quiter.patch + /usr/bin/git am Applying: lib: make config files loading quiter + /usr/bin/cat /builddir/build/SOURCES/0122-lib-add-functions-to-load-save-plugin-conf-files.patch + /usr/bin/git am Applying: lib: add functions to load/save plugin conf files + /usr/bin/cat /builddir/build/SOURCES/0123-lib-add-a-clone-function-for-map_string_t.patch + /usr/bin/git am Applying: lib: add a clone function for map_string_t + /usr/bin/cat /builddir/build/SOURCES/0124-ureport-introduce-HTTPAuth.patch + /usr/bin/git am Applying: ureport: introduce HTTPAuth + /usr/bin/cat /builddir/build/SOURCES/0125-Do-not-use-bool-in-OPT_BOOL-macro-it-expects-int.patch + /usr/bin/git am Applying: Do not use 'bool' in OPT_BOOL() macro : it expects 'int' + /usr/bin/cat /builddir/build/SOURCES/0126-lib-introduce-a-new-function-copy_file_ext.patch + /usr/bin/git am Applying: lib: introduce a new function copy_file_ext + /usr/bin/cat /builddir/build/SOURCES/0127-dump_dir-allow-creating-of-a-new-dir-w-o-chowning-it.patch + /usr/bin/git am Applying: dump_dir: allow creating of a new dir w/o chowning it + /usr/bin/cat /builddir/build/SOURCES/0128-dump_dir-allow-hooks-to-create-dump-directory-withou.patch + /usr/bin/git am Applying: dump_dir: allow hooks to create dump directory without parents + /usr/bin/cat /builddir/build/SOURCES/0129-lib-add-a-function-checking-file-names.patch + /usr/bin/git am Applying: lib: add a function checking file names + /usr/bin/cat /builddir/build/SOURCES/0130-dd-harden-functions-against-directory-traversal-issu.patch + /usr/bin/git am Applying: dd: harden functions against directory traversal issues + /usr/bin/cat /builddir/build/SOURCES/0131-lib-allow-creating-root-owned-problem-directories-fr.patch + /usr/bin/git am Applying: lib: allow creating root owned problem directories from problem data + /usr/bin/cat /builddir/build/SOURCES/0132-lib-fix-races-in-dump-directory-handling-code.patch + /usr/bin/git am Applying: lib: fix races in dump directory handling code + /usr/bin/cat /builddir/build/SOURCES/0133-lib-add-alternative-dd-functions-accepting-fds.patch + /usr/bin/git am Applying: lib: add alternative dd functions accepting fds + /usr/bin/cat /builddir/build/SOURCES/0134-build-switch-the-default-dump-dir-mode-to-0640.patch + /usr/bin/git am Applying: build: switch the default dump dir mode to 0640 + /usr/bin/cat /builddir/build/SOURCES/0135-dd-fix-a-warning-in-printf-for-st_nlink.patch + /usr/bin/git am Applying: dd: fix a warning in printf for st_nlink + /usr/bin/cat /builddir/build/SOURCES/0136-dd-don-t-try-to-close-not-opened-dir-fd.patch + /usr/bin/git am Applying: dd: don't try to close not opened dir fd + /usr/bin/cat /builddir/build/SOURCES/0137-dd-close-deleted-directories-release-resources.patch + /usr/bin/git am Applying: dd: close deleted directories (release resources) + /usr/bin/cat /builddir/build/SOURCES/0138-dd-add-missing-return-statement.patch + /usr/bin/git am Applying: dd: add missing return statement + /usr/bin/cat /builddir/build/SOURCES/0139-ureport-add-functionality-to-use-consumer-certificat.patch + /usr/bin/git am Applying: ureport: add functionality to use consumer certificate + /usr/bin/cat /builddir/build/SOURCES/0140-testsuite-fix-test-for-ureport.patch + /usr/bin/git am Applying: testsuite: fix test for ureport + /usr/bin/cat /builddir/build/SOURCES/0141-report-python-fix-getVersion_fromOSRELEASE.patch + /usr/bin/git am Applying: report-python: fix getVersion_fromOSRELEASE + /usr/bin/cat /builddir/build/SOURCES/0142-RHTSupport-include-reported_to-in-Support-cases.patch + /usr/bin/git am Applying: RHTSupport: include reported_to in Support cases + /usr/bin/cat /builddir/build/SOURCES/0143-problem_data-add-a-new-function-problem_item_get_siz.patch + /usr/bin/git am Applying: problem_data: add a new function problem_item_get_size + /usr/bin/cat /builddir/build/SOURCES/0144-problem_data-cache-problem_item-size.patch + /usr/bin/git am Applying: problem_data: cache problem_item size + /usr/bin/cat /builddir/build/SOURCES/0145-lib-parse-list-delimited-by-any-character.patch + /usr/bin/git am Applying: lib: parse list delimited by any character + /usr/bin/cat /builddir/build/SOURCES/0146-lib-get-possible-events-for-problem_data_t.patch + /usr/bin/git am Applying: lib: get possible events for problem_data_t + /usr/bin/cat /builddir/build/SOURCES/0147-lib-fix-a-SEGV-in-list_possible_events.patch + /usr/bin/git am Applying: lib: fix a SEGV in list_possible_events() + /usr/bin/cat /builddir/build/SOURCES/0150-Update-translations.patch + /usr/bin/git am Applying: Update translations /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:320: trailing whitespace. #. /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:340: trailing whitespace. #. /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:1831: trailing whitespace. #. /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:1862: trailing whitespace. #. /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch:4821: trailing whitespace. #. warning: squelched 95 whitespace errors warning: 100 lines add whitespace errors. + /usr/bin/cat /builddir/build/SOURCES/0151-don-t-spit-unnecessary-debug-messages.patch + /usr/bin/git am Applying: don't spit unnecessary debug messages + /usr/bin/cat /builddir/build/SOURCES/0152-dd-don-t-warn-about-missing-type-if-the-locking-fail.patch + /usr/bin/git am Applying: dd: don't warn about missing 'type' if the locking fails + /usr/bin/cat /builddir/build/SOURCES/0154-curl-add-posibility-to-use-own-Certificate-Authority.patch + /usr/bin/git am Applying: curl: add posibility to use own Certificate Authority cert + /usr/bin/cat /builddir/build/SOURCES/0155-ureport-use-Red-Hat-Certificate-Authority-to-make-rh.patch + /usr/bin/git am Applying: ureport: use Red Hat Certificate Authority to make rhsm cert trusted + /usr/bin/cat /builddir/build/SOURCES/0156-ureport-improve-curl-s-error-messages.patch + /usr/bin/git am Applying: ureport: improve curl's error messages + /usr/bin/cat /builddir/build/SOURCES/0157-testsuite-ureport-initialize-post_state.patch + /usr/bin/git am Applying: testsuite: ureport: initialize post_state + /usr/bin/cat /builddir/build/SOURCES/0158-testsuite-ureport-use-less-strange-testing-error-mes.patch + /usr/bin/git am Applying: testsuite: ureport: use less strange testing error message + /usr/bin/cat /builddir/build/SOURCES/0159-wizard-fix-save-users-changes-after-reviewing-dump-d.patch + /usr/bin/git am Applying: wizard: fix save users changes after reviewing dump dir files + /usr/bin/cat /builddir/build/SOURCES/0162-lib-introduce-a-new-function-returning-base-user-con.patch + /usr/bin/git am Applying: lib: introduce a new function returning base user conf directory + /usr/bin/cat /builddir/build/SOURCES/0163-utils-make-arguments-of-a-list-func-const.patch + /usr/bin/git am Applying: utils: make arguments of a list func const + /usr/bin/cat /builddir/build/SOURCES/0164-conf-files-be-able-to-make-directories-optional.patch + /usr/bin/git am Applying: conf files: be able to make directories optional + /usr/bin/cat /builddir/build/SOURCES/0165-lib-introduce-global-configuration-option-for-exclud.patch + /usr/bin/git am Applying: lib: introduce global configuration + option for excluded elements + /usr/bin/cat /builddir/build/SOURCES/0166-dd-add-a-function-for-compressing-dumpdirs.patch + /usr/bin/git am Applying: dd: add a function for compressing dumpdirs + /usr/bin/cat /builddir/build/SOURCES/0167-uploader-use-shared-dd_create_archive-function.patch + /usr/bin/git am Applying: uploader: use shared dd_create_archive function + /usr/bin/cat /builddir/build/SOURCES/0168-testsuite-add-a-test-for-AlwaysExcludedElements.patch + /usr/bin/git am Applying: testsuite: add a test for AlwaysExcludedElements + /usr/bin/cat /builddir/build/SOURCES/0169-lib-introduce-parser-of-ISO-date-strings.patch + /usr/bin/git am Applying: lib: introduce parser of ISO date strings + /usr/bin/cat /builddir/build/SOURCES/0170-reported_to-add-a-function-formatting-reported_to-li.patch + /usr/bin/git am Applying: reported_to: add a function formatting reported_to lines + /usr/bin/cat /builddir/build/SOURCES/0171-plugins-port-reporters-to-add_reported_to_entry.patch + /usr/bin/git am Applying: plugins: port reporters to add_reported_to_entry + /usr/bin/cat /builddir/build/SOURCES/0172-lib-add-function-for-removing-userinfo-from-URIs.patch + /usr/bin/git am Applying: lib: add function for removing userinfo from URIs + /usr/bin/cat /builddir/build/SOURCES/0173-uploader-save-remote-name-in-reported_to.patch + /usr/bin/git am Applying: uploader: save remote name in reported_to + /usr/bin/cat /builddir/build/SOURCES/0174-curl-return-URLs-without-userinfo.patch + /usr/bin/git am Applying: curl: return URLs without userinfo + /usr/bin/cat /builddir/build/SOURCES/0175-ureport-enable-attaching-of-arbitrary-values.patch + /usr/bin/git am Applying: ureport: enable attaching of arbitrary values + /usr/bin/cat /builddir/build/SOURCES/0176-curl-fix-typo-Ingoring-Ignoring.patch + /usr/bin/git am Applying: curl: fix typo Ingoring -> Ignoring + /usr/bin/cat /builddir/build/SOURCES/0177-testsuite-add-test-for-uid_in_group.patch + /usr/bin/git am Applying: testsuite: add test for uid_in_group() + /usr/bin/cat /builddir/build/SOURCES/0178-dd-make-function-uid_in_group-public.patch + /usr/bin/git am Applying: dd: make function uid_in_group() public + /usr/bin/cat /builddir/build/SOURCES/0179-curl-add-possibility-to-configure-SSH-keys.patch + /usr/bin/git am Applying: curl: add possibility to configure SSH keys + /usr/bin/cat /builddir/build/SOURCES/0180-uploader-allow-empty-username-and-password.patch + /usr/bin/git am Applying: uploader: allow empty username and password + /usr/bin/cat /builddir/build/SOURCES/0181-uploader-move-username-and-password-to-the-advanced-.patch + /usr/bin/git am Applying: uploader: move username and password to the advanced options + /usr/bin/cat /builddir/build/SOURCES/0183-uploader-add-possibility-to-set-SSH-keyfiles.patch + /usr/bin/git am Applying: uploader: add possibility to set SSH keyfiles + /usr/bin/cat /builddir/build/SOURCES/0184-uploader-etc-libreport-plugins-upload.conf-as-defaul.patch + /usr/bin/git am Applying: uploader: /etc/libreport/plugins/upload.conf as default conf file + /usr/bin/cat /builddir/build/SOURCES/0185-bugzilla-make-the-event-configurable.patch + /usr/bin/git am Applying: bugzilla: make the event configurable + /usr/bin/cat /builddir/build/SOURCES/0186-report-gtk-offer-users-to-create-private-ticket.patch + /usr/bin/git am Applying: report-gtk: offer users to create private ticket + /usr/bin/cat /builddir/build/SOURCES/0187-event-config-add-support-for-restricted-access.patch + /usr/bin/git am Applying: event config: add support for 'restricted access' + /usr/bin/cat /builddir/build/SOURCES/0188-lib-move-CREATE_PRIVATE_TICKET-to-the-global-configu.patch + /usr/bin/git am Applying: lib: move CREATE_PRIVATE_TICKET to the global configuration + /usr/bin/cat /builddir/build/SOURCES/0189-testsuite-add-simple-helper-macros.patch + /usr/bin/git am Applying: testsuite: add simple helper macros + /usr/bin/cat /builddir/build/SOURCES/0190-bugzilla-don-t-report-private-problem-as-comment.patch + /usr/bin/git am Applying: bugzilla: don't report private problem as comment + /usr/bin/cat /builddir/build/SOURCES/0192-Add-workflow-for-RHEL-anonymous-report.patch + /usr/bin/git am Applying: Add workflow for RHEL anonymous report + /usr/bin/cat /builddir/build/SOURCES/0193-report-gtk-Require-Reproducer-for-RHTSupport.patch + /usr/bin/git am Applying: report-gtk: Require Reproducer for RHTSupport + /usr/bin/cat /builddir/build/SOURCES/0194-rhtsupport-Discourage-users-from-opening-one-shot-cr.patch + /usr/bin/git am Applying: rhtsupport: Discourage users from opening one-shot crashes + /usr/bin/cat /builddir/build/SOURCES/0195-testsuite-problem_data-add-problem_data_reproducible.patch + /usr/bin/git am Applying: testsuite: problem_data: add problem_data_reproducible testcase + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0196-rhtsupport-Discourage-users-from-reporting-in-non-Re.patch Applying: rhtsupport: Discourage users from reporting in non Red Hat stuff + /usr/bin/git am + /usr/bin/cat /builddir/build/SOURCES/0197-augeas-trim-spaces-before-key-value.patch Applying: augeas: trim spaces before key value + /usr/bin/cat /builddir/build/SOURCES/0199-lib-add-Problem-Format-API.patch + /usr/bin/git am Applying: lib: add Problem Format API + /usr/bin/cat /builddir/build/SOURCES/0200-rhtsupport-use-problem-report-API-to-create-descript.patch + /usr/bin/git am Applying: rhtsupport: use problem report API to create description + /usr/bin/cat /builddir/build/SOURCES/0201-rhtsupport-add-pkg_vendor-reproducer-and-reproducibl.patch + /usr/bin/git am Applying: rhtsupport: add pkg_vendor, reproducer and reproducible to description + /usr/bin/cat /builddir/build/SOURCES/0202-rhtsupport-attach-all-dump-dir-s-element-to-a-new-ca.patch + /usr/bin/git am Applying: rhtsupport: attach all dump dir's element to a new case + /usr/bin/cat /builddir/build/SOURCES/0203-lib-remove-unused-function-make_description_bz.patch + /usr/bin/git am Applying: lib: remove unused function make_description_bz + /usr/bin/cat /builddir/build/SOURCES/0204-mailx-use-problem-report-api-to-define-an-emais-cont.patch + /usr/bin/git am Applying: mailx: use problem report api to define an emais' content + /usr/bin/cat /builddir/build/SOURCES/0205-mailx-mail-formatting-add-comment-right-after-onelin.patch + /usr/bin/git am Applying: mailx: mail formatting: add comment right after %oneline + /usr/bin/cat /builddir/build/SOURCES/0206-mailx-introduce-debug-parameter-D.patch + /usr/bin/git am Applying: mailx: introduce debug parameter -D + /usr/bin/cat /builddir/build/SOURCES/0207-mailx-stop-creating-dead.letter-on-mailx-failures.patch + /usr/bin/git am Applying: mailx: stop creating dead.letter on mailx failures + /usr/bin/cat /builddir/build/SOURCES/0208-lib-allow-report-SELinux-denial-from-sealert-under-c.patch + /usr/bin/git am Applying: lib: allow report SELinux denial from sealert under common user + /usr/bin/cat /builddir/build/SOURCES/0209-lib-problem-report-API-check-fseek-return-code.patch + /usr/bin/git am Applying: lib: problem report API check fseek return code + /usr/bin/cat /builddir/build/SOURCES/0210-RHTSupport-include-count-in-Support-cases.patch + /usr/bin/git am Applying: RHTSupport: include count in Support cases + /usr/bin/cat /builddir/build/SOURCES/0211-configure-set-version-to-2.1.11.1.patch + /usr/bin/git am Applying: configure: set version to 2.1.11.1 + /usr/bin/cat /builddir/build/SOURCES/0212-Translation-updates.patch + /usr/bin/git am Applying: Translation updates + /usr/bin/cat /builddir/build/SOURCES/1000-lib-add-Problem-Format-API.patch + /usr/bin/git am Applying: lib: add Problem Format API error: patch failed: po/POTFILES.in:23 error: po/POTFILES.in: patch does not apply error: patch failed: src/include/Makefile.am:5 error: src/include/Makefile.am: patch does not apply error: src/include/problem_report.h: already exists in index error: patch failed: src/lib/Makefile.am:38 error: src/lib/Makefile.am: patch does not apply error: src/lib/problem_report.c: already exists in index error: patch failed: tests/Makefile.am:43 error: tests/Makefile.am: patch does not apply error: tests/problem_report.at: already exists in index error: patch failed: tests/testsuite.at:18 error: tests/testsuite.at: patch does not apply Patch failed at 0001 lib: add Problem Format API The copy of the patch that failed is found in: /builddir/build/BUILD/libreport-2.1.11/.git/rebase-apply/patch When you have resolved this problem, run "git am --resolved". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". error: Bad exit status from /var/tmp/rpm-tmp.iz3GPQ (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.iz3GPQ (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libreport.spec