>>> Emerging (1 of 3) dev-haskell/crypto-4.2.4 * Crypto-4.2.4.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Crypto-4.2.4.tar.gz to /dev/shm/portage/dev-haskell/crypto-4.2.4/work >>> Source unpacked in /dev/shm/portage/dev-haskell/crypto-4.2.4/work >>> Preparing source in /dev/shm/portage/dev-haskell/crypto-4.2.4/work/Crypto-4.2.4 ... >>> Source prepared. >>> Configuring source in /dev/shm/portage/dev-haskell/crypto-4.2.4/work/Crypto-4.2.4 ... * Using cabal-1.14.0. /usr/bin/ghc -package Cabal-1.14.0 --make /dev/shm/portage/dev-haskell/crypto-4.2.4/work/Crypto-4.2.4/Setup.hs -o setup [1 of 1] Compiling Main ( /dev/shm/portage/dev-haskell/crypto-4.2.4/work/Crypto-4.2.4/Setup.hs, /dev/shm/portage/dev-haskell/crypto-4.2.4/work/Crypto-4.2.4/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=crypto-4.2.4/ghc-7.4.1 --datadir=/usr/share/ --datasubdir=crypto-4.2.4/ghc-7.4.1 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/crypto-4.2.4 --verbose Configuring Crypto-4.2.4... Flags chosen: small_base=True Dependency HUnit -any: using HUnit-1.2.4.2 Dependency QuickCheck >=2.4.0.1: using QuickCheck-2.4.2 Dependency array -any: using array-0.4.0.0 Dependency base >=3 && <5: using base-4.5.0.0 Dependency pretty -any: using pretty-1.1.1.0 Dependency random -any: using random-1.0.1.1 Using Cabal-1.14.0 compiled by ghc-7.4 Using compiler: ghc-7.4.1 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/crypto-4.2.4/ghc-7.4.1 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/crypto-4.2.4/ghc-7.4.1 Documentation installed in: /usr/share/doc/crypto-4.2.4 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.5.3 found on system at: /usr/lib64/ccache/bin/gcc Using ghc version 7.4.1 given by user at: /usr/bin/ghc Using ghc-pkg version 7.4.1 given by user at: /usr/bin/ghc-pkg No greencard found No haddock found No happy found No hmake found Using hpc version 0.6 found on system at: /usr/bin/hpc 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 >>> Source configured. >>> Compiling source in /dev/shm/portage/dev-haskell/crypto-4.2.4/work/Crypto-4.2.4 ... ./setup build Building Crypto-4.2.4... Preprocessing library Crypto-4.2.4... [ 1 of 26] Compiling Data.Digest.SHA2 ( Data/Digest/SHA2.hs, dist/build/Data/Digest/SHA2.o ) Data/Digest/SHA2.hs:111:4: Could not deduce (Show a) arising from a use of `showHex' from the context (Integral a) bound by the instance declaration at Data/Digest/SHA2.hs:109:10-39 Possible fix: add (Show a) to the context of the instance declaration In the first argument of `(.)', namely `(showHex a)' In the expression: (showHex a) . (' ' :) . (showHex b) . (' ' :) . (showHex c) . (' ' :) . (showHex d) . (' ' :) . (showHex e) . (' ' :) . (showHex f) . (' ' :) . (showHex g) . (' ' :) . (showHex h) In an equation for `showsPrec': showsPrec _ (Hash8 a b c d e f g h) = (showHex a) . (' ' :) . (showHex b) . (' ' :) . (showHex c) . (' ' :) . (showHex d) . (' ' :) . (showHex e) . (' ' :) . (showHex f) . (' ' :) . (showHex g) . (' ' :) . (showHex h) * ERROR: dev-haskell/crypto-4.2.4 failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2472: Called haskell-cabal_src_compile * environment, line 1864: Called cabal_src_compile * environment, line 527: Called cabal-build * environment, line 388: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of 'emerge --info =dev-haskell/crypto-4.2.4', * the complete build log and the output of 'emerge -pqv =dev-haskell/crypto-4.2.4'. * The complete build log is located at '/var/log/portage/dev-haskell:crypto-4.2.4:20120417-061259.log'. * The ebuild environment file is located at '/dev/shm/portage/dev-haskell/crypto-4.2.4/temp/environment'. * S: '/dev/shm/portage/dev-haskell/crypto-4.2.4/work/Crypto-4.2.4' Portage 2.2.0_alpha93 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.0.0-rc4-10101-gd2beb04 x86_64) ================================================================= System uname: Linux-3.0.0-rc4-10101-gd2beb04-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.1 Timestamp of tree: Wed, 28 Dec 2011 00:00:01 +0000 ccache version 3.1.7 [enabled] app-shells/bash: 4.2_p24 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.5.4-r4, 2.6.7-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 9999 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 3.3.6-r1, 4.2.4-r1, 4.3.6-r1, 4.4.6-r1, 4.5.3-r2 sys-devel/gcc-config: 1.5.1-r1 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo local java-overlay mysql Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -g" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.1/conf /usr/share/maven-bin-2.2/conf /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/qpsmtpd/plugins /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=nocona -O2 -pipe -g" DISTDIR="/home/gentoo/distfiles" FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect ebuild-locks fixlafiles lmirror mirror multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_CA en_US en_GB en_ZA" MAKEOPTS="-j4 -l7" PKGDIR="/home/gentoo/packages/grubb-int/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/dev/shm" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /code/layman/java-overlay /code/gentoo/gentoo-git/mysql" SYNC="" USE="3dnow aalib acl acpi adns aio alsa amd amd64 apache2 apm audit berkdb bzip2 cairo cdr cgi clearpasswd cli cracklib crypt cups curl cxx dbus divx4linux dri dvd dvdr encode f77 fam foomaticdb fortran frxp gcj gd gdbm geoip gif glitz gpgme hpn iconv idn imap innodb ipalias ipv6 jikes jpeg junit latex libnl libwww logrotate mad maildir mcal md5sum mikmod mmx modules mp3 mpeg mpm-prefork mudflap multicall multilib multitarget mysql ncurses nptl nptlonly objc offensive ogg openmp pam pcap pcre pdf pdflib perl pic plotutils png pnp ppds pppd python qmail readline samba scanner session slp smime snmp socks5 spell sse sse2 ssl static-libs svg sysfs tetex threads tiff truetype truetype-fonts type1 type1-fonts udev ungif unicode usb userlocales v4l v4l2 vhosts vim-syntax vorbis xcb xinetd xml xml2 xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 asis auth_digest imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http cgi proxy_scgi reqtimeout" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" 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="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_CA en_US en_GB en_ZA" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv v4l vga vesa i810" 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 echo checksum" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Pushed as: > 17 Apr 2012; Sergei Trofimovich <slyfox@gentoo.org> > +files/crypto-4.2.4-ghc-7.4.patch, crypto-4.2.4.ebuild: > Fixed build breakage against ghc-7.4 (bug #412289 by Robin Johnson). Thank you for the report!