https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/julia-1.7.1-r2 fails to compile. Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: This machine uses MUSL libc
Created attachment 765913 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Generating REPL precompile statements... 26/36ERROR: LoadError: IOError: stream is closed or unusable rm: cannot remove '/var/tmp/portage/dev-lang/julia-1.7.1-r2/work/julia-1.7.1/usr/manifest/SuiteSparse': No such file or directory
Created attachment 766765 [details] build.log also with glibc
Created attachment 766766 [details] emerge --info
Same?: https://github.com/JuliaLang/julia/issues/43249
Downgraded libgit2 to 1.3.0 and re-emerged Julia, works. Seems to be locked onto that version.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dbb267d2261560fd6eadad052b4c7020d28ccb5 commit 0dbb267d2261560fd6eadad052b4c7020d28ccb5 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2022-03-17 08:35:57 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2022-03-17 09:06:32 +0000 dev-lang/julia: fix build with libgit >=1.4.0 Another patch from Arch fixing libgit2 interface Closes: https://bugs.gentoo.org/834152 Signed-off-by: Maciej Barć <xgqt@gentoo.org> dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch | 43 ++++++++++++++++++++++ .../{julia-1.6.5.ebuild => julia-1.6.5-r1.ebuild} | 1 + ...julia-1.7.1-r2.ebuild => julia-1.7.1-r3.ebuild} | 1 + 3 files changed, 45 insertions(+)
Doesn't work for me. tried libgit2-1.3.0 and libgit2-1.4.0 Same error as before. Also, the linked bug is similar but not exactly the same. Don't know if this is relevant, tough, since I don't have a clue about julia
> Generating REPL precompile statements... 26/36ERROR: LoadError: IOError: stream is closed or unusable Christian: does it fail on step 26 for you too?
yes: Generating REPL precompile statements... 26/36ERROR: LoadError: IOError: stream is closed or unusable Stacktrace: [1] check_open @ ./stream.jl:386 [inlined] [2] uv_write_async(s::Base.TTY, p::Ptr{UInt8}, n::UInt64) @ Base ./stream.jl:1018 [3] uv_write(s::Base.TTY, p::Ptr{UInt8}, n::UInt64) @ Base ./stream.jl:981 [4] unsafe_write(s::Base.TTY, p::Ptr{UInt8}, n::UInt64) @ Base ./stream.jl:1064 [5] mktemp(fn::Main.anonymous.var"#2#6"{Set{String}, String, Base.DevNull}, parent::String) @ Base.Filesystem ./file.jl:722 [6] eval(m::Module, e::Any) @ Core ./boot.jl:373 [7] top-level scope @ /var/tmp/portage/dev-lang/julia-1.7.1-r3/work/julia-1.7.1/contrib/generate_precompile.jl:6
Looks like there might be some other library interface that needs patching then... reopening.
Christian: Julia with net-misc/curl on 7.81.0 gives me this here error and on 7.82.0 hangs, 7.79.1 and 7.80.0 work correctly, could you try "=net-misc/curl-7.80.0"? Referencing: https://bugs.gentoo.org/835499
works with =net-misc/curl-7.80.0 thanks for investigating. I didn't find a curl related bug upstream, I will create one. can you add a <net-misc/curl-7.81.0 dependency to the ebuild?
> can add a <net-misc/curl-7.81.0 dependency to the ebuild? Yes, that's what I wanted to do, I wanted to have a confirmation from either You or Ago. Could you test if it hangs on "=net-misc/curl-7.82.0", then bug reported by Ago would be done too.
yes, with net-misc/curl-7.82.0 it is hanging. In the log, the last I can see is Generating REPL precompile statements... 25/36 which is one step earlier than before, but maybe that's just output buffering (?)
> Generating REPL precompile statements... 25/36 > which is one step earlier than before, but maybe that's just output buffering (?) Possibly. Same for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da91a1ed1a941d0e6cd8dd12298f31073df0bb87 commit da91a1ed1a941d0e6cd8dd12298f31073df0bb87 Author: Maciej Barć <xgqt@gentoo.org> AuthorDate: 2022-03-17 13:39:24 +0000 Commit: Maciej Barć <xgqt@gentoo.org> CommitDate: 2022-03-17 15:15:06 +0000 dev-lang/julia: pin curl <7.81 Closes: https://bugs.gentoo.org/834152 Closes: https://bugs.gentoo.org/835499 Signed-off-by: Maciej Barć <xgqt@gentoo.org> dev-lang/julia/{julia-1.6.5-r1.ebuild => julia-1.6.5-r2.ebuild} | 2 +- dev-lang/julia/{julia-1.7.1-r3.ebuild => julia-1.7.1-r4.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
https://github.com/JuliaLang/julia/issues/44657 for curl issue