darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net. (https://hub.darcs.net)
#180unable to build from source on freebsd 11.2
I downloaded the latest version from the repo and tryed to build it with stack build
and i get this isusse https://hastebin.com/raw/uvijenemob
Thanks for the report. Can you paste the command you are using to build, and also the output of
which ghc
andghc --version
.the system ghc is version 8.4.3, but the version use by stack is 8.0.2. the command use to build is ´stack build´
Got it, thanks. I have just pushed a change which should fix it. https://hub.darcs.net/simon/darcsden/patch/e0c91ae2b1e68d010ee451076cc02b07821e1339
Thanks that fixes the issue, but
when trying to build with the ssh flag set (´stack build --flag darcsden:shh`) i get this error message
-- While building custom Setup.hs for package vector-th-unbox-0.2.1.6 using: /root/.stack/setup-exe-cache/x86_64-freebsd/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-freebsd/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 1 Logs have been written to: /root/darcsden/.stack-work/logs/vector-th-unbox-0.2.1.6.log Configuring vector-th-unbox-0.2.1.6... Building vector-th-unbox-0.2.1.6... Preprocessing library vector-th-unbox-0.2.1.6... ghc: fd:17: hGetContents: invalid argument (invalid byte sequence) /tmp/stack87986/vector-th-unbox-0.2.1.6/Data/Vector/Unboxed/Deriving.hs:18:21: error: warning: treating Unicode character <U+2212> as identifier character rather than as '-' symbol [-Wunicode-homoglyph] `clang' failed in phase `C pre-processor'. (Exit code: -13)
You might need to configure a locale, see http://hledger.org/manual.html#troubleshooting -> Illegal byte sequence for details.
- status set to closed