[arch-haskell] Build error with lekash on archlinux when using cabal2arch

Mathew de Detrich deteego at gmail.com
Fri May 13 08:16:39 CEST 2011


Oh no, I understood that perfectly. Technically speaking its an issue with
the cabal package file, although I have no idea if this is something cabal
package maintainers should be responsible for or if this is a side effect of
PKGBUILD supporting profiling

On Fri, May 13, 2011 at 4:14 PM, Magnus Therning <magnus at therning.org>wrote:

> On Fri, May 13, 2011 at 04:08:49PM +1000, Mathew de Detrich wrote:
> > Well I didn't explicitly turn on profiling as an environment variable,
> but
> > in any case filepath ships with GHC so that wouldn't fix anything (unless
> > you wanted to use cabal2arch on filepath and have to rebuild the cache
> for
> > GHC)
>
> I may have been unclear (forgive me if I'm mistaken in believing I
> haven't quite gotten my point across).  Here's the situation as I see
> it:
>
> • GHC ships with static libs, shared libs, and static libs for
>  profiling (it's missing shared libs for profiling)
> • cabal2arch generates a PKGBUILD that compiles static libs, shared
>  libs and static libs for profiling
> • Leksah turns on profiling when compiling shared libs
>
> What you need to do is modify Leksah's cabal such that it *doesn't*
> turn on profiling when compiling the shared libs.
>
> /M
>
> > On Fri, May 13, 2011 at 4:07 PM, Magnus Therning <magnus at therning.org
> >wrote:
> >
> > > On Fri, May 13, 2011 at 03:49:55PM +1000, Mathew de Detrich wrote:
> > > > Also I am not compiling leksah with profiling, I am just using
> cabal2arch
> > > on
> > > > the standard leksah package on
> > > >
> http://hackage.haskell.org/packages/archive/leksah/0.10.0.4/leksah.cabal
> > >
> > > cabal2arch will create a PKGBUILD that supports profiling (you turn it
> > > on using an environment variable) and it always turns on building of
> > > shared libraries.
> > >
> > > /M
> > >
> > > --
> > > Magnus Therning                      OpenPGP: 0xAB4DFBA4
> > > email: magnus at therning.org   jabber: magnus at therning.org
> > > twitter: magthe               http://therning.org/magnus
> > >
> > > I invented the term Object-Oriented, and I can tell you I did not have
> > > C++ in mind.
> > >     -- Alan Kay
> > >
>
> --
> Magnus Therning                      OpenPGP: 0xAB4DFBA4
> email: magnus at therning.org   jabber: magnus at therning.org
> twitter: magthe               http://therning.org/magnus
>
> I invented the term Object-Oriented, and I can tell you I did not have
> C++ in mind.
>     -- Alan Kay
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20110513/e54b1968/attachment.htm>


More information about the arch-haskell mailing list