Skip to content

Commit

Permalink
julia: Remove html docs which break build system
Browse files Browse the repository at this point in the history
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 ./<missing>: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
  • Loading branch information
donald committed Jun 30, 2017
1 parent 7a6d04e commit ecee119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions julia.be0
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ecee119

Please sign in to comment.