As summary says. >=dev-haskell/time-1.1 is a dependency for dev-haskell/cabal-install-0.8.0 which is keyworded for the common platforms at the moment. Reproducible: Always Steps to Reproduce: emerge =dev-haskell/time-1.1.2.0 Actual Results: Compilation fails, see attached files. >>> Emerging (3 of 13) dev-haskell/time-1.1.2.0 * time-1.1.2.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-haskell/time-1.1.2.0 * REPO: gentoo * USE: doc elibc_glibc kernel_linux userland_GNU x86 >>> Unpacking source... >>> Unpacking time-1.1.2.0.tar.gz to /var/tmp/portage/dev-haskell/time-1.1.2.0/work >>> Source unpacked in /var/tmp/portage/dev-haskell/time-1.1.2.0/work >>> Compiling source in /var/tmp/portage/dev-haskell/time-1.1.2.0/work/time-1.1.2.0 ... * Using cabal-1.8.0.2. [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/time-1.1.2.0/work/time-1.1.2.0/Setup.hs, /var/tmp/portage/dev-haskell/time-1.1.2.0/work/time-1.1.2.0/Setup.o ) /var/tmp/portage/dev-haskell/time-1.1.2.0/work/time-1.1.2.0/Setup.hs:5:0: Warning: In the use of `defaultUserHooks' (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Linking setup ... Warning: defaultUserHooks in Setup script is deprecated. Configuring time-1.1.2.0... Flags chosen: split-base=True Dependency base >=3: using base-4.1.0.0 Dependency old-locale -any: using old-locale-1.0.0.1 Using Cabal-1.8.0.2 compiled by ghc-6.10 Using compiler: ghc-6.10.4 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib/time-1.1.2.0/ghc-6.10.4 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/time-1.1.2.0/ghc-6.10.4 Documentation installed in: /usr/share/doc/time-1.1.2.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.3.4 found on system at: /usr/lib/ccache/bin/gcc Using ghc version 6.10.4 given by user at: /usr/bin/ghc Using ghc-pkg version 6.10.4 given by user at: /usr/bin/ghc-pkg No greencard found Using haddock version 2.4.2 given by user at: /usr/bin/haddock No happy found 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.23 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: /usr/bin/tar sh configure --with-hc=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib --datadir=/usr/share/ checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for gmtime_r... yes checking for localtime_r... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether time.h and sys/time.h may both be included... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether altzone is declared... no configure: creating ./config.status config.status: creating include/HsTimeConfig.h config.status: include/HsTimeConfig.h is unchanged Preprocessing library time-1.1.2.0... Building time-1.1.2.0... Data/Time/Clock/CTimeval.hs:1:11: Warning: -ffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead <no location info>: Failing due to -Werror. * ERROR: dev-haskell/time-1.1.2.0 failed: * setup build failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 1588: Called haskell-cabal_src_compile * environment, line 1345: Called cabal_src_compile * environment, line 391: Called cabal-build * environment, line 296: Called die * The specific snippet of code: * ./setup build || die "setup build failed" * * If you need support, post the output of 'emerge --info =dev-haskell/time-1.1.2.0', * the complete build log and the output of 'emerge -pqv =dev-haskell/time-1.1.2.0'. * The complete build log is located at '/var/tmp/portage/dev-haskell/time-1.1.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/time-1.1.2.0/temp/environment'. * S: '/var/tmp/portage/dev-haskell/time-1.1.2.0/work/time-1.1.2.0'
Created attachment 220333 [details] Output of emerge --info =dev-haskell/time-1.1.2.0
Created attachment 220335 [details] Output of emerge -pqv =dev-haskell/time-1.1.2.0 Nothing strange here
Created attachment 220337 [details] Build log
Looks like this version of time doesn't like cabal-1.8; as such, you'll need a newer one (not at my Gentoo box atm so can't check what versions we have available).
(In reply to comment #4) > Looks like this version of time doesn't like cabal-1.8; as such, you'll need a > newer one (not at my Gentoo box atm so can't check what versions we have > available). Very true. Unmasking dev-haskell/time-1.1.2.4 fixes the problem.
Ripped out -Werror flags from the package. Fix committed to the three. Christian, thank you for the report!