-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
cannot build documentation and hence build fails #27993
Comments
What if you apply diff --git a/doc/make.jl b/doc/make.jl
index bf21f2a..8bdecad 100644
--- a/doc/make.jl
+++ b/doc/make.jl
@@ -1,4 +1,6 @@
# Install dependencies needed to build the documentation.
+@show LOAD_PATH
+push!(LOAD_PATH, "@stdlib")
using Pkg
empty!(DEPOT_PATH)
pushfirst!(DEPOT_PATH, joinpath(@__DIR__, "deps")) |
It fails at a different place now, Building HTML documentation.
LOAD_PATH = String[]
Updating registry at `deps/registries/Uncurated`
Updating git-repo `https://github.com/JuliaRegistries/Uncurated.git`
ERROR: ArgumentError: Package OldPkg not found in current path:
- Run `Pkg.add("OldPkg")` to install the OldPkg package.
Stacktrace:
[1] require(::Module, ::Symbol) at ./loading.jl:816
[2] top-level scope at none:2
[3] eval at ./boot.jl:319 [inlined]
[4] eval(::Expr) at ./client.jl:394
[5] top-level scope at ./none:3 [inlined]
[6] top-level scope at ./<missing>:0
ERROR: LoadError: Failed to precompile Documenter to /home/jagan/srces/julia-git/src/julia/doc/deps/compiled/v0.7/Documenter/sHGj.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] macro expansion at ./logging.jl:298 [inlined]
[3] compilecache(::Base.PkgId) at ./loading.jl:1169
[4] _require(::Base.PkgId) at ./loading.jl:942
[5] require(::Base.PkgId) at ./loading.jl:838
[6] require(::Module, ::Symbol) at ./loading.jl:833
[7] include at ./boot.jl:317 [inlined]
[8] include_relative(::Module, ::String) at ./loading.jl:1034
[9] include(::Module, ::String) at ./sysimg.jl:29
[10] exec_options(::Base.JLOptions) at ./client.jl:234
[11] _start() at ./client.jl:427
in expression starting at /home/jagan/srces/julia-git/src/julia/doc/make.jl:10
make[1]: *** [Makefile:38: html] Error 1
make: *** [Makefile:88: docs] Error 2 |
@fredrikekre should I open a new issue for |
|
No it doesn't load. julia> using OldPkg
ERROR: ArgumentError: Package OldPkg not found in current path:
- Run `Pkg.add("OldPkg")` to install the OldPkg package.
Stacktrace:
[1] require(::Module, ::Symbol) at ./loading.jl:816 |
What is |
First it was |
Having |
do not pick up JULIA_LOAD_PATH when precompiling Documenter in the doc build
do not pick up JULIA_LOAD_PATH when precompiling Documenter in the doc build
also remove no-longer-needed `import OldPkg` statements
make docs
results inThis is also run as part of
make install
.make
finished with a the julia binary in/home/jagan/srces/julia-git/src/julia/usr/bin/julia
so only documentation fails to build.The text was updated successfully, but these errors were encountered: