<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>20989</bug_id>
          
          <creation_ts>2003-05-14 03:04 0000</creation_ts>
          <short_desc>ghc-5.04.3-r1 fails during install phase.</short_desc>
          <delta_ts>2003-07-01 07:19:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>1.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>snikkt@yahoo.com</reporter>
          <assigned_to>kosmikus@gentoo.org</assigned_to>
          <cc>george@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>snikkt@yahoo.com</who>
            <bug_when>2003-05-14 03:04:18 0000</bug_when>
            <thetext>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 &quot;Haskell Core Libraries (base package)&quot; --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 &lt;... lots of stuff...&gt; \ 
        --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/*&apos;: 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&apos; 
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=&quot;http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ 
http://gentoo.oregonstate.edu/&quot; 
CONFIG_PROTECT=&quot;/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&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot; 
PORTDIR=&quot;/usr/portage&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR_OVERLAY=&quot;/data/portage&quot; 
USE=&quot;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&quot; 
COMPILER=&quot;&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
CFLAGS=&quot;-O2 -march=i686 -pipe&quot; 
CXXFLAGS=&quot;-O2 -march=i686 -pipe&quot; 
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot; 
MAKEOPTS=&quot;-j2&quot; 
AUTOCLEAN=&quot;yes&quot; 
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot; 
FEATURES=&quot;sandbox ccache&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kosmikus@gentoo.org</who>
            <bug_when>2003-05-22 08:51:17 0000</bug_when>
            <thetext>I have committed a fix. Thanks for finding the problem. The build now  
depends on the new package dev-haskell/haddock if USE=&quot;+doc&quot; is set.  
If USE=&quot;doc&quot; is not set, it should disable the relevant part of installation  
so that the problem does not occur. 
 
I have tested with &quot;-doc&quot; and will test with &quot;+doc&quot; tonight. Because 
it is a severe bug, I have committed anyway already -- can&apos;t get much worse 
than it has been. Please test. 
 
Leaving the bug open for now ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kosmikus@gentoo.org</who>
            <bug_when>2003-06-08 07:31:51 0000</bug_when>
            <thetext>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. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>snikkt@yahoo.com</who>
            <bug_when>2003-07-01 06:52:07 0000</bug_when>
            <thetext>Works know afaik. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kosmikus@gentoo.org</who>
            <bug_when>2003-07-01 07:19:22 0000</bug_when>
            <thetext>Closing this bug.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>