First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 126324
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Haskell Language team <haskell@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Duncan Coutts (RETIRED) <dcoutts@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 126324 depends on: Show dependency tree
Bug 126324 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-15 11:14 0000
It'd be nice to get hugs98-2005.3-r2 tested and marked ~arm, ~hppa, ~ia64,
~mips,  ~ppc-macos, ~s390, ~sh

hugs98 is a Haskell interpreter written in C so it should be fairly easy to get
working. (In comparison ghc is rather hard and needs bootstrapping on each
arch).

So if people in the arch teams have time then it'd be great if you could give
it a go and if it works then please keyword it. If anyone finds gets build or
test failures then please note them here.

A quick test might be:
$ hugs /usr/share/doc/hugs98-2005.3-r2/demos/Queens.hs
[snip banner]
Type :? for help
Queens> q 8
[snip 92 lines of results]

------- Comment #1 From Chris Parrott (RETIRED) 2006-03-15 22:21:43 0000 -------
I just successfully built this on the mips architecture.  I used a SGI Indy
(IP22) with a 100 MHz R4000, and 64 MB of RAM.  Here is the output from emerge
--info:


gemma ~ # emerge --info
Portage 2.0.54 (default-linux/mips/2006.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.14.7-mipsgit-20051030 mips)
=================================================================
System uname: 2.6.14.7-mipsgit-20051030 mips R4000SC V3.0  FPU V0.0
Gentoo Base System version 1.6.14
distcc 2.18.3 mips-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.21-r3
ACCEPT_KEYWORDS="mips ~mips"
AUTOCLEAN="yes"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-Os -mips3 -mabi=32 -march=r4000"
CHOST="mips-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mips3 -mabi=32 -march=r4000"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sfperms strict"
GENTOO_MIRRORS="http://gentoo-distfiles.mirrors.tds.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="mips apache2 berkdb bitmap-fonts bzip2 cli ctype dba expat fastbuild
force-cgi-redirect fortran ftp gd gdbm gmp gpm libwww memlimit ncurses nls
nomultilib pam pcre perl posix python readline sdl session simplexml soap
sockets spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev usb xml
xsl zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY



Several tests appear to run successfully with this build:

gemma ~ # cat Factorial.hs
fact :: Integer -> Maybe Integer
fact n = if n < 0 then Nothing else Just (product [1..n])


gemma ~ # hugs -98 Factorial.hs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: hugs-bugs@haskell.org
||   || Version: March 2005     _________________________________________

Hugs mode: Restart with command line option +98 for Haskell 98 mode

Type :? for help
Main> fact 100
Just
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
Main> fact 1000
Just
402387260077093773543702433923003985719374864210714632543799910429938512398629020592044208486969404800479988610197196058631666872994808558901323829669944590997424504087073759918823627727188732519779505950995276120874975462497043601418278094646496291056393887437886487337119181045825783647849977012476632889835955735432513185323958463075557409114262417474349347553428646576611667797396668820291207379143853719588249808126867838374559731746136085379534524221586593201928090878297308431392844403281231558611036976801357304216168747609675871348312025478589320767169132448426236131412508780208000261683151027341827977704784635868170164365024153691398281264810213092761244896359928705114964975419909342221566832572080821333186116811553615836546984046708975602900950537616475847728421889679646244945160765353408198901385442487984959953319101723355556602139450399736280750137837615307127761926849034352625200015888535147331611702103968175921510907788019393178114194545257223865541461062892187960223838971476088506276862967146674697562911234082439208160153780889893964518263243671616762179168909779911903754031274622289988005195444414282012187361745992642956581746628302955570299024324153181617210465832036786906117260158783520751516284225540265170483304226143974286933061690897968482590125458327168226458066526769958652682272807075781391858178889652208164348344825993266043367660176999612831860788386150279465955131156552036093988180612138558600301435694527224206344631797460594682573103790084024432438465657245014402821885252470935190620929023136493273497565513958720559654228749774011413346962715422845862377387538230483865688976461927383814900140767310446640259899490222221765904339901886018566526485061799702356193897017860040811889729918311021171229845901641921068884387121855646124960798722908519296819372388642614839657382291123125024186649353143970137428531926649875337218940694281434118520158014123344828015051399694290153483077644569099073152433278288269864602789864321139083506217095002597389863554277196742822248757586765752344220207573630569498825087968928162753848863396909959826280956121450994871701244516461260379029309120889086942028510640182154399457156805941872748998094254742173582401063677404595741785160829230135358081840096996372524230560855903700624271243416909004153690105933983835777939410970027753472000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Main> [Leaving Hugs]


gemma ~ # cat Hello.hs
module Main ( main ) where

main = putStrLn "hello world"


gemma ~ # hugs -98 Hello.hs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: hugs-bugs@haskell.org
||   || Version: March 2005     _________________________________________

Hugs mode: Restart with command line option +98 for Haskell 98 mode

Type :? for help
Main> main
hello world

Main> [Leaving Hugs]


gemma ~ # hugs -98 /usr/share/doc/hugs98-2005.3-r2/demos/Queens.hs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: hugs-bugs@haskell.org
||   || Version: March 2005     _________________________________________

Hugs mode: Restart with command line option +98 for Haskell 98 mode

Type :? for help
Queens> q 8
   1) [1,5,8,6,3,7,2,4]
   2) [1,6,8,3,7,4,2,5]
   3) [1,7,4,6,8,2,5,3]
   4) [1,7,5,8,2,4,6,3]
   5) [2,4,6,8,3,1,7,5]
   6) [2,5,7,1,3,8,6,4]
   7) [2,5,7,4,1,8,6,3]
   8) [2,6,1,7,4,8,3,5]
   9) [2,6,8,3,1,4,7,5]
  10) [2,7,3,6,8,5,1,4]
  11) [2,7,5,8,1,4,6,3]
  12) [2,8,6,1,3,5,7,4]
  13) [3,1,7,5,8,2,4,6]
  14) [3,5,2,8,1,7,4,6]
  15) [3,5,2,8,6,4,7,1]
  16) [3,5,7,1,4,2,8,6]
  17) [3,5,8,4,1,7,2,6]
  18) [3,6,2,5,8,1,7,4]
  19) [3,6,2,7,1,4,8,5]
  20) [3,6,2,7,5,1,8,4]
  21) [3,6,4,1,8,5,7,2]
  22) [3,6,4,2,8,5,7,1]
  23) [3,6,8,1,4,7,5,2]
  24) [3,6,8,1,5,7,2,4]
  25) [3,6,8,2,4,1,7,5]
  26) [3,7,2,8,5,1,4,6]
  27) [3,7,2,8,6,4,1,5]
  28) [3,8,4,7,1,6,2,5]
  29) [4,1,5,8,2,7,3,6]
  30) [4,1,5,8,6,3,7,2]
  31) [4,2,5,8,6,1,3,7]
  32) [4,2,7,3,6,8,1,5]
  33) [4,2,7,3,6,8,5,1]
  34) [4,2,7,5,1,8,6,3]
  35) [4,2,8,5,7,1,3,6]
  36) [4,2,8,6,1,3,5,7]
  37) [4,6,1,5,2,8,3,7]
  38) [4,6,8,2,7,1,3,5]
  39) [4,6,8,3,1,7,5,2]
  40) [4,7,1,8,5,2,6,3]
  41) [4,7,3,8,2,5,1,6]
  42) [4,7,5,2,6,1,3,8]
  43) [4,7,5,3,1,6,8,2]
  44) [4,8,1,3,6,2,7,5]
  45) [4,8,1,5,7,2,6,3]
  46) [4,8,5,3,1,7,2,6]
  47) [5,1,4,6,8,2,7,3]
  48) [5,1,8,4,2,7,3,6]
  49) [5,1,8,6,3,7,2,4]
  50) [5,2,4,6,8,3,1,7]
  51) [5,2,4,7,3,8,6,1]
  52) [5,2,6,1,7,4,8,3]
  53) [5,2,8,1,4,7,3,6]
  54) [5,3,1,6,8,2,4,7]
  55) [5,3,1,7,2,8,6,4]
  56) [5,3,8,4,7,1,6,2]
  57) [5,7,1,3,8,6,4,2]
  58) [5,7,1,4,2,8,6,3]
  59) [5,7,2,4,8,1,3,6]
  60) [5,7,2,6,3,1,4,8]
  61) [5,7,2,6,3,1,8,4]
  62) [5,7,4,1,3,8,6,2]
  63) [5,8,4,1,3,6,2,7]
  64) [5,8,4,1,7,2,6,3]
  65) [6,1,5,2,8,3,7,4]
  66) [6,2,7,1,3,5,8,4]
  67) [6,2,7,1,4,8,5,3]
  68) [6,3,1,7,5,8,2,4]
  69) [6,3,1,8,4,2,7,5]
  70) [6,3,1,8,5,2,4,7]
  71) [6,3,5,7,1,4,2,8]
  72) [6,3,5,8,1,4,2,7]
  73) [6,3,7,2,4,8,1,5]
  74) [6,3,7,2,8,5,1,4]
  75) [6,3,7,4,1,8,2,5]
  76) [6,4,1,5,8,2,7,3]
  77) [6,4,2,8,5,7,1,3]
  78) [6,4,7,1,3,5,2,8]
  79) [6,4,7,1,8,2,5,3]
  80) [6,8,2,4,1,7,5,3]
  81) [7,1,3,8,6,4,2,5]
  82) [7,2,4,1,8,5,3,6]
  83) [7,2,6,3,1,4,8,5]
  84) [7,3,1,6,8,5,2,4]
  85) [7,3,8,2,5,1,6,4]
  86) [7,4,2,5,8,1,3,6]
  87) [7,4,2,8,6,1,3,5]
  88) [7,5,3,1,6,8,2,4]
  89) [8,2,4,1,7,5,3,6]
  90) [8,2,5,3,1,7,4,6]
  91) [8,3,1,6,2,5,7,4]
  92) [8,4,1,3,6,2,7,5]

Queens> [Leaving Hugs]


Hence, I believe that it should be safe to keyword hugs98-2005.3-r2 with ~mips.

------- Comment #2 From Chris Parrott (RETIRED) 2006-03-16 10:58:10 0000 -------
I have also successfully built and tested this on hppa, using my HP
9000/777/C110 system (120 MHz PA7200) with 128 MB of RAM.  Here is emerge
--info for this system:

hamal ~ # emerge --info

Portage 2.1_pre5-r3 (default-linux/hppa/2005.0, gcc-3.3.6,
glibc-2.3.4.20040808-r1, 2.6.15.1-pa4-livecd32 parisc)
=================================================================
System uname: 2.6.15.1-pa4-livecd32 parisc PA7200 (PCX-T')
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="hppa ~hppa"
AUTOCLEAN="yes"
CBUILD="hppa1.1-unknown-linux-gnu"
CFLAGS="-Os -pipe -march=1.1 -mschedule=7200"
CHOST="hppa1.1-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-Os -pipe -march=1.1 -mschedule=7200"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo-distfiles.mirrors.tds.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="hppa berkdb bitmap-fonts crypt cups foomaticdb fortran gdbm gpm imlib ipv6
libwww ncurses nls pam perl pic python readline spell ssl tcpd truetype-fonts
type1-fonts xml2 zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTDIR_OVERLAY


Here are the same tests I ran previously for the mips build:

hamal ~ # hugs -98 Hello.hs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: hugs-bugs@haskell.org
||   || Version: March 2005     _________________________________________

Hugs mode: Restart with command line option +98 for Haskell 98 mode

Type :? for help
Main> main
hello world

Main> :q
[Leaving Hugs]


hamal ~ # hugs -98 Factorial.hs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: hugs-bugs@haskell.org
||   || Version: March 2005     _________________________________________

Hugs mode: Restart with command line option +98 for Haskell 98 mode

Type :? for help
Main> fact 100
Just
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
Main> fact 1000
Just
402387260077093773543702433923003985719374864210714632543799910429938512398629020592044208486969404800479988610197196058631666872994808558901323829669944590997424504087073759918823627727188732519779505950995276120874975462497043601418278094646496291056393887437886487337119181045825783647849977012476632889835955735432513185323958463075557409114262417474349347553428646576611667797396668820291207379143853719588249808126867838374559731746136085379534524221586593201928090878297308431392844403281231558611036976801357304216168747609675871348312025478589320767169132448426236131412508780208000261683151027341827977704784635868170164365024153691398281264810213092761244896359928705114964975419909342221566832572080821333186116811553615836546984046708975602900950537616475847728421889679646244945160765353408198901385442487984959953319101723355556602139450399736280750137837615307127761926849034352625200015888535147331611702103968175921510907788019393178114194545257223865541461062892187960223838971476088506276862967146674697562911234082439208160153780889893964518263243671616762179168909779911903754031274622289988005195444414282012187361745992642956581746628302955570299024324153181617210465832036786906117260158783520751516284225540265170483304226143974286933061690897968482590125458327168226458066526769958652682272807075781391858178889652208164348344825993266043367660176999612831860788386150279465955131156552036093988180612138558600301435694527224206344631797460594682573103790084024432438465657245014402821885252470935190620929023136493273497565513958720559654228749774011413346962715422845862377387538230483865688976461927383814900140767310446640259899490222221765904339901886018566526485061799702356193897017860040811889729918311021171229845901641921068884387121855646124960798722908519296819372388642614839657382291123125024186649353143970137428531926649875337218940694281434118520158014123344828015051399694290153483077644569099073152433278288269864602789864321139083506217095002597389863554277196742822248757586765752344220207573630569498825087968928162753848863396909959826280956121450994871701244516461260379029309120889086942028510640182154399457156805941872748998094254742173582401063677404595741785160829230135358081840096996372524230560855903700624271243416909004153690105933983835777939410970027753472000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Main> :q
[Leaving Hugs]


hamal ~ # hugs -98 /usr/share/doc/hugs98-2005.3-r2/demos/Queens.hs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: hugs-bugs@haskell.org
||   || Version: March 2005     _________________________________________

Hugs mode: Restart with command line option +98 for Haskell 98 mode

Type :? for help
Queens> q 8
   1) [1,5,8,6,3,7,2,4]
   2) [1,6,8,3,7,4,2,5]
   3) [1,7,4,6,8,2,5,3]
   4) [1,7,5,8,2,4,6,3]
   5) [2,4,6,8,3,1,7,5]
   6) [2,5,7,1,3,8,6,4]
   7) [2,5,7,4,1,8,6,3]
   8) [2,6,1,7,4,8,3,5]
   9) [2,6,8,3,1,4,7,5]
  10) [2,7,3,6,8,5,1,4]
  11) [2,7,5,8,1,4,6,3]
  12) [2,8,6,1,3,5,7,4]
  13) [3,1,7,5,8,2,4,6]
  14) [3,5,2,8,1,7,4,6]
  15) [3,5,2,8,6,4,7,1]
  16) [3,5,7,1,4,2,8,6]
  17) [3,5,8,4,1,7,2,6]
  18) [3,6,2,5,8,1,7,4]
  19) [3,6,2,7,1,4,8,5]
  20) [3,6,2,7,5,1,8,4]
  21) [3,6,4,1,8,5,7,2]
  22) [3,6,4,2,8,5,7,1]
  23) [3,6,8,1,4,7,5,2]
  24) [3,6,8,1,5,7,2,4]
  25) [3,6,8,2,4,1,7,5]
  26) [3,7,2,8,5,1,4,6]
  27) [3,7,2,8,6,4,1,5]
  28) [3,8,4,7,1,6,2,5]
  29) [4,1,5,8,2,7,3,6]
  30) [4,1,5,8,6,3,7,2]
  31) [4,2,5,8,6,1,3,7]
  32) [4,2,7,3,6,8,1,5]
  33) [4,2,7,3,6,8,5,1]
  34) [4,2,7,5,1,8,6,3]
  35) [4,2,8,5,7,1,3,6]
  36) [4,2,8,6,1,3,5,7]
  37) [4,6,1,5,2,8,3,7]
  38) [4,6,8,2,7,1,3,5]
  39) [4,6,8,3,1,7,5,2]
  40) [4,7,1,8,5,2,6,3]
  41) [4,7,3,8,2,5,1,6]
  42) [4,7,5,2,6,1,3,8]
  43) [4,7,5,3,1,6,8,2]
  44) [4,8,1,3,6,2,7,5]
  45) [4,8,1,5,7,2,6,3]
  46) [4,8,5,3,1,7,2,6]
  47) [5,1,4,6,8,2,7,3]
  48) [5,1,8,4,2,7,3,6]
  49) [5,1,8,6,3,7,2,4]
  50) [5,2,4,6,8,3,1,7]
  51) [5,2,4,7,3,8,6,1]
  52) [5,2,6,1,7,4,8,3]
  53) [5,2,8,1,4,7,3,6]
  54) [5,3,1,6,8,2,4,7]
  55) [5,3,1,7,2,8,6,4]
  56) [5,3,8,4,7,1,6,2]
  57) [5,7,1,3,8,6,4,2]
  58) [5,7,1,4,2,8,6,3]
  59) [5,7,2,4,8,1,3,6]
  60) [5,7,2,6,3,1,4,8]
  61) [5,7,2,6,3,1,8,4]
  62) [5,7,4,1,3,8,6,2]
  63) [5,8,4,1,3,6,2,7]
  64) [5,8,4,1,7,2,6,3]
  65) [6,1,5,2,8,3,7,4]
  66) [6,2,7,1,3,5,8,4]
  67) [6,2,7,1,4,8,5,3]
  68) [6,3,1,7,5,8,2,4]
  69) [6,3,1,8,4,2,7,5]
  70) [6,3,1,8,5,2,4,7]
  71) [6,3,5,7,1,4,2,8]
  72) [6,3,5,8,1,4,2,7]
  73) [6,3,7,2,4,8,1,5]
  74) [6,3,7,2,8,5,1,4]
  75) [6,3,7,4,1,8,2,5]
  76) [6,4,1,5,8,2,7,3]
  77) [6,4,2,8,5,7,1,3]
  78) [6,4,7,1,3,5,2,8]
  79) [6,4,7,1,8,2,5,3]
  80) [6,8,2,4,1,7,5,3]
  81) [7,1,3,8,6,4,2,5]
  82) [7,2,4,1,8,5,3,6]
  83) [7,2,6,3,1,4,8,5]
  84) [7,3,1,6,8,5,2,4]
  85) [7,3,8,2,5,1,6,4]
  86) [7,4,2,5,8,1,3,6]
  87) [7,4,2,8,6,1,3,5]
  88) [7,5,3,1,6,8,2,4]
  89) [8,2,4,1,7,5,3,6]
  90) [8,2,5,3,1,7,4,6]
  91) [8,3,1,6,2,5,7,4]
  92) [8,4,1,3,6,2,7,5]

Queens>


Hence, I believe it should be reasonable to keyword hugs98-2005.3-r2 with
~hppa.

------- Comment #3 From Aron Griffis (RETIRED) 2006-03-24 09:15:01 0000 -------
Will this eventually allow darcs to run on arches other than those supported by
ghc?

------- Comment #4 From Duncan Coutts (RETIRED) 2006-03-24 09:34:09 0000 -------
(In reply to comment #3)
> Will this eventually allow darcs to run on arches other than those supported by
> ghc?

I don't think so. You can check with the upstream darcs developers, but I think
darcs really makes use of ghc's features. There's a remote possability that
darcs might be made to work with yhc.

What extra arches did you want darcs for?

We've currently got darcs marked ~arch on x86, amd64, ppc, ppc64 and sparc.
We've tested but not marked it yet on hppa and alpha. We working on ghc support
for ppc-macosx.

So the arches we don't yet have ghc for are:
arm, ia64, mips, s390, sh

ghc has in the past been ported by others to ia64 and mips, though not
necessarily on linux. It looks like ghc on mips is going to be hard, we get GOT
overflow problems.

The Haskell team don't have access to hardware for the remaining arches: arm,
ia64, s390 and sh.

------- Comment #5 From Fabian Groffen 2006-03-24 10:41:01 0000 -------
hugs98 seems to get installed in /usr/local/bin on ppc-macos.  Is this only for
us like this, or does x86 have the same?

------- Comment #6 From Jeroen Roovers 2006-07-04 15:56:12 0000 -------
Works for me! Marked ~hppa. Apologies for the long delay.

------- Comment #7 From Duncan Coutts (RETIRED) 2006-07-04 16:21:40 0000 -------
(In reply to comment #6)
> Works for me! Marked ~hppa. Apologies for the long delay.

Yay. Thanks Jeroen.

Now for mips, arm, s390 & sh. :-)

Chris has already tested on mips, so it just needs someone from the mips team
to give it a go. Chris is actually a dev now so perhaps he can discuss this
with the mips team.

hugs98 hase been known to compile on some Arm systems in the past. It worked
fine on the Sharp Zaurus. It hasn't yet been tested on a Gentoo/Arm system.

x86-fbsd should just work, so I'm adding x86-fbsd to the CC list.

------- Comment #8 From Diego E. 'Flameeyes' Pettenò 2006-07-04 20:06:21 0000 -------
Tests fails on x86-fbsd:

tub GraphicsUtils -> Graphics.
echo timestamp for libraries >../hugsdir/.stamp
gmake[1]: Leaving directory
`/var/tmp/portage/hugs98-2005.3-r2/work/hugs98-Mar2005/libraries'
cd docs; gmake all
gmake[1]: Entering directory
`/var/tmp/portage/hugs98-2005.3-r2/work/hugs98-Mar2005/docs'
cd users_guide; gmake all
gmake[2]: Entering directory
`/var/tmp/portage/hugs98-2005.3-r2/work/hugs98-Mar2005/docs/users_guide'
/bin/rm -f -r users_guide
mkdir users_guide
/bin/cp hugs-ug.css users_guide
test -z '' || \
           --dsl hugs-ug.dsl users_guide.sgml
gmake[2]: Leaving directory
`/var/tmp/portage/hugs98-2005.3-r2/work/hugs98-Mar2005/docs/users_guide'
gmake[1]: Leaving directory
`/var/tmp/portage/hugs98-2005.3-r2/work/hugs98-Mar2005/docs'
cd tests && sh testScript | egrep -v '^--( |-----)'
cd: can't cd to tests
gmake: *** [check] Error 2

!!! ERROR: dev-lang/hugs98-2005.3-r2 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_test
  ebuild.sh, line 988:   Called src_test
  ebuild.sh, line 618:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #9 From Duncan Coutts (RETIRED) 2006-07-05 07:35:58 0000 -------
(In reply to comment #8)
> Tests fails on x86-fbsd:

I'd never tried that to be honnest. I've added RESTRICT=test to the hugs
ebuilds since they are missing the testsuite from the tarballs.

Try the Queens.hs demo that Chris did for mips & hppa. Cheers :-)

------- Comment #10 From Diego E. 'Flameeyes' Pettenò 2006-07-19 18:56:56 0000 -------
Forgot to de-CC us after keywording.

------- Comment #11 From Ferris McCormick 2006-08-21 09:42:09 0000 -------
sparc stable, even though you didn't ask for it.  Runs queens, Eliza, etc.

------- Comment #12 From Joshua Kinard 2006-09-03 23:57:11 0000 -------
Marked unstable on mips.

------- Comment #13 From SpanKY 2007-02-11 10:08:47 0000 -------
if you guys are interested in doing this, you can get access to these arches:
http://www.gentoo.org/proj/en/infrastructure/dev-machines.xml

i certainly dont have the time nor inclination

------- Comment #14 From Fabian Groffen 2007-02-11 11:07:54 0000 -------
ppc-macos in prefix:  (keyworded in prefix, appears to work fine)

% hugs $EPREFIX/usr/share/doc/hugs98-2005.3-r2/demos/Queens.hs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: hugs-bugs@haskell.org
||   || Version: March 2005     _________________________________________

Haskell 98 mode: Restart with command line option -98 to enable extensions

Type :? for help
Queens> q 8
   1) [1,5,8,6,3,7,2,4]
   2) [1,6,8,3,7,4,2,5]
   3) [1,7,4,6,8,2,5,3]
   4) [1,7,5,8,2,4,6,3]
   5) [2,4,6,8,3,1,7,5]
   6) [2,5,7,1,3,8,6,4]
   7) [2,5,7,4,1,8,6,3]
   8) [2,6,1,7,4,8,3,5]
   9) [2,6,8,3,1,4,7,5]
  10) [2,7,3,6,8,5,1,4]
  11) [2,7,5,8,1,4,6,3]
  12) [2,8,6,1,3,5,7,4]
  13) [3,1,7,5,8,2,4,6]
  14) [3,5,2,8,1,7,4,6]
  15) [3,5,2,8,6,4,7,1]
  16) [3,5,7,1,4,2,8,6]
  17) [3,5,8,4,1,7,2,6]
  18) [3,6,2,5,8,1,7,4]
  19) [3,6,2,7,1,4,8,5]
  20) [3,6,2,7,5,1,8,4]
  21) [3,6,4,1,8,5,7,2]
  22) [3,6,4,2,8,5,7,1]
  23) [3,6,8,1,4,7,5,2]
  24) [3,6,8,1,5,7,2,4]
  25) [3,6,8,2,4,1,7,5]
  26) [3,7,2,8,5,1,4,6]
  27) [3,7,2,8,6,4,1,5]
  28) [3,8,4,7,1,6,2,5]
  29) [4,1,5,8,2,7,3,6]
  30) [4,1,5,8,6,3,7,2]
  31) [4,2,5,8,6,1,3,7]
  32) [4,2,7,3,6,8,1,5]
  33) [4,2,7,3,6,8,5,1]
  34) [4,2,7,5,1,8,6,3]
  35) [4,2,8,5,7,1,3,6]
  36) [4,2,8,6,1,3,5,7]
  37) [4,6,1,5,2,8,3,7]
  38) [4,6,8,2,7,1,3,5]
  39) [4,6,8,3,1,7,5,2]
  40) [4,7,1,8,5,2,6,3]
  41) [4,7,3,8,2,5,1,6]
  42) [4,7,5,2,6,1,3,8]
  43) [4,7,5,3,1,6,8,2]
  44) [4,8,1,3,6,2,7,5]
  45) [4,8,1,5,7,2,6,3]
  46) [4,8,5,3,1,7,2,6]
  47) [5,1,4,6,8,2,7,3]
  48) [5,1,8,4,2,7,3,6]
  49) [5,1,8,6,3,7,2,4]
  50) [5,2,4,6,8,3,1,7]
  51) [5,2,4,7,3,8,6,1]
  52) [5,2,6,1,7,4,8,3]
  53) [5,2,8,1,4,7,3,6]
  54) [5,3,1,6,8,2,4,7]
  55) [5,3,1,7,2,8,6,4]
  56) [5,3,8,4,7,1,6,2]
  57) [5,7,1,3,8,6,4,2]
  58) [5,7,1,4,2,8,6,3]
  59) [5,7,2,4,8,1,3,6]
  60) [5,7,2,6,3,1,4,8]
  61) [5,7,2,6,3,1,8,4]
  62) [5,7,4,1,3,8,6,2]
  63) [5,8,4,1,3,6,2,7]
  64) [5,8,4,1,7,2,6,3]
  65) [6,1,5,2,8,3,7,4]
  66) [6,2,7,1,3,5,8,4]
  67) [6,2,7,1,4,8,5,3]
  68) [6,3,1,7,5,8,2,4]
  69) [6,3,1,8,4,2,7,5]
  70) [6,3,1,8,5,2,4,7]
  71) [6,3,5,7,1,4,2,8]
  72) [6,3,5,8,1,4,2,7]
  73) [6,3,7,2,4,8,1,5]
  74) [6,3,7,2,8,5,1,4]
  75) [6,3,7,4,1,8,2,5]
  76) [6,4,1,5,8,2,7,3]
  77) [6,4,2,8,5,7,1,3]
  78) [6,4,7,1,3,5,2,8]
  79) [6,4,7,1,8,2,5,3]
  80) [6,8,2,4,1,7,5,3]
  81) [7,1,3,8,6,4,2,5]
  82) [7,2,4,1,8,5,3,6]
  83) [7,2,6,3,1,4,8,5]
  84) [7,3,1,6,8,5,2,4]
  85) [7,3,8,2,5,1,6,4]
  86) [7,4,2,5,8,1,3,6]
  87) [7,4,2,8,6,1,3,5]
  88) [7,5,3,1,6,8,2,4]
  89) [8,2,4,1,7,5,3,6]
  90) [8,2,5,3,1,7,4,6]
  91) [8,3,1,6,2,5,7,4]
  92) [8,4,1,3,6,2,7,5]

Queens> 

First Last Prev Next    No search results available      Search page      Enter new bug