Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85200 - emerging c2hs fails with ghc-6.4
Summary: emerging c2hs fails with ghc-6.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-14 04:21 UTC by Gour
Modified: 2005-12-19 03:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gour 2005-03-14 04:21:40 UTC
Hi!

Emerging c2hs fails with ghc-6.4:

*** Generating dependencies for c2hs...
/usr/bin/ghc -M -optdep-f -optdep.depend\
          -package haskell98 -package posix -package lang -O -recomp -fno-warn-incomplete-patterns -package-conf ../base/base.build.conf -package ctk -package-name c2hs  -ic -ichs -igen -istate -itoplevel  \
  c/CAST.hs c/CAttrs.hs c/CBuiltin.hs c/C.hs c/CLexer.hs c/CNames.hs c/CParser.hs c/CPretty.hs c/CTrav.hs chs/CHS.hs chs/CHSLexer.hs gen/CInfo.hs gen/GBMonad.hs gen/GenBind.hs gen/GenHeader.hs state/C2HSState.hs state/Switches.hs toplevel/C2HSConfig.hs toplevel/Main.hs toplevel/Version.hs
ghc-6.4: unknown package: ctk
make[1]: *** [gendepend] Error 1
make[1]: Leaving directory `/var/tmp/portage/c2hs-0.13.4/work/c2hs-0.13.4/c2hs'
make: *** [depend] Error 2


Reproducible: Always
Steps to Reproduce:
1. emerge c2hs
2.
3.

Actual Results:  
[...] 
*** Generating dependencies for c2hs... 
/usr/bin/ghc -M -optdep-f -optdep.depend\ 
          -package haskell98 -package posix -package lang -O -recomp 
-fno-warn-incomplete-patterns -package-conf ../base/base.build.conf -package 
ctk -package-name c2hs  -ic -ichs -igen -istate -itoplevel  \ 
  c/CAST.hs c/CAttrs.hs c/CBuiltin.hs c/C.hs c/CLexer.hs c/CNames.hs 
c/CParser.hs c/CPretty.hs c/CTrav.hs chs/CHS.hs chs/CHSLexer.hs gen/CInfo.hs 
gen/GBMonad.hs gen/GenBind.hs gen/GenHeader.hs state/C2HSState.hs 
state/Switches.hs toplevel/C2HSConfig.hs toplevel/Main.hs toplevel/Version.hs 
ghc-6.4: unknown package: ctk 
make[1]: *** [gendepend] Error 1 
make[1]: Leaving directory `/var/tmp/portage/c2hs-0.13.4/work/c2hs-0.13.4/c2hs' 
make: *** [depend] Error 2 
 

Expected Results:  
emerged package 

gaura-nitai swe # emerge info 
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 x86_64) 
================================================================= 
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.6.4 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  3 2004, 13:50:45)] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.6.8.1-r1 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CFLAGS="-march=k8 -O2 -pipe -funroll-loops -fPIC" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=k8 -O2 -pipe -funroll-loops -fPIC" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox 
userpriv" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
LANG="en_US.utf8" 
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage/local" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acpi alsa amd64 apache2 arts audiofile avi bash-completion 
berkdbbitmap-fonts bzip2 caps cddb cdparanoia cdr crypt cups curl dar64 
directfb divx4linux doc dvd dvdr dvdread encode esd fam fbcon flac font-server 
foomaticdb fortran gdbm gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk 
gtk2 gtkhtml haskell i8x0 imagemagick imlib immqt-bc innodb ipv6 java jikes jp2 
jpeg jpeg2k junit kde kdeenablefinal koffice-plugin lcms libwww lzo lzw 
lzw-tiff mad mmap mmqt motif mozdevelop mozilla mozsvg mp3 mpeg mysql ncurses 
nls noamazon nptl nvidia oggvorbis opengl oss pam pcre pda perl pic png ppds 
pslib python qt readline ruby sasl scanner slang speex sqlite ssl svg tcltk 
tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb 
userlocales vim-with-x wxwindows xface xine xinerama xml xml2 xmms xpm xprint 
xrandr xv zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Andres Loeh (RETIRED) gentoo-dev 2005-03-14 09:26:32 UTC
Nearly everything fails with ghc-6.4. That's why it's hard-masked.
Please do not classify such a bug as a blocker.

ks
Comment 2 Gour 2005-03-14 11:42:35 UTC
Hi!

Pls. excuse me for making noise.

Darcs compiles nicely so I thought to give it a try.

Sincerely,
Gour
Comment 3 Andres Loeh (RETIRED) gentoo-dev 2005-12-19 03:08:32 UTC
I hope that this is no longer relevant.