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

[Bug]: erlang does not require vcredist2013, it requries vcredist2022 #6289

Closed
3 tasks done
sinni800 opened this issue Oct 28, 2024 · 1 comment
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@sinni800
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

erlang

Expected/Current Behaviour

Erlang package suggests to install extras/vcredist2013, but this is not correct anymore; it should require extras/vcredist2022.

If 2022 is not installed, running an application that uses the beam.smp.dll (which is the erlang VM) will output this:

Unable to load emulator DLL
(C:\Users\bla\scoop\apps\erlang\27.1.2\erts-15.1.2\bin\beam.smp.dll)

Steps to Reproduce

PS C:\Users\bla\> erl
Unable to load emulator DLL
(C:\Users\bla\scoop\apps\erlang\27.1.2\erts-15.1.2\bin\beam.smp.dll)

PS C:\Users\bla> scoop install vcredist2022
Installing 'vcredist2022' (14.40.33816.0) [64bit] from 'extras' bucket
Loading vc_redist.x64.exe from cache
Checking hash of vc_redist.x64.exe ... ok.
Loading vc_redist.x86.exe from cache
Checking hash of vc_redist.x86.exe ... ok.
Linking ~\scoop\apps\vcredist2022\current => ~\scoop\apps\vcredist2022\14.40.33816.0
Running post_install script...done.
'vcredist2022' (14.40.33816.0) was installed successfully! 

(installing vcredist2013 changes nothing)

PS C:\Users\bla\elixir\elbox> erl
Erlang/OTP 27 [erts-15.1.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Eshell V15.1.2 (press Ctrl+G to abort, type help(). for help)
1>

Possible Solution

Change the suggested vcredist package to vcredist2022

Scoop and Buckets Version

Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
e3cbd5596 (HEAD -> master, origin/master, origin/HEAD) zvm: Update to version 0.7.9

'extras' bucket:
36b6c60ba (HEAD -> master, origin/master, origin/HEAD) [email protected]: Fix hash (Closes #14313)

'nirsoft' bucket:
b38031d (HEAD -> master, origin/master, origin/HEAD) updated manifests

Scoop Config

scoop config

last_update         scoop_branch scoop_repo
-----------         ------------ ----------
28.10.2024 22:40:06 master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

@sinni800 sinni800 added the bug Something isn't working label Oct 28, 2024
@HUMORCE HUMORCE closed this as completed in bfc185c Nov 7, 2024
@HUMORCE
Copy link
Member

HUMORCE commented Nov 7, 2024

Thanks for the report.

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