[ANNOUNCE] ghc-6.10.4 for FreeBSD on i386

Hi everyone, ;-) the time of ghc-6.10.4 is arrived for FreeBSD and I hope someone can contribute to debug and to test the built pachset. I opened the following list of PRs: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137055 ports/137055 [patch]: update of lang/ghc from the 6.8.3 version to the 6.10.4 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137057 ports/137057 [patch]: update of lang/ghc-doc from the 6.8.3 version to the 6.10.4 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137060 ports/137060 [patch]: update of devel/hs-haddock from the 2.1.0 version to the 2.4.2 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137061 ports/137061 [patch]: update of devel/hs-haddock-docs from the 2.1.0 version to the 2.4.2 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137065 ports/137065 [patch]: update of devel/hs-Stream from the 0.2.6 version to the 0.3.2 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137067 ports/137067 [patch]: update of devel/hs-alex to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137068 ports/137068 [patch]: update of devel/hs-binary-ghc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137069 ports/137069 [patch]: update of textproc/hs-bytestring-csv to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137070 ports/137070 [patch]: update of devel/hs-c2hs to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137071 ports/137071 [patch]: update of devel/hs-cpphs from the 1.6 version to the 1.7 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137072 ports/137072 [patch]: update of security/hs-digest-ghc from the 0.0.0.5 version to the 0.0.0.6 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137074 ports/137074 [patch]: update of devel/hs-dlist from the 0.4.1 version to the 0.5 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137075 ports/137075 [patch]: update of devel/hs-hat to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137076 ports/137076 [patch]: update of devel/hs-drift to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137077 ports/137077 [patch]: update of x11-toolkits/hs-glut-ghc from the 2.1.1.2 version to the 2.1.2.1 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137078 ports/137078 [patch]: update of x11-toolkits/hs-gtk2hs to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137079 ports/137079 [patch]: update of x11/hs-x11-ghc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137080 ports/137080 [patch]: update of x11/hs-x11-xft-ghc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137081 ports/137081 [patch]: update of devel/hs-utf8-string-ghc from the 0.3.4 version to the 0.3.5 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137082 ports/137082 [patch]: update of x11-wm/xmonad to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137083 ports/137083 [patch]: update of x11-wm/xmonad-contrib to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137084 ports/137084 [patch]: update of x11/xmobar from the 0.9 version to the 0.9.2 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137085 ports/137085 [patch]: update of x11-toolkits/hs-opengl-ghc from the 2.2.1.1 version to the 2.2.3.0 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137090 ports/137090 [patch]: update of textproc/hs-haxml from the 1.19.6 version to the 1.19.7 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137091 ports/137091 [patch]: update of devel/hs-happy from the 1.82 version to the 1.84 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137092 ports/137092 [patch]: update of devel/hs-hdoc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137093 ports/137093 [patch]: update of textproc/hs-highlighting-kate-ghc from the 0.2.4 version to the 0.2.5 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137094 ports/137094 [patch]: update of devel/hs-hmake to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137095 ports/137095 [patch]: update of hs-idoc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137096 ports/137096 [patch]: update of devel/hs-language-c-ghc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137097 ports/137097 [patch]: update of devel/hs-lazysmallcheck-ghc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137098 ports/137098 [patch]: update of devel/hs-pcre-light-ghc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137099 ports/137099 [patch]: update of textproc/hs-polyparse-ghc from the 1.1 version to the 1.3 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137102 ports/137102 [patch]: update of textproc/hs-stringsearch to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137103 ports/137103 [patch]: update of archivers/hs-zlib from the 0.5.0.0 version to the 0.5.2.0 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137104 ports/137104 [patch]: update of archivers/hs-zip-archive-ghc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137107 ports/137107 [patch]: update of ports-mgmt/porte to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137108 ports/137108 [patch]: update of devel/lhs2TeX to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137109 ports/137109 [patch]: update of devel/darcs to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137064 ports/137064 [new port]: devel/hs-QuickCheck http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137058 ports/137058 [new port]: devel/hs-ghc-paths http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137059 ports/137059 [new port]: devel/hs-ghc-paths-docs http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137088 ports/137088 [new port]: devel/hs-readline http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137110 ports/137110 [new port]: devel/hs-haskeline http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137111 ports/137111 [new port]: devel/hs-mmap http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137062 ports/137062 [maintainer update]: update of print/hs-hscolour from the 1.12 version to the 1.13 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137063 ports/137063 [maintainer update]: update of print/hs-hscolour-docs from the 1.12 version to the 1.13 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137066 ports/137066 [maintainer update]: update of graphics/hs-HGL-ghc to ghc-6.10.4 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137086 ports/137086 [maintainer update]: update of devel/hs-uulib from the 0.9.5 version to the 0.9.10 version http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137087 ports/137087 [maintainer update]: update of devel/hs-uuagc from the 0.9.5 version to the 0.9.10 version Giuseppe Pilichi aka Jacula Modyun http://www.lefweb.uniss.it/index.php?sez=6&arg=6&txt=1&id=4820

Jacula Modyun writes:
Hi everyone, ;-)
Hi,
the time of ghc-6.10.4 is arrived for FreeBSD and I hope someone can contribute to debug and to test the built pachset. I opened the following list of PRs:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137055 ports/137055 [patch]: update of lang/ghc from the 6.8.3 version to the 6.10.4 version
Why there is no support for amd64 version in the port ? Any compile-time errors or runtime errors ? Or didn't have any amd64 box to build it ? Anyways, I'm trying to build ghc-6.10.4 for amd64 on my 8.0-BETA2 (amd64) box and getting error about missing library 'haskeline' even though I've installed it from its tarball. I'm using ghc-6.8.3 available in ports to install it. ghc-pkg --global list confirms the presence of library. Any ideas what I might be missing ? Following is the configure line I'm using: #v+ % LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure --prefix=/usr/local/ghc-6.10.4 --with-gmp-includes=/usr/local/include --with-gmp-libraries=/usr/local/lib #v- I'm using libedit included in the FreeBSD base system. Thanks in advance Ashish SHUKLA -- One day the King decided that he would force all his subjects to tell the truth. A gallows was erected in front of the city gates. A herald announced, "Whoever would enter the city must first answer the truth to a question which will be put to him." Nasrudin was first in line. The captain of the guard asked him, "Where are you going? Tell the truth -- the alternative is death by hanging." "I am going," said Nasrudin, "to be hanged on that gallows." "I don't believe you." "Very well, if I have told a lie, then hang me!" "But that would make it the truth!" "Exactly," said Nasrudin, "your truth."

Hi Ashish,
On Sun, Jul 26, 2009 at 01:07:05PM +0530, Ashish SHUKLA
Why there is no support for amd64 version in the port ? Any compile-time errors or runtime errors ? Or didn't have any amd64 box to build it ?
;-) I'm sorry, I didn't remember to say I haven't any amd64 box, so if you could work on this lack, it would be great.
Anyways, I'm trying to build ghc-6.10.4 for amd64 on my 8.0-BETA2 (amd64) box and getting error about missing library 'haskeline' even though I've installed it from its tarball. I'm using ghc-6.8.3 available in ports to install it. ghc-pkg --global list confirms the presence of library. Any ideas what I might be missing ?
Thank you for this. It remind me a little problem about the haskeline dependence on libiconv, you could see: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137110 and then my little new patch on: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137055 Anyway I think the problem rises up because the haskeline wasn't built, the ghc compiler to happen not to find the libiconv libraries and include files. So you have to use the option which I pass to the ghc compiler by the mk/build.mk for the local pathes in: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137055

Jacula Modyun writes:
Hi Ashish,
Hi Jacula,
On Sun, Jul 26, 2009 at 01:07:05PM +0530, Ashish SHUKLA
wrote:
Why there is no support for amd64 version in the port ? Any compile-time errors or runtime errors ? Or didn't have any amd64 box to build it ?
;-) I'm sorry, I didn't remember to say I haven't any amd64 box, so if you could work on this lack, it would be great.
lol, I initially thought it was some bug and got disappointed that I won't be able to contribute any further on this project...:p I've my 8.0-BETA2 (amd64) notebook on which I built ghc-6.10.4 which got built with no issues. ATM, I'm running ghc testsuite[1], I'll post results here as soon as it finishes. I can test ghc-6.10.4 port on my box, if you mail me shar file for AMD64 architecture. ATM, In my current GHC, I've used 6.8.3 to bootstrap. If you also mail me instructions to generate a bootstrap GHC tarball for 6.10.4, I'll be able to test your port with bootstrap GHC 6.10.4 :) Following is the command line I used to build current GHC. #v+ % LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" ./configure --prefix=/usr/local/ghc-6.10.4 --with-gmp-includes=/usr/local/include --with-gmp-libraries=/usr/local/lib % gmake #v- Is there anyway to generate a bootstrap GHC tarball from the output of above commands ? References: [1] http://hackage.haskell.org/trac/ghc/wiki/Building/RunningTests Ashish SHUKLA -- The Illiterati Programus Canto 1: A program is a lot like a nose: Sometimes it runs, and sometimes it blows.

Ashish SHUKLA writes: [...]
I've my 8.0-BETA2 (amd64) notebook on which I built ghc-6.10.4 which got built with no issues. ATM, I'm running ghc testsuite[1], I'll post results here as soon as it finishes.
#v+ OVERALL SUMMARY for test run started at Sun Jul 26 16:09:33 IST 2009 2393 total tests, which gave rise to 12728 test cases, of which 0 caused framework failures 2454 were skipped 9659 expected passes 445 expected failures 55 unexpected passes 115 unexpected failures Unexpected passes: DoParamM(normal) drvfail006(normal) drvfail008(normal) mod133(normal) reify(normal,optc,hpc,optasm,profc,profasm,ghci,threaded1,threaded2,profthreaded) tc183(normal,optc,hpc,optasm,profc,profasm) tc217(normal,optc,hpc,optasm,profc,profasm) tc220(normal,optc,hpc,optasm,profc,profasm) tc223(normal,optc,hpc,optasm,profc,profasm) tc232(normal,optc,hpc,optasm,profc,profasm) tcfail126(normal) tree(normal,optc,hpc,optasm,profc,profasm,ghci,threaded1,threaded2,profthreaded) Unexpected failures: 1780(threaded2) 2816(ghci) arith011(optc) break011(ghci) break017(ghci) break024(ghci) break025(ghci) conc023(threaded2) concprog001(ghci,threaded2,profthreaded) createDirectoryIfMissing001(ghci) derefnull(normal,optc,hpc,optasm,profc,profasm,ghci,threaded1,threaded2,profthreaded) divbyzero(normal,optc,hpc,optasm,profc,profasm,ghci,threaded1,threaded2,profthreaded) enum01(optc) fed001(ghci) getPermissions001(normal,optc,hpc,optasm,profc,profasm,threaded1,threaded2,profthreaded,normal,optc,hpc,optasm,profc,profasm,threaded1,threaded2,profthreaded) ghci028(ghci) hpc_fork(threaded1) joao-circular(optc,profc) newtype(profthreaded) north_array(normal,optc,hpc,optasm,profc,profasm,threaded1) openFile008(threaded2) process003(threaded2) process006(threaded1) process007(normal,optc,hpc,optasm,profc,profasm,ghci,threaded1,threaded2,profthreaded,normal,optc,hpc,optasm,profc,profasm,ghci,threaded1,threaded2,profthreaded) queryfdoption01(normal,optc,hpc,optasm,profc,profasm,threaded1,threaded2,profthreaded,normal,optc,hpc,optasm,profc,profasm,threaded1,threaded2,profthreaded) rittri(normal,optc,hpc,optasm,profc,profasm,threaded1,threaded2,profthreaded) unicode002(ghci) #v- Out of 115 unexpected failures 15 are due to the disk being full which as soon as I noticed I made some space. HTH Ashish SHUKLA -- We may not like doctors, but at least they doctor. Bankers are not ever popular but at least they bank. Policeman police and undertakers take under. But lawyers do not give us law. We receive not the gladsome light of jurisprudence, but rather precedents, objections, appeals, stays, filings and forms, motions and counter-motions, all at $250 an hour. -- Nolo News, summer 1989
participants (2)
-
Jacula Modyun
-
wahjava.ml@gmail.com