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

Error when adding packages installed from url #98

Open
hechth opened this issue Mar 12, 2021 · 0 comments
Open

Error when adding packages installed from url #98

hechth opened this issue Mar 12, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@hechth
Copy link

hechth commented Mar 12, 2021

I would like to create a docker image containing packages which I installed via GitHub - but I keep running into problems saying that the packages aren't found in the registry while building the image.

I'm running julia 1.5.3 on Windows 10 on a user with admin rights (I previously had issues with the registry due to not running as admin).
I'm using VSCode, also running as admin.

I get the following output:

=> ERROR [ 85/107] RUN cd /tmp; JULIA_DEBUG=all SIMPLECONTAINERGENERATOR_CONTAINER_NO_TEMP_DEPOT="true" /usr/bin/no_sysimage_julia /opt/simplecontainergener  12.5s 
------
 > [ 85/107] RUN cd /tmp; JULIA_DEBUG=all SIMPLECONTAINERGENERATOR_CONTAINER_NO_TEMP_DEPOT="true" /usr/bin/no_sysimage_julia /opt/simplecontainergenerator_containers/install_packages.jl:
#89 0.924  Installing known registries into `/opt/simplecontainergenerator_containers/julia_depot`
######################################################################## 100.0%
#89 8.210       Added registry `General` to `/opt/simplecontainergenerator_containers/julia_depot/registries/General`
#89 10.52 ERROR: LoadError: The following package names could not be resolved:
#89 11.44  * MS_Import (not found in project, manifest or registry)
#89 11.44  * SAFD (not found in project, manifest or registry)
#89 11.44
#89 11.44 Stacktrace:
#89 11.67  [1] pkgerror(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Types.jl:52
#89 12.01  [2] ensure_resolved(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; registry::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Types.jl:837
#89 12.09  [3] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; preserve::Pkg.Types.PreserveLevel, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:177
#89 12.14  [4] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:139#89 12.14  [5] #add#21 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67 [inlined]
#89 12.15  [6] add(::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:67
#89 12.15  [7] top-level scope at /opt/simplecontainergenerator_containers/install_packages.jl:2
#89 12.15  [8] include(::Function, ::Module, ::String) at ./Base.jl:380
#89 12.15  [9] include(::Module, ::String) at ./Base.jl:368
#89 12.15  [10] exec_options(::Base.JLOptions) at ./client.jl:296
#89 12.15  [11] _start() at ./client.jl:506
#89 12.15 in expression starting at /opt/simplecontainergenerator_containers/install_packages.jl:2
------
executor failed running [/bin/sh -c cd /tmp; JULIA_DEBUG=all SIMPLECONTAINERGENERATOR_CONTAINER_NO_TEMP_DEPOT="true" /usr/bin/no_sysimage_julia /opt/simplecontainergenerator_containers/install_packages.jl]: exit code: 1
ERROR: failed process: Process(`docker build --no-cache -t hechth/safd:generated-0 .`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error at .\process.jl:525 [inlined]
 [2] run(::Cmd; wait::Bool) at .\process.jl:440
 [3] run(::Cmd) at .\process.jl:438
 [4] top-level scope at REPL[9]:1

If you need any more details let me know!

@DilumAluthge DilumAluthge added the bug Something isn't working label Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants