Skip to content

./validate --build-only failing on Mac OS Catalina

Summary

./validate --build-only

Failing with error:

error: non-portable path to file '"_validatebuild/stage1/utils/haddock/build/Haddock/autogen/cabal_macros.h"'; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
#include "_validatebuild/stage1/utils/haddock/build/haddock/autogen/cabal_macros.h"

More details: debug.tar.xz

Steps to reproduce

Follow the HACKING.md guide to set up for GHC hacking, Build using ./validate --build-only

Expected behavior

To build successfully.

Environment

  • GHC version used: 8.6.5

Optional:

  • Cabal: cabal-install version 3.0.0.0
  • Operating System: Mac OS Catalina 10.15.1 (19.0.0 Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64)
  • System Architecture: x86_64
Edited by Stefan Pavikevik
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information