I was moving my -X language extensions (ie -XTupleSections) from the
library section of package.yaml to the extensions section as suggested in
the compile messages. Finally figured out that the it is really called the
default-extensions section. Once I got that all straighten out, I now get
the following on all my projects, including a new stack project with zero
code changes (ie stack new junk; cd junk; stack build).
Any ideas on how to clean this up without reinstalling everything?
Linking
.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/build/junk-exe/junk-exe
...
junk> copy/register
Installing library in
/home/steve/src/haskell/junk/.stack-work/install/x86_64-linux-tinfo6/95e6484feca8fe6bbbcd540e791e4c40d0c5494a26647a7c5bcaa21d90d24eb8/8.6.5/lib/x86_64-linux-ghc-8.6.5/junk-0.1.0.0-794nNikifWA7WHaqgf0yKf
/usr/bin/strip:/home/steve/src/haskell/junk/.stack-work/install/x86_64-linux-tinfo6/95e6484feca8fe6bbbcd540e791e4c40d0c5494a26647a7c5bcaa21d90d24eb8/8.6.5/lib/x86_64-linux-ghc-8.6.5/libHSjunk-0.1.0.0-794nNikifWA7WHaqgf0yKf-ghc8.6.5.so[.gnu.build.attributes]:
corrupt GNU build attribute note: wrong note type: bad value
'cabal copy' failed. Error message:
-- While building package junk-0.1.0.0 using:
/home/steve/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5
--builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1 copy
Process exited with code: ExitFailure 1
--
You received this message because you are subscribed to the Google Groups
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/haskell-stack/eb84ee11-f99a-4ed6-b515-151795b63d8c%40googlegroups.com.