ish-app / ish-app/ish

Binaries compiled for glibc fail with "not found"

Open
#355 15 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
20.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

When attempting to `make install` the GHC bindist, the install process fails saying that a file (`utils/ghc-cabal/dist-install/build/tmp/ghc-cabal`) is not found. The file definitely exists. It's quite a confusing one, as I don't see why it would happen.

You can reproduce as follows, assuming a fresh installation of iSH:

1. `apk add coreutils findutils binutils bash gcc sed tar curl`
2. `curl -sSL https://downloads.haskell.org/~ghc/8.6.4/ghc-8.6.4-i386-deb9-linux.tar.xz > ghc-8.6.4.tar.xz`
3. `tar -xvf ghc-8.6.4.tar.xz`
4. `cd ghc-8.6.4`
5. `./configure` (this will fail if you have `gawk` installed with an error about not being able to open a file `-` for writing)
6. `make install`

The only output in dmesg from a running `make install` alone is 51 (`dmesg | wc -l`) repetitions of `unknown ioctl 5413`.

I know that this isn't a lot to go on so far, so I'm mainly opening this PR in order to potentially get some pointers for how to investigate further.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.