Re: test build of current ghc-7.8

2014-02-04 Thread Joachim Breitner
Hi,

Am Dienstag, den 04.02.2014, 09:03 + 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.0 
+
+++ ghc-7.9.20140130/utils/hpc/ghc.mk   2014-02-04 23:15:53.0 +
@@ -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.0 +
+++ ghc-7.9.20140130/utils/hpc/hpc.wrapper  2014-02-04 23:17:49.0 
+
@@ -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


Re: test build of current ghc-7.8

2014-02-04 Thread Joachim Breitner
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
  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


Re: test build of current ghc-7.8

2014-02-03 Thread Jens Petersen
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.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: test build of current ghc-7.8

2014-02-03 Thread Joachim Breitner
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
  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


test build of current ghc-7.8

2014-02-03 Thread 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 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
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users