JuliaImages / JuliaImages/ImageBase.jl

precompilation fails on master

Open
#38 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

(@v1.12) pkg> add ImageBase
[...]
Precompiling all packages...
  ✗ ImageBase
  0 dependencies successfully precompiled in 4 seconds. 21 already precompiled.
  1 dependency errored.
  For a report of the errors see `julia> err`. To retry use `pkg> precompile`

julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:

ImageBase 

Failed to precompile ImageBase [c817782e-172a-44cc-b673-b171935fbb9e] to "/tmp/depot/compiled/v1.12/ImageBase/jl_AMhQry".
ERROR: LoadError: UndefVarError: `Color` not defined in `ImageBase.FiniteDiff`
Julia Version 1.12.0-DEV.766
Commit 9d8ecaa899d (2024-06-21 17:00 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 24 × Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz
  WORD_SIZE: 64
  LLVM: libLLVM-17.0.6 (ORCJIT, sandybridge)
Threads: 1 default, 0 interactive, 1 GC (on 24 virtual cores)
Environment:
  JULIA_DEPOT_PATH = /tmp/depot

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by adding ImageBase and running pkg> precompile on the reported Julia 1.12 development build. Start with the UndefVarError for Color in ImageBase.FiniteDiff; done means ImageBase precompiles successfully without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.