Giter VIP home page Giter VIP logo

Comments (3)

matthias314 avatar matthias314 commented on July 25, 2024

UPDATE: It seems the same problem occurs without startup file:

$ /usr/local/julia-1.11.0-alpha2/bin/julia --startup-file=no
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.0-alpha2 (2024-03-18)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.11) pkg> add Chairmarks
   Resolving package versions...
    Updating `/usr/local/julia/environments/v1.11/Project.toml`
  [0ca39b1e] + Chairmarks v1.2.0
    Updating `/usr/local/julia/environments/v1.11/Manifest.toml`
  [0ca39b1e] + Chairmarks v1.2.0
  [de0858da] + Printf v1.11.0
  [4ec0a83e] + Unicode v1.11.0
Precompiling project...
  ✓ Unicode
  ✓ Printf
  3 dependencies successfully precompiled in 4 seconds
  2 dependencies precompiled but different versions are currently loaded. Restart julia to access the new versions

(@v1.11) pkg> [Ctrl-D]
$ /usr/local/julia-1.11.0-alpha2/bin/julia --startup-file=no
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.0-alpha2 (2024-03-18)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Chairmarks
Precompiling Chairmarks...
  ✓ Unicode
  3 dependencies successfully precompiled in 3 seconds
  1 dependency precompiled but a different version is currently loaded. Restart julia to access the new version
┌ Info: Precompiling Chairmarks [0ca39b1e-fe0b-4e98-acfc-b1656634c4de] 
└ @ Base loading.jl:2845
┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Chairmarks [0ca39b1e-fe0b-4e98-acfc-b1656634c4de]
│   exception = ErrorException("Required dependency Base.PkgId(Base.UUID(\"de0858da-6303-5e67-8744-51eddeeeb8d7\"), \"Printf\") failed to load from a cache file.")
└ @ Base loading.jl:2365
Precompiling Printf...
  ✓ Unicode
  2 dependencies successfully precompiled in 1 seconds
  1 dependency precompiled but a different version is currently loaded. Restart julia to access the new version
┌ Info: Precompiling Printf [de0858da-6303-5e67-8744-51eddeeeb8d7] (cache misses: wrong source (2), invalid header (12), mismatched flags (2))
└ @ Base loading.jl:2845

from julia.

matthias314 avatar matthias314 commented on July 25, 2024

Any thoughts on this? The failing precompilation makes Julia 1.11 practically unusable for me.

from julia.

matthias314 avatar matthias314 commented on July 25, 2024

closed in favor of #53983

from julia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.