haskell / haskell/cabal

Logs do not exist

Open
#2,990 4 comments 0 reactions 0 assignees View on GitHub
blocked: needs reproducer cabal-install: other
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

In #2909 and #2964 parallel Cabal attempts to print the build log to give users an idea what went wrong; however, something has gone wrong and the build log does not actually exist. Representative error:

```
$ cabal install cabal-install
Resolving dependencies...
Configuring cabal-install-1.22.6.0...
Failed to install cabal-install-1.22.6.0
Build log ( /Users/Lucas/.cabal/logs/cabal-install-1.22.6.0.log ):
cabal: /Users/Lucas/.cabal/logs/cabal-install-1.22.6.0.log: does not exist
```

It should be investigated why this is happening.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `cabal install cabal-install` failure shown in the issue and review the parallel log-printing attempts discussed in #2909 and #2964. Trace why the reported build-log path has no file, then verify that representative failed installs produce an available build log.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.