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

GHC/Stack build failures on i686 #32221

Closed
ahesford opened this issue Jul 27, 2021 · 3 comments · Fixed by #32228
Closed

GHC/Stack build failures on i686 #32221

ahesford opened this issue Jul 27, 2021 · 3 comments · Fixed by #32228
Labels
bug Something isn't working

Comments

@ahesford
Copy link
Member

First noticed building darcs:
https://build.voidlinux.org/builders/i686_builder/builds/33610/steps/shell_3/logs/stdio

Marking that broken to clear the log jam, it also tripped up on debug-me:
https://build.voidlinux.org/builders/i686_builder/builds/33611/steps/shell_3/logs/stdio

This seems like a widespread problem.

cc: @slotThe

ericonr added a commit that referenced this issue Jul 28, 2021
This commit is only to unlock builders.

Builds error out with:

=> debug-me-1.20200820_2: running do_build ...
=> Using stack config in stack.yaml.
Cabal file info not found for posix-pty-0.2.1.1, updating
Selected mirror https://hackage.haskell.org/
Downloading root
Waiting to acquire cache lock on /builddir/debug-me-1.20200820/.stack/pantry/hackage/hackage-security-lock
fdLock: invalid argument (Invalid argument)

Tracked in: #32221
@ericonr
Copy link
Member

ericonr commented Jul 28, 2021

9126120 and 2a36c42 will have to be reverted once this is fixed.

@ericonr ericonr added the bug Something isn't working label Jul 28, 2021
@ericonr
Copy link
Member

ericonr commented Jul 28, 2021

02:43 <Solid> ahesford, q66: well that's not good...
02:46 <Solid> apparently this is an issue with lukko and one has to compile cabal with `-ofd-locking`
02:47 <Solid> meaning we'd probably need to re-build cabal and patch in the respective json template ( https://github.com/haskell/cabal/blob/master/bootstrap/linux-8.10.4.json#L183 ) (they now also have a template for 8.10.4, so we can get rid of the patch for 8.10.1 and just use that)
02:48 <Solid> ghcup already seems to distributive this alternative bindist ( https://gitlab.haskell.org/haskell/ghcup-hs/-/commit/7e0f839ff8f91cb7cfc78eaa57782bc1af30dc4b ) and it seems to work
02:48 <Solid> (I'm writing this here because I'm really swamped with work for the next few weeks and so I don't think I'll have the time to actually build and test this; sorry!)

leahneukirchen added a commit to leahneukirchen/void-packages that referenced this issue Jul 28, 2021
leahneukirchen added a commit to leahneukirchen/void-packages that referenced this issue Jul 28, 2021
leahneukirchen added a commit that referenced this issue Jul 28, 2021
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

Successfully merging a pull request may close this issue.

3 participants