Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] xmobar-0.9 fails to compile :(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
alacheesu
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2005
Posts: 113

PostPosted: Mon Nov 02, 2009 9:06 am    Post subject: [Solved] xmobar-0.9 fails to compile :( Reply with quote

I can't get xmobar til compile anymore. Version 0.8, 0.8-r1 and 0.9 all give the same error message given below.

Code:
>>> Emerging (1 of 1) x11-misc/xmobar-0.9
 * xmobar-0.9.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking xmobar-0.9.tar.gz to /var/tmp/portage/x11-misc/xmobar-0.9/work
>>> Source unpacked in /var/tmp/portage/x11-misc/xmobar-0.9/work
>>> Compiling source in /var/tmp/portage/x11-misc/xmobar-0.9/work/xmobar-0.9 ...
 * Using cabal-1.6.0.3.
[1 of 1] Compiling Main             ( /var/tmp/portage/x11-misc/xmobar-0.9/work/xmobar-0.9/Setup.lhs, /var/tmp/portage/x11-misc/xmobar-0.9/work/xmobar-0.9                                                                                                                                                                /Setup.o )
Linking setup ...
Configuring xmobar-0.9...
Flags chosen: with_utf8=False, with_xft=False, small_base=True
Dependency X11 >=1.3.0: using X11-1.4.6.1
Dependency base >=3: using base-4.1.0.0
Dependency bytestring -any: using bytestring-0.9.1.4
Dependency containers -any: using containers-0.2.0.1
Dependency directory -any: using directory-1.0.0.3
Dependency filepath -any: using filepath-1.1.0.2
Dependency mtl -any: using mtl-1.1.0.2
Dependency old-locale -any: using old-locale-1.0.0.1
Dependency old-time -any: using old-time-1.0.0.2
Dependency parsec -any: using parsec-2.1.0.1
Dependency process -any: using process-1.0.1.1
Dependency stm -any: using stm-2.1.1.2
Dependency unix -any: using unix-2.3.2.0
Using Cabal-1.6.0.3 compiled by ghc-6.10
Using compiler: ghc-6.10.4
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/xmobar-0.9/ghc-6.10.4
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/xmobar-0.9/ghc-6.10.4
Documentation installed in: /usr/share/doc/xmobar-0.9
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.2 found on system at: /usr/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
No haddock found
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 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: /bin/tar
/usr/bin/gcc /var/tmp/portage/x11-misc/xmobar-0.9/temp/5322.c -o /var/tmp/portage/x11-misc/xmobar-0.9/temp/5322 -D__GLASGOW_HASKELL__=610 -I. -I/usr/lib64                                                                                                                                                                /ghc-6.10.4/process-1.0.1.1/include -I/usr/lib64/ghc-6.10.4/directory-1.0.0.3/include -I/usr/lib64/ghc-6.10.4/unix-2.3.2.0/include -I/usr/lib64/ghc-6.10.4                                                                                                                                                                /old-time-1.0.0.2/include -I/usr/lib64/ghc-6.10.4/bytestring-0.9.1.4/include -I/usr/lib64/x11-1.4.6.1/ghc-6.10.4/include -I/usr/lib64/ghc-6.10.4/base-4.1.                                                                                                                                                                0.0/include -I/usr/lib64/ghc-6.10.4/include
Preprocessing executables for xmobar-0.9...
Building xmobar-0.9...
[ 1 of 25] Compiling Commands         ( Commands.hs, dist/build/xmobar/xmobar-tmp/Commands.o )
[ 2 of 25] Compiling Runnable[boot]   ( Runnable.hs-boot, dist/build/xmobar/xmobar-tmp/Runnable.o-boot )
[ 3 of 25] Compiling XUtil            ( dist/build/xmobar/xmobar-tmp/XUtil.hs, dist/build/xmobar/xmobar-tmp/XUtil.o )
[ 4 of 25] Compiling Plugins          ( Plugins.hs, dist/build/xmobar/xmobar-tmp/Plugins.o )
[ 5 of 25] Compiling Plugins.StdinReader ( Plugins/StdinReader.hs, dist/build/xmobar/xmobar-tmp/Plugins/StdinReader.o )

Plugins/StdinReader.hs:29:15:
    Ambiguous type variable `e' in the constraint:
      `GHC.Exception.Exception e'
        arising from a use of `catch' at Plugins/StdinReader.hs:29:15-78
    Probable fix: add a type signature that fixes these type variable(s)
 * ERROR: x11-misc/xmobar-0.9 failed:
 *   setup build failed
 *
 * Call stack:
 *     ebuild.sh, line   55:  Called src_compile
 *   environment, line 1673:  Called cabal_src_compile
 *   environment, line  437:  Called cabal-build
 *   environment, line  345:  Called die
 * The specific snippet of code:
 *       ./setup build || die "setup build failed"
 *
 * If you need support, post the output of 'emerge --info =x11-misc/xmobar-0.9',
 * the complete build log and the output of 'emerge -pqv =x11-misc/xmobar-0.9'.
 * The complete build log is located at '/var/log/portage/x11-misc:xmobar-0.9:20091102-085355.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xmobar-0.9/temp/environment'.
 * S: '/var/tmp/portage/x11-misc/xmobar-0.9/work/xmobar-0.9'

>>> Failed to emerge x11-misc/xmobar-0.9, Log file:

>>>  '/var/log/portage/x11-misc:xmobar-0.9:20091102-085355.log'


emerge --info :
Code:

Portage 2.1.7.3 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r4-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 02 Nov 2009 08:15:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O0"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificate
CXXFLAGS="-O0"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j6"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 ansi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvb dvd dvdr eds emboss encode evo fam ffmpeg firefox flac fortran gd gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal iconv jpeg kde ldap libnotify logrotate mad matroska midi mikmod mmx mng modules mp3 mp4 mpd mpeg msn mudflap multilib musepack mysql mythtv ncurses nls nptl nptlonly offensive ogg openal opengl openmp pam pcre pdf perl pertty plasma png ppds pppd python qt3support qt4 quicktime rar readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd thumbnail thunar tiff truetype unicode usb v4l v4l2 vdpau vorbis x264 xcb xcomposite xfce xinerama xml xorg xulrunner xv 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" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTSPortage 2.1.7.3 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r4 x86_64)


Last edited by alacheesu on Mon Nov 02, 2009 3:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
alacheesu
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2005
Posts: 113

PostPosted: Mon Nov 02, 2009 3:33 pm    Post subject: Reply with quote

Nevermind. Solved by downloading 0.9.2 from the haskell overlay instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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