Skip to content

Windows builds pass with build.jl, fail with JLL #253

@dpo

Description

@dpo

We recently registered ASL_JLL.jl. I used the generage_buildjl.jl script to generate this build.jl. All builds pass on Linux, macOS, Windows and FreeBSD:

Now I'm trying to get rid of build.jl and depend on ASL_jll instead. In the process I test a variety of architectures on TravisCI, but some builds that used to pass no longer do:

In particular:

  • the Appveyor/MinGW builds fail with the message
    ERROR: LoadError: LoadError: error compiling AmplModel: error compiling AmplModel#1: could not load library 
    "C:\Users\appveyor\.julia\artifacts\143fa69fa594c92770a91f9712d78d6c92bb7b47\bin\libasl-0.dll"
    The specified module could not be found.
    
  • the TravisCI/Linux/PPC build fails with
    /home/travis/.travis/functions: line 109: /home/travis/julia/bin/julia: cannot execute binary file: Exec format error
    
    This error is probably not related to BinaryBuilder.jl / Yggdrasil.jl but I thought I'd report it.
  • the TravisCI/Windows/x64 build fails with
    ERROR: LoadError: LoadError: error compiling AmplModel: error compiling AmplModel#1: could not load library 
    "C:\Users\travis\.julia\artifacts\143fa69fa594c92770a91f9712d78d6c92bb7b47\bin\libasl-0.dll"
    

Why are the Windows builds failing? Here is the pull request with my changes.

I'll try and debug the Appveyor builds by ssh-ing into the VM but I thought you might have some ideas. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions