Bug 1445210

Summary: missing dependency on ghc-Cabal-devel
Product: [Fedora] Fedora Reporter: Matej <m>
Component: cabal-installAssignee: Jens Petersen <petersen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: haskell-devel, petersen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cabal-install-1.22.9.0-2.fc25 cabal-install-1.24.0.2-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-12 12:02:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matej 2017-04-25 09:13:56 UTC
Description of problem:

All cabal install commands fail without ghc-Cabal-devel package installed. For users not familiar with haskell it is hard to resolve the problem. Cabal is often used as installer without any further haskell development. 

The package ghc-Cabal-devel should be considerer as dependency.

How reproducible:

Steps to Reproduce:

$ cabal install array

Actual results:

Resolving dependencies...
Configuring array-0.5.1.1...
Failed to install array-0.5.1.1
Build log ( /home/kafka/.cabal/logs/array-0.5.1.1.log ):
cabal: Error: some packages failed to install:
array-0.5.1.1 failed during the configure step. The exception was:
user error (The package 'array' requires Cabal library version -any && >=1.10
but no suitable version is installed.)

Expected results:

Resolving dependencies...
Configuring array-0.5.1.1...
Building array-0.5.1.1...
Installed array-0.5.1.1

Additional info:

Comment 1 Jens Petersen 2017-04-26 07:15:23 UTC
Thanks for the report.

Fixing first in cabal-install-1.24.0.2-2.fc27

Comment 2 Fedora Update System 2017-04-26 09:04:08 UTC
cabal-install-1.24.0.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f14eab8e0f

Comment 3 Fedora Update System 2017-04-26 21:52:36 UTC
cabal-install-1.24.0.2-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f14eab8e0f

Comment 4 Fedora Update System 2017-04-27 06:48:57 UTC
cabal-install-1.22.9.0-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3d3510859a

Comment 5 Fedora Update System 2017-05-12 12:02:22 UTC
cabal-install-1.22.9.0-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-05-12 14:10:44 UTC
cabal-install-1.24.0.2-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Jens Petersen 2018-10-29 11:09:22 UTC
I believe with cabal-install 2.x, the Cabal library is no longer needed for most
packages at least those that do not have custom Setup.