Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628358 - dev-lang/julia-0.6.0: install phase needs internet connection (github)
Summary: dev-lang/julia-0.6.0: install phase needs internet connection (github)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-20 08:59 UTC by Nils Freydank
Modified: 2017-09-25 07:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,6.42 KB, text/plain)
2017-08-20 09:00 UTC, Nils Freydank
Details
build.log (build.log,273.60 KB, text/x-log)
2017-08-20 09:01 UTC, Nils Freydank
Details
build.log with FEATURES="-network-sandbox" (build-julia_nonets.log,364.68 KB, text/x-log)
2017-08-20 13:01 UTC, Nils Freydank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Freydank 2017-08-20 08:59:46 UTC
Hi,

dev-lang/julia-0.6.0 fails to install as it tries to reach github.com.
On my setup this is prohibited by FEATURES="network-sandbox".



Reproducible: Always




Error occurs after "Building HTML documentation" (full build.log will be attached):

...
Building HTML documentation.
/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/usr/bin/julia /var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/doc/make.jl
INFO: Initializing package repository /var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/doc/deps/v0.6
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: LoadError: GitError(Code:ERROR, Class:Net, curl error: Could not resolve host: github.com
)
Stacktrace:
 [1] macro expansion at ./libgit2/error.jl:99 [inlined]
 [2] clone(::String, ::String, ::Base.LibGit2.CloneOptions) at ./libgit2/repository.jl:276
 [3] #clone#100(::String, ::Bool, ::Ptr{Void}, ::Nullable{Base.LibGit2.AbstractCredentials}, ::Function, ::String, ::String) at ./libgit2/libgit2.jl:562
 [4] (::Base.LibGit2.#kw##clone)(::Array{Any,1}, ::Base.LibGit2.#clone, ::String, ::String) at ./<missing>:0
 [5] (::Base.Pkg.Dir.##8#10{String,String})() at ./pkg/dir.jl:55
 [6] cd(::Base.Pkg.Dir.##8#10{String,String}, ::String) at ./file.jl:70
 [7] init(::String, ::String) at ./pkg/dir.jl:53
 [8] init() at ./pkg/pkg.jl:85
 [9] include_from_node1(::String) at ./loading.jl:569
 [10] include(::String) at ./sysimg.jl:14
 [11] process_options(::Base.JLOptions) at ./client.jl:305
 [12] _start() at ./client.jl:371
while loading /var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/doc/make.jl, in expression starting on line 3
make[2]: *** [Makefile:34: html] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/doc'
make[1]: *** [Makefile:119: docs] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0'
make: *** [Makefile:59: /var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0/doc/_build/html/en/index.html] Error 2
 * ERROR: dev-lang/julia-0.6.0::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/julia-0.6.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/julia-0.6.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/julia-0.6.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/julia-0.6.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0'
 * S: '/var/tmp/portage/dev-lang/julia-0.6.0/work/julia-0.6.0'
Comment 1 Nils Freydank 2017-08-20 09:00:49 UTC
Created attachment 489742 [details]
emerge --info
Comment 2 Nils Freydank 2017-08-20 09:01:28 UTC
Created attachment 489744 [details]
build.log
Comment 3 Nils Freydank 2017-08-20 13:01:07 UTC
Created attachment 489782 [details]
build.log with FEATURES="-network-sandbox"

Building with FEATURES="-network-sandbox" as an ugly workaround does build :)
Iā€™m attaching the corresponding build.log.
Comment 4 Patrick Lauer gentoo-dev 2017-09-25 07:35:39 UTC
Fixed in 0.6.0-r1, at the cost of most likely not installing docs at all. Proper fix would be nice to have ...