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

make install with Julia v1.11.0-beta1 "Tarball with dependencies" hangs (Building HTML documentation) #54037

Closed
gvanuxem opened this issue Apr 11, 2024 · 4 comments · Fixed by #54143
Labels
building Build system, or building Julia or its dependencies docsystem The documentation building system
Milestone

Comments

@gvanuxem
Copy link
Contributor

Using the full tarball, that is "Tarball with dependencies", of Julia v1.11.0-beta1, the build hangs with the following message after issuing a make install:

Building HTML documentation.
┌ Warning: Unable to determine HTML(edit_link = ...) from remote HEAD branch, defaulting to "master".
│ Calling `git remote` failed with an exception. Set JULIA_DEBUG=Documenter to see the error.
│ Unless this is due to a configuration error, the relevant variable should be set explicitly.
└ @ Documenter ~/Tmp/julia-1.11.0-beta1/doc/deps/packages/Documenter/2OZOh/src/utilities/utilities.jl:712
ERROR: LoadError: ArgumentError: Unable to automatically determine remote for main repo.
> `repo` is not set, and makedocs is not in a Git repository.
Configure `repo` and/or `remotes` appropriately, or set `remotes = nothing` to disable remote source
links altogether (e.g. if not working in a Git repository).
  repo: nothing
Stacktrace:
 [1] interpret_repo_and_remotes(; root::String, repo::String, remotes::Dict{String, Tuple{Documenter.Remotes.GitHub, String}})
   @ Documenter ~/Tmp/julia-1.11.0-beta1/doc/deps/packages/Documenter/2OZOh/src/documents.jl:658
 [2] interpret_repo_and_remotes
   @ ~/Tmp/julia-1.11.0-beta1/doc/deps/packages/Documenter/2OZOh/src/documents.jl:499 [inlined]
 [3] Documenter.Document(; root::String, source::String, build::String, workdir::Symbol, format::Documenter.HTMLWriter.HTML, clean::Bool, doctest::Bool, linkcheck::Bool, linkcheck_ignore::Vector{String}, linkcheck_timeout::Int64, checkdocs::Symbol, doctestfilters::Vector{Regex}, warnonly::Vector{Symbol}, modules::Vector{Module}, pages::Vector{Any}, pagesonly::Bool, expandfirst::Vector{String}, plugins::Vector{Documenter.Plugin}, repo::String, remotes::Dict{String, Tuple{Documenter.Remotes.GitHub, String}}, sitename::String, authors::String, version::String, highlightsig::Bool, draft::Bool, others::@Kwargs{})
   @ Documenter ~/Tmp/julia-1.11.0-beta1/doc/deps/packages/Documenter/2OZOh/src/documents.jl:429
 [4] Document
   @ ~/Tmp/julia-1.11.0-beta1/doc/deps/packages/Documenter/2OZOh/src/documents.jl:377 [inlined]
 [5] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{build::String, modules::Vector{Module}, clean::Bool, doctest::Bool, linkcheck::Bool, linkcheck_ignore::Vector{String}, checkdocs::Symbol, sitename::String, authors::String, pages::Vector{Any}, remotes::Dict{String, Tuple{Documenter.Remotes.GitHub, String}}})
   @ Documenter ~/Tmp/julia-1.11.0-beta1/doc/deps/packages/Documenter/2OZOh/src/makedocs.jl:242
 [6] top-level scope
   @ ~/Tmp/julia-1.11.0-beta1/doc/make.jl:374
in expression starting at /home/greg/Tmp/julia-1.11.0-beta1/doc/make.jl:374
make[1]: *** [Makefile:47: html] Error 1
make: *** [Makefile:120 : docs] Erreur 2

┌──(greg㉿ellipse)-[~/Tmp/julia-1.11.0-beta1]

It is the first time I encounter this issue. Maybe I should use the vanilla tarball to let the build process downloads dependencies and completes the build of the html documentation. A precision, my internet connection was functional.

@inkydragon inkydragon added the building Build system, or building Julia or its dependencies label Apr 11, 2024
@gvanuxem
Copy link
Contributor Author

I forgot:

julia> versioninfo()
Julia Version 1.11.0-beta1
Commit 08e1fc0abb9 (2024-04-10 08:40 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, tigerlake)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

@vchuravy vchuravy added this to the 1.11 milestone Apr 17, 2024
@giordano giordano added the docsystem The documentation building system label Apr 17, 2024
@nalimilan
Copy link
Member

I think the problem was introduced by #47596 (comment). I had pointed the issue at the time there.

Cc: @vtjnash

nalimilan added a commit that referenced this issue Apr 18, 2024
This reverts part of 67b8ac0. That change broke `make install` from
tarballs due to building docs again, which fails as there's no git repo
(and also requires Internet access to download UnicodeData.txt.

Fixes #54037.
@nalimilan
Copy link
Member

I confirm that reverting the relevant part of #47596 fixes the problem. See #54143.

@gvanuxem
Copy link
Contributor Author

gvanuxem commented Apr 18, 2024 via email

KristofferC pushed a commit that referenced this issue Apr 22, 2024
This reverts part of 67b8ac0
(#47596 (comment)).
That change broke `make install` from tarballs due to building docs
again, which fails as there's no git repo (and also requires Internet
access to download UnicodeData.txt.

Fixes #54037.
KristofferC pushed a commit that referenced this issue Apr 25, 2024
This reverts part of 67b8ac0
(#47596 (comment)).
That change broke `make install` from tarballs due to building docs
again, which fails as there's no git repo (and also requires Internet
access to download UnicodeData.txt.

Fixes #54037.

(cherry picked from commit d6dda7c)
KristofferC pushed a commit that referenced this issue May 8, 2024
This reverts part of 67b8ac0
(#47596 (comment)).
That change broke `make install` from tarballs due to building docs
again, which fails as there's no git repo (and also requires Internet
access to download UnicodeData.txt.

Fixes #54037.

(cherry picked from commit d6dda7c)
KristofferC pushed a commit that referenced this issue May 25, 2024
This reverts part of 67b8ac0
(#47596 (comment)).
That change broke `make install` from tarballs due to building docs
again, which fails as there's no git repo (and also requires Internet
access to download UnicodeData.txt.

Fixes #54037.

(cherry picked from commit d6dda7c)
KristofferC pushed a commit that referenced this issue May 25, 2024
This reverts part of 67b8ac0
(#47596 (comment)).
That change broke `make install` from tarballs due to building docs
again, which fails as there's no git repo (and also requires Internet
access to download UnicodeData.txt.

Fixes #54037.

(cherry picked from commit d6dda7c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies docsystem The documentation building system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants