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).
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