Skip to content

Error when checking the SONAME of some libraries on macOS #1426

@topolarity

Description

@topolarity
┌ Warning: Could not probe /cache/build/yggy-amdci7-15/julialang/yggdrasil/C/CompilerSupportLibraries/[email protected]/build/x86_64-apple-darwin-libgfortran5/ruGdmtPu/x86_64-apple-darwin14-libgfortran5-cxx11/destdir/lib/libgcc_s.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
│    The function `convert` exists, but no method is defined for this combination of argument types.
│
│    Closest candidates are:
│      convert(::Type{T}, ::T) where T
│       @ Base Base_compiler.jl:133
│
│    Stacktrace:
│      [1] setindex!
│        @ ./array.jl:985 [inlined]
│      [2] copyto!(dest::Vector{ObjectFile.MachO.MachOLoadCmdRef}, src::ObjectFile.MachO.FatMachOHandle{IOStream})
│        @ Base ./abstractarray.jl:941
│      [3] _collect
│        @ ./array.jl:734 [inlined]
│      [4] collect
│        @ ./array.jl:728 [inlined]
│      [5] broadcastable
│        @ ./broadcast.jl:733 [inlined]
│      [6] broadcasted
│        @ ./broadcast.jl:1345 [inlined]
│      [7] (::BinaryBuilder.Auditor.var"#get_soname##0#get_soname##1")(ns::ObjectFile.MachO.FatMachOHandle{IOStream})
│        @ BinaryBuilder.Auditor /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/4am7L/src/auditor/soname_matching.jl:9
│      [8] readmeta(f::BinaryBuilder.Auditor.var"#get_soname##0#get_soname##1", file::String)
│        @ ObjectFile /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/ObjectFile/08SxU/src/Abstract/ObjectHandle.jl:160
│      [9] get_soname(path::String)
│        @ BinaryBuilder.Auditor /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/4am7L/src/auditor/soname_matching.jl:9
│     [10] symlink_soname_lib(path::String; verbose::Bool, autofix::Bool)
│        @ BinaryBuilder.Auditor /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/4am7L/src/auditor/soname_matching.jl:112
│     [11] macro expansion
│        @ /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/4am7L/src/Auditor.jl:235 [inlined]
│     [12] (::BinaryBuilder.Auditor.var"#140#141"{BinaryBuilder.Auditor.var"#142#143"{Platform, Bool, Bool, Prefix, String, Base.Threads.Atomic{Bool}, Vector{String}}})(tid::Int64; onethread::Bool)
│        @ BinaryBuilder.Auditor ./threadingconstructs.jl:276
│     [13] #140
│        @ ./threadingconstructs.jl:243 [inlined]
│     [14] (::Base.Threads.var"#threading_run##0#threading_run##1"{BinaryBuilder.Auditor.var"#140#141"{BinaryBuilder.Auditor.var"#142#143"{Platform, Bool, Bool, Prefix, String, Base.Threads.Atomic{Bool}, Vector{String}}}, Int64})()
│        @ Base.Threads ./threadingconstructs.jl:177
└ @ BinaryBuilder.Auditor /cache/julia-buildkite-plugin/depots/e2fd9734-29d8-45cd-b0eb-59f7104f3131/packages/BinaryBuilder/4am7L/src/auditor/soname_matching.jl:11

from JuliaPackaging/Yggdrasil#13562

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions