Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[CLOSED] gentoo-haskell overlay:dev-haskell/cgi emerge fails
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message

Joined: 07 Feb 2013
Posts: 5
Location: Omaha, NE

PostPosted: Wed Mar 27, 2013 8:45 pm    Post subject: [CLOSED] gentoo-haskell overlay:dev-haskell/cgi emerge fails Reply with quote

I'm attempting to emerge haskell-platform from the gentoo-haskell overlay and failing on the dev-haskell/cgi.

gentoo64 ~ # emerge -pqv '=dev-haskell/cgi-3001.1.7.4'
[ebuild  N    ] dev-haskell/cgi-3001.1.7.4  USE="doc profile -hscolour"

emerge --info '=dev-haskell/cgi-3001.1.7.4'
Portage (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentoo-exp x86_64)
                        System Settings
System uname: Linux-3.6.11-gentoo-exp-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.1
KiB Mem:     8062392 total,   4358036 free
KiB Swap:    9310204 total,   9310204 free
Timestamp of tree: Wed, 27 Mar 2013 15:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
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.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.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo zugaina gamerlay gentoo-haskell x-portage
CFLAGS="-O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -msse4.1 -msse4.2 -msse4 -mavx -maes -mpclmul -mpopcnt -m64"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -msse4.1 -msse4.2 -msse4 -mavx -maes -mpclmul -mpopcnt -m64"
FCFLAGS="-O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -msse4.1 -msse4.2 -msse4 -mavx -maes -mpclmul -mpopcnt -m64"
FEATURES="assume-digests binpkg-logs 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"
FFLAGS="-O2 -pipe -march=native -mmmx -msse -msse2 -msse3 -msse4.1 -msse4.2 -msse4 -mavx -maes -mpclmul -mpopcnt -m64"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/gamerlay /var/lib/layman/haskell /usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 apm berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emacs emboss encode exif fam fbcondecor firefox flac fortran gdbm gif gpm gptfdisk gtk gudev hwdb iconv introspection ipv6 jpeg kde keymap kipi lcms ldap libnotify lm_sensors mad minizip mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcmcia pcre pdf phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop session spell sse sse2 sse3 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis windeco wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid 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="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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US en_US.UTF-8" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga 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"

gentoo64 ~ # ghc-pkg check
Warning: haddock-interfaces: /root/.cabal/share/doc/MonadCatchIO-mtl- doesn't exist or isn't a file
Warning: haddock-html: /root/.cabal/share/doc/MonadCatchIO-mtl- doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/ghc-paths- doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/ghc-paths- doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/xhtml-3000.2.1/html/xhtml.haddock doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/xhtml-3000.2.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /usr/share/doc/cabal- doesn't exist or isn't a file
Warning: haddock-html: /usr/share/doc/cabal- doesn't exist or isn't a directory

gentoo64 ~ # emerge -pve haskell-platform
[ebuild   R   ~] dev-lang/ghc-7.6.2:0/7.6.2::gentoo-haskell  USE="doc gmp -binary -ghcbootstrap -ghcmakebinary -llvm" 0 kB
[ebuild   R   ~] dev-haskell/cabal-  USE="profile {-test}" 0 kB
[ebuild   R    ] app-admin/haskell-updater-  0 kB
[ebuild   R   ~] dev-haskell/xhtml-3000.2.1::gentoo-haskell  USE="profile" 0 kB
[ebuild   R   ~] dev-haskell/ghc-paths-  USE="profile" 0 kB
[ebuild   R   ~] dev-haskell/haddock-2.13.1-r2:0/2.13.1::gentoo-haskell  USE="doc profile -hscolour" 0 kB
[ebuild   R    ] dev-haskell/random-  USE="doc profile -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/openglraw-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R    ] dev-haskell/deepseq-  USE="doc profile -hscolour" 0 kB
[ebuild   R    ] dev-haskell/syb-0.3.7::gentoo-haskell  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R    ] dev-haskell/transformers-  USE="doc profile -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/primitive-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/zlib-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/stm-2.4.2:0/2.4.2::gentoo-haskell  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/split-  USE="doc profile -hoogle -hscolour {-test}" 0 kB
[ebuild   R    ] dev-haskell/hscolour-1.19  USE="doc profile" 0 kB
[ebuild   R    ] dev-haskell/html-  USE="doc profile -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/extensible-exceptions-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R    ] dev-haskell/mtl-2.1.2-r1:0/2.1.2  USE="doc profile -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/text-  USE="doc profile -hoogle -hscolour {-test}" 0 kB
[ebuild   R   ~] dev-haskell/quickcheck-2.6:2/2.6::gentoo-haskell  USE="doc profile template_haskell -hoogle -hscolour" 0 kB
[ebuild   R    ] dev-haskell/hunit-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/async-  USE="doc profile -hoogle -hscolour {-test}" 0 kB
[ebuild   R   ~] dev-haskell/haskell-src-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/parallel-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/vector-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/gluraw-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R    ] dev-haskell/parsec-3.1.3::gentoo-haskell  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R    ] dev-haskell/regex-base-0.93.2  USE="doc profile -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/opengl-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/happy-1.18.10::gentoo-haskell  USE="doc" 0 kB
[ebuild   R    ] dev-haskell/alex-3.0.2  USE="doc" 0 kB
[ebuild   R    ] dev-haskell/fgl-  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/network-  USE="doc profile -hoogle -hscolour {-test}" 0 kB
[ebuild   R   ~] dev-haskell/regex-posix-0.95.2::gentoo-haskell  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/glut-  USE="doc profile usenativewindowslibraries -hoogle -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/http-4000.2.8:0/4000.2.8::gentoo-haskell  USE="doc profile -hoogle -hscolour -mtl1 -network23 {-test} -warn-as-error" 0 kB
[ebuild   R    ] dev-haskell/regex-compat-0.95.1::gentoo-haskell  USE="doc profile -hoogle -hscolour" 0 kB
[ebuild  N     ] dev-haskell/cgi-3001.1.7.4::gentoo-haskell  USE="doc profile -hscolour" 0 kB
[ebuild   R   ~] dev-haskell/cabal-install-  USE="noprefs" 0 kB
[ebuild  N    ~] dev-haskell/haskell-platform-2012.4.0.0:0/2012.4.0.0::gentoo-haskell  USE="X -profile" 0 kB


gentoo64 ~ # emerge -v cgi

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

Calculating dependencies... done!
[ebuild  N     ] dev-haskell/cgi-3001.1.7.4::gentoo-haskell  USE="doc profile -hscolour" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-haskell/cgi-3001.1.7.4 from gentoo-haskell
 * cgi-3001.1.7.4.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...
>>> Unpacking source...
>>> Unpacking cgi-3001.1.7.4.tar.gz to /var/tmp/portage/dev-haskell/cgi-3001.1.7.4/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/cgi-3001.1.7.4/work
>>> Compiling source in /var/tmp/portage/dev-haskell/cgi-3001.1.7.4/work/cgi-3001.1.7.4 ...
 * Using cabal-
 * Prepending /usr/lib64/ghc-7.6.2 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal- --make /var/tmp/portage/dev-haskell/cgi-3001.1.7.4/work/cgi-3001.1.7.4/Setup.hs -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/dev-haskell/cgi-3001.1.7.4/work/cgi-3001.1.7.4/Setup.hs, /var/tmp/portage/dev-haskell/cgi-3001.1.7.4/work/cgi-3001.1.7.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=cgi-3001.1.7.4/ghc-7.6.2 --datadir=/usr/share/ --datasubdir=cgi-3001.1.7.4/ghc-7.6.2 --with-haddock=/usr/bin/haddock --enable-library-profiling --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/cgi-3001.1.7.4 --verbose
Configuring cgi-3001.1.7.4...
Flags chosen: bytestring-in-base=False, split-base=True
Dependency base >=3 && <5: using base-
Dependency bytestring -any: using bytestring-
Dependency containers -any: using containers-
Dependency extensible-exceptions -any: using extensible-exceptions-
Dependency mtl >=1.0: using mtl-2.1.2
Dependency network >=2.0: using network-
Dependency old-locale -any: using old-locale-
Dependency old-time -any: using old-time-
Dependency parsec >=2.0: using parsec-3.1.3
Dependency xhtml >=3000.0.0: using xhtml-3000.2.1
Using Cabal- compiled by ghc-7.6
Using compiler: ghc-7.6.2
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/cgi-3001.1.7.4/ghc-7.6.2
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/cgi-3001.1.7.4/ghc-7.6.2
Documentation installed in: /usr/share/doc/cgi-3001.1.7.4
Using alex version 3.0.2 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.6.3 found on system at: /usr/bin/gcc
Using ghc version 7.6.2 given by user at: /usr/bin/ghc
Using ghc-pkg version 7.6.2 given by user at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.13.1 given by user at: /usr/bin/haddock
Using happy version 1.18.10 found on system at: /usr/bin/happy
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
Using hscolour version 1.19 found on system at: /usr/bin/HsColour
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.28 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
./setup build
Building cgi-3001.1.7.4...
Preprocessing library cgi-3001.1.7.4...

Network/CGI.hs:1:16: Warning:
    -fallow-overlapping-instances is deprecated: use -XOverlappingInstances or pragma {-# LANGUAGE OverlappingInstances #-} instead

Network/CGI/Monad.hs:1:16: Warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[1 of 8] Compiling Network.CGI.Header ( Network/CGI/Header.hs, dist/build/Network/CGI/Header.o )
[2 of 8] Compiling Network.CGI.Multipart ( Network/CGI/Multipart.hs, dist/build/Network/CGI/Multipart.o )
[3 of 8] Compiling Network.CGI.Protocol ( Network/CGI/Protocol.hs, dist/build/Network/CGI/Protocol.o )

Network/CGI/Protocol.hs:76:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"
[4 of 8] Compiling Network.CGI.Monad ( Network/CGI/Monad.hs, dist/build/Network/CGI/Monad.o )

Network/CGI/Monad.hs:54:28: Warning:
    In the use of `mkTyCon' (imported from Data.Typeable):
    Deprecated: "either derive Typeable, or use mkTyCon3 instead"
[5 of 8] Compiling Network.CGI.Accept ( Network/CGI/Accept.hs, dist/build/Network/CGI/Accept.o )
[6 of 8] Compiling Network.CGI.Cookie ( Network/CGI/Cookie.hs, dist/build/Network/CGI/Cookie.o )
[7 of 8] Compiling Network.CGI.Compat ( Network/CGI/Compat.hs, dist/build/Network/CGI/Compat.o )

    Not in scope: `Prelude.catch'
    Perhaps you meant one of these:
      `Prelude.acosh' (imported from Prelude),
      `Prelude.atan' (imported from Prelude),
      `Prelude.atanh' (imported from Prelude)
 * ERROR: dev-haskell/cgi-3001.1.7.4 failed (compile phase):
 *   setup build failed
 * Call stack:
 *, line   93:  Called src_compile
 *   environment, line 2762:  Called haskell-cabal_src_compile
 *   environment, line 2083:  Called cabal_src_compile
 *   environment, line  642:  Called cabal-build
 *   environment, line  436:  Called die
 * The specific snippet of code:
 *       ./setup "$@" || die "setup build failed"
 * If you need support, post the output of `emerge --info '=dev-haskell/cgi-3001.1.7.4'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/cgi-3001.1.7.4'`.
 * 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/cgi-3001.1.7.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/cgi-3001.1.7.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/cgi-3001.1.7.4/work/cgi-3001.1.7.4'
 * S: '/var/tmp/portage/dev-haskell/cgi-3001.1.7.4/work/cgi-3001.1.7.4'

>>> Failed to emerge dev-haskell/cgi-3001.1.7.4, Log file:

>>>  '/var/tmp/portage/dev-haskell/cgi-3001.1.7.4/temp/build.log'
Back to top
View user's profile Send private message

Joined: 07 Feb 2013
Posts: 5
Location: Omaha, NE

PostPosted: Thu Mar 28, 2013 1:08 pm    Post subject: Reply with quote

Added */*::gentoo-haskell ~amd64 to package.accept_keywords and updated. Thanks to #gentoo-haskell IRC for all the help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum