Gtk.jl icon indicating copy to clipboard operation
Gtk.jl copied to clipboard

Nightly failing with git-tree hash error on Gettext

Open timholy opened this issue 6 years ago • 3 comments

Error: Tree Hash Mismatch!

│   Expected git-tree-sha1:   23501bda2685b36205bb637cfc6277d04f947ad4

│   Calculated git-tree-sha1: 4d6fc419716177c1bf360ec3e816defa48badbfd

└ @ Pkg.Artifacts /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:780

ERROR: Unable to automatically install 'Gettext' from '/home/travis/.julia/packages/Gettext_jll/taxbQ/Artifacts.toml'

Stacktrace:

 [1] error(::String) at ./error.jl:33

 [2] ensure_artifact_installed(::String, ::Dict{String,Any}, ::String; platform::Pkg.BinaryPlatforms.Linux, verbose::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:881

 [3] ensure_all_artifacts_installed(::String; platform::Pkg.BinaryPlatforms.Linux, pkg_uuid::Nothing, include_lazy::Bool, verbose::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Artifacts.jl:926

 [4] download_artifacts(::Array{String,1}; platform::Pkg.BinaryPlatforms.Linux, verbose::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:574

 [5] download_artifacts(::Array{Pkg.Types.PackageSpec,1}; platform::Pkg.BinaryPlatforms.Linux, verbose::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:564

 [6] download_artifacts(::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:563

 [7] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Pkg.Types.UpgradeLevel) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:1142

 [8] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; level::Pkg.Types.UpgradeLevel, mode::Pkg.Types.PackageMode, update_registry::Bool, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:198

 [9] #up#33 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:166 [inlined]

 [10] instantiate(::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:735

 [11] instantiate(::Pkg.Types.Context) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:720

 [12] build(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:750

 [13] build(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; verbose::Bool, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:669

 [14] build at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:653 [inlined]

 [15] #build#100 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:651 [inlined]

 [16] build at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:651 [inlined]

 [17] #build#97 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:648 [inlined]

 [18] build() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:648

 [19] top-level scope at none:1

/home/travis/.travis/functions: line 601:  3865 Terminated              travis_jigger "${!}" "${timeout}" "${cmd[@]}"

The command "travis_wait 30 $TESTCMD -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'" exited with 1.

timholy avatar Dec 08 '19 13:12 timholy

This is a known issue, should be fixed for julia 1.3.1

giordano avatar Dec 08 '19 14:12 giordano

Do you really mean 1.3.1? The issue crops up only on master (i.e., 1.4).

timholy avatar Dec 09 '19 10:12 timholy

There have been changes in how the git tree hash is computed (https://github.com/JuliaLang/Pkg.jl/pull/1513 and https://github.com/JuliaLang/Pkg.jl/pull/1522) to fix issues observed in Julia 1.3, that's why you see the errors in nightly but not in 1.3. Eventually all these issues should be sorted out.

giordano avatar Dec 09 '19 10:12 giordano