Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307785 - x11-wm/xmonad-0.9: error: HsX11Config.h: No such file or directory
Summary: x11-wm/xmonad-0.9: error: HsX11Config.h: No such file or directory
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-04 17:51 UTC by Eric Johnson
Modified: 2011-02-25 22:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,3.30 KB, text/plain)
2010-03-04 17:56 UTC, Eric Johnson
Details
eclass-debug.log (eclass-debug.log,1.08 KB, text/plain)
2010-03-04 17:57 UTC, Eric Johnson
Details
package.keywords (package.keywords,214 bytes, text/plain)
2010-03-04 17:57 UTC, Eric Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Johnson 2010-03-04 17:51:18 UTC
On sparc, using new install of ghc-6.8.2, xmonad-0.9 fails to build

Reproducible: Always

Steps to Reproduce:
1. emerge -av dev-lang/ghc
2. keyword x11-wm/xmonad
3. emerge -av x11-wm/xmonad
 

Actual Results:  
Configures, begins to compile and fails (see attached build.log for full detail):

Preprocessing executables for xmonad-0.9...
Building xmonad-0.9...
[1 of 8] Compiling XMonad.StackSet  ( XMonad/StackSet.hs, dist/build/XMonad/StackSet.o )

In file included from /var/tmp/portage/x11-wm/xmonad-0.9/temp/ghc6754_0/ghc6754_0.hc:10:0:

/usr/lib/x11-1.4.6.1/ghc-6.8.2/include/HsAllKeysyms.h:4:25:
     error: HsX11Config.h: No such file or directory

Expected Results:  
Build correctly.

Portage 2.1.7.17 (default/linux/sparc/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 sparc64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-sparc64-sun4u-with-gentoo-2.0.1
Timestamp of tree: Thu, 04 Mar 2010 07:45:02 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
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://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa bash-completion berkdb bindist branding bzip2 cairo caps cdr cli cracklib crypt css cups cxx dbus dga dri dvd dvdr dvdread encode fam flac fortran gcc64 gdbm gif gpm hal iconv imap ipv6 jabber javascript jpeg latex libnotify mad mikmod modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl php png postgres pppd python readline reflection ruby sdl session smp sparc spell spl ssl svg sysfs tcpd tiff truetype unicode usb vorbis xine xml xorg xv xvid zlib" ALSA_CARDS="ali5451" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Eric Johnson 2010-03-04 17:56:44 UTC
Created attachment 222063 [details]
build.log
Comment 2 Eric Johnson 2010-03-04 17:57:19 UTC
Created attachment 222065 [details]
eclass-debug.log
Comment 3 Eric Johnson 2010-03-04 17:57:48 UTC
Created attachment 222067 [details]
package.keywords
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2011-02-25 22:07:44 UTC
I vaguely recall there were problems with C headers in ancient Cabal library.
Sparc has 1.6 and 1.8 branches stable, which should be fine.

I successfully built xmobar-0.9 against cabal-1.8 (32bit sparc userland).

Please, open separate bug if things will fail for you with newer libraries.