Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1445451 Details for
Bug 1583745
python-mccabe FTBFS on python 3.7
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log from copr
build.log.gz (text/plain), 12.13 KB, created by
Miro Hrončok
on 2018-05-29 15:16:38 UTC
(
hide
)
Description:
build.log from copr
Filename:
MIME Type:
Creator:
Miro Hrončok
Created:
2018-05-29 15:16:38 UTC
Size:
12.13 KB
patch
obsolete
>Mock Version: 1.4.10 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-mccabe.spec'], chrootPath='/var/lib/mock/760048-fedora-rawhide-x86_64-1527606775.105821/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f6fd4c48da0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) >Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fe57e609bc314baca5c061e7f25e04ef', '-D', '/var/lib/mock/760048-fedora-rawhide-x86_64-1527606775.105821/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-mccabe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False >Building target platforms: x86_64 >Building for target x86_64 >Wrote: /builddir/build/SRPMS/python-mccabe-0.6.1-7.fc29.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-mccabe.spec'], chrootPath='/var/lib/mock/760048-fedora-rawhide-x86_64-1527606775.105821/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f6fd4c48da0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) >Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1e0dbc427ac746d6b11bb8e34a685a7e', '-D', '/var/lib/mock/760048-fedora-rawhide-x86_64-1527606775.105821/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-mccabe.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False >Building target platforms: x86_64 >Building for target x86_64 >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eI0TJa >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf mccabe-0.6.1 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/mccabe-0.6.1.tar.gz >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd mccabe-0.6.1 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ rm -rf mccabe.egg-info >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6qHuSh >+ umask 022 >+ cd /builddir/build/BUILD >+ cd mccabe-0.6.1 >+ CFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' >+ LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' >running build >running build_py >creating build >creating build/lib >copying mccabe.py -> build/lib >+ sleep 1 >+ CFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' >+ LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' >running build >running build_py >+ sleep 1 >+ exit 0 >Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ChQxpy >+ umask 022 >+ cd /builddir/build/BUILD >+ '[' /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64 '!=' / ']' >+ rm -rf /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64 >BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64 >+ mkdir -p /builddir/build/BUILDROOT >+ mkdir /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64 >+ cd mccabe-0.6.1 >+ CFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' >+ LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64 >running install >running install_lib >creating /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr >creating /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib >creating /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python3.7 >creating /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python3.7/site-packages >copying build/lib/mccabe.py -> /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python3.7/site-packages >byte-compiling /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python3.7/site-packages/mccabe.py to mccabe.cpython-37.pyc >writing byte-compilation script '/tmp/tmp9tz7ahly.py' >/usr/bin/python3 /tmp/tmp9tz7ahly.py >removing /tmp/tmp9tz7ahly.py >running install_egg_info >running egg_info >creating mccabe.egg-info >writing mccabe.egg-info/PKG-INFO >writing dependency_links to mccabe.egg-info/dependency_links.txt >writing entry points to mccabe.egg-info/entry_points.txt >writing top-level names to mccabe.egg-info/top_level.txt >writing manifest file 'mccabe.egg-info/SOURCES.txt' >reading manifest file 'mccabe.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >writing manifest file 'mccabe.egg-info/SOURCES.txt' >Copying mccabe.egg-info to /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python3.7/site-packages/mccabe-0.6.1-py3.7.egg-info >running install_scripts >+ CFLAGS='-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' >+ LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64 >running install >running install_lib >creating /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python2.7 >creating /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python2.7/site-packages >copying build/lib/mccabe.py -> /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python2.7/site-packages >byte-compiling /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python2.7/site-packages/mccabe.py to mccabe.pyc >writing byte-compilation script '/tmp/tmpP757Ph.py' >/usr/bin/python2 -O /tmp/tmpP757Ph.py >removing /tmp/tmpP757Ph.py >running install_egg_info >running egg_info >writing mccabe.egg-info/PKG-INFO >writing top-level names to mccabe.egg-info/top_level.txt >writing dependency_links to mccabe.egg-info/dependency_links.txt >writing entry points to mccabe.egg-info/entry_points.txt >reading manifest file 'mccabe.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >writing manifest file 'mccabe.egg-info/SOURCES.txt' >Copying mccabe.egg-info to /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python2.7/site-packages/mccabe-0.6.1-py2.7.egg-info >running install_scripts >+ /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.6.1-7.fc29 --unique-debug-suffix -0.6.1-7.fc29.x86_64 --unique-debug-src-base python-mccabe-0.6.1-7.fc29.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mccabe-0.6.1 >BUILDSTDERR: find: 'debug': No such file or directory >+ /usr/lib/rpm/check-buildroot >+ /usr/lib/rpm/redhat/brp-ldconfig >BUILDSTDERR: /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-static-archive /usr/bin/strip >+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 >Bytecompiling .py files below /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 >Bytecompiling .py files below /builddir/build/BUILDROOT/python-mccabe-0.6.1-7.fc29.x86_64/usr/lib/python3.7 using /usr/bin/python3.7 >+ /usr/lib/rpm/brp-python-hardlink >+ /usr/lib/rpm/redhat/brp-mangle-shebangs >Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4cttRS >+ umask 022 >+ cd /builddir/build/BUILD >+ cd mccabe-0.6.1 >+ py.test-2.7 >============================= test session starts ============================== >platform linux2 -- Python 2.7.15, pytest-3.5.1, py-1.5.3, pluggy-0.6.0 >rootdir: /builddir/build/BUILD/mccabe-0.6.1, inifile: >collected 14 items >test_mccabe.py ss............ [100%] >===================== 12 passed, 2 skipped in 0.04 seconds ===================== >+ py.test-3 >============================= test session starts ============================== >platform linux -- Python 3.7.0b4, pytest-3.5.1, py-1.5.3, pluggy-0.6.0 >rootdir: /builddir/build/BUILD/mccabe-0.6.1, inifile: >collected 14 items >test_mccabe.py ..F........... [100%] >=================================== FAILURES =================================== >____________________ McCabeTestCase.test_expr_as_statement _____________________ >self = <test_mccabe.McCabeTestCase testMethod=test_expr_as_statement> > def test_expr_as_statement(self): > complexity = get_complexity_number(expr_as_statement, self.strio) >> self.assertEqual(complexity, 1) >E AssertionError: 2 != 1 >test_mccabe.py:192: AssertionError >===================== 1 failed, 13 passed in 0.09 seconds ====================== >RPM build errors: >BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.4cttRS (%check) >BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.4cttRS (%check) >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace > result = func(*args, **kw) > File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 628, in do > raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) >mockbuild.exception.Error: Command failed: > # /usr/bin/systemd-nspawn -q -M 1e0dbc427ac746d6b11bb8e34a685a7e -D /var/lib/mock/760048-fedora-rawhide-x86_64-1527606775.105821/root -a --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-mccabe.spec >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1583745
: 1445451 |
1445452