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

Precompile error of Glib_jll with Julia 1.10.0-rc1 #7625

Closed
mrs504aa opened this issue Nov 4, 2023 · 1 comment
Closed

Precompile error of Glib_jll with Julia 1.10.0-rc1 #7625

mrs504aa opened this issue Nov 4, 2023 · 1 comment

Comments

@mrs504aa
Copy link

mrs504aa commented Nov 4, 2023

Environment

        ,.=:!!t3Z3z.,                  mrs504aa@MRS504AA-LAPTOP
       :tt:::tt333EE3                  ------------------------
       Et:::ztt33EEEL @Ee.,      ..,   OS: Windows 11 Pro x86_64
      ;tt:::tt333EE7 ;EEEEEEttttt33#   Host: LENOVO 20YM
     :Et:::zt333EEQ. $EEEEEttttt33QL   Kernel: 10.0.22635
     it::::tt333EEF @EEEEEEttttt33F    Uptime: 22 hours, 36 mins
    ;3=*^```"*4EEV :EEEEEEttttt33@.    Packages: 2 (scoop)
    ,.=::::!t=., ` @EEEEEEtttz33QF     Shell: bash 5.2.15
   ;::::::::zt33)   "4EEEtttji3P*      Resolution: 2560x1600
  :t::::::::tt33.:Z3z..  `` ,..g.      DE: Aero
  i::::::::zt33F AEEEtttt::::ztF       WM: Explorer
 ;:::::::::t33V ;EEEttttt::::t3        WM Theme: Custom
 E::::::::zt33L @EEEtttt::::z3F        Terminal: Windows Terminal
{3=*^```"*4E3) ;EEEtttt:::::tZ`        CPU: AMD Ryzen 7 5800H with Radeon Graphics (16) @ 3.200GHz
             ` :EEEEtttt::::z7         GPU: Caption
                 "VEzjt:;;z>*`         GPU: AMD Radeon(TM) Graphics
                                       GPU: NVIDIA GeForce RTX 3060 Laptop GPU
                                       GPU
                                       Memory: 14261MiB / 40310MiB
PS C:\Users\mrs504aa> julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.0-rc1 (2023-11-03)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.10) pkg> st
Status `C:\Users\mrs504aa\.julia\environments\v1.10\Project.toml` (empty project)

Problem

Glib_jll cannot precompile correctly. I need this package works since Makie relies on it.

I add Glib_jll with (@v1.10) pkg> add Glib_jll first.

(@v1.10) pkg> precompile Glib_jll
Precompiling Glib_jll
        Info Given Glib_jll was explicitly requested, output will be shown live
ERROR: LoadError: InitError: could not load library "C:\Users\mrs504aa\.julia\artifacts\f9f799e6ae3fe7f244bb55052db7ff1cea876c27\bin\libgettextlib-0-21.dll"
Access is denied.
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl .\libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl .\libdl.jl:116
  [3] macro expansion
    @ C:\Users\mrs504aa\.julia\packages\JLLWrappers\pG9bm\src\products\library_generators.jl:63 [inlined]
  [4] __init__()
    @ Gettext_jll C:\Users\mrs504aa\.julia\packages\Gettext_jll\5wIPp\src\wrappers\x86_64-w64-mingw32-cxx11.jl:11
  [5] run_module_init(mod::Module, i::Int64)
    @ Base .\loading.jl:1128
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1116
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base .\loading.jl:1061
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base .\loading.jl:1575
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1932
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [11] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [12] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [14] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [15] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [17] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [18] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
 [20] include(mod::Module, _path::String)
    @ Base .\Base.jl:489
 [21] top-level scope
    @ C:\Users\mrs504aa\.julia\packages\JLLWrappers\pG9bm\src\toplevel_generators.jl:192
 [22] include
    @ Base .\Base.jl:489 [inlined]
 [23] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base .\loading.jl:2216
 [24] top-level scope
    @ stdin:3
during initialization of module Gettext_jll
in expression starting at C:\Users\mrs504aa\.julia\packages\Glib_jll\MZy06\src\wrappers\x86_64-w64-mingw32.jl:6
in expression starting at C:\Users\mrs504aa\.julia\packages\Glib_jll\MZy06\src\Glib_jll.jl:2
in expression starting at stdin:3
  ✗ Glib_jll
  0 dependencies successfully precompiled in 2 seconds. 10 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

Glib_jll [7746bdde-850d-59dc-9ae8-88ece973131d]

Failed to precompile Glib_jll [7746bdde-850d-59dc-9ae8-88ece973131d] to "C:\\Users\\mrs504aa\\.julia\\compiled\\v1.10\\Glib_jll\\jl_C0A8.tmp".
ERROR: LoadError: InitError: could not load library "C:\Users\mrs504aa\.julia\artifacts\f9f799e6ae3fe7f244bb55052db7ff1cea876c27\bin\libgettextlib-0-21.dll"
Access is denied.
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl .\libdl.jl:117
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl .\libdl.jl:116
  [3] macro expansion
    @ C:\Users\mrs504aa\.julia\packages\JLLWrappers\pG9bm\src\products\library_generators.jl:63 [inlined]
  [4] __init__()
    @ Gettext_jll C:\Users\mrs504aa\.julia\packages\Gettext_jll\5wIPp\src\wrappers\x86_64-w64-mingw32-cxx11.jl:11
  [5] run_module_init(mod::Module, i::Int64)
    @ Base .\loading.jl:1128
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base .\loading.jl:1116
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
    @ Base .\loading.jl:1061
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
    @ Base .\loading.jl:1575
  [9] _require(pkg::Base.PkgId, env::String)
    @ Base .\loading.jl:1932
 [10] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1806
 [11] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [12] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [13] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base .\loading.jl:1797
 [14] macro expansion
    @ Base .\loading.jl:1784 [inlined]
 [15] macro expansion
    @ Base .\lock.jl:267 [inlined]
 [16] __require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1747
 [17] #invoke_in_world#3
    @ Base .\essentials.jl:921 [inlined]
 [18] invoke_in_world
    @ Base .\essentials.jl:918 [inlined]
 [19] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1740
 [20] include(mod::Module, _path::String)
    @ Base .\Base.jl:489
 [21] top-level scope
    @ C:\Users\mrs504aa\.julia\packages\JLLWrappers\pG9bm\src\toplevel_generators.jl:192
 [22] include
    @ Base .\Base.jl:489 [inlined]
 [23] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base .\loading.jl:2216
 [24] top-level scope
    @ stdin:3
during initialization of module Gettext_jll
in expression starting at C:\Users\mrs504aa\.julia\packages\Glib_jll\MZy06\src\wrappers\x86_64-w64-mingw32.jl:6
in expression starting at C:\Users\mrs504aa\.julia\packages\Glib_jll\MZy06\src\Glib_jll.jl:2
in expression starting at stdin:

Not sure this issue should be here or at the repo of Julia.

@giordano
Copy link
Member

giordano commented Nov 4, 2023

Sounds similar to https://discourse.julialang.org/t/windows-artifact-issue-access-denied-when-installing-plots-makie/103734/8. Nothing we can do about here, since the tarball is correct, sounds like a problem during installation. I had asked people who could reproduce the error to open a ticket in Julia, no idea whether anyone did though.

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