From ecee119b64b03b37769d0f3e92c827578fd5cba8 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Fri, 30 Jun 2017 16:25:42 +0200 Subject: [PATCH] julia: Remove html docs which break build system Add a patch to disable building and installation of html documentation. Something used by the html build is pulled over the internet and a recent remote change made the build fail. We don't need html docs and we want a more reliable build. Building HTML documentation. INFO: Initializing package repository /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6 INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl INFO: Updating METADATA... INFO: Computing changes... INFO: Cloning cache of Compat from https://github.com/JuliaLang/Compat.jl.git INFO: Cloning cache of DocStringExtensions from https://github.com/JuliaDocs/DocStringExtensions.jl.git INFO: Cloning cache of Documenter from https://github.com/JuliaDocs/Documenter.jl.git INFO: Installing Compat v0.25.2 INFO: Installing DocStringExtensions v0.3.3 INFO: Installing Documenter v0.11.1 INFO: No packages to install, update or remove Documenter: setting up build directory. Documenter: expanding markdown templates. Documenter: building cross-references. Documenter: running document checks. !! Skipped doctesting. > checking footnote links. Documenter: populating indices. Documenter: rendering document. !! Overwriting '/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/_build/html/en/assets/arrow.svg'. !! Overwriting '/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/_build/html/en/assets/documenter.js'. !! Overwriting '/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/_build/html/en/assets/search.js'. !! Overwriting '/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/_build/html/en/assets/highlightjs/highlight.js'. !! Overwriting '/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/_build/html/en/assets/highlightjs/default.css'. !! Overwriting '/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/_build/html/en/assets/documenter.css'. fatal: Not a git repository (or any parent up to mount point /dev/shm) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). ERROR: LoadError: failed process: Process(`git rev-parse --show-toplevel`, ProcessExited(128)) [128] Stacktrace: [1] pipeline_error(::Base.Process) at ./process.jl:682 [2] read(::Cmd, ::Base.DevNullStream) at ./process.jl:629 [3] readstring at ./process.jl:634 [inlined] (repeats 2 times) [4] readchomp at ./io.jl:491 [inlined] [5] (::Documenter.Utilities.##2#3)() at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Utilities/Utilities.jl:423 [6] cd(::Documenter.Utilities.##2#3, ::String) at ./file.jl:70 [7] url(::String, ::String) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Utilities/Utilities.jl:422 [8] render_article(::Documenter.Writers.HTMLWriter.HTMLContext, ::Documenter.Documents.NavNode) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Writers/HTMLWriter.jl:403 [9] render_page(::Documenter.Writers.HTMLWriter.HTMLContext, ::Documenter.Documents.NavNode) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Writers/HTMLWriter.jl:170 [10] render(::Documenter.Documents.Document) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Writers/HTMLWriter.jl:118 [11] dispatch(::Type{Documenter.Writers.FormatSelector}, ::Symbol, ::Documenter.Documents.Document) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Selectors.jl:164 [12] render(::Documenter.Documents.Document) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Writers/Writers.jl:66 [13] runner(::Type{Documenter.Builder.RenderDocument}, ::Documenter.Documents.Document) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Builder.jl:205 [14] dispatch(::Type{Documenter.Builder.DocumentPipeline}, ::Documenter.Documents.Document) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Selectors.jl:164 [15] cd(::Documenter.##2#3{Documenter.Documents.Document}, ::String) at ./file.jl:70 [16] #makedocs#1(::Bool, ::Array{Any,1}, ::Function) at /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/deps/v0.6/Documenter/src/Documenter.jl:198 [17] (::Documenter.#kw##makedocs)(::Array{Any,1}, ::Documenter.#makedocs) at ./:0 [18] include_from_node1(::String) at ./loading.jl:569 [19] include(::String) at ./sysimg.jl:14 [20] process_options(::Base.JLOptions) at ./client.jl:305 [21] _start() at ./client.jl:371 while loading /dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/make.jl, in expression starting on line 118 Makefile:33: recipe for target 'html' failed make[2]: *** [html] Error 1 make[2]: Leaving directory '/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc' Makefile:119: recipe for target 'docs' failed make[1]: *** [docs] Error 2 make[1]: Leaving directory '/dev/shm/bee-root/julia/julia-0.6.0-0/source' Makefile:59: recipe for target '/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/_build/html/en/index.html' failed make: *** [/dev/shm/bee-root/julia/julia-0.6.0-0/source/doc/_build/html/en/index.html] Error 2 --- julia.be0 | 1 + 1 file changed, 1 insertion(+) diff --git a/julia.be0 b/julia.be0 index 108be2aed..43fdb4d67 100755 --- a/julia.be0 +++ b/julia.be0 @@ -17,6 +17,7 @@ SRCURL[0]="https://github.com/JuliaLang/julia/releases/download/v${PKGVERSION}/j PATCHURL+=(/src/mariux/patches/julia-0001-Allow-OpenBLAS-NUM_THREADS-to-be-overwritten.patch) PATCHURL+=(/src/mariux/patches/julia-0002-Start-up-OpenBLAS-with-1-thread-per-default.patch) +PATCHURL+=(/src/mariux/patches/julia-0003-Remove-html-docs.patch) ############################################################################### ## Add filename patterns to the EXCLUDE array of files that should not