#20632: Docs build crashes on Cygwin
-------------------------------------------+------------------------
Reporter: embray | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: porting: Cygwin | Resolution:
Keywords: windows cygwin docbuild | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------+------------------------
Comment (by embray):
Not sure how it happened, but I got the `pkg-config` error again from the
original description of this ticket, but this time with a useful
traceback:
{{{
Error building the documentation.
Traceback (most recent call last):
File "/home/embray/src/sagemath/sage/local/lib/python/runpy.py", line
162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/home/embray/src/sagemath/sage/local/lib/python/runpy.py", line
72, in _run_code
exec code in run_globals
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__main__.py", line 2, in <module>
main()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__init__.py", line 1637, in main
builder()
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__init__.py", line 313, in _wrapper
getattr(get_builder(document), 'inventory')(*args, **kwds)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__init__.py", line 508, in _wrapper
map_parallel(build_ref_doc, L)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__init__.py", line 142, in map_parallel
return map(func, args)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__init__.py", line 69, in build_ref_doc
getattr(ReferenceSubBuilder(doc, lang), format)(*args, **kwds)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__init__.py", line 705, in _wrapper
self.write_auto_rest_file(module_name.replace(os.path.sep, '.'))
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__init__.py", line 970, in
write_auto_rest_file
title = self.get_module_docstring_title(module_name)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage_setup/docbuild/__init__.py", line 929, in
get_module_docstring_title
__import__(module_name)
File "/home/embray/src/sagemath/sage/local/lib/python2.7/site-
packages/sage/misc/cython.py", line 29, in <module>
cblas_pc = pkgconfig.parse('cblas')
File "build/bdist.cygwin-2.4.1-x86_64/egg/pkgconfig/pkgconfig.py", line
187, in parse
for k, v in parse_package(package).items():
File "build/bdist.cygwin-2.4.1-x86_64/egg/pkgconfig/pkgconfig.py", line
160, in parse_package
out = _query(package, '--cflags --libs')
File "build/bdist.cygwin-2.4.1-x86_64/egg/pkgconfig/pkgconfig.py", line
58, in _wrapper
raise EnvironmentError("pkg-config is not installed")
EnvironmentError: pkg-config is not installed
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20632#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.