indygreg / indygreg/PyOxidizer

LINK : fatal error LNK1181: cannot open input file - exit code: 1181

Open
#275 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Rust
Stars
6.2k
Forks
256
PR merge metrics
No merged PRs in 30d

Description

```
C:\>gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0

C:\>rustc --version
rustc 1.45.0 (5c1f21c3b 2020-07-13)
```
I just cannot seem to get pyoxidizer to install on my computer,
`C:\>cargo install pyoxidizer`

repeatedly fails before its nearly done
```
LINK : fatal error LNK1181: cannot open input file 'C:\Users\mang\AppData\Local\Temp\cargo-installSR4Cka\release\build\bzip2-sys-7d12f373da990105\out\lib\bzip2-1.0.8/blocksort.o
exit code: 1181

--- stderr

error occurred: Command "C:\\Users\\mang\\AppData\\Local\\Temp\\cargo-installSR4Cka\\release\\build\\bzip2-sys-7d12f373da990105\\out\\lib\\bzip2-1.0.8/bzlib.o" with args "lib.exe" did not execute successfully (status code exit code: 1181).

warning: build failed, waiting for other jobs to finish...
error: failed to compile `pyoxidizer v0.7.0`

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `cargo install pyoxidizer` on Windows with the reported GCC and Rust versions. Inspect the `bzip2-sys` build output around the missing `blocksort.o` and `bzlib.o` files; done means the installation completes without the LNK1181 failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.