Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken doc target #67

Closed
vitaut opened this issue Sep 4, 2015 · 2 comments
Closed

Broken doc target #67

vitaut opened this issue Sep 4, 2015 · 2 comments

Comments

@vitaut
Copy link
Contributor
vitaut commented Sep 4, 2015
> ninja doc
ninja: warning: multiple rules generate src/asl/arith.h. builds involving this target will not be correct; continuing anyway
ninja: error: '../doc/extract-docs.py', needed by 'doc/html/index.html', missing and no known rule to make it
@vitaut
Copy link
Contributor Author
vitaut commented Oct 28, 2015

Installation of sphinx fails on Travis:

setuptools;__file__='/tmp/tmpyQi5DQ/build/virtualenv/build/sphinx/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-RHTDJ3-record/install-record.txt --install-headers /tmp/tmpyQi5DQ/build/virtualenv/include/site/python2.7 failed with error code 1 in /tmp/tmpyQi5DQ/build/virtualenv/build/sphinx
Storing complete log in /home/travis/.pip/pip.log
Traceback (most recent call last):
  File "support/travis-build.py", line 23, in <module>
    returncode, repo_dir = __import__('build-docs').build_docs(workdir, doxygen)
  File "/home/travis/build/ampl/mp/support/build-docs.py", line 73, in build_docs
    pip_install('sphinx==1.3.1')
  File "/home/travis/build/ampl/mp/support/build-docs.py", line 48, in pip_install
    check_call(['pip', 'install', '-q', package])
  File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['pip', 'install', '-q', 'sphinx==1.3.1']' returned non-zero exit status 1

@vitaut
Copy link
Contributor Author
vitaut commented Oct 29, 2015

Fixed in 2dbb9c4. Relocatable virtualenv is not relocatable if you want pip to work.

@vitaut vitaut closed this as completed Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant