Giter VIP home page Giter VIP logo

gentoo-haskell's Introduction

Gentoo Haskell project

pkgcheck-badge

IRC

Find us in #gentoo-haskell on libera.chat!

Quickest start

First, let's enable the Gentoo Haskell overlay. We can either use the eselect-repository method:

# Install eselect-repository if you don't already have it
emerge app-eselect/eselect-repository
# Fetch and output the list of overlays
eselect repository list
eselect repository enable haskell

or we can use the layman method:

# Add important USE flags for layman to your package.use directory:
echo "app-portage/layman sync-plugin-portage git" >> /etc/portage/package.use/layman
# Install layman if you don't already have it
emerge app-portage/layman
# Rebuild layman's repos.conf file:
layman-updater -R
# Add the Gentoo Haskell overlay:
layman -a haskell

Finally, we need to unmask the overlay (this does not apply if your system is already running on the ~testing branch):: # Unmask ~testing versions for your arch: echo "/::haskell" >> /etc/portage/package.accept_keywords

And here is the trick to speed up metadata resolution a bit. If you happen to use eix-sync for rsyncs you might like the following /etc/eix-sync.conf:

*
@egencache --jobs="$(($(nproc) + 1))" --repo=haskell --update --update-use-local-desc

It basically means:

  • sync overlays in layman list before the main tree sync
  • generate metadata for haskell repo after main tree sync is done, using N+1 cores

Overlay Priority

Gentoo has a mechanism to define which ebuild is selected in the event a package has the same version number in two different repositories. This is detailed in the Gentoo wiki: https://wiki.gentoo.org/wiki//etc/portage/repos.conf The ebuild in the repository with the highest priority will be selected.

When using the haskell overlay, ebuilds in this overlay should take precedence over the ebuilds in the main Gentoo repository, so you need to set the priorities accordingly.

Check the current priority in /etc/portage/repos.conf/gentoo.conf:

priority = -1000

Note: -1000 is the default value, but you may have changed it previously

In the haskell section of /etc/portage/repos.conf/layman.conf confirm the priority :

[haskell]
priority = 50
location = /var/lib/layman/haskell
layman-type = git
sync-type = laymansync
sync-uri = https://github.com/gentoo-haskell/gentoo-haskell.git
auto-sync = Yes

The value in the haskell section needs to be higher than in the gentoo.conf file - if it isn't, then modify one or both so it is.

Developer's corner

Have a nice haskell-related ebuild to share with community? Look at our Developer's README!

Loner's corner

Alternatively if you really don't want to share any ebuilds (want to keep outdated package versions, highly experimental things, publicly unavailable stuff, other reasons) that's also fine.

You can keep such ebuilds in your local overlay.

Here is a complete example of creating minimal overlay with a single haskell ebuild from hackage:

# create overlay and populate it (gentoo-generic):
$ mkdir my-ovl
$ cd    my-ovl
$ mkdir metadata
$ echo 'masters = gentoo' > metadata/layout.conf
# register an overlay in /etc/portage/repos.conf:
$ echo '[my-ovl]' >> /etc/portage/repos.conf
$ echo "location = $(pwd)" >> /etc/portage/repos.conf

# haskell-specific stuff
$ hackport -p . update
# DONE!

# adding an example ebuild
$ hackport merge hichi
$ emerge -av1 hichi

gentoo-haskell's People

Contributors

0xr0bert avatar amano-kenji avatar atlaua avatar azahi avatar cnd avatar dmalikov avatar dzhus avatar ezzieyguywuf avatar gentoo-repo-qa-bot avatar hololeap avatar joachifm avatar karky7 avatar kleinreact avatar kolmodin avatar l29ah avatar limansky avatar linuxuser404 avatar markwright avatar miezhiko avatar notogawa avatar orlitzky avatar paul-jewell avatar pbarill avatar qnikst avatar renegat96 avatar solpeth avatar trofi avatar uroc327 avatar vikraman avatar vimproved avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gentoo-haskell's Issues

ghc-mtl-1.0.1.2 doesn't build with mtl-2.1.2

ghc-mtl currently does not build with mtl-2.1.2 which is currently marked as stable for amd64 in Gentoo itself. See log below, seems like an issue in the package itself (Update the ebuild to a newer version?), not in the ebuild

box ~ # emerge ghc-mtl 

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-haskell/ghc-mtl-1.0.1.2 from gentoo-haskell
 * ghc-mtl-1.0.1.2.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking ghc-mtl-1.0.1.2.tar.gz to /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.2/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.2/work
>>> Preparing source in /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.2/work/ghc-mtl-1.0.1.2 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.2/work/ghc-mtl-1.0.1.2 ...
 * Using cabal-1.16.0.3.
 * Prepending /usr/lib64/ghc-7.4.1 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.16.0.3 --make /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.2/work/ghc-mtl-1.0.1.2/Setup.lhs -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.2/work/ghc-mtl-1.0.1.2/Setup.lhs, /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.2/work/ghc-mtl-1.0.1.2/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=ghc-mtl-1.0.1.2/ghc-7.4.1 --datadir=/usr/share/ --datas
ubdir=ghc-mtl-1.0.1.2/ghc-7.4.1 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/ghc-mtl-1.0.1.2 --verbose
Configuring ghc-mtl-1.0.1.2...
Dependency MonadCatchIO-mtl >=0.2.0.0: using MonadCatchIO-mtl-0.3.0.5
Dependency base >=4 && <=5: using base-4.5.0.0
Dependency ghc >=6.10: using ghc-7.4.1
Dependency mtl -any: using mtl-2.1.2
setup: The following installed packages are broken because other packages they
depend on are missing. These broken packages must be rebuilt before they can
be used.
package MonadCatchIO-mtl-0.3.0.5 is broken due to missing package
mtl-2.1.1-801101765c9185fec3b8dbd5355f5550
 * ERROR: dev-haskell/ghc-mtl-1.0.1.2 failed (configure phase):

optparse-applicative API 0.7 changes break some packages

The changes made between v0.5.2.1 and v0.7.0.2 (current version in repo at time of writing) break some packages that don't set an upper bound on the version of optparse-applicative that they require.

The packages I've found broken after doing a equery d -a and emerge were:

  • dev-haskell/fay
  • dev-haskell/yesod-bin

Building cabal-dev-0.9.1-r3 with ghc-7.4.2 fails.

It seems that one patch file is missing. The output of emerge is following:

 * Messages for package dev-haskell/cabal-dev-0.9.1-r3:

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /var/lib/layman/haskell/dev-haskell/cabal-dev/files/cabal-dev-0.9.1-ghc76.patch
 *   ( cabal-dev-0.9.1-ghc76.patch )
 * ERROR: dev-haskell/cabal-dev-0.9.1-r3 failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 2676:  Called epatch '/var/lib/layman/haskell/dev-haskell/cabal-dev/files/cabal-dev-0.9.1-ghc76.patch'
 *   environment, line 1100:  Called die
 * The specific snippet of code:
 *                   die "Cannot find \$EPATCH_SOURCE!";
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/cabal-dev-0.9.1-r3'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/cabal-dev-0.9.1-r3'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/haskell/eclass/haskell-cabal.eclass
 *   /var/lib/layman/haskell/eclass/ghc-package.eclass
 * This ebuild is from an overlay named 'gentoo-haskell': '/var/lib/layman/haskell/'
 * The complete build log is located at '/var/tmp/portage/dev-haskell/cabal-dev-0.9.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/cabal-dev-0.9.1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/cabal-dev-0.9.1-r3/work/cabal-dev-0.9.1'
 * S: '/var/tmp/portage/dev-haskell/cabal-dev-0.9.1-r3/work/cabal-dev-0.9.1'

Several packages in gentoo-haskell marked as force_install even after actual reinstalling...

As the title. Plus, on my machine, dev-haskell/libmpd is pulled in by x11-misc/xmonad-extras.

% emerge -v1 dev-haskell/network dev-haskell/http app-text/pandoc
... (output neglected)
% emerge -pvuDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  rR    ] dev-haskell/network-2.3.1.0::gentoo-haskell  USE="-doc -hoogle -hscolour -profile {-test}" 0 kB
[ebuild  rR    ] dev-haskell/http-4000.2.6:0/4000.2.6::gentoo-haskell  USE="-doc -hoogle -hscolour -profile" 0 kB
[ebuild  rR    ] app-text/pandoc-1.9.4.5:0/1.9.4.5::gentoo-haskell  USE="-doc -hoogle -hscolour -profile {-test}" 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB

WARNING: One or more updates have been skipped due to a dependency conflict:

dev-haskell/network:0

  (dev-haskell/network-2.4.0.1::gentoo-haskell, ebuild scheduled for merge) conflicts with
    <dev-haskell/network-2.4 required by (dev-haskell/libmpd-0.7.2-r1::gentoo-haskell, installed)

xmonad-0.9 and xmonad-contrib-0.9 build failures

Hi. x11-wm/xmonad-0.9 from gentoo-haskell fails with:

[7 of 8] Compiling XMonad.Main ( dist/build/XMonad/Main.hs, dist/build/XMonad/Main.o )

XMonad/Main.hsc:332:21:
Couldn't match expected type base:GHC.Word.Word8' against inferred typeChar'
Expected type: KeyCode
Inferred type: Char
In the second argument of (/=)', namely '\NUL' In the first argument ofwhen', namely `(kc /= '\NUL')'

x11-wm/xmonad-contrib-0.9 fails with:

package xmonad-0.9 is broken due to missing package
X11-1.4.6.1-24800b265e1b73179c59a0362289abfc

I'd post more but the GitHub formatter does really weird things to the text.

emerge breaks haskell packages due to missing passthru subslot style depends

In my experience the process for using the gentoo haskell overlay is:

emerge dev-haskell/foo

wait for setup to fail, revealing the packages that foo depends on that need to be installed, and repeat until finally you've managed to install all the (transitive) dependencies.

Aren't package managers supposed to obviate that stuff?

BSD2 & BSD3 located at 'None'.

Packages graphalyze, th-lift and gf feature BSD2 and BSD3 licenses, which don't seem to be valid.

``!!! All ebuilds that could satisfy "gf" have been masked.
!!! One of the following masked packages is required to complete your request:

  • dev-haskell/gf-3.3::gentoo-haskell (masked by: BSD3 license(s))
    A copy of the 'BSD3' license is located at 'None'.``

x11-misc/taffybar dev-haskell/c2hs-0.16.2 change deps

taffybar does't compile under ghc 6.12.3, complains about haskell 2010 support, changing ghc version to 7.0.4 solves it

dev-haskell/c2hs-0.16.2 requieres >=dev-haskell/language-c-0.3.1.1 and thelast does't build under ghc 7.0.4, changing to language-c-0.3.2.1 solves it.

sorry my bad english

small parsing issue with pretty-show-1.6.1

diff --git a/dev-haskell/pretty-show/pretty-show-1.6.1.ebuild b/dev-haskell/pretty-show/pretty-show-1.6.1.ebuild
index c931170..c8caa57 100644
--- a/dev-haskell/pretty-show/pretty-show-1.6.1.ebuild
+++ b/dev-haskell/pretty-show/pretty-show-1.6.1.ebuild
@@ -9,7 +9,7 @@ EAPI=5
 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
 inherit haskell-cabal

-DESCRIPTION="Tools for working with derived `Show` instances and generic
+DESCRIPTION="Tools for working with derived \`Show\` instances and generic
 inspection of values."
 HOMEPAGE="http://wiki.github.com/yav/pretty-show"
 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

circular dependency: cabal & deepseq

I just tried fresh install cabal-install package and found a problem of circular dependency.

My emerge output can be found here

Seems cabal-1.18.1.1 required dev-haskell/deepseq-1.3.0.1, which required dev-haskell/cabal-1.18.1.1 in turn and the dependency ended up in a circle.

I have a workaround to emerge an earilier version of cabal-install dev-haskell/cabal-install-1.16.0.2 and then update to get the latest version.

=dev-haskell/haskell-src-exts-1.13.5 fails to build on =dev-lang/ghc-7.6.1

Build log here; emerge --info '=dev-haskell/haskell-src-exts-1.13.5' output here.

The actual build failure:

./setup build
setup: internal error: evacuate: strange closure type 2101388
    (GHC version 7.6.1 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
/var/tmp/portage/dev-haskell/haskell-src-exts-1.13.5/temp/environment: line 459: 10284 Aborted

app-text/pandoc-1.9.4.2: Could not find module `Data.Default'

The problem is in app-text/pandoc/files/pandoc-1.9.4.2-ghc76.patch, since it introduced Data.Default into Setup.hs: GHC 7.4.2 (the version on my machine) does not provide builtin Data.Default, while dev-haskell/data-default is not set as a dependency in the ebuild.

See below for the build.log.

 * Package:    app-text/pandoc-1.9.4.2
 * Repository: gentoo-haskell
 * Maintainer: [email protected]
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   fakeroot sandbox
>>> Unpacking source...
>>> Unpacking pandoc-1.9.4.2.tar.gz to /var/tmp/portage/app-text/pandoc-1.9.4.2/work
>>> Source unpacked in /var/tmp/portage/app-text/pandoc-1.9.4.2/work
>>> Preparing source in /var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2 ...
 * Applying pandoc-1.9.4.2-ghc76.patch ...                                         [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2 ...
 * Using cabal-1.14.0.
/usr/bin/ghc -package Cabal-1.14.0 --make /var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2/Setup.hs -o setup

/var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2/Setup.hs:24:8:
    Could not find module `Data.Default'
    Use -v to see a list of the files searched for.
 * ERROR: app-text/pandoc-1.9.4.2 failed (configure phase):
 *   compiling /var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2/Setup.hs failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 2718:  Called cabal_src_configure '--flags=-tests'
 *   environment, line  692:  Called haskell-cabal_src_configure '--flags=-tests'
 *   environment, line 2067:  Called cabal-bootstrap
 *   environment, line  489:  Called die
 * The specific snippet of code:
 *           make_setup "$@" || die "compiling ${setupmodule} failed";
 * 
 * If you need support, post the output of `emerge --info '=app-text/pandoc-1.9.4.2'`,
 * the complete build log and the output of `emerge -pqv '=app-text/pandoc-1.9.4.2'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/haskell/eclass/haskell-cabal.eclass
 *   /var/lib/layman/haskell/eclass/ghc-package.eclass
 * This ebuild is from an overlay named 'gentoo-haskell': '/var/lib/layman/haskell/'
 * The complete build log is located at '/var/tmp/portage/app-text/pandoc-1.9.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/pandoc-1.9.4.2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2'
 * S: '/var/tmp/portage/app-text/pandoc-1.9.4.2/work/pandoc-1.9.4.2'

Ambiguous Prelude

I'm trying to run the latest and greatest with ghc-7.2.0.20110720 and cabal-1.11.1.20110721 and all the dev-haskell packages unmasked. But a few low level packages are dying with this error:

Implicit import declaration:
Ambiguous module name `Prelude':
it was found in multiple packages: base haskell98-2.0.0.0

The packages are:

dev-haskell/glib-0.12.0
dev-haskell/cairo-0.12.0

Some other packages died but mostly due to missing dependencies which had these packages as dependencies.

I think I'm going to re-mask everything I unmasked and downgrade a little bit, but I thought it might be worth reporting anyway.

leksah 0.12.1.3 uses ~/.leksah-0.13 as config directory

Hi,
leskah is using ~/.leksah-0.13 as config directory, while the first run wizard is defaulting to ~/.leksah-0.12/packageSources

It makes the system metadata generation fail.

workaround : change to ~/.leksah-0.13/packageSources

Regards,
Henri

dev-vcs/darcs-2.4.4-r1 under 7.0.4: Hidden Permissions Constructor

Hi. I recently added the haskell overlay to my home PC, and then upgraded to GHC 7.0.4 from 6.12.(3?), which went pretty well. However, when I try to rebuild dev-vcs/darcs-2.4.4-r1, I die on this error:

Distribution/ShellHarness.hs:106:37:
Not in scope: data constructor `Permissions'

I dug into the code a bit: A see that ShellHarness imports Permissions(..) from System.Directory. However, then I went into the System/Directory.hs in the ghc-7.0.4 code, and it looks to me like the Permissions data type is exported, but the actual constructor is hidden. (Line 58. I'm fairly new to Haskell, so could be wrong...) Presumably then, either the GHC devs did this by accident, or somebody forgot to tell the darc devs that they aren't supposed to use the constructor directly anymore.

Dependencies for www-apps/gitit have been removed

after the last happstack-* bumb the versions needed by www-apps/gitit are gone. paludis wants to downgrade to 0.5.0.x:

-d dev-haskell/happstack-util:0::gentoo-haskell (not the best version) 0.5.0.3 to ::installed replacing 6.0.0
-doc hscolour -profile build_options: -optional_tests symbols=split -trace -preserve_work
Reasons: dev-haskell/happstack-data, dev-haskell/happstack-server, www-apps/gitit
Cannot proceed without: --permit-old-version, --permit-downgrade
-d dev-haskell/happstack-data:0::gentoo-haskell (not the best version) 0.5.0.3 to ::installed replacing 6.0.0
-doc hscolour -profile build_options: -optional_tests symbols=split -trace -preserve_work
Reasons: dev-haskell/happstack-server
Cannot proceed without: --permit-old-version, --permit-downgrade
-d dev-haskell/happstack-server:0::gentoo-haskell (not the best version) 0.5.0.4 to ::installed replacing 6.1.6
-doc hscolour -profile build_options: -optional_tests symbols=split -trace -preserve_work
Reasons: www-apps/gitit
Cannot proceed without: --permit-old-version, --permit-downgrade

Please put the right versions back into the overlay.

test-framework-quickcheck2 fails to build against random>=1.0.1.1

test-framework fails with next error:

Test/Framework/Providers/QuickCheck2.hs:86:33:
    Couldn't match expected type `StdGen'
                with actual type `random-1.0.0.3:System.Random.StdGen'
    Expected type: StdGen -> Int -> Prop
      Actual type: random-1.0.0.3:System.Random.StdGen -> Int -> a0
    In the return type of a call of `unGen'
    In the third argument of `myTest', namely
      `(unGen (property testable))'

some patch should be added (maybe also upstream)

Why are shared libraries not built?

When I try to build with ghc using the -dynamic flag, the compiler tells me that dyn libraries are not available, and when I look in the package directories under /usr/lib I see *.o and *.a files but not *.so. Why are the shared libraries not built by default, or available to be built via a "dynamic" use flag or something like that?

dev-haskell/ghc-mtl-1.0.1.0: multiple Not in scope errors

Hi. I'm running GHC version 7.2.1 (freshly installed yesterday from gentoo-haskell). I am trying to build dev-haskell/ghc-mtl-1.0.1.0, which is required to build dev-haskell/hint-0.3.3.2, which is required to build eddie. (I'll make eddie an official package request once I actually build it successfully.) But hint dies as so:

Emerging (3 of 5) dev-haskell/ghc-mtl-1.0.1.0 from gentoo-haskell

  • ghc-mtl-1.0.1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
  • Package: dev-haskell/ghc-mtl-1.0.1.0
  • Repository: gentoo-haskell
  • USE: doc elibc_glibc kernel_linux userland_GNU x86
  • FEATURES: sandbox
    Unpacking source...
    Unpacking ghc-mtl-1.0.1.0.tar.gz to /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.0/work
    Source unpacked in /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.0/work
    Compiling source in /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.0/work/ghc-mtl-1.0.1.0 ...
  • Using cabal-1.11.1.20110721.
    [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.0/work/ghc-mtl-1.0.1.0/Setup.lhs, /var/tmp/portage/dev-haskell/ghc-mtl-1.0.1.0/work/ghc-mtl-1.0.1.0/Setup.o )
    Linking setup ...
    Configuring ghc-mtl-1.0.1.0...
    Dependency MonadCatchIO-mtl >=0.2.0.0: using MonadCatchIO-mtl-0.3.0.4
    Dependency base >=4: using base-4.4.0.0
    Dependency ghc >=6.10: using ghc-7.2.1
    Dependency mtl -any: using mtl-2.0.1.0
    Using Cabal-1.11.1.20110721 compiled by ghc-7.2
    Using compiler: ghc-7.2.1
    Using install prefix: /usr
    Binaries installed in: /usr/bin
    Libraries installed in: /usr/lib/ghc-mtl-1.0.1.0/ghc-7.2.1
    Private binaries installed in: /usr/libexec
    Data files installed in: /usr/share/ghc-mtl-1.0.1.0/ghc-7.2.1
    Documentation installed in: /usr/share/doc/ghc-mtl-1.0.1.0
    No alex found
    Using ar found on system at: /usr/bin/ar
    No c2hs found
    No cpphs found
    No ffihugs found
    Using gcc version 4.4.5 found on system at: /usr/bin/gcc
    Using ghc version 7.2.1 given by user at: /usr/bin/ghc
    Using ghc-pkg version 7.2.1 given by user at: /usr/bin/ghc-pkg
    No greencard found
    Using haddock version 2.9.2.20110721 given by user at: /usr/bin/haddock
    Using happy version 1.18.6 found on system at: /usr/bin/happy
    No hmake found
    Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
    No hscolour found
    No hugs found
    No jhc found
    Using ld found on system at: /usr/bin/ld
    No lhc found
    No lhc-pkg found
    No nhc98 found
    Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
    Using ranlib found on system at: /usr/bin/ranlib
    Using strip found on system at: /usr/bin/strip
    Using tar found on system at: /bin/tar
    No uhc found
    Building ghc-mtl-1.0.1.0...
    Preprocessing library ghc-mtl-1.0.1.0...
    [1 of 1] Compiling Control.Monad.Ghc ( Control/Monad/Ghc.hs, dist/build/Control/Monad/Ghc.o )

Control/Monad/Ghc.hs:19:22:
Not in scope: type constructor or class `GHC.Ghc'

Control/Monad/Ghc.hs:21:15:
Not in scope: type constructor or class `GHC.WarnLogMonad'

Control/Monad/Ghc.hs:21:66:
Not in scope: type constructor or class `GHC.GhcMonad'

Control/Monad/Ghc.hs:34:37:
Not in scope: type constructor or class `GHC.GhcT'

Control/Monad/Ghc.hs:41:19: Not in scope: `GHC.liftGhcT'

Control/Monad/Ghc.hs:59:27:
Not in scope: type constructor or class `GHC.WarnLogMonad'

Control/Monad/Ghc.hs:60:5:
setWarnings' is not a (visible) method of classWarnLogMonad'

Control/Monad/Ghc.hs:60:26: Not in scope: `GHC.setWarnings'

Control/Monad/Ghc.hs:61:5:
getWarnings' is not a (visible) method of classWarnLogMonad'

Control/Monad/Ghc.hs:61:24: Not in scope: `GHC.getWarnings'

Control/Monad/Ghc.hs:63:41:
Not in scope: type constructor or class `GHC.GhcMonad'

Control/Monad/Ghc.hs:64:5:
getSession' is not a (visible) method of classGhcMonad'

Control/Monad/Ghc.hs:64:23: Not in scope: `GHC.getSession'

Control/Monad/Ghc.hs:65:5:
setSession' is not a (visible) method of classGhcMonad'

***** OTHER INFO *****

$ emerge -pqv =dev-haskell/ghc-mtl-1.0.1.0
[ebuild N ] dev-haskell/ghc-mtl-1.0.1.0 USE="doc -hscolour -profile"

$ emerge --info =dev-haskell/ghc-mtl-1.0.1.0

Portage 2.1.10.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 i686)

                    System Settings

System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Xeon-TM-_CPU_3.06GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 18 Aug 2011 16:00:01 +0000
app-shells/bash: 4.1_p9
dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake: 2.8.4-r1
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc: 2.12.2
Repositories: gentoo gentoo-haskell mozilla
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/haskell /var/lib/layman/mozilla"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emacs emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse ssl startup-notification svg sysfs tcpd theora tiff truetype udev unicode usb vorbis x264 x86 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

hdbc-mysql

I notice that the overlay has hdbc, hdbc-odbc, hdbc-postresql, and hdbc-sqlite packages, but no hdbc-mysql. Might I suggest you consider adding hdbc-mysql to your tree. Supposedly hdbc-odbc is the "preferred" choice over hdbc-mysql when doing hdbc-based MySQL interaction; however, in my experience hdbc-obdc screws up the Unicode, whereas hdbc-mysql handles it just fine out of the box. I've been working with hdbc-mysql for a month or two now and it has been working great for me.

Thank you for your work.

dev-haskell/text-0.11.1.5 with GHC 7.2.0.20110728: ghc panic

When building dev-haskell/text-0.11.1.5 with GHC 7.2.0.20110728, the build dies with a cgLookupPanic. Here's the last few paragraphs from the build log:

[21 of 38] Compiling Data.Text.Encoding ( Data/Text/Encoding.hs, dist/build/Data/Text/Encoding.o )

Data/Text/Encoding.hs:51:26:
Warning: In the use of `unsafeIOToST'
(imported from Control.Monad.ST):
Deprecated: "Please import from Control.Monad.ST.Unsafe instead; This will be removed in the next release"

Data/Text/Encoding.hs:51:40:
Warning: In the use of `unsafeSTToIO'
(imported from Control.Monad.ST):
Deprecated: "Please import from Control.Monad.ST.Unsafe instead; This will be removed in the next release"
[22 of 38] Compiling Data.Text.Search ( Data/Text/Search.hs, dist/build/Data/Text/Search.o )
[23 of 38] Compiling Data.Text.Foreign ( Data/Text/Foreign.hs, dist/build/Data/Text/Foreign.o )

Data/Text/Foreign.hs:36:26:
Warning: In the use of `unsafeIOToST'
(imported from Control.Monad.ST):
Deprecated: "Please import from Control.Monad.ST.Unsafe instead; This will be removed in the next release"
[24 of 38] Compiling Data.Text ( Data/Text.hs, dist/build/Data/Text.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.2.0.20110728 for i386-unknown-linux):
cgLookupPanic (probably invalid Core; try -dcore-lint)
$w$j{v s1Ju9} [lid]
static binds for:
local binds for:

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

Is this really a bug I should report to GHC?

Link failures building HSBase: unknown symbol `stat'

Every time I try to use the interpreter (GHCi, runhaskell, template haskell); I get an error:

/usr/lib64/ghc-7.6.1/base-4.6.0.0/libHSbase-4.6.0.0.o: unknown symbol `stat'

To summarize:

  • I only experience this problem on one machine, but not the other
  • Both machines use the same architecture (amd64), CHOST (x86_64-pc-linux-gnu), profile (default/linux/amd64/10.0/desktop), gcc ver (4.6.3, only flag difference is USE="graphite" set on the machine that works), ghc ver+flags (7.6.1 with USE="doc"), glibc ver+flags (2.16.0 with default flags), binutils ver+flags (2.23.1 with default flags) and very similar portage options in general.
  • I've tried rebuilding glibc, gcc and ghc several times, in various orders
  • I experience the problem with (at least) GHC 7.4.2, 7.6.1 and 7.7.2012123
  • Using the binary version of 7.4.2 and 7.6.1 works. (I haven't tested a binary of 7.7.x, mainly because none are provided)

The problem seems to be described here: http://haskell.1045720.n5.nabble.com/unable-to-run-ghci-7-4-1-td5683681.html with no solution given

The same problem seems to be described here: https://www.linux.org.ru/forum/development/8001637 with, from what I can decipher, no solution given

Both pages vehemently insist it's a problem with gentoo-haskell's packaging, which is why I'm raising the issue here.

I wasn't able to find a solution in #Gentoo-Haskell, but from the debugging in there, here is some left-over information:

output of readelf -s $(ghc --print-libdir)/base-*/libHSbase* | grep 'stat\>':
broken machine: http://bpaste.net/show/63975/
machine that works: http://bpaste.net/show/63976/

app-editors/yi-0.6.3.0: linking failure

When I go to build app-editors/yi-0.6.3.0, every module in the package (all 110) compiles, but then the final linking dies:

...snip...
[110 of 110] Compiling Main ( src/executable/Main.hs, dist/build/yi/yi-tmp/Main.o )
Linking dist/build/yi/yi ...

  • ERROR: app-editors/yi-0.6.3.0 failed (compile phase):
  • setup build failed
  • Call stack:
  • ebuild.sh, line   56:  Called src_compile
    
  • environment, line 2988: Called haskell-cabal_src_compile
  • environment, line 2317: Called cabal_src_compile
  • environment, line 629: Called cabal-build
  • environment, line 485: Called die
  • The specific snippet of code:
  •   ./setup build || die "setup build failed"
    
  • If you need support, post the output of 'emerge --info =app-editors/yi-0.6.3.0',
  • the complete build log and the output of 'emerge -pqv =app-editors/yi-0.6.3.0'.
  • This ebuild used the following eclasses from overlays:
  • /var/lib/layman/haskell/eclass/haskell-cabal.eclass
  • /var/lib/layman/haskell/eclass/ghc-package.eclass
  • This ebuild is from an overlay named 'gentoo-haskell': '/var/lib/layman/haskell/'
  • The complete build log is located at '/var/tmp/portage/app-editors/yi-0.6.3.0/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/app-editors/yi-0.6.3.0/temp/environment'.
  • S: '/var/tmp/portage/app-editors/yi-0.6.3.0/work/yi-0.6.3.0'

emerge -pqv =app-editors/yi-0.6.3.0

[ebuild N ] app-editors/yi-0.6.3.0 USE="doc vty -gnome -gtk -hscolour -profile"

ghc --version

The Glorious Glasgow Haskell Compilation System, version 7.0.4

emerge --info =app-editors/yi-0.6.3.0

Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 i686)

                    System Settings

System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Atom-TM-CPU_N270@_1.60GHz-with-gentoo-2.0.2
Timestamp of tree: Sun, 19 Jun 2011 00:00:01 +0000
app-shells/bash: 4.1_p9
dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake: 2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc: 0.8.2-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.65-r1
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc: 2.12.2
virtual/os-headers: 0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/haskell"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 caps cli cracklib crypt cups cxx dri emacs fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

llvm-general requires llvm-config version ==3.3.*

llvm-general requires llvm-config version ==3.3.* but ebuild depends on sys-devel/llvm and fails with llvm-3.4 and probably with llvm-3.2 and earlier too
Here's build log from haskell-updater:

Running haskell-updater using GHC 7.6.3
  * Executable: /usr/bin/ghc
  * Library directory: /usr/lib64/ghc-7.6.3
  * Package manager (PM): portage
  * PM auxiliary arguments: -v

Searching for packages installed with a different version of GHC.
No old packages found!

Searching for Haskell libraries with broken dependencies.
Found the following broken packages:
  * dev-haskell/llvm-general:0

>>> Verifying ebuild manifests
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 1.29, 1.18, 1.06
>>> Emerging (1 of 1) dev-haskell/llvm-general-3.3.8.2 from gentoo-haskell
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 1.29, 1.18, 1.06
>>> Failed to emerge dev-haskell/llvm-general-3.3.8.2, Log file:
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 1.25, 1.17, 1.06
>>>  '/var/log/portage/build/dev-haskell/llvm-general-3.3.8.2:20140115-205726.log'
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 1.25, 1.17, 1.06
>>> Jobs: 0 of 1 complete, 1 running, 1 failed      Load avg: 1.25, 1.17, 1.06
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 1.25, 1.17, 1.06

 * Package:    dev-haskell/llvm-general-3.3.8.2
 * Repository: gentoo-haskell
 * Maintainer: [email protected]
 * USE:        amd64 doc elibc_glibc hoogle kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
 * Using cabal-1.18.1.2.
 * Prepending /usr/lib64/ghc-7.6.3 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.18.1.2 --make /var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2/Setup.hs -dynamic -o setup

/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2/Setup.hs:17:8:
    Could not find module `System.SetEnv'
    Perhaps you haven't installed the "dyn" libraries for package `setenv-0.1.1'?
    Use -v to see a list of the files searched for.
/usr/bin/ghc -package Cabal-1.18.1.2 --make /var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2/Setup.hs -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2/Setup.hs, /var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2/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=llvm-general-3.3.8.2/ghc-7.6.3 --datadir=/usr/share/ --datasubdir=llvm-general-3.3.8.2/ghc-7.6.3 --with-haddock=/usr/bin/haddock --disable-tests --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/llvm-general-3.3.8.2 --verbose --sysconfdir=/etc --flags=-debug --flags=-shared-llvm
'/usr/bin/llvm-config' '--version'
setup: The program llvm-config version ==3.3.* is required but the version
found at /usr/bin/llvm-config is version 3.4
There are problems in package llvm-general-3.3.8.2:
  dependency "parsec-3.1.5-45842556509d4589ae38549e74042b21" doesn't exist

The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
llvm-general-3.3.8.2
 * Detected broken packages: llvm-general-3.3.8.2
 * ERROR: dev-haskell/llvm-general-3.3.8.2::gentoo-haskell failed (configure phase):
 *   //==-- Please, run 'haskell-updater' to fix broken packages --==//
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2621:  Called haskell-cabal_src_configure '--flags=-debug' '--flags=-shared-llvm'
 *   environment, line 1907:  Called cabal-configure '--flags=-debug' '--flags=-shared-llvm'
 *   environment, line  536:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  632:  Called cabal-show-brokens
 *   environment, line  628:  Called cabal-die-if-nonempty 'broken' 'llvm-general-3.3.8.2'
 *   environment, line  558:  Called die
 * The specific snippet of code:
 *       die "//==-- Please, run 'haskell-updater' to fix ${breakage_type} packages --==//"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/llvm-general-3.3.8.2::gentoo-haskell'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/llvm-general-3.3.8.2::gentoo-haskell'`.
 * The complete build log is located at '/var/log/portage/build/dev-haskell/llvm-general-3.3.8.2:20140115-205726.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2'
 * S: '/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2'
 * Messages for package dev-haskell/llvm-general-3.3.8.2:
 * Detected broken packages: llvm-general-3.3.8.2
 * ERROR: dev-haskell/llvm-general-3.3.8.2::gentoo-haskell failed (configure phase):
 *   //==-- Please, run 'haskell-updater' to fix broken packages --==//
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2621:  Called haskell-cabal_src_configure '--flags=-debug' '--flags=-shared-llvm'
 *   environment, line 1907:  Called cabal-configure '--flags=-debug' '--flags=-shared-llvm'
 *   environment, line  536:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  632:  Called cabal-show-brokens
 *   environment, line  628:  Called cabal-die-if-nonempty 'broken' 'llvm-general-3.3.8.2'
 *   environment, line  558:  Called die
 * The specific snippet of code:
 *       die "//==-- Please, run 'haskell-updater' to fix ${breakage_type} packages --==//"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/llvm-general-3.3.8.2::gentoo-haskell'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/llvm-general-3.3.8.2::gentoo-haskell'`.
 * The complete build log is located at '/var/log/portage/build/dev-haskell/llvm-general-3.3.8.2:20140115-205726.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2'
 * S: '/var/tmp/portage/dev-haskell/llvm-general-3.3.8.2/work/llvm-general-3.3.8.2'


 * 
 * The following package has failed to build or install:
 * 
 *  (dev-haskell/llvm-general-3.3.8.2::gentoo-haskell, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/build/dev-haskell/llvm-general-3.3.8.2:20140115-205726.log'
 * 
emerge --oneshot --keep-going --complete-graph --quiet --deep -v dev-haskell/llvm-general:0

ghc-7.4.1 hardmasked

Should ghc-7.4.1 still be hardmasked? The mask comment still says the reason for the mask is that it's the experimental branch, but I think that 7.4.1 is now the stable branch. Or does 7.4.1 still just break a bunch of stuff?

=dev-haskell/uniplate-1.6.11 fails with dev-lang/ghc-7.6.3-r1

subj. fails with

>>> Emerging (15 of 23) dev-haskell/uniplate-1.6.11 from gentoo-haskell
 * uniplate-1.6.11.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking uniplate-1.6.11.tar.gz to /var/tmp/portage/dev-haskell/uniplate-1.6.11/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/uniplate-1.6.11/work
>>> Preparing source in /var/tmp/portage/dev-haskell/uniplate-1.6.11/work/uniplate-1.6.11 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/uniplate-1.6.11/work/uniplate-1.6.11 ...
 * Using cabal-1.16.0.3.
 * Prepending /usr/lib64/ghc-7.6.3 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.16.0.3 --make /var/tmp/portage/dev-haskell/uniplate-1.6.11/work/uniplate-1.6.11/Setup.hs -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/uniplate-1.6.11/work/uniplate-1.6.11/Setup.hs, /var/tmp/portage/dev-haskell/uniplate-1.6.11/work/uniplate-1.6.11/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=uniplate-1.6.11/ghc-7.6.3 --datadir=/usr/share/ --datasubdir=uniplate-1.6.11/ghc-7.6.3 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/uniplate-1.6.11 --verbose --flags=separate_syb
Configuring uniplate-1.6.11...
setup: At least the following dependencies are missing:
base >=4 && <4.4
 * ERROR: dev-haskell/uniplate-1.6.11::gentoo-haskell failed (configure phase):
 *   setup configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2866:  Called haskell-cabal_src_configure '--flags=separate_syb'
 *   environment, line 2173:  Called cabal-configure '--flags=separate_syb'
 *   environment, line  490:  Called cabal-show-brokens-and-die 'setup configure failed'
 *   environment, line  588:  Called die
 * The specific snippet of code:
 *       die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/uniplate-1.6.11::gentoo-haskell'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/uniplate-1.6.11::gentoo-haskell'`.
 * The complete build log is located at '/var/tmp/portage/dev-haskell/uniplate-1.6.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/uniplate-1.6.11/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/uniplate-1.6.11/work/uniplate-1.6.11'
 * S: '/var/tmp/portage/dev-haskell/uniplate-1.6.11/work/uniplate-1.6.11'

Additional info:

jauhien@localhost ~ % eix -e ghc
[I] dev-lang/ghc
     Available versions:  6.12.3-r2 (~)6.12.3-r3[2] (~)7.0.4 (~)7.0.4[2] (~)7.0.4-r1[2] (~)7.4.1 (~)7.4.1[2] (~)7.4.1-r1 (~)7.4.1-r1[2] 7.4.2(0/7.4.2) 7.4.2(0/7.4.2)[2] (~)7.6.1(0/7.6.1)[2] (~)7.6.2(0/7.6.2) (~)7.6.2(0/7.6.2)[2] (~)7.6.3(0/7.6.3) (~)7.6.3(0/7.6.3)[2] (~)7.6.3-r1(0/7.6.3) (~)7.6.3-r1(0/7.6.3)[2] **7.7.20121101(0/7.7.20121101)[2] **7.7.20121213(0/7.7.20121213)[2] **7.7.20130809(0/7.7.20130809)[2] **9999(0/9999)[2] {bash-completion binary doc dph (+)ghcbootstrap ghcmakebinary +gmp llvm +shared ELIBC="glibc"}
     Installed versions:  7.6.3-r1[2](11:21:00 AM 08/20/2013)(gmp -binary -doc -ghcbootstrap -ghcmakebinary -llvm ELIBC="glibc")
     Homepage:            http://www.haskell.org/ghc/
     Description:         The Glasgow Haskell Compiler

Haskell-patform-2011-2.0.1-r1

Haskell-patform-2011-2.0.1-r1 requires ghc >= 7.0.3 and haskell-src-1.0.1.3 but haskell haskell-src-1.0.1.3 requires ghc < 7.0.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.