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 m...@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nome...@joachim-breitner.de • GPG-Key: 0x4743206C Debian Developer: nome...@debian.org
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users