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

Error during audit pass of soname matching of MachO objects #1361

Open
giordano opened this issue Jan 12, 2025 · 0 comments
Open

Error during audit pass of soname matching of MachO objects #1361

giordano opened this issue Jan 12, 2025 · 0 comments

Comments

@giordano
Copy link
Member

CompilerSupportLibraries for x86_64-apple-darwin https://buildkite.com/julialang/yggdrasil/builds/16320#01945b25-0e53-4b8c-9f52-35bc6d08e489/678-1832

┌ Warning: Could not probe /cache/build/yggy-amdci7-14/julialang/yggdrasil/C/CompilerSupportLibraries/[email protected]/build/x86_64-apple-darwin-libgfortran3/8bQcfZVC/x86_64-apple-darwin14-libgfortran3-cxx11/destdir/lib/libgcc_s.1.1.dylib for an SONAME!
│   exception =
│    MethodError: Cannot `convert` an object of type
│      ObjectFile.MachO.MachOHandle{IOStream} to an object of type
│      ObjectFile.MachO.MachOLoadCmdRef
│    Closest candidates are:
│      convert(::Type{T}, ::T) where T at /cache/julia-buildkite-plugin/julia_installs/bin/linux/x64/1.7/julia-1.7-latest-linux-x86_64/share/julia/base/essentials.jl:218
│    Stacktrace:
│      [1] setindex!(A::Vector{ObjectFile.MachO.MachOLoadCmdRef}, x::ObjectFile.MachO.MachOHandle{IOStream}, i1::Int64)
│        @ Base ./array.jl:903
│      [2] copyto!
│        @ ./abstractarray.jl:893 [inlined]
│      [3] _collect
│        @ ./array.jl:655 [inlined]
│      [4] collect
│        @ ./array.jl:649 [inlined]
│      [5] broadcastable
│        @ ./broadcast.jl:704 [inlined]
│      [6] broadcasted
│        @ ./broadcast.jl:1295 [inlined]
│      [7] (::BinaryBuilder.Auditor.var"#79#80")(ns::ObjectFile.MachO.FatMachOHandle{IOStream})
│        @ BinaryBuilder.Auditor /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/CSwfJ/src/auditor/soname_matching.jl:7
│      [8] readmeta(f::BinaryBuilder.Auditor.var"#79#80", file::String)
│        @ ObjectFile /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/ObjectFile/GXCd7/src/Abstract/ObjectHandle.jl:160
│      [9] get_soname(path::String)
│        @ BinaryBuilder.Auditor /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/CSwfJ/src/auditor/soname_matching.jl:7
│     [10] autobuild(dir::AbstractString, src_name::AbstractString, src_version::VersionNumber, sources::Vector{<:BinaryBuilderBase.AbstractSource}, script::AbstractString, platforms::Vector, products::Vector{<:Product}, dependencies::Vector{<:BinaryBuilderBase.AbstractDependency}; verbose::Bool, debug::Bool, skip_audit::Bool, ignore_audit_errors::Bool, autofix::Bool, code_dir::Union{Nothing, String}, require_license::Bool, dont_dlopen::Bool, kwargs::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
│        @ BinaryBuilder /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/CSwfJ/src/AutoBuild.jl:967
│     [11] build_tarballs(ARGS::Any, src_name::Any, src_version::Any, sources::Any, script::Any, platforms::Any, products::Any, dependencies::Any; julia_compat::String, validate_name::Bool, kwargs::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
│        @ BinaryBuilder /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/CSwfJ/src/AutoBuild.jl:367
│     [12] build_csl(ARGS::Vector{String}, version::VersionNumber; preferred_gcc_version::VersionNumber, windows_staticlibs::Bool, julia_compat::String)
│        @ Main /cache/build/yggy-amdci7-14/julialang/yggdrasil/C/CompilerSupportLibraries/common.jl:176
│     [13] top-level scope
│        @ /cache/build/yggy-amdci7-14/julialang/yggdrasil/C/CompilerSupportLibraries/[email protected]/build_tarballs.jl:3
│     [14] include(mod::Module, _path::String)
│        @ Base ./Base.jl:418
│     [15] exec_options(opts::Base.JLOptions)
│        @ Base ./client.jl:292
│     [16] _start()
│        @ Base ./client.jl:495
└ @ BinaryBuilder.Auditor /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/CSwfJ/src/auditor/soname_matching.jl:9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant