Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20989 - ghc-5.04.3-r1 fails during install phase.
Summary: ghc-5.04.3-r1 fails during install phase.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Andres Loeh (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-14 03:04 UTC by Mikael A
Modified: 2003-07-01 07:19 UTC (History)
1 user (show)

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 Mikael A 2003-05-14 03:04:18 UTC
ghc-5.04.3-r1 fails when upgrading from 5.04.3.ebuild. It seems as if the makefile var 
$(HADDOCK) is defined as the empty string in stage2-build/mk/config.mk 
 
---ERROR MESSAGE--------- 
mkdir html 
t "Haskell Core Libraries (base package)" --no-implicit-prelude -p prologue.txt    -h -o 
html Control/Arrow.raw-hs Control/Concurrent.raw-hs Control/Concurrent/Chan.raw-hs 
Control/Concurrent/MVar.raw-hs Control/Concurrent/QSem.raw-hs <... lots of stuff...> \ 
        --dump-interface=base.haddock \ 
 
/bin/sh: line 1: t: command not found 
make[2]: [html/index.html] Error 127 (ignored) 
mkdir /var/tmp/portage/ghc-5.04.3-r1/image/usr/share/doc/ghc-5.04.3-r1/html/base 
/bin/install -c -m 644 html/* 
/var/tmp/portage/ghc-5.04.3-r1/image//usr/share/doc/ghc-5.04.3-r1/html/base 
/bin/install: cannot stat `html/*': No such file or directory 
make[2]: *** [install-docs] Error 1 
make[1]: *** [install-docs] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/ghc-5.04.3-r1/work/stage2-build/libraries' 
make: *** [install-docs] Error 1 
 
!!! ERROR: dev-lang/ghc-5.04.3-r1 failed. 
!!! Function src_install, Line 180, Exitcode 2 
!!! (no error message) 
 
---INSTALLED VERSION------------------------------------- 
$ emerge -s ghc 
  Searching... 
[ Results for search key : ghc ] 
[ Applications found : 2 ] 
 
*  dev-lang/ghc 
      Latest version available: 5.04.3-r1 
      Latest version installed: 5.04.3 
      Size of downloaded files: 4,630 kB 
      Homepage:    http://www.haskell.org/ghc/ 
      Description: The Glasgow Haskell Compiler 
 
*  dev-lang/ghc-bin 
      Latest version available: 5.04.3 
      Latest version installed: 5.04.2 
      Size of downloaded files: 15,357 kB 
      Homepage:    http://www.haskell.org 
      Description: Glasgow Haskell Compiler 
 
 
---EMERGE INFO------------------------------------- 
$ emerge info 
  Portage 2.0.48_pre6 (default-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r8) 
================================================================= 
System uname: 2.4.20-gentoo-r3-cfg1 i686 AMD Athlon(tm) processor 
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ 
http://gentoo.oregonstate.edu/" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/data/portage" 
USE="x86 3dnow apm avi crypt cups encode jpeg kde libg++ mikmod mmx mpeg 
ncurses pdflib quicktime spell truetype xml2 xmms xv aalib alsa arts berkdb bonobo cdr 
esd gdbm ggi gif gnome-libs gpm gtk gtkhtml guile imlib java libwww motif mozilla nas 
nls oggvorbis opengl pam perl png python qt readline ruby scanner sdl slang snmp ssl 
svga tcltk tcpd tetex tiff X apache2 -oss" 
COMPILER="" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=i686 -pipe" 
CXXFLAGS="-O2 -march=i686 -pipe" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Andres Loeh (RETIRED) gentoo-dev 2003-05-22 08:51:17 UTC
I have committed a fix. Thanks for finding the problem. The build now  
depends on the new package dev-haskell/haddock if USE="+doc" is set.  
If USE="doc" is not set, it should disable the relevant part of installation  
so that the problem does not occur. 
 
I have tested with "-doc" and will test with "+doc" tonight. Because 
it is a severe bug, I have committed anyway already -- can't get much worse 
than it has been. Please test. 
 
Leaving the bug open for now ... 
Comment 2 Andres Loeh (RETIRED) gentoo-dev 2003-06-08 07:31:51 UTC
I have found a couple of additional problems with my changes, 
but I hope that everything is alright now. If you still encounter 
problems, I would appreciate feedback. 
Comment 3 Mikael A 2003-07-01 06:52:07 UTC
Works know afaik. 
Comment 4 Andres Loeh (RETIRED) gentoo-dev 2003-07-01 07:19:22 UTC
Closing this bug.