Configuring text-0.11.2.2... setup: At least the following dependencies are missing: integer-gmp >=0.2 && <0.5 Reproducible: Always Steps to Reproduce: 1. emerge dev-haskell/text 2. 3. Actual Results: * Package: dev-haskell/text-0.11.2.2 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking text-0.11.2.2.tar.gz to /var/tmp/portage/dev-haskell/text-0.11.2.2/work >>> Source unpacked in /var/tmp/portage/dev-haskell/text-0.11.2.2/work >>> Preparing source in /var/tmp/portage/dev-haskell/text-0.11.2.2/work/text-0.11.2.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/text-0.11.2.2/work/text-0.11.2.2 ... * Using cabal-1.16.0.3. * Prepending /usr/lib64/ghc-7.6.2 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.16.0.3 --make /var/tmp/portage/dev-haskell/text-0.11.2.2/work/text-0.11.2.2/Setup.lhs -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/text-0.11.2.2/work/text-0.11.2.2/Setup.lhs, /var/tmp/portage/dev-haskell/text-0.11.2.2/work/text-0.11.2.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=text-0.11.2.2/ghc-7.6.2 --datadir=/usr/share/ --datasubdir=text-0.11.2.2/ghc-7.6.2 --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/text-0.11.2.2 --verbose Configuring text-0.11.2.2... setup: At least the following dependencies are missing: integer-gmp >=0.2 && <0.5 * ERROR: dev-haskell/text-0.11.2.2 failed (configure phase): * setup configure failed * * Call stack: * ebuild.sh, line 93: Called src_configure * environment, line 2694: Called cabal_src_configure * environment, line 623: Called haskell-cabal_src_configure * environment, line 2019: Called cabal-configure * environment, line 481: Called die * The specific snippet of code: * ./setup "$@" || die "setup configure failed" * * If you need support, post the output of `emerge --info '=dev-haskell/text-0.11.2.2'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/text-0.11.2.2'`. * The complete build log is located at '/var/tmp/portage/dev-haskell/text-0.11.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/text-0.11.2.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/text-0.11.2.2/work/text-0.11.2.2' * S: '/var/tmp/portage/dev-haskell/text-0.11.2.2/work/text-0.11.2.2' Expected Results: successfull emerge ghc version: 7.6.2 Portage 2.1.11.31 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64) ================================================================= System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Core-TM-_i3-3227U_CPU_@_1.90GHz-with-gentoo-2.1 Timestamp of tree: Mon, 18 Mar 2013 00:45:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p37 dev-lang/python: 2.7.3-r2, 3.2.3 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.10.3, 1.11.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo sunrise yac ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -msse -msse2 -msse3 -mmmx" CHOST="x86_64-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="-march=nocona -O2 -pipe -msse -msse2 -msse3 -mmmx" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" 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 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/yac" SYNC="" USE="3dnow 3dnowext aalib acl acpi alsa amd64 bindist bzip2 cdr cli cracklib crypt cxx dri dvd faac ffmpeg gdbm gpm hardened iconv ipv6 justify lame laptop mmext mmx modules mudflap multilib ncurses nls nptl opengl openmp pam pax_kernel pcre readline session sse sse2 ssl ssse3 tcpd theora threads unicode urandom v4l v4l2 vim-syntax xcomposite xft xinerama zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="contextswitch cpu csv curl curl_json curl_xml disk dns entropy ethstat exec filecount hddtemp iptables md network nginx ping processes protocols python sensors thermal unixsock uptime users uuid vmem" 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="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Workaround: install 0.11.2.3 from testing
Loosened the integer-gmp dep in text-0.11.2.2.
Mark, Could you apply the same fix [1] for dev-haskell/text-0.11.3.1 ? [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-haskell/text/text-0.11.2.2.ebuild?r1=1.7&r2=1.8 Thanks!
(In reply to Vladimir Murzin from comment #2) > Mark, > > Could you apply the same fix [1] for dev-haskell/text-0.11.3.1 ? > > [1] > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-haskell/text/ > text-0.11.2.2.ebuild?r1=1.7&r2=1.8 > > Thanks! What ghc version you are using? $ cabal unpack text; cat text-0.11.3.1/text.cabal if impl(ghc >= 6.11) if flag(integer-simple) cpp-options: -DINTEGER_SIMPLE build-depends: integer-simple >= 0.1 && < 0.5 else cpp-options: -DINTEGER_GMP build-depends: integer-gmp >= 0.2 if impl(ghc >= 6.9) && impl(ghc < 6.11) cpp-options: -DINTEGER_GMP build-depends: integer >= 0.1 && < 0.2