Steps to reproduce
For example:
- Install stack with
yay -S stack-static
.
- Run command
stack new sample
.
- Run command
cd sample
.
- Run command
stack build
.
Expected
The demo builds without errors.
Actual
The build failed with this output filled with -fPIC
errors.
Stack version
$ stack --version
Version 1.9.3, Git revision 40cf7b37526b86d1676da82167ea8758a854953b (6211 commits) x86_64 hpack-0.31.1
Method of installation
I used the stack-static
AUR Package, which does nothing more than copying the official binary into an Arch Linux package, as seen in it's PKGBUILD
.