Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144678 - Please mark various dev-haskell packages stable
Summary: Please mark various dev-haskell packages stable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-21 12:22 UTC by Chris Parrott (RETIRED)
Modified: 2006-11-12 07:34 UTC (History)
2 users (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 Chris Parrott (RETIRED) gentoo-dev 2006-08-21 12:22:40 UTC
The Gentoo Haskell herd requests the following packages be marked stable:

dev-haskell/buddha-1.2  (except ppc64)
dev-haskell/c2hs-0.14.5
dev-haskell/cpphs-1.2   (except ppc)
dev-haskell/drift-2.1.2
dev-haskell/frown-0.6.1-r1
dev-haskell/haxml-1.13-r1
dev-haskell/hdoc-0.8.3
dev-haskell/hmake-3.11  (except ppc)
dev-haskell/uulib-0.9.2 (except ppc)
dev-haskell/uuagc-0.9.1 (except ppc)
Comment 1 Duncan Coutts (RETIRED) gentoo-dev 2006-08-21 12:25:25 UTC
All these Haskell development tools have been sitting about for quite some time without giving us any problems. So it should just be a case of checking they build and appear to run.
Comment 2 Jesus Rivero (Neurogeek) 2006-08-22 19:38:05 UTC
Hello, 

in x86

1) emerges fine
2) works

dev-haskell/buddha-1.2 
dev-haskell/c2hs-0.14.5
dev-haskell/cpphs-1.2   
dev-haskell/drift-2.1.2
dev-haskell/frown-0.6.1-r1 (passes tests suite)
dev-haskell/haxml-1.13-r1
dev-haskell/hdoc-0.8.3
dev-haskell/hmake-3.11  
dev-haskell/uulib-0.9.2 
dev-haskell/uuagc-0.9.1 

Nevertheless, c2hs and hmake look for ghc and ghc-pkg in /usr/bin/ but ghc dir is in fact /opt/ghc/bin/  i had to ln -s' them to /usr/bin for them to build. 

emerge --info 

Portage 2.1-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.4
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-Os -mcpu=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /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/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-Os -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
LINGUAS="es"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xorg xv zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_synaptics kernel_linux linguas_es userland_GNU video_cards_i915 video_cards_i810 video_cards_i830 video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2006-08-24 03:20:09 UTC
packages stable on ppc64; added ~ppc64 to buddha-1.2
Comment 4 Ferris McCormick (RETIRED) gentoo-dev 2006-08-24 06:09:47 UTC
No to buddha-1.2 on both sparc amd amd64.  On both systems, it builds with ghc-6.4.2 as expected and installs.  However, using it is a different story.

As a quick check, I tried an example distributed with buddha.  Result on both systems looks like:
=====================
liasis knot # buddha
buddha 1.2: initialising
buddha 1.2: transforming: Main.hs KnotList.hs
buddha 1.2: compiling
ghc-6.4.2: unknown package: buddha
buddha 1.2: done
===========================
On both systems, the ghc call ends up using these arguments:
==========================
ghcArgs="-O --make -w -package-conf /usr/share/buddha/buddha.pkg.conf -prof -package buddha -package buddhaHsBase -package lang -package posix -fglasgow-exts -fno-implicit-prelude -fno-cse -o debug Main.hs"
==========================
the /usr/share/buddha/buddha.pkg.conf file is the same on both systems.

I am pretty sure the -mk file wants also '-cpp' (I can't confirm, but to get these things to build with ghc but without buddha, I need it), but the rest looks like some incompatibility between buddha and ghc-6.4.2 to me.

Comment 5 Ferris McCormick (RETIRED) gentoo-dev 2006-08-24 06:23:21 UTC
(In reply to comment #4)



> I am pretty sure the -mk file wants also '-cpp' (I can't confirm, but to get
> these things to build with ghc but without buddha, I need it), but the rest
> looks like some incompatibility between buddha and ghc-6.4.2 to me.
> 
I lied about this.  Everything else stays as reported.
Comment 6 Ferris McCormick (RETIRED) gentoo-dev 2006-08-24 07:31:23 UTC
c2hs stable on sparc.
Comment 7 Ferris McCormick (RETIRED) gentoo-dev 2006-08-25 11:15:50 UTC
All but buddha-1.2 stable on sparc; for buddha, please see Comment 4.
Comment 8 Ferris McCormick (RETIRED) gentoo-dev 2006-08-25 11:43:08 UTC
(In reply to comment #7)
> All but buddha-1.2 stable on sparc; for buddha, please see Comment 4.
> 

I should mention for completeness:
1)  virtual/ghc is provided by ghc-6.4.2 + the patch at Bug 144752 (https://bugs.gentoo.org/attachment.cgi?id=94957).
2)  In a few cases, building documentation or running tests seems to require packages not in DEPEND list; e.g., the frown test suite seems to be using hugs.  I do not know off hand if this is a requirement or if the test runner looks around for something to use and settles on hugs or if hugs is a requirement.  If it is a requirement, then in case of FEATURES=test, we should have a DEPEND=dev-lang/hugs98, I suppose.
Comment 9 Wormo (RETIRED) gentoo-dev 2006-08-27 12:43:17 UTC
c2hs is failing one of the tests on ppc:

root# pwd
/var/tmp/portage/c2hs-0.14.5/work/c2hs-0.14.5/c2hs/tests
root# make
... various tests passing ....
---=== Output for `structs':
structs: smallInt /= -1: Panic!
make: *** [structs.run] Error 1
Comment 10 Wormo (RETIRED) gentoo-dev 2006-08-27 13:58:50 UTC
drift may be failing it's test (again on ppc). There are some differences in output vs the provided sample output.

root# make TestTerm_check
root# ./TestTerm_check
15,16c15,16
<       g (SortA1 _) xs = case TermRep.fArgs xs of [aa] -> toDyn ((SortA1 (TermRep.fDyn aa))::SortA) ; _ -> error "Term explosion error."
<       g SortA2 xs = case TermRep.fArgs xs of [] -> toDyn ((SortA2)::SortA) ; _ -> error "Term explosion error."
---
>       g (SortA1 _) xs = case TermRep.fArgs xs of [aa] -> toDyn ((SortA1 (TermRep.fDyn aa))::SortA)
>       g SortA2 xs = case TermRep.fArgs xs of [] -> toDyn ((SortA2)::SortA)
21c21
<       g (SortB _ _) xs = case TermRep.fArgs xs of [aa,ab] -> toDyn ((SortB (TermRep.fDyn aa) (TermRep.fDyn ab))::SortB) ; _ -> error "Term explosion error."
---
>       g (SortB _ _) xs = case TermRep.fArgs xs of [aa,ab] -> toDyn ((SortB (TermRep.fDyn aa) (TermRep.fDyn ab))::SortB)
Comment 11 Wormo (RETIRED) gentoo-dev 2006-08-27 21:31:13 UTC
marking frown-0.6.1-r1 stable on ppc since all tests passed, marking cpphs-1.2 ~ppc (added bonus, I know you didn't ask...)
Comment 12 Lennart Kolmodin (RETIRED) gentoo-dev 2006-08-29 10:17:06 UTC
Hi Wormo,



Looks like c2hs didn't make it to stable, this time. We'll send the bugreport upstream. It looks like it works on the most cases, not on all cases though. Not quite stable on ppc then.

WRT drift, I get the same differences on x86, as it is not platform dependent.
It seems like the examples simply arnen't updated.
The old code catched the default case and trew a proper error. The new code just fails. No matter what, if if the first case isn't catched it will fail anyway.
I don't see any troubles with that.

Ferris and Wormo, thanks a lot for your help!
Comment 13 Duncan Coutts (RETIRED) gentoo-dev 2006-09-12 03:35:00 UTC
I have a patch for buddha-1.2. I'll get it into portage and ask for it to be re-tested if that's ok.
Comment 14 Ferris McCormick (RETIRED) gentoo-dev 2006-09-12 04:17:41 UTC
(In reply to comment #13)
> I have a patch for buddha-1.2. I'll get it into portage and ask for it to be
> re-tested if that's ok.
> 

Sure.
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2006-09-29 18:35:57 UTC
any word on this patch?
Comment 16 Joshua Jackson (RETIRED) gentoo-dev 2006-10-03 22:47:15 UTC
all but buddha stable...
Comment 17 Chris Parrott (RETIRED) gentoo-dev 2006-10-04 20:32:32 UTC
All but buddha marked stable for amd64.
Comment 18 Chris Parrott (RETIRED) gentoo-dev 2006-10-04 20:34:47 UTC
arch teams -- we have decided to rescind the stablization request for buddha.  This is due to the fact that, during recent testing, we discovered that buddha is generating Haskell code which no longer compiles with the current version of ghc.  We plan to work with the upstream developers to try and fix this.
Comment 19 Chris Parrott (RETIRED) gentoo-dev 2006-10-04 20:36:46 UTC
also, dev-haskell/uulib-0.9.2 still needs to be marked stable for ppc
Comment 20 Joe Jezak (RETIRED) gentoo-dev 2006-10-04 20:49:14 UTC
I just added ~ppc to the ebuild today.  We will not stablize it on ppc until it's been at least 30 days in unstable.
Comment 21 Chris Parrott (RETIRED) gentoo-dev 2006-10-04 21:05:23 UTC
(In reply to comment #20)
> I just added ~ppc to the ebuild today.  We will not stablize it on ppc until
> it's been at least 30 days in unstable.

Ah, I should read the Changelogs more closely.  :-)

Very well then, I will follow up on this in 30 days.
Comment 22 Joshua Jackson (RETIRED) gentoo-dev 2006-10-04 21:54:39 UTC
removing x86 as we're done now that buddha doesn't need his belly rubbed anymore.
Comment 23 Ferris McCormick (RETIRED) gentoo-dev 2006-10-05 04:30:40 UTC
Removing sparc because buddha is no longer required (Comment 18), and everything else is done.
Comment 24 Chris Parrott (RETIRED) gentoo-dev 2006-10-05 08:28:44 UTC
removing amd64, since everything but buddha is stable now.
Comment 25 Matti Bickel (RETIRED) gentoo-dev 2006-11-12 07:34:11 UTC
Look! ppc keywords on uulib and uuagc! As everything seems to be done now, this is finally RESOLVED.