test build of current ghc-7.8

Hi, I did a test build [1] of the current ghc-7.8 branch for Fedora 21 devel, which I think should also install to Fedora 20. I put the packages for x86_64, i386 and armv7hl into the yum repos under http://repos.fedorapeople.org/repos/petersen/ghc-7.7/ I haven't tested this latest build yet but wanted to announce its availability. Let me know if you hit any packaging problems with it. Jens ps I also upload the ghc-7.8.0.20140201 src tarball to http://petersen.fedorapeople.org/ghc/ if you want to use to build yourself. pps Next time I will build it in copr.fedoraproject.org which creates yum repos for one (like OBS). [1] http://koji.fedoraproject.org/koji/taskinfo?taskID=6483032

Dear Jens, Am Montag, den 03.02.2014, 19:49 +0900 schrieb Jens Petersen:
Hi, I did a test build [1] of the current ghc-7.8 branch for Fedora 21 devel, which I think should also install to Fedora 20.
I’m surprised that it worked for you. Did not you not hit http://ghc.haskell.org/trac/ghc/ticket/8725? Greetings, Joachim -- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0x4743206C Debian Developer: nomeata@debian.org

Hi Joachim,
Am Montag, den 03.02.2014, 19:49 +0900 schrieb Jens Petersen:
Hi, I did a test build [1] of the current ghc-7.8 branch for Fedora 21 devel, which I think should also install to Fedora 20.
I’m surprised that it worked for you. Did not you not hit http://ghc.haskell.org/trac/ghc/ticket/8725?
Does that also affect 7.8? I see the report is for a 7.9 snapshot.

Hi, Am Dienstag, den 04.02.2014, 09:52 +0900 schrieb Jens Petersen:
Am Montag, den 03.02.2014, 19:49 +0900 schrieb Jens Petersen: > Hi, I did a test build [1] of the current ghc-7.8 branch for Fedora 21 > devel, which I think should also install to Fedora 20.
I’m surprised that it worked for you. Did not you not hit http://ghc.haskell.org/trac/ghc/ticket/8725?
Does that also affect 7.8? I see the report is for a 7.9 snapshot.
yes, 7.9 and 7.8 are not so different yet. But I think I’ll resolve this by making the Debian directory structure a bit more standard; much easier than hacking the build system. I’ll make sure it works and then close the bug. Greetings, Joachim -- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0x4743206C Debian Developer: nomeata@debian.org

Hi, Am Dienstag, den 04.02.2014, 09:03 +0000 schrieb Joachim Breitner:
Am Dienstag, den 04.02.2014, 09:52 +0900 schrieb Jens Petersen:
Am Montag, den 03.02.2014, 19:49 +0900 schrieb Jens Petersen: > Hi, I did a test build [1] of the current ghc-7.8 branch for Fedora 21 > devel, which I think should also install to Fedora 20.
I’m surprised that it worked for you. Did not you not hit http://ghc.haskell.org/trac/ghc/ticket/8725?
Does that also affect 7.8? I see the report is for a 7.9 snapshot.
yes, 7.9 and 7.8 are not so different yet. But I think I’ll resolve this by making the Debian directory structure a bit more standard; much easier than hacking the build system.
different issue: It seems that "hpc" is build dynamically, but installed to the binpath (/usr/bin) instead of ghclibdir (/usr/lib/ghc/bin), so the linking against the haskell library via rpath does not work. I had to apply $ cat patches/hpc-wrapper Index: ghc-7.9.20140130/utils/hpc/ghc.mk =================================================================== --- ghc-7.9.20140130.orig/utils/hpc/ghc.mk 2014-01-31 17:28:32.000000000 +0000 +++ ghc-7.9.20140130/utils/hpc/ghc.mk 2014-02-04 23:15:53.000000000 +0000 @@ -15,4 +15,7 @@ utils/hpc_dist-install_INSTALL = YES utils/hpc_dist-install_INSTALL_INPLACE = YES utils/hpc_dist-install_PROGNAME = hpc +utils/hpc_dist-install_SHELL_WRAPPER = YES +utils/hpc_dist-install_INSTALL_SHELL_WRAPPER_NAME = hpc + $(eval $(call build-prog,utils/hpc,dist-install,1)) Index: ghc-7.9.20140130/utils/hpc/hpc.wrapper =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ ghc-7.9.20140130/utils/hpc/hpc.wrapper 2014-02-04 23:17:49.000000000 +0000 @@ -0,0 +1,2 @@ +#!/bin/sh +exec "$executablename" ${1+"$@"} Jens, how does that work in the Fedora package? Greetings, Joachim -- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0x4743206C Debian Developer: nomeata@debian.org
participants (3)
-
Jens Petersen
-
Jens Petersen
-
Joachim Breitner