haskell / haskell/binary

How to test?

オープン
#195 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Haskell
スター
120
フォーク
70
PR マージ指標
30日以内にマージされた PR はありません

説明

Are the build instructions in the README.md outdated? Using GHC-9.2.3 & cabal-install-3.6.2.0, I got package conflict errors at the `cabal configure --enable-tests --enable-benchmarks` on the git tag 0.8.9.0. The master branch yielded similar results. How can I test binary properly? `cabal build` works fine.
```
$ cabal configure --enable-tests --enable-benchmarks
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: binary-0.8.9.0 (user goal)
[__1] rejecting: binary:!bench (constraint from config file, command line
flag, or user target requires opposite flag selection)
[__1] trying: binary:*bench
[__2] trying: unordered-containers-0.2.19.1 (dependency of binary *bench)
[__3] trying: template-haskell-2.18.0.0/installed-2.18.0.0 (dependency of
unordered-containers)
[__4] trying: pretty-1.1.3.6/installed-1.1.3.6 (dependency of
template-haskell)
[__5] trying: hashable-1.4.0.2 (dependency of unordered-containers)
[__6] next goal: text (dependency of hashable)
[__6] rejecting: text-1.2.5.0/installed-1.2.5.0 (package is broken, missing
dependency binary-0.8.9.0)
[__6] rejecting: text-2.0, text-1.2.5.0 (cyclic dependencies; conflict set:
binary, hashable, text, unordered-containers)
[__6] rejecting: text-1.2.4.1 (conflict: template-haskell =>
base==4.16.2.0/installed-4.16.2.0, text => base>=4.3 && <4.16)
[__6] rejecting: text-1.2.4.0 (conflict: template-haskell =>
ghc-prim==0.8.0/installed-0.8.0, text => ghc-prim>=0.2 && <0.6)
[__6] rejecting: text-1.2.3.2 (conflict: template-haskell =>
base==4.16.2.0/installed-4.16.2.0, text => base>=4.14 && <4.15)
[__6] rejecting: text-1.2.3.1, text-1.2.3.0 (conflict: template-haskell =>
base==4.16.2.0/installed-4.16.2.0, text => base>=4.2 && <4.13)
[__6] rejecting: text-1.2.2.2 (conflict: hashable => text>=1.2.3.0 && <1.3 ||
>=2.0 && <2.1)
[__6] skipping: text-1.2.2.1, text-1.2.2.0, text-1.2.1.3, text-1.2.1.2,
text-1.2.1.1, text-1.2.1.0, text-1.2.0.6, text-1.2.0.5, text-1.2.0.4,
text-1.2.0.3, text-1.2.0.2, text-1.2.0.0, text-1.1.1.4, text-1.1.1.3,
text-1.1.1.2, text-1.1.1.1, text-1.1.1.0, text-1.1.0.1, text-1.1.0.0,
text-1.0.0.1, text-1.0.0.0, text-0.11.3.1, text-0.11.3.0, text-0.11.2.3,
text-0.11.2.2, text-0.11.2.1, text-0.11.2.0, text-0.11.1.13, text-0.11.1.12,
text-0.11.1.11, text-0.11.1.10, text-0.11.1.9, text-0.11.1.8, text-0.11.1.7,
text-0.11.1.6, text-0.11.1.5, text-0.11.1.3, text-0.11.1.2, text-0.11.1.1,
text-0.11.1.0, text-0.11.0.8, text-0.11.0.7, text-0.11.0.6, text-0.11.0.5,
text-0.11.0.4, text-0.11.0.3, text-0.11.0.2, text-0.11.0.1, text-0.11.0.0,
text-0.10.0.2, text-0.10.0.1, text-0.10.0.0, text-0.9.1.0, text-0.9.0.1,
text-0.9.0.0, text-0.8.1.0, text-0.8.0.0, text-0.7.2.1, text-0.7.1.0,
text-0.7.0.1, text-0.7, text-0.6, text-0.5, text-0.4, text-0.3, text-0.2,
text-0.1 (has the same characteristics that caused the previous version to
fail: excluded by constraint '>=1.2.3.0 && <1.3 || >=2.0 && <2.1' from
'hashable')
[__6] fail (backjumping, conflict set: binary, hashable, template-haskell,
text, unordered-containers)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: template-haskell, text, pretty,
generic-deriving, hashable, base, binary, unordered-containers, binary:bench
Try running with --minimize-conflict-set to improve the error message.
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

README.md から始め、そこに記載されているビルドおよびテストコマンドを、報告されている GHC-9.2.3 と cabal-install-3.6.2.0 の挙動、特に `cabal configure --enable-tests --enable-benchmarks` と比較します。サポート対象のツールバージョンで文書化されたテスト手順が動作するか、必要なバージョンと制限事項が明確に記載されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
haskell
領域
build-system, documentation, testing-qa
issue の種類
ドキュメント
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。