Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 393975 Details for
Bug 565177
FTBFS python-minimock-1.2.5-3.fc13
Home
New
Search
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.rh90 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
build.log (text/plain), 6.01 KB, created by
FTBFS
on 2010-02-13 18:09:19 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
FTBFS
Created:
2010-02-13 18:09:19 UTC
Size:
6.01 KB
patch
obsolete
>Mock Version: 1.0.1 >ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/python-minimock.spec'], False, '/var/lib/mock/fedora-development-i386-python-minimock-1.2.5-3.fc13.src.rpm/root/', None, 25200, True, 0, 8116, 14667, None, logger=<mock.trace_decorator.getLog object at 0xc9a890>) >Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/python-minimock.spec'] >sh: /usr/bin/python: No such file or directory >sh: /usr/bin/python: No such file or directory >Building target platforms: i386 >Building for target i386 >Wrote: /builddir/build/SRPMS/python-minimock-1.2.5-3.fc13.src.rpm >Child returncode was: 0 >LEAVE do --> > >ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/python-minimock.spec'], False, '/var/lib/mock/fedora-development-i386-python-minimock-1.2.5-3.fc13.src.rpm/root/', None, 25200, True, 0, 8116, 14667, None, logger=<mock.trace_decorator.getLog object at 0xc9a890>) >Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/python-minimock.spec'] >/usr/bin/python3: error while loading shared libraries: libpython3.1.so.1.0: cannot open shared object file: No such file or directory >/usr/bin/python3: error while loading shared libraries: libpython3.1.so.1.0: cannot open shared object file: No such file or directory >Building target platforms: i386 >Building for target i386 >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FILo7P >+ umask 022 >+ cd /builddir/build/BUILD >+ LANG=C >+ export LANG >+ unset DISPLAY >+ cd /builddir/build/BUILD >+ rm -rf MiniMock-1.2.5 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/MiniMock-1.2.5.tar.gz >+ /bin/tar -xf - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd MiniMock-1.2.5 >+ /bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ rm -rf /builddir/build/BUILD/python3-python-minimock-1.2.5-3.fc13 >+ cp -ar . /builddir/build/BUILD/python3-python-minimock-1.2.5-3.fc13 >+ 2to3 --write --nobackups /builddir/build/BUILD/python3-python-minimock-1.2.5-3.fc13 >RefactoringTool: Skipping implicit fixer: buffer >RefactoringTool: Skipping implicit fixer: idioms >RefactoringTool: Skipping implicit fixer: set_literal >RefactoringTool: Skipping implicit fixer: ws_comma >RefactoringTool: Files that were modified: >RefactoringTool: /builddir/build/BUILD/python3-python-minimock-1.2.5-3.fc13/minimock.py >--- /builddir/build/BUILD/python3-python-minimock-1.2.5-3.fc13/minimock.py (original) >+++ /builddir/build/BUILD/python3-python-minimock-1.2.5-3.fc13/minimock.py (refactored) >@@ -40,16 +40,16 @@ > > __all__ = ["mock", "restore", "Mock", "TraceTracker", "assert_same_trace"] > >-import __builtin__ >+import builtins > import sys > import inspect > import doctest > import re > import textwrap > try: >- from cStringIO import StringIO >+ from io import StringIO > except ImportError: >- from StringIO import StringIO >+ from io import StringIO > > # A list of mocked objects. Each item is a tuple of (original object, > # namespace dict, object name, and a list of object attributes). >@@ -147,7 +147,7 @@ > # stack[1][0] is the frame object of the caller to this function > globals_ = stack[1][0].f_globals > locals_ = stack[1][0].f_locals >- nsdicts = (locals_, globals_, __builtin__.__dict__) >+ nsdicts = (locals_, globals_, builtins.__dict__) > finally: > del(stack) > >@@ -237,7 +237,7 @@ > if len(msg) > 80: > msg = 'Called %s(\n %s)' % ( > func_name, ',\n '.join(parts)) >- print >> self.file, msg >+ print(msg, file=self.file) > > def set(self, obj_name, attr, value): > """ >@@ -245,7 +245,7 @@ > >>> z.a = 2 > Set z.a = 2 > """ >- print >> self.file, 'Set %s.%s = %r' % (obj_name, attr, value) >+ print('Set %s.%s = %r' % (obj_name, attr, value), file=self.file) > > class TraceTracker(Printer): > """ >@@ -376,7 +376,7 @@ > re.compile(r"(\S)\s+\)"): r"\1)", > re.compile(r",\s*(\S)"): r", \1", > } >- for search_pattern, replace_pattern in normalize_map.items(): >+ for search_pattern, replace_pattern in list(normalize_map.items()): > normalized_text = re.sub( > search_pattern, replace_pattern, normalized_text) > >@@ -445,7 +445,7 @@ > return self.mock_returns > elif self.mock_returns_iter is not None: > try: >- return self.mock_returns_iter.next() >+ return next(self.mock_returns_iter) > except StopIteration: > raise Exception("No more mock return values are present.") > elif self.mock_returns_func is not None: >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.11n80l >+ umask 022 >+ cd /builddir/build/BUILD >+ cd MiniMock-1.2.5 >+ LANG=C >+ export LANG >+ unset DISPLAY >+ /usr/bin/python setup.py build >running build >running build_py >creating build >creating build/lib >copying minimock.py -> build/lib >+ pushd /builddir/build/BUILD/python3-python-minimock-1.2.5-3.fc13 >~/build/BUILD/python3-python-minimock-1.2.5-3.fc13 ~/build/BUILD/MiniMock-1.2.5 >+ /usr/bin/python3 setup.py build >/usr/bin/python3: error while loading shared libraries: libpython3.1.so.1.0: cannot open shared object file: No such file or directory >RPM build errors: >error: Bad exit status from /var/tmp/rpm-tmp.11n80l (%build) > Bad exit status from /var/tmp/rpm-tmp.11n80l (%build) >Child returncode was: 1 >EXCEPTION: Command failed. See logs for output. > # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/python-minimock.spec'] >Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line 70, in trace > result = func(*args, **kw) > File "/usr/lib/python2.6/site-packages/mock/util.py", line 324, in do > raise mock.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 i386 --nodeps builddir/build/SPECS/python-minimock.spec'] >LEAVE do --> EXCEPTION RAISED >
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 565177
:
393974
| 393975 |
393976
|
393977
|
393978
|
393979