FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2017 PLD Team
$Revision: 1.37 $
Powered by nasi tu byli.
Your IP: 54.204.211.128

python-setuptools_scm 79cd7148-fb54-4b22-b978-b33d686db8e7

Status:Failed
Source URL:ftp://buildlogs.pld-linux.org/th/i686/FAIL/python-setuptools_scm,79cd7148-fb54-4b22-b978-b33d686db8e7.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2017/03/12 05:19:12
Runtime:0:00:02.936208

Toc:

  • error 1
  • E OSError: [Errno 2] No such file or directory
  • error 2
  • err 'Traceback (most recent call last):\n File "setup.py", line 1, in <module>\n from setuptools import setup;setup(use_scm_version={"root": ".."})\n File "/usr/lib/python2.7/distutils/core.py", line 111, in setup\n _setup_distribution = dist = klass(attrs)\n File "/usr/share/python2.7/site-packages/setuptools/dist.py", line 272, in __init__\n File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__\n self.finalize_options()\n File "/usr/share/python2.7/site-packages/setuptools/dist.py", line 327, in finalize_options\n File "/usr/share/python2.7/site-packages/setuptools_scm/integration.py", line 19, in version_keyword\n File "/usr/share/python2.7/site-packages/setuptools_scm/__init__.py", line 104, in get_version\n File "/usr/share/python2.7/site-packages/setuptools_scm/__init__.py", line 82, in _do_parse\nLookupError: setuptools-scm was unable to detect version for \'/tmp/B.6pDYAw/BUILD/tmp/pytest-of-builder/pytest-0/test_pkginfo_noscmroot0/sub\'.\n\nMake sure you\'re either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub\'s tarballs, a git checkout without the .git folder) don\'t contain the necessary metadata and will not work.\n\nFor example, if you\'re using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj\n'
  • error 3
  • error: Bad exit status from /tmp/B.6pDYAw/BUILD/tmp/rpm-tmp.48516 (%build)
  • error 4
  • RPM build errors:
  • error 5
  • error: No files produced.

Content:

                        if p2cwrite is not None:
                            os.close(p2cwrite)
                        if c2pread is not None:
                            os.close(c2pread)
                        if errread is not None:
                            os.close(errread)
                        os.close(errpipe_read)
    
                        # When duping fds, if there arises a situation
                        # where one of the fds is either 0, 1 or 2, it
                        # is possible that it is overwritten (#12607).
                        if c2pwrite == 0:
                            c2pwrite = os.dup(c2pwrite)
                        if errwrite == 0 or errwrite == 1:
                            errwrite = os.dup(errwrite)
    
                        # Dup fds for child
                        def _dup2(a, b):
                            # dup2() removes the CLOEXEC flag but
                            # we must do it ourselves if dup2()
                            # would be a no-op (issue #10806).
                            if a == b:
                                self._set_cloexec_flag(a, False)
                            elif a is not None:
                                os.dup2(a, b)
                        _dup2(p2cread, 0)
                        _dup2(c2pwrite, 1)
                        _dup2(errwrite, 2)
    
                        # Close pipe fds.  Make sure we don't close the
                        # same fd more than once, or standard fds.
                        closed = { None }
                        for fd in [p2cread, c2pwrite, errwrite]:
                            if fd not in closed and fd > 2:
                                os.close(fd)
                                closed.add(fd)
    
                        if cwd is not None:
                            os.chdir(cwd)
    
                        if preexec_fn:
                            preexec_fn()
    
                        # Close all other fds, if asked for - after
                        # preexec_fn(), which may open FDs.
                        if close_fds:
                            self._close_fds(but=errpipe_write)
    
                        if env is None:
                            os.execvp(executable, args)
                        else:
                            os.execvpe(executable, args, env)
    
                    except:
                        exc_type, exc_value, tb = sys.exc_info()
                        # Save the traceback and attach it to the exception object
                        exc_lines = traceback.format_exception(exc_type,
                                                               exc_value,
                                                               tb)
                        exc_value.child_traceback = ''.join(exc_lines)
                        os.write(errpipe_write, pickle.dumps(exc_value))
    
                    # This exitcode won't be reported to applications, so it
                    # really doesn't matter what we return.
                    os._exit(255)
    
                # Parent
                if gc_was_enabled:
                    gc.enable()
            finally:
                # be sure the FD is closed no matter what
                os.close(errpipe_write)
    
            # Wait for exec to fail or succeed; possibly raising exception
            data = _eintr_retry_call(os.read, errpipe_read, 1048576)
            pickle_bits = []
            while data:
                pickle_bits.append(data)
                data = _eintr_retry_call(os.read, errpipe_read, 1048576)
            data = "".join(pickle_bits)
        finally:
            if p2cread is not None and p2cwrite is not None:
                _close_in_parent(p2cread)
            if c2pwrite is not None and c2pread is not None:
                _close_in_parent(c2pwrite)
            if errwrite is not None and errread is not None:
                _close_in_parent(errwrite)
    
            # be sure the FD is closed no matter what
            os.close(errpipe_read)
    
        if data != "":
            try:
                _eintr_retry_call(os.waitpid, self.pid, 0)
            except OSError as e:
                if e.errno != errno.ECHILD:
                    raise
            child_exception = pickle.loads(data)
>           raise child_exception
E           OSError: [Errno 2] No such file or directory

/usr/lib/python2.7/subprocess.py:1024: OSError
----------------------------- Captured stdout call -----------------------------
cmd 'python setup.py --version'
err 'Traceback (most recent call last):\n  File "setup.py", line 1, in <module>\n    from setuptools import setup;setup(use_scm_version={"root": ".."})\n  File "/usr/lib/python2.7/distutils/core.py", line 111, in setup\n    _setup_distribution = dist = klass(attrs)\n  File "/usr/share/python2.7/site-packages/setuptools/dist.py", line 272, in __init__\n  File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__\n    self.finalize_options()\n  File "/usr/share/python2.7/site-packages/setuptools/dist.py", line 327, in finalize_options\n  File "/usr/share/python2.7/site-packages/setuptools_scm/integration.py", line 19, in version_keyword\n  File "/usr/share/python2.7/site-packages/setuptools_scm/__init__.py", line 104, in get_version\n  File "/usr/share/python2.7/site-packages/setuptools_scm/__init__.py", line 82, in _do_parse\nLookupError: setuptools-scm was unable to detect version for \'/tmp/B.6pDYAw/BUILD/tmp/pytest-of-builder/pytest-0/test_pkginfo_noscmroot0/sub\'.\n\nMake sure you\'re either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub\'s tarballs, a git checkout without the .git folder) don\'t contain the necessary metadata and will not work.\n\nFor example, if you\'re using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj\n'
ret 1
cmd 'python setup.py --version'
out '1.0\n'
cmd 'git init'
================ 1 failed, 28 passed, 1 skipped in 1.47 seconds ================
error: Bad exit status from /tmp/B.6pDYAw/BUILD/tmp/rpm-tmp.48516 (%build)


RPM build errors:
    Bad exit status from /tmp/B.6pDYAw/BUILD/tmp/rpm-tmp.48516 (%build)
ended at: Sun Mar 12 05:19:12 2017, done in 0:00:02.936208
error: No files produced.
+ chmod -R u+rwX /tmp/B.6pDYAw/BUILD
+ rm -rf /tmp/B.6pDYAw/tmp /tmp/B.6pDYAw/BUILD
+ rm -rf /tmp/B.6pDYAw
Begin-PLD-Builder-Info
Build-Time: user:3.88s sys:0.36s real:6.08s (faults io:0 non-io:142115)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]