### Please describe the problem.

git-annex won't compile on FreeBSD 12.0.

### What steps will reproduce the problem?

[[!format txt """
git clone git://git-annex.branchable.com/ /tmp/git-annex
cd /tmp/git-annex
stack setup
stack install
"""]]

### What version of git-annex are you using? On what operating system?

git-annex HEAD, on FreeBSD 12.0. stack Version 1.7.1 x86_64.  The Glorious Glasgow Haskell Compilation System, version 8.4.3.

### Please provide any additional information below.

[[!format txt """
clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
stack will use a sandboxed GHC it installed
For more information on paths, see 'stack path' and 'stack exec env'
To use this GHC and packages outside of a project, consider using:
stack ghc, stack ghci, stack runghc, or stack exec
IfElse-0.85: configure
SafeSemaphore-0.10.1: configure
StateVar-1.1.1.1: configure
alex-3.2.4: configure

--  While building custom Setup.hs for package alex-3.2.4 using:
      /root/.stack/setup-exe-cache/x86_64-freebsd/Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4 --builddir=.stack-work/dist/x86_64-freebsd/Cabal-2.2.0.1 configure --with-ghc=/root/.stack/programs/x86_64-freebsd/ghc-8.4.4/bin/ghc --with-ghc-pkg=/root/.stack/programs/x86_64-freebsd/ghc-8.4.4/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/pkgdb --libdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/lib --bindir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/bin --datadir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/share --libexecdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/libexec --sysconfdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/etc --docdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/alex-3.2.4 --htmldir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/alex-3.2.4 --haddockdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/alex-3.2.4 --dependency=array=array-0.5.2.0 --dependency=base=base-4.11.1.0 --dependency=containers=containers-0.5.11.0 --dependency=directory=directory-1.3.1.5
    Process exited with code: ExitFailure 1
    Logs have been written to: /tmp/git-annex/.stack-work/logs/alex-3.2.4.log

    Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: No cabal file found.
    Please create a package description file <pkgname>.cabal


--  While building custom Setup.hs for package StateVar-1.1.1.1 using:
      /root/.stack/setup-exe-cache/x86_64-freebsd/Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4 --builddir=.stack-work/dist/x86_64-freebsd/Cabal-2.2.0.1 configure --with-ghc=/root/.stack/programs/x86_64-freebsd/ghc-8.4.4/bin/ghc --with-ghc-pkg=/root/.stack/programs/x86_64-freebsd/ghc-8.4.4/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/pkgdb --libdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/lib --bindir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/bin --datadir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/share --libexecdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/libexec --sysconfdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/etc --docdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/StateVar-1.1.1.1 --htmldir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/StateVar-1.1.1.1 --haddockdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/StateVar-1.1.1.1 --dependency=base=base-4.11.1.0 --dependency=stm=stm-2.4.5.1 --dependency=transformers=transformers-0.5.5.0
    Process exited with code: ExitFailure 1
    Logs have been written to: /tmp/git-annex/.stack-work/logs/StateVar-1.1.1.1.log

    Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: No cabal file found.
    Please create a package description file <pkgname>.cabal


--  While building custom Setup.hs for package SafeSemaphore-0.10.1 using:
      /root/.stack/setup-exe-cache/x86_64-freebsd/Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4 --builddir=.stack-work/dist/x86_64-freebsd/Cabal-2.2.0.1 configure --with-ghc=/root/.stack/programs/x86_64-freebsd/ghc-8.4.4/bin/ghc --with-ghc-pkg=/root/.stack/programs/x86_64-freebsd/ghc-8.4.4/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/pkgdb --libdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/lib --bindir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/bin --datadir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/share --libexecdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/libexec --sysconfdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/etc --docdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/SafeSemaphore-0.10.1 --htmldir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/SafeSemaphore-0.10.1 --haddockdir=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/doc/SafeSemaphore-0.10.1 --dependency=base=base-4.11.1.0 --dependency=containers=containers-0.5.11.0 --dependency=stm=stm-2.4.5.1
    Process exited with code: ExitFailure 1
    Logs have been written to: /tmp/git-annex/.stack-work/logs/SafeSemaphore-0.10.1.log

    Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: No cabal file found.
    Please create a package description file <pkgname>.cabal


--  While building custom Setup.hs for package IfElse-0.85 using:
      /root/.stack/setup-exe-cache/x86_64-freebsd/Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4 --builddir=.stack-work/dist/x86_64-freebsd/Cabal-2.2.0.1 configure --with-ghc=/root/.stack/programs/x86_64-freebsd/ghc-8.4.4/bin/ghc --with-ghc-pkg=/root/.stack/programs/x86_64-freebsd/ghc-8.4.4/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/root/.stack/snapshots/x86_64-freebsd/lts-12.19/8.4.4/pkgdb --package-db=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/pkgdb --libdir=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/lib --bindir=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/bin --datadir=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/share --libexecdir=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/libexec --sysconfdir=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/etc --docdir=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/doc/IfElse-0.85 --htmldir=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/doc/IfElse-0.85 --haddockdir=/tmp/git-annex/.stack-work/install/x86_64-freebsd/lts-12.19/8.4.4/doc/IfElse-0.85 --dependency=base=base-4.11.1.0 --dependency=mtl=mtl-2.2.2
    Process exited with code: ExitFailure 1
    Logs have been written to: /tmp/git-annex/.stack-work/logs/IfElse-0.85.log

    Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: No cabal file found.
    Please create a package description file <pkgname>.cabal
"""]]

### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)

Yes!  git-annex has been _very_ helpful for my personal website (see <https://duncan.bayne.id.au/blog/images-fixed.html>), and was working like a charm on FreeBSD 11.2.

> [[done]], not a bug in git-annex. --[[Joey]]
