conda-forge / conda-forge/llvmdev-feedstock

Invalid package cache - file '...\bugpoint.exe' is missing on win-64

Open
#158 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
12
Forks
54
Avg merge
4h 15m
Merged PRs (30d)
3

Description

### Solution to issue cannot be found in the documentation.

- [X] I checked the documentation.

### Issue

My project apparently won't build on Windows without llvm-rc installed, so I have arrived at this package for that reason.

To reproduce:
```
PS C:\Users\User> micromamba create -n Bug -c conda-forge

__
__ ______ ___ ____ _____ ___ / /_ ____ _
/ / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
/ /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
/ .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
/_/

Empty environment created at prefix: C:\Users\User\MicromambaRoot\envs\Bug
PS C:\Users\User> micromamba activate Bug
(Bug) PS C:\Users\User> micromamba install -c conda-forge llvm-tools
__
__ ______ ___ ____ _____ ___ / /_ ____ _
/ / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
/ /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
/ .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
/_/

conda-forge/win-64 Using cache
conda-forge/noarch Using cache

Transaction

Prefix: C:\Users\User\MicromambaRoot\envs\Bug

Updating specs:

- llvm-tools

warning libmamba Invalid package cache, file 'C:\Users\User\MicromambaRoot\pkgs\llvm-tools-14.0.3-hf00eed6_0\Library\bin\bugpoint.exe' is missing
Package Version Build Channel Size
--------------------------------------------------------------------------------
Install:
--------------------------------------------------------------------------------

+ libiconv 1.16 he774522_0 conda-forge/win-64 Cached
+ libllvm14 14.0.3 h97333cc_0 conda-forge/win-64 Cached
+ libxml2 2.9.14 hf5bbc77_0 conda-forge/win-64 Cached
+ libzlib 1.2.11 h8ffe710_1014 conda-forge/win-64 Cached
+ llvm-tools 14.0.3 hf00eed6_0 conda-forge/win-64 Cached
+ ucrt 10.0.20348.0 h57928b3_0 conda-forge/win-64 Cached
+ vc 14.2 hb210afc_6 conda-forge/win-64 Cached
+ vs2015_runtime 14.29.30037 h902a5da_6 conda-forge/win-64 Cached
+ zlib 1.2.11 h8ffe710_1014 conda-forge/win-64 Cached

Summary:

Install: 9 packages

Total download: 0 B

--------------------------------------------------------------------------------

Confirm changes: [Y/n] y

Transaction starting
[+] 0.5s
Extracting (1) ---------------------------------------------------------------------------------------------------------------------------------- 0 / 1 llvm-tools 0.5sLinking ucrt-10.0.20348.0-h57928b3_0
Linking vs2015_runtime-14.29.30037-h902a5da_6
Linking vc-14.2-hb210afc_6
Linking libzlib-1.2.11-h8ffe710_1014
Linking libiconv-1.16-he774522_0
Linking zlib-1.2.11-h8ffe710_1014
Linking libllvm14-14.0.3-h97333cc_0
Linking libxml2-2.9.14-hf5bbc77_0
Linking llvm-tools-14.0.3-hf00eed6_0
warning libmamba Invalid package cache, file 'C:\Users\User\MicromambaRoot\pkgs\llvm-tools-14.0.3-hf00eed6_0\Library\bin\bugpoint.exe' is missing
error libmamba Cannot find a valid extracted directory cache for 'llvm-tools-14.0.3-hf00eed6_0.tar.bz2'
critical libmamba Package cache error.
(Bug) PS C:\Users\User>
```
Affected versions are at least: 14.0.0 hf00eed6_0 to 14.0.0 hf00eed6_0 ; 13.0.1 ha327e53_2

### Installed packages

```shell
None extra required to reproduce
```

### Environment info

```shell
(Bug) PS C:\Users\User> micromamba info


__ __ __ / / __
/ / / / ` / `/ __ \/ __ \/ __ /
/ // / / / / / / // / / / / / / // / // /
/ .__// // //_,// // //.__/_,/
/_/

environment : Bug (active)
env location : C:\Users\User\MicromambaRoot\envs\Bug
user config files : C:\Users\User.mambarc
populated config files :
libmamba version : 0.23.1
micromamba version : 0.23.2
curl version : libcurl/7.83.0-DEV Schannel zlib/1.2.12
libarchive version : libarchive 3.5.2 zlib/1.2.12 liblzma/5.2.5 bz2lib/1.0.8 liblz4/1.9.3 libzstd/1.5.2
virtual packages : win=0=0
archspec=1=x86_64
channels :
base environment : C:\Users\User\MicromambaRoot
platform : win-64
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the documented PowerShell commands, especially installing llvm-tools on win-64 and observing the missing bugpoint.exe cache entry. Trace the package-cache handling around the invalid extracted directory reported by micromamba. Done means the affected llvm-tools package installs successfully without the cache warning or package-cache error.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.