Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444124 - dev-haskell/sha-1.6.0 does not build due to missing depencencies
Summary: dev-haskell/sha-1.6.0 does not build due to missing depencencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-21 06:10 UTC by Denis Lisov
Modified: 2012-11-21 21:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=dev-haskell/sha-1.6.0' (emerge--info.txt,16.22 KB, text/plain)
2012-11-21 06:10 UTC, Denis Lisov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Lisov 2012-11-21 06:10:09 UTC
Created attachment 330106 [details]
emerge --info '=dev-haskell/sha-1.6.0'

dev-haskell/sha does not upgrade from 1.5.0 to 1.6.0


 * Package:    dev-haskell/sha-1.6.0
 * Repository: gentoo
 * Maintainer: haskell@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking SHA-1.6.0.tar.gz to /var/tmp/portage/dev-haskell/sha-1.6.0/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/sha-1.6.0/work
>>> Preparing source in /var/tmp/portage/dev-haskell/sha-1.6.0/work/SHA-1.6.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/sha-1.6.0/work/SHA-1.6.0 ...
 * Using cabal-1.16.0.3.
 * Prepending /usr/lib64/ghc-7.4.2 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.16.0.3 --make /var/tmp/portage/dev-haskell/sha-1.6.0/work/SHA-1.6.0/Setup.hs -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/sha-1.6.0/work/SHA-1.6.0/Setup.hs, /var/tmp/portage/dev-haskell/sha-1.6.0/work/SHA-1.6.0/Setup.o )
Linking setup ...
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=sha-1.6.0/ghc-7.4.2 --datadir=/usr/share/ --datasubdir=sha-1.6.0/ghc-7.4.2 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/sha-1.6.0 --verbose
Configuring SHA-1.6.0...
setup: At least the following dependencies are missing:
test-framework >=0.3, test-framework-quickcheck2 >=0.2
 * ERROR: dev-haskell/sha-1.6.0 failed (configure phase):
 *   setup configure failed


Both dev-haskell/test-framework and dev-haskell/test-framework-quickcheck2 are not installed and not pulled in as dependencies
Comment 1 Sergei Trofimovich (RETIRED) gentoo-dev 2012-11-21 06:41:02 UTC
Aha, I've got similar email by eroen with the same problem.
Looks like it's a Cabal bug.

I'll workaround it today.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2012-11-21 21:24:07 UTC
Pushed as:

> 21 Nov 2012; Sergei Trofimovich <slyfox@gentoo.org>
> +files/sha-1.6.0-no-tests.patch, sha-1.6.0.ebuild:
> Fix .cabal depends for -f-test mode (bug #444124 by Dennis Lissov)

Thanks!