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

[Package Issue]: odin-lang.odin run fails with missing LLVM-C.DLL dependency #193086

Open
2 tasks done
ccll opened this issue Nov 22, 2024 · 2 comments
Open
2 tasks done
Labels
Blocking-Issue Manifest validation is blocked by a known issue. Issue-Bug It either shouldn't be doing this or needs an investigation. zip-binary Depends on library files that aren't available via symlink

Comments

@ccll
Copy link

ccll commented Nov 22, 2024

Please confirm these before moving forward

  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue

Other

Brief description of your issue

This package can be installed successfully, but when I run odin.exe from the command prompt a message box pops up about missing LLVM-C.dll.

Image

Image

Manually add the Odin installation directory to PATH solves this problem.

Image

I fear this might be a more common problem for all packages with DLL dependencies, since winget just creates a symlink under %USERPROFILE%\AppData\Local\Microsoft\WinGet\Links for the main executable in the package, but seems not properly handle DLLs.

Steps to reproduce

  1. winget install odin-lang.odin to install the package
  2. Open a new command prompt
  3. Run the command odin

Actual behavior

A message box popped up complaining about missing LLVM-C.DLL.

Expected behavior

The command should run successfully, output a help message.

Environment

(Sorry I failed to make my winget output English).


D:\>winget --info
Windows 程序包管理器 v1.9.25200
版权所有 (C) Microsoft Corporation。保留所有权利。

Windows: Windows.Desktop v10.0.22631.4460
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.24.25200.0

Winget 目录
-------------------------------------------------------------------------------------------------------------------
日志                   %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
用户设置               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
可移植链接目录(用户)   %LOCALAPPDATA%\Microsoft\WinGet\Links
可移植链接目录(计算机) C:\Program Files\WinGet\Links
可移植包根目录(用户)   %LOCALAPPDATA%\Microsoft\WinGet\Packages
可移植包根目录         C:\Program Files\WinGet\Packages
可移植包根目录 (x86)   C:\Program Files (x86)\WinGet\Packages
安装程序下载           %USERPROFILE%\Downloads

链接
----------------------------------------------------------------------------
隐私声明             https://aka.ms/winget-privacy
许可协议             https://aka.ms/winget-license
第三方声明           https://aka.ms/winget-3rdPartyNotice
主页                 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale

管理员设置                                状态
------------------------------------------------
LocalManifestFiles                        已禁用
BypassCertificatePinningForMicrosoftStore 已禁用
InstallerHashOverride                     已禁用
LocalArchiveMalwareScanOverride           已禁用
ProxyCommandLineOptions                   已禁用
DefaultProxy                              已禁用

Screenshots and Logs

No response

@ccll ccll added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Nov 22, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 22, 2024
@ccll ccll changed the title [Package Issue]: odin-lang.odin fails with missing LLVM-C.DLL dependency [Package Issue]: odin-lang.odin run fails with missing LLVM-C.DLL dependency Nov 22, 2024
@Trenly
Copy link
Contributor

Trenly commented Nov 22, 2024

[Policy] Zip Binary

@Trenly
Copy link
Contributor

Trenly commented Nov 22, 2024

The manifest will need to be updated to 1.9 once the pipelines support it

@microsoft-github-policy-service microsoft-github-policy-service bot added zip-binary Depends on library files that aren't available via symlink Blocking-Issue Manifest validation is blocked by a known issue. and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocking-Issue Manifest validation is blocked by a known issue. Issue-Bug It either shouldn't be doing this or needs an investigation. zip-binary Depends on library files that aren't available via symlink
Projects
None yet
Development

No branches or pull requests

2 participants