Can't build julia master (light-source-dist) on a server farm anymore


Hi guys!

I am the maintainer of julia in openSUSE. Besides the stable version, I keep building the master to track problems.

I get the sources by cloning the github repository and using make light-source-dist. Hence, I do not need internet connection and I can build it at openSUSE server farm. However, today I am experiencing a problem with documentations, I think. Here is the log:

[  554s] /home/abuild/rpmbuild/BUILD/julia/usr/bin/julia make.jl -- deploy
[  555s] INFO: Initializing package repository /home/abuild/rpmbuild/BUILD/julia/doc/deps/v0.6
[  555s] INFO: Cloning METADATA from
[  555s] ERROR: LoadError: GitError(Code:ERROR, Class:Net, curl error: Could not resolve host:
[  555s] )
[  555s] Stacktrace:
[  555s]  [1] macro expansion at ./libgit2/error.jl:99 [inlined]
[  555s]  [2] clone(::String, ::String, ::Base.LibGit2.CloneOptions) at ./libgit2/repository.jl:190
[  555s]  [3] #clone#106(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractCredentials}, ::Function, ::String, ::String) at ./libgit2/libgit2.jl:327
[  555s]  [4] (::Base.LibGit2.#kw##clone)(::Array{Any,1}, ::Base.LibGit2.#clone, ::String, ::String) at ./<missing>:0
[  555s]  [5] (::Base.Pkg.Dir.##4#6{String,String})() at ./pkg/dir.jl:49
[  555s]  [6] cd(::Base.Pkg.Dir.##4#6{String,String}, ::String) at ./file.jl:69
[  555s]  [7] init(::String, ::String) at ./pkg/dir.jl:47
[  555s]  [8] init() at ./pkg/pkg.jl:70
[  555s]  [9] include_from_node1(::String) at ./loading.jl:532
[  555s]  [10] include(::String) at ./sysimg.jl:14
[  555s]  [11] process_options(::Base.JLOptions) at ./client.jl:308
[  555s]  [12] _start() at ./client.jl:374
[  555s] while loading /home/abuild/rpmbuild/BUILD/julia/doc/make.jl, in expression starting on line 3
[  555s] make[2]: *** [Makefile:34: html] Error 1
[  555s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/julia/doc'
[  555s] make[1]: *** [Makefile:115: docs] Error 2
[  555s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/julia'
[  555s] make: *** [Makefile:59: /home/abuild/rpmbuild/BUILD/julia/doc/_build/html/en/index.html] Error 2
[  555s] error: Bad exit status from /var/tmp/rpm-tmp.1IrPYW (%install)
[  555s] 
[  555s] 
[  555s] RPM build errors:
[  555s]     Bad exit status from /var/tmp/rpm-tmp.1IrPYW (%install)
[  555s] 
[  555s] ronanarraes-osd failed "build julia-unstable.spec" at Tue Jan 10 15:19:50 UTC 2017.
[  555s] 

As you can see, the build script is trying to access the Internet. Can anyone tell me why this is happening? Is there a way to circumvent this problem? Should I open a bug?


Yeah, it is definitely a bug. The new script doc/make.jl will always be called when building julia and since it has a Pkg.init() it will need Internet connection.


Issue opened: