Skip to content

Instantly share code, notes, and snippets.

@shanemcd
Created May 10, 2017 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanemcd/d4da475611ca68cdb665a353d43bfb1a to your computer and use it in GitHub Desktop.
Save shanemcd/d4da475611ca68cdb665a353d43bfb1a to your computer and use it in GitHub Desktop.
Mock Version: 1.3.4
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/erlang.spec'], shell=FalseprintOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6128/root'nspawn_args=[]uid=1001gid=135timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x7f2b6df2d828>user='mockbuild'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock'})
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/erlang.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
warning: bogus date in %changelog: Thu Oct 13 2015 Michael Klishin <michael@rabbitmq.com> - 18.1
warning: Could not canonicalize hostname: copr-builder-124852931.novalocal
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/erlang-19.3.2-1.el7.centos.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/erlang.spec'], shell=FalseprintOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6128/root'nspawn_args=[]uid=1001gid=135timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x7f2b6df2d828>user='mockbuild'env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock'})
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/erlang.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False
warning: bogus date in %changelog: Thu Oct 13 2015 Michael Klishin <michael@rabbitmq.com> - 18.1
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8pCYYD
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf otp-OTP-19.3.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/OTP-19.3.2.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd otp-OTP-19.3.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch):'
Patch #1 (otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch):
+ /usr/bin/cat /builddir/build/SOURCES/otp-0001-Do-not-format-man-pages-and-do-not-install-miscellan.patch
+ /usr/bin/patch -p1 -b --suffix .Do_not_format_man_pages_and_do_not_install_miscellan --fuzz=0
patching file erts/etc/common/Makefile.in
Hunk #1 succeeded at 492 (offset -58 lines).
patching file erts/etc/unix/Install.src
Hunk #1 succeeded at 141 (offset 1 line).
+ echo 'Patch #2 (otp-0002-Remove-rpath.patch):'
Patch #2 (otp-0002-Remove-rpath.patch):
+ /usr/bin/cat /builddir/build/SOURCES/otp-0002-Remove-rpath.patch
+ /usr/bin/patch -p1 -b --suffix .Remove_rpath --fuzz=0
patching file lib/crypto/c_src/Makefile.in
Hunk #1 succeeded at 90 (offset 1 line).
patching file lib/crypto/priv/Makefile
Hunk #1 succeeded at 61 (offset 1 line).
+ echo 'Patch #3 (otp-0003-Do-not-install-C-sources.patch):'
Patch #3 (otp-0003-Do-not-install-C-sources.patch):
+ /usr/bin/cat /builddir/build/SOURCES/otp-0003-Do-not-install-C-sources.patch
+ /usr/bin/patch -p1 -b --suffix .Do_not_install_C_sources --fuzz=0
patching file lib/asn1/c_src/Makefile
patching file lib/crypto/c_src/Makefile.in
patching file lib/erl_interface/src/Makefile.in
Hunk #1 succeeded at 821 (offset -62 lines).
Hunk #2 succeeded at 832 (offset -62 lines).
patching file lib/os_mon/c_src/Makefile.in
Hunk #1 succeeded at 127 (offset 1 line).
patching file lib/tools/c_src/Makefile.in
+ echo 'Patch #7 (otp-0007-Do-not-install-erlang-sources.patch):'
Patch #7 (otp-0007-Do-not-install-erlang-sources.patch):
+ /usr/bin/cat /builddir/build/SOURCES/otp-0007-Do-not-install-erlang-sources.patch
+ /usr/bin/patch -p1 -b --suffix .Do_not_install_erlang_sources --fuzz=0
patching file erts/preloaded/src/Makefile
Hunk #1 succeeded at 90 (offset 4 lines).
patching file lib/asn1/src/Makefile
patching file lib/compiler/src/Makefile
Hunk #1 succeeded at 174 (offset 2 lines).
patching file lib/crypto/src/Makefile
patching file lib/debugger/src/Makefile
patching file lib/edoc/src/Makefile
patching file lib/erl_docgen/src/Makefile
patching file lib/hipe/cerl/Makefile
patching file lib/hipe/flow/Makefile
patching file lib/hipe/icode/Makefile
patching file lib/hipe/main/Makefile
patching file lib/hipe/misc/Makefile
patching file lib/hipe/rtl/Makefile
patching file lib/hipe/util/Makefile
patching file lib/inets/src/ftp/Makefile
patching file lib/inets/src/http_client/Makefile
patching file lib/inets/src/http_lib/Makefile
patching file lib/inets/src/http_server/Makefile
patching file lib/inets/src/inets_app/Makefile
Hunk #1 succeeded at 114 (offset -2 lines).
patching file lib/kernel/src/Makefile
Hunk #1 succeeded at 202 (offset 2 lines).
patching file lib/mnesia/src/Makefile
Hunk #1 succeeded at 135 (offset 2 lines).
patching file lib/os_mon/src/Makefile
patching file lib/otp_mibs/src/Makefile
patching file lib/parsetools/src/Makefile
patching file lib/public_key/src/Makefile
Hunk #1 succeeded at 50 (offset -3 lines).
Hunk #2 succeeded at 107 (offset 5 lines).
patching file lib/reltool/src/Makefile
patching file lib/runtime_tools/src/Makefile
Hunk #1 succeeded at 99 (offset 2 lines).
patching file lib/sasl/src/Makefile
patching file lib/snmp/src/agent/Makefile
patching file lib/snmp/src/app/Makefile
patching file lib/snmp/src/compile/Makefile
patching file lib/snmp/src/manager/Makefile
patching file lib/snmp/src/misc/Makefile
patching file lib/ssl/src/Makefile
Hunk #1 succeeded at 151 (offset 10 lines).
patching file lib/stdlib/src/Makefile
Hunk #1 succeeded at 208 (offset 1 line).
patching file lib/syntax_tools/src/Makefile
patching file lib/tools/src/Makefile
Hunk #1 succeeded at 106 (offset -1 lines).
patching file lib/xmerl/src/Makefile
+ chmod 644 lib/kernel/examples/uds_dist/c_src/Makefile
+ chmod 644 lib/kernel/examples/uds_dist/src/Makefile
+ chmod 644 lib/ssl/examples/certs/Makefile
+ chmod 644 lib/ssl/examples/src/Makefile
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xdtQic
+ umask 022
+ cd /builddir/build/BUILD
+ cd otp-OTP-19.3.2
+ ./otp_build autoconf
=== running autoconf in lib
./otp_build: line 314: autoconf: command not found
error: Bad exit status from /var/tmp/rpm-tmp.xdtQic (%build)
RPM build errors:
bogus date in %changelog: Thu Oct 13 2015 Michael Klishin <michael@rabbitmq.com> - 18.1
Bad exit status from /var/tmp/rpm-tmp.xdtQic (%build)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line 89, in trace
result = func(*args, **kw)
File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 582, in do
raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
# bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/erlang.spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment