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

Failed to precompile #252

Open
MarcoEng77 opened this issue Feb 18, 2020 · 2 comments
Open

Failed to precompile #252

MarcoEng77 opened this issue Feb 18, 2020 · 2 comments

Comments

@MarcoEng77
Copy link

Hi there,

I tried to install JuliaFEM but upon issuing
Pkg.test("JuliaFEM")

I get first a warning, and then errors:

┌ Warning: Package FEMBase does not have TimerOutputs in its dependencies: │ - If you have FEMBase checked out for development and have │ added TimerOutputs as a dependency but haven't updated your primary │ environment's manifest file, try Pkg.resolve(). │ - Otherwise you may need to report an issue with FEMBase └ Loading TimerOutputs into FEMBase from project dependency, future warnings for FEMBase are suppressed. ERROR: LoadError: LoadError: invalid subtyping in definition of Poi1 Stacktrace: [1] top-level scope at C:\Users\Musto Family\.julia\packages\FEMBase\1R4fe\src\elements_lagrange.jl:4 [2] include at .\boot.jl:328 [inlined] [3] include_relative(::Module, ::String) at .\loading.jl:1094 [4] include at .\Base.jl:31 [inlined] [5] include(::String) at C:\Users\Musto Family\.julia\packages\FEMBase\1R4fe\src\FEMBase.jl:4 [6] top-level scope at C:\Users\Musto Family\.julia\packages\FEMBase\1R4fe\src\FEMBase.jl:28 [7] include at .\boot.jl:328 [inlined] [8] include_relative(::Module, ::String) at .\loading.jl:1094 [9] include(::Module, ::String) at .\Base.jl:31 [10] top-level scope at none:2 [11] eval at .\boot.jl:330 [inlined] [12] eval(::Expr) at .\client.jl:432 [13] top-level scope at .\none:3 in expression starting at C:\Users\Musto Family\.julia\packages\FEMBase\1R4fe\src\elements_lagrange.jl:4 in expression starting at C:\Users\Musto Family\.julia\packages\FEMBase\1R4fe\src\FEMBase.jl:28 ERROR: LoadError: Failed to precompile FEMBase [fbcbbc08-f1bf-5204-9233-b69f5d396135] to C:\Users\Musto Family\.julia\compiled\v1.2\FEMBase\6HUoq.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1253 [3] _require(::Base.PkgId) at .\loading.jl:1013 [4] require(::Base.PkgId) at .\loading.jl:911 [5] require(::Module, ::Symbol) at .\loading.jl:906 [6] include at .\boot.jl:328 [inlined] [7] include_relative(::Module, ::String) at .\loading.jl:1094 [8] include(::Module, ::String) at .\Base.jl:31 [9] top-level scope at none:2 [10] eval at .\boot.jl:330 [inlined] [11] eval(::Expr) at .\client.jl:432 [12] top-level scope at .\none:3 in expression starting at C:\Users\Musto Family\.julia\packages\JuliaFEM\DbhTT\src\JuliaFEM.jl:111 ERROR: LoadError: Failed to precompile JuliaFEM [f80590ac-b429-510a-8a99-e7c46989f22d] to C:\Users\Musto Family\.julia\compiled\v1.2\JuliaFEM\JKouA.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1253 [3] _require(::Base.PkgId) at .\loading.jl:1013 [4] require(::Base.PkgId) at .\loading.jl:911 [5] require(::Module, ::Symbol) at .\loading.jl:906 [6] include at .\boot.jl:328 [inlined] [7] include_relative(::Module, ::String) at .\loading.jl:1094 [8] include(::Module, ::String) at .\Base.jl:31 [9] include(::String) at .\client.jl:431 [10] top-level scope at none:5 in expression starting at C:\Users\Musto Family\.julia\packages\JuliaFEM\DbhTT\test\runtests.jl:4 ERROR: Package JuliaFEM errored during testing Stacktrace: [1] pkgerror(::String, ::Vararg{String,N} where N) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Types.jl:112 [2] #test#119(::Bool, ::Nothing, ::typeof(Pkg.Operations.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Operations.jl:1288 [3] #test at .\none:0 [inlined] [4] #test#62(::Bool, ::Nothing, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:245 [5] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:233 [inlined] [6] #test#61 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:230 [inlined] [7] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:230 [inlined] [8] #test#60 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:229 [inlined] [9] test at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:229 [inlined] [10] #test#59(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.test), ::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:228 [11] test(::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl:228 [12] top-level scope at REPL[19]:1

I tried to install TimerOutputs.jl separately, but that did not sort the problem out. I ran a Pkg.update() as well.

I am using Julia 1.2.0. Any hints or suggestions? Thanks a lot

@TeroFrondelius
Copy link
Member

I propose that you will ask help in the discourse: https://discourse.julialang.org/
For me these cygwin paths "C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\API.jl" looks suspicious. Why don't you use the native Windows Julia version on the Windows machine?

@MarcoEng77
Copy link
Author

MarcoEng77 commented Feb 25, 2020

Hi Tero,

thanks I will follow your advice. I will leave it here as well, just in case somebody picks something specifically JuliaFEM related.

I find those cygwin references funny too. While I do have cygwin on my machine, I use the native Julia version on a Windows OS, I cannot understand what has cygwin to do with the JuliaFEM installation.
Thanks and bye

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

No branches or pull requests

2 participants