I think I have ghc-bootstrap fixed: home:ptrommler:branches:devel:languages:haskell I'm using the official tarballs for i686 and x86_64 provided by Haskell central. Those tarballs are built against an older Debian with libgmp.so.3 and also do not depend on libtinfo.so. There is another issue, however, with ghc-rpm-macros and fileattrs(?). Peter
On 26.03.2015, at 09:51, Olaf Hering
wrote: On Thu, Mar 26, Peter Trommler wrote:
I'll take a look.
This change got me past configure, but other binaries require libtinfo.so.5 so %makeinstall fails.
Olaf
Index: ghc-bootstrap.spec =================================================================== --- ghc-bootstrap.spec (revision 7c0bdd7dcab8871c066c98c75f4ccaf9) +++ ghc-bootstrap.spec (working copy) @@ -47,6 +47,7 @@ Source: %{name}-%{version}.tar Source1: README.openSUSE Source2: LICENSE +BuildRoot: %{_tmppath}/%{name}-%{version}-build # Building binary distributions is currently broken for ppc64le # use package 'ghc-bin' to bootstrap ppc64le # this will be fixed in version 7.8.3 and later @@ -139,6 +140,10 @@ %build tar jxf ghc-%{version}-%{longarch}-unknown-linux.tar.bz2 cd ghc-%{version} +sed -i ' +s@GHC_PWD=.*@GHC_PWD=pwd@ +s@bootstrap_target=.*@bootstrap_target=%{_arch}-unknown-linux@ +' configure ./configure --prefix=%{_prefix}
%install
-- To unsubscribe, e-mail: opensuse-haskell+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-haskell+owner@opensuse.org