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 421020 Details for
Bug 600036
FTBFS python-lxml-2.2.6-1.fc14
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), 19.97 KB, created by
FTBFS
on 2010-06-03 21:19:41 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
FTBFS
Created:
2010-06-03 21:19:41 UTC
Size:
19.97 KB
patch
obsolete
>Mock Version: 1.1.1 >ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/python-lxml.spec'], False, '/var/lib/mock/fedora-development-i386-python-lxml-2.2.6-1.fc14.src.rpm/root/', None, 25200, True, 0, 8116, 14667, None, logger=<mock.trace_decorator.getLog object at 0x1e16b50>) >Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/python-lxml.spec'] >sh: /usr/bin/python: No such file or directory >sh: /usr/bin/python: No such file or directory >Building target platforms: i686 >Building for target i686 >Wrote: /builddir/build/SRPMS/python-lxml-2.2.6-1.fc14.src.rpm >Child returncode was: 0 >LEAVE do --> > >ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-lxml.spec'], False, '/var/lib/mock/fedora-development-i386-python-lxml-2.2.6-1.fc14.src.rpm/root/', None, 25200, True, 0, 8116, 14667, None, logger=<mock.trace_decorator.getLog object at 0x1e16b50>) >Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-lxml.spec'] >Building target platforms: i686 >Building for target i686 >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MDDlwb >+ umask 022 >+ cd /builddir/build/BUILD >+ LANG=C >+ export LANG >+ unset DISPLAY >+ cd /builddir/build/BUILD >+ rm -rf lxml-2.2.6 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/lxml-2.2.6.tar.gz >+ /bin/tar -xf - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd lxml-2.2.6 >+ /bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ chmod a-x doc/rest2html.py >+ /bin/sed -i 's/\r//' doc/s5/ui/default/print.css doc/s5/ep2008/atom.rng doc/s5/ui/default/iepngfix.htc >+ pushd src/lxml/tests >~/build/BUILD/lxml-2.2.6/src/lxml/tests ~/build/BUILD/lxml-2.2.6 >+ tail --bytes=+4 test_errors.py >+ mv test_errors.py.new test_errors.py >~/build/BUILD/lxml-2.2.6 >+ popd >+ rm -rf /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14 >+ cp -r . /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14 >+ 2to3 --write --nobackup /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14 >RefactoringTool: Skipping implicit fixer: buffer >RefactoringTool: Skipping implicit fixer: idioms >RefactoringTool: Skipping implicit fixer: set_literal >RefactoringTool: Skipping implicit fixer: ws_comma >RefactoringTool: Refactored /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/buildlibxml.py >RefactoringTool: Refactored /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/ez_setup.py >--- /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/buildlibxml.py (original) >+++ /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/buildlibxml.py (refactored) >@@ -2,8 +2,8 @@ > from distutils import log, sysconfig > > try: >- from urlparse import urlsplit, urljoin >- from urllib import urlretrieve >+ from urllib.parse import urlsplit, urljoin >+ from urllib.request import urlretrieve > except ImportError: > from urllib.parse import urlsplit > from urllib.request import urlretrieve >@@ -51,7 +51,7 @@ > match = version_re.search(fn) > if match: > version = match.group(1) >- print('Latest version of %s is %s' % (name, version)) >+ print(('Latest version of %s is %s' % (name, version))) > break > else: > raise Exception( >@@ -76,10 +76,10 @@ > full_url = urljoin(location, filename) > dest_filename = os.path.join(dest_dir, filename) > if os.path.exists(dest_filename): >- print('Using existing %s downloaded into %s (delete this file if you want to re-download the package)' >- % (name, dest_filename)) >+ print(('Using existing %s downloaded into %s (delete this file if you want to re-download the package)' >+ % (name, dest_filename))) > else: >- print('Downloading %s into %s' % (name, dest_filename)) >+ print(('Downloading %s into %s' % (name, dest_filename))) > urlretrieve(full_url, dest_filename) > return dest_filename > >@@ -134,7 +134,7 @@ > > def unpack_tarball(tar_filename, dest): > import tarfile >- print('Unpacking %s into %s' % (os.path.basename(tar_filename), dest)) >+ print(('Unpacking %s into %s' % (os.path.basename(tar_filename), dest))) > tar = tarfile.open(tar_filename) > base_dir = None > for member in tar: >@@ -143,7 +143,7 @@ > base_dir = base_name > else: > if base_dir != base_name: >- print('Unexpected path in %s: %s' % (tar_filename, base_name)) >+ print(('Unexpected path in %s: %s' % (tar_filename, base_name))) > _extractall(tar, dest) > tar.close() > return os.path.join(dest, base_dir) >@@ -177,7 +177,7 @@ > if sys.platform in ('darwin',): > import platform > # We compile Universal if we are on a machine > 10.3 >- major_version, minor_version = map(int, platform.mac_ver()[0].split('.')[:2]) >+ major_version, minor_version = list(map(int, platform.mac_ver()[0].split('.')[:2])) > if major_version > 7: > env = os.environ.copy() > if minor_version < 6: >--- /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/ez_setup.py (original) >+++ /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/ez_setup.py (refactored) >@@ -62,10 +62,10 @@ > if egg_name in md5_data: > digest = md5(data).hexdigest() > if digest != md5_data[egg_name]: >- print >>sys.stderr, ( >+ print(( > "md5 validation of %s failed! (Possible download problem?)" > % egg_name >- ) >+ ), file=sys.stderr) > sys.exit(2) > return data > >@@ -95,14 +95,14 @@ > return do_download() > try: > pkg_resources.require("setuptools>="+version); return >- except pkg_resources.VersionConflict, e: >+ except pkg_resources.VersionConflict as e: > if was_imported: >- print >>sys.stderr, ( >+ print(( > "The required version of setuptools (>=%s) is not available, and\n" > "can't be installed while this script is running. Please install\n" > " a more recent version first, using 'easy_install -U setuptools'." > "\n\n(Currently using %r)" >- ) % (version, e.args[0]) >+ ) % (version, e.args[0]), file=sys.stderr) > sys.exit(2) > else: > del pkg_resources, sys.modules['pkg_resources'] # reload ok >@@ -121,7 +121,7 @@ > with a '/'). `to_dir` is the directory where the egg willRefactoringTool: Refactored /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/selftest.py >RefactoringTool: Refactored /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/selftest2.py > be downloaded. > `delay` is the number of seconds to pause before an actual download attempt. > """ >- import urllib2, shutil >+ import urllib.request, urllib.error, urllib.parse, shutil > egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3]) > url = download_base + egg_name > saveto = os.path.join(to_dir, egg_name) >@@ -147,7 +147,7 @@ > version, download_base, delay, url > ); from time import sleep; sleep(delay) > log.warn("Downloading %s", url) >- src = urllib2.urlopen(url) >+ src = urllib.request.urlopen(url) > # Read/write all in one block, so we don't create a corrupt file > # if the download is interrupted. > data = _validate_md5(egg_name, src.read()) >@@ -208,10 +208,10 @@ > os.unlink(egg) > else: > if setuptools.__version__ == '0.0.1': >- print >>sys.stderr, ( >+ print(( > "You have an obsolete version of setuptools installed. Please\n" > "remove it from your system entirely before rerunning this script." >- ) >+ ), file=sys.stderr) > sys.exit(2) > > req = "setuptools>="+version >@@ -230,8 +230,8 @@ > from setuptools.command.easy_install import main > main(argv) > else: >- print "Setuptools version",version,"or greater has been installed." >- print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)' >+ print("Setuptools version",version,"or greater has been installed.") >+ print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)') > > def update_md5(filenames): > """Update our built-in md5 registry""" >@@ -244,7 +244,7 @@ > md5_data[base] = md5(f.read()).hexdigest() > f.close() > >- data = [" %r: %r,\n" % it for it in md5_data.items()] >+ data = [" %r: %r,\n" % it for it in list(md5_data.items())] > data.sort() > repl = "".join(data) > >@@ -254,7 +254,7 @@ > > match = re.search("\nmd5_data = {\n([^}]+)}", src) > if not match: >- print >>sys.stderr, "Internal error!" >+ print("Internal error!", file=sys.stderr) > sys.exit(2) > > src = src[:match.start(1)] + repl + src[match.end(1):] >--- /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/selftest.py (original) >+++ /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/selftest.py (refactored) >@@ -12,7 +12,7 @@ > import re, sys, string > > try: >- from StringIO import StringIO as BytesIO >+ from io import StringIO as BytesIO > except ImportError: > from io import BytesIO > >@@ -75,7 +75,7 @@ > len(string) > for char in string: > if len(char) != 1: >- print("expected one-character string, got %r" % char) >+ print(("expected one-character string, got %r" % char)) > new_string = string + "" > new_string = string + " " > string[:0] >@@ -87,13 +87,13 @@ > > def check_mapping(mapping): > len(mapping) >- keys = mapping.keys() >- items = mapping.items() >+ keys = list(mapping.keys()) >+ items = list(mapping.items()) > for key in keys: > item = mapping[key] > mapping["key"] = "value" > if mapping["key"] != "value": >- print("expected value string, got %r" % mapping["key"]) >+ print(("expected value string, got %r" % mapping["key"])) > > def check_element(element): > if not hasattr(element, "tag"): >@@ -666,7 +666,7 @@ > try: > ET.XML(xml) > except ET.ParseError: >- return sys.exc_value >+ return sys.exc_info()[1] > > # doesn't work with lxml.etree -> different positions > del error >@@ -1243,4 +1243,4 @@ > if __name__ == "__main__": > import doctest, selftest > failed, tested = doctest.testmod(selftest) >- print("%d tests ok." % (tested - failed)) >+ print(("%d tests ok." % (tested - failed))) >--- /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/selftest2.py (original) >+++ /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/selftest2.py (refactored) >@@ -7,7 +7,7 @@ > import sys > > try:RefactoringTool: Refactored /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/setup.py >RefactoringTool: Refactored /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/setupinfo.py >RefactoringTool: Refactored /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/test.py >- from StringIO import StringIO >+ from io import StringIO > BytesIO = StringIO > except ImportError: > from io import BytesIO, StringIO >@@ -67,20 +67,20 @@ > len(string) > for char in string: > if len(char) != 1: >- print("expected one-character string, got %r" % char) >+ print(("expected one-character string, got %r" % char)) > new_string = string + "" > new_string = string + " " > string[:0] > > def check_mapping(mapping): > len(mapping) >- keys = mapping.keys() >- items = mapping.items() >+ keys = list(mapping.keys()) >+ items = list(mapping.items()) > for key in keys: > item = mapping[key] > mapping["key"] = "value" > if mapping["key"] != "value": >- print("expected value string, got %r" % mapping["key"]) >+ print(("expected value string, got %r" % mapping["key"])) > > def check_element(element): > if not hasattr(element, "tag"): >@@ -431,4 +431,4 @@ > if __name__ == "__main__": > import doctest, selftest2 > failed, tested = doctest.testmod(selftest2) >- print("%d tests ok." % (tested - failed)) >+ print(("%d tests ok." % (tested - failed))) >--- /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/setup.py (original) >+++ /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/setup.py (refactored) >@@ -41,7 +41,7 @@ > # create lxml-version.h file > svn_version = versioninfo.svn_version() > versioninfo.create_version_h(svn_version) >-print("Building lxml version %s." % svn_version) >+print(("Building lxml version %s." % svn_version)) > > OPTION_RUN_TESTS = setupinfo.has_option('run-tests') > >--- /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/setupinfo.py (original) >+++ /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/setupinfo.py (refactored) >@@ -50,10 +50,10 @@ > libxslt_version=OPTION_LIBXSLT_VERSION) > if CYTHON_INSTALLED: > source_extension = ".pyx" >- print("Building with Cython %s." % Cython.Compiler.Version.version) >- else: >- print ("NOTE: Trying to build without Cython, pre-generated " >- "'%slxml.etree.c' needs to be available." % PACKAGE_PATH) >+ print(("Building with Cython %s." % Cython.Compiler.Version.version)) >+ else: >+ print(("NOTE: Trying to build without Cython, pre-generated " >+ "'%slxml.etree.c' needs to be available." % PACKAGE_PATH)) > source_extension = ".c" > > if OPTION_WITHOUT_OBJECTIFY: >@@ -64,11 +64,11 @@ > > lib_versions = get_library_versions() > if lib_versions[0]: >- print("Using build configuration of libxml2 %s and libxslt %s" % >- lib_versions) >- else: >- print("Using build configuration of libxslt %s" % >- lib_versions[1]) >+ print(("Using build configuration of libxml2 %s and libxslt %s" % >+ lib_versions)) >+ else: >+ print(("Using build configuration of libxslt %s" % >+ lib_versions[1])) > > _include_dirs = include_dirs(static_include_dirs) > _library_dirs = library_dirs(static_library_dirs) >@@ -79,12 +79,12 @@ > if _library_dirs: > message = "Building against libxml2/libxslt in " > if len(_library_dirs) > 1: >- print(message + "one of the following directories:") >+ print((message + "one of the following directories:")) > for dir in _library_dirs: >- print(" " + dir) >+ print((" " + dir)) > else: >- print(message + "the following directory: " + >- _library_dirs[0]) >+ print((message + "the following directory: " + >+ _library_dirs[0])) > > if OPTION_AUTO_RPATH: > runtime_library_dirs = _library_dirs >@@ -239,7 +239,7 @@ > global _ERROR_PRINTED > if errors and not _ERROR_PRINTED: > _ERROR_PRINTED = True >- print("ERROR: %s" % errors) >+ print(("ERROR: %s" % errors)) > print("** make sure the development packages of libxml2 and libxslt are installed **\n") > return decode_input(rf.read()).strip() > >--- /builddir/buiRefactoringTool: Refactored /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/update-error-constants.py >RefactoringTool: No changes to /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/versioninfo.py >ld/BUILD/python3-python-lxml-2.2.6-1.fc14/test.py (original) >+++ /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/test.py (refactored) >@@ -239,7 +239,7 @@ > if not name.startswith('Test'): > continue > item = getattr(module, name) >- if (isinstance(item, (type, types.ClassType)) and >+ if (isinstance(item, type) and > issubclass(item, unittest.TestCase)): > results.append(item) > return results >@@ -575,11 +575,11 @@ > success = True > if cfg.list_files: > baselen = len(cfg.basedir) + 1 >- print("\n".join([fn[baselen:] for fn in test_files])) >+ print(("\n".join([fn[baselen:] for fn in test_files]))) > if cfg.list_tests: >- print("\n".join([test.id() for test in test_cases])) >+ print(("\n".join([test.id() for test in test_cases]))) > if cfg.list_hooks: >- print("\n".join([str(hook) for hook in test_hooks])) >+ print(("\n".join([str(hook) for hook in test_hooks]))) > if cfg.run_tests: > runner = CustomTestRunner(cfg, test_hooks) > suite = unittest.TestSuite() >--- /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/update-error-constants.py (original) >+++ /builddir/build/BUILD/python3-python-lxml-2.2.6-1.fc14/update-error-constants.py (refactored) >@@ -6,9 +6,9 @@ > BUILD_DEF_FILE = os.path.join("src", "lxml", "xmlerror.pxd") > > if len(sys.argv) < 2 or sys.argv[1].lower() in ('-h', '--help'): >- print("This script generates the constants in file %s" % BUILD_SOURCE_FILE) >+ print(("This script generates the constants in file %s" % BUILD_SOURCE_FILE)) > print("Call as") >- print(sys.argv[0], "/path/to/libxml2-doc-dir") >+ print((sys.argv[0], "/path/to/libxml2-doc-dir")) > sys.exit(len(sys.argv) > 1) > > HTML_DIR = os.path.join(sys.argv[1], 'html') >@@ -87,14 +87,14 @@ > enum_name = enum_name.group(1) > if enum_name not in ENUM_MAP: > continue >- print("Found enum", enum_name) >+ print(("Found enum", enum_name)) > entries = [] > for child in enum: > name = child.text > match = PARSE_ENUM_VALUE(child.tail) > if not match: >- print("Ignoring enum %s (failed to parse field '%s')" % ( >- enum_name, name)) >+ print(("Ignoring enum %s (failed to parse field '%s')" % ( >+ enum_name, name))) > break > value, descr = match.groups() > entries.append((name, int(value), descr)) >@@ -158,10 +158,10 @@ > append_pxi('') > > # write source files >-print("Updating file %s" % BUILD_SOURCE_FILE) >+print(("Updating file %s" % BUILD_SOURCE_FILE)) > regenerate_file(BUILD_SOURCE_FILE, pxi_result) > >-print("Updating file %s" % BUILD_DEF_FILE) >+print(("Updating file %s" % BUILD_DEF_FILE)) > regenerate_file(BUILD_DEF_FILE, pxd_result) > > print("Done") >Traceback (most recent call last): > File "/usr/bin/2to3", line 6, in <module> > sys.exit(main("lib2to3.fixes")) > File "/usr/lib/python2.6/lib2to3/main.py", line 165, in main > options.processes) > File "/usr/lib/python2.6/lib2to3/refactor.py", line 613, in refactor > items, write, doctests_only) > File "/usr/lib/python2.6/lib2to3/refactor.py", line 271, in refactor > self.refactor_dir(dir_or_file, write, doctests_only) > File "/usr/lib/python2.6/lib2to3/refactor.py", line 290, in refactor_dir > self.refactor_file(fullname, write, doctests_only) > File "/usr/lib/python2.6/lib2to3/refactor.py", line 653, in refactor_file > *args, **kwargs) > File "/usr/lib/python2.6/lib2to3/refactor.py", line 325, in refactor_file > tree = self.refactor_string(input, filename) > File "/usr/lib/python2.6/lib2to3/refactor.py", line 355, in refactor_string > self.refactor_tree(tree, name) > File "/usr/lib/python2.6/lib2to3/refactor.py", line 389, in refactor_tree > self.traverse_by(self.post_order_heads, tree.post_order()) > File "/usr/lib/python2.6/lib2to3/refactor.py", line 413, in traverse_by > new = fixer.transform(node, results) > File "/usr/lib/python2.6/lib2to3/fixes/fix_itertools_imports.py", line 24, in transform > assert child.type == syms.import_as_name >AssertionError >error: Bad exit status from /var/tmp/rpm-tmp.MDDlwb (%prep) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.MDDlwb (%prep) >Child returncode was: 1 >EXCEPTION: Command failed. See logs for output. > # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/python-lxml.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 333, 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 i686 --nodeps builddir/build/SPECS/python-lxml.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 600036
:
421019
| 421020 |
421021
|
421022
|
421023
|
421024
|
421061