Parse error when building module on FreeBSD
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- haskell
- Domain
- build-system, operating-systems
Research direction
Reproduce the build on FreeBSD 11.1 using stack, then inspect src/Data/Thyme/Calendar/MonthDay.hs at line 17 and the surrounding source. Compare the reported parse error with the project’s build configuration and confirm the fix by rebuilding thyme successfully.
Written by the indexing model from the issue text.
Description
When building thyme on FreeBSD using stack, I get the following error:
Configuring thyme-0.3.5.5...
Building thyme-0.3.5.5...
Preprocessing library thyme-0.3.5.5...
[ 1 of 20] Compiling Data.Thyme.Format.Internal ( src/Data/Thyme/Format/Internal.hs, .stack-work/dist/x86_64-freebsd/Cabal-1.24.2.0/build/Data/Thyme/Format/Internal.o )
[ 2 of 20] Compiling Data.Thyme.Internal.Micro ( src/Data/Thyme/Internal/Micro.hs, .stack-work/dist/x86_64-freebsd/Cabal-1.24.2.0/build/Data/Thyme/Internal/Micro.o )
[ 3 of 20] Compiling Control.Lens ( lens/Control/Lens.hs, .stack-work/dist/x86_64-freebsd/Cabal-1.24.2.0/build/Control/Lens.o )
[ 4 of 20] Compiling Data.Thyme.Calendar.Internal ( src/Data/Thyme/Calendar/Internal.hs, .stack-work/dist/x86_64-freebsd/Cabal-1.24.2.0/build/Data/Thyme/Calendar/Internal.o )
src/Data/Thyme/Calendar/Internal.hs:21:1: warning: [-Wunused-imports]
The import of `Control.Applicative' is redundant
except perhaps to import instances from `Control.Applicative'
To import instances alone, use: import Control.Applicative()
[ 5 of 20] Compiling Data.Thyme.Calendar.MonthDay ( src/Data/Thyme/Calendar/MonthDay.hs, .stack-work/dist/x86_64-freebsd/Cabal-1.24.2.0/build/Data/Thyme/Calendar/MonthDay.o )
src/Data/Thyme/Calendar/MonthDay.hs:17:12: error:
parse error on input `_'
Platform details:
FreeBSD 11.1-RELEASE amd64 GENERIC
- Dominant language
- Haskell
- Stars
- 47
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from haskell-github-trust/thyme
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
haskell-github-trust/thyme#82 · 1 comment ·
-
Dependency Dashboard Open
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
All issues in haskell-github-trust/thyme
Similar issues
-
time-manager-0.4.0 Openfailure: bounds
Difficulty 1/5 Under an hour Newbie friendliness 72/100
commercialhaskell/stackage#8122 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
simplex-chat/simplex-chat#7547 ·
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 90/100
alunduil/alunduil-chezmoi#775 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
objectionary/phino#1350 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100