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

Error in Debian build #28483

Closed
fact0real opened this issue Sep 13, 2019 · 6 comments
Closed

Error in Debian build #28483

fact0real opened this issue Sep 13, 2019 · 6 comments

Comments

@fact0real
Copy link

hi all,
I have problem in building the latest version of SageMath in Debian, please see log and help me to resolve it.
You can see the detailed log in attachment file too.

[dochtml] [website  ] building [html]: targets for 1 source files that are out of date
[dochtml] [website  ] updating environment: 1 added, 0 changed, 0 removed
[dochtml] [website  ] Merging environment/index files...
[dochtml] [website  ] ... done (0 todos, 1 index, 0 citations, 0 modules)
[dochtml] [website  ] Merging js index files...
[dochtml] [website  ] ... done (7 js index entries)
[dochtml] [website  ] The HTML pages are in local/share/doc/sage/html/en/website.
[dochtml] Build finished. The built documents can be found in /home/factoreal/Downloads/SageMath/local/share/doc/sage/html/en/website
[dochtml] Error building the documentation.
[dochtml] Traceback (most recent call last):
[dochtml]   File "/home/factoreal/Downloads/SageMath/local/lib/python2.7/runpy.py", line 174, in _run_module_as_main
[dochtml]     "__main__", fname, loader, pkg_name)
[dochtml]   File "/home/factoreal/Downloads/SageMath/local/lib/python2.7/runpy.py", line 72, in _run_code
[dochtml]     exec code in run_globals
[dochtml]   File "/home/factoreal/Downloads/SageMath/local/lib/python2.7/site-packages/sage_setup/docbuild/__main__.py", line 2, in <module>
[dochtml]     main()
[dochtml]   File "/home/factoreal/Downloads/SageMath/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 1690, in main
[dochtml]     builder()
[dochtml]   File "/home/factoreal/Downloads/SageMath/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 336, in _wrapper
[dochtml]     build_many(build_other_doc, L)
[dochtml]   File "/home/factoreal/Downloads/SageMath/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 280, in build_many
[dochtml]     _build_many(target, args, processes=NUM_THREADS)
[dochtml]   File "/home/factoreal/Downloads/SageMath/local/lib/python2.7/site-packages/sage_setup/docbuild/utils.py", line 283, in build_many
[dochtml]     raise worker_exc.original_exception
[dochtml] OSError: [Errno 17] File exists: '/home/factoreal/Downloads/SageMath/local/share/doc/sage/html/en/website/../_static'
[dochtml] 
[dochtml]     Note: incremental documentation builds sometimes cause spurious
[dochtml]     error messages. To be certain that these are real errors, run
[dochtml]     "make doc-clean" first and try again.
make[3]: *** [Makefile:2037: doc-html] Error 1
make[3]: Leaving directory '/home/factoreal/Downloads/SageMath/build/make'
make[2]: *** [Makefile:1848: all-start] Error 2
make[2]: Leaving directory '/home/factoreal/Downloads/SageMath/build/make'

real	20m35.632s
user	19m4.166s
sys	0m41.575s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):

* package: r-3.6.1
  log file: /home/factoreal/Downloads/SageMath/logs/pkgs/r-3.6.1.log
  build directory: /home/factoreal/Downloads/SageMath/local/var/tmp/sage/build/r-3.6.1

* documentation: dochtml
  log file: /home/factoreal/Downloads/SageMath/logs/pkgs/../dochtml.log

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

make[1]: *** [Makefile:33: all-start] Error 1
make[1]: Leaving directory '/home/factoreal/Downloads/SageMath'
make: *** [Makefile:13: all] Error 2

Component: build

Keywords: build error

Reviewer: Marc Mezzarobba

Issue created by migration from https://trac.sagemath.org/ticket/28483

@fact0real fact0real added this to the sage-8.9 milestone Sep 13, 2019
@fact0real
Copy link
Author

make log file

@sagetrac-tmonteil
Copy link
Mannequin

sagetrac-tmonteil mannequin commented Sep 13, 2019

comment:1

Attachment: sage_build.log

Did you try make doc-clean as suggested ?

@fact0real
Copy link
Author

comment:2

Hey,
exactly got the same result.

@embray
Copy link
Contributor

embray commented Sep 18, 2019

comment:3

What if you set SAGE_NUM_THREADS=1 in your environment?

@embray embray removed this from the sage-8.9 milestone Sep 18, 2019
@mkoeppe
Copy link
Contributor

mkoeppe commented Aug 26, 2021

comment:6

outdated, should close

@mezzarobba
Copy link
Member

Reviewer: Marc Mezzarobba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants