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

[release-1.10] fix swallowing internal errors in Pkg.precompile #3987

Conversation

IanButterworth
Copy link
Member

1.10 version of JuliaLang/julia#55432

(@v1.10) pkg> precompile
Precompiling project...
  ✗ SimpleLooper
  0 dependencies successfully precompiled in 1 seconds. 7 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

SimpleLooper [ff33fe5b-d8e3-4cbd-8bd9-3d2408ff8cab]

Failed to precompile SimpleLooper [ff33fe5b-d8e3-4cbd-8bd9-3d2408ff8cab] to "/Users/ian/.julia/compiled/v1.10/SimpleLooper/jl_y7CN8M".
ERROR: LoadError: 
Stacktrace:
 [1] error()
   @ Base ./error.jl:44
 [2] top-level scope
   @ ~/Documents/GitHub/SimpleLooper.jl/src/SimpleLooper.jl:3
(@v1.10) pkg> precompile
Precompiling project...
^C Interrupted: Exiting precompilation...            ]  0/1
  ◑ SimpleLooper
  1 dependency had output during precompilation:
┌ SimpleLooper
│  [1413] signal (2): Interrupt: 2
│  in expression starting at /Users/ian/Documents/GitHub/SimpleLooper.jl/src/SimpleLooper.jl:3
└  

@IanButterworth IanButterworth merged commit 1810b11 into JuliaLang:release-1.10 Aug 9, 2024
11 checks passed
@IanButterworth IanButterworth deleted the ib/precompile_internal_error_handle branch August 9, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant