[opensuse-haskell] need pandoc, but bootstrap fails
I need pandoc. So I linked alot of ghc* packages into home:olh:11.4. The result is that ghc-bootstrap fails already because the binaries in there are built with a newer release. Doing the same in a SLE11 repo fails as well because some SONAME is not found: ... [ 39s] + tar jxf ghc-7.6.3-x86_64-unknown-linux.tar.bz2 [ 52s] + cd ghc-7.6.3 [ 52s] + ./configure --prefix=/usr [ 52s] checking for path to top of build tree... utils/ghc-pwd/dist-install/build/tmp/ghc-pwd: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory [ 52s] configure: error: cannot determine current directory [ 52s] error: Bad exit status from /var/tmp/rpm-tmp.6885 (%build) [ 52s] ... Please, use an old dist to create ghc-bootstrap to enable ghc itself not only for Factory. Thanks, Olaf -- To unsubscribe, e-mail: opensuse-haskell+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-haskell+owner@opensuse.org
I'll take a look. Peter
On 26.03.2015, at 08:38, Olaf Hering
wrote: I need pandoc.
So I linked alot of ghc* packages into home:olh:11.4. The result is that ghc-bootstrap fails already because the binaries in there are built with a newer release. Doing the same in a SLE11 repo fails as well because some SONAME is not found:
... [ 39s] + tar jxf ghc-7.6.3-x86_64-unknown-linux.tar.bz2 [ 52s] + cd ghc-7.6.3 [ 52s] + ./configure --prefix=/usr [ 52s] checking for path to top of build tree... utils/ghc-pwd/dist-install/build/tmp/ghc-pwd: error while loading shared libraries: libgmp.so.10: cannot open shared object file: No such file or directory [ 52s] configure: error: cannot determine current directory [ 52s] error: Bad exit status from /var/tmp/rpm-tmp.6885 (%build) [ 52s] ...
Please, use an old dist to create ghc-bootstrap to enable ghc itself not only for Factory.
Thanks,
Olaf -- To unsubscribe, e-mail: opensuse-haskell+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-haskell+owner@opensuse.org
-- Prof. Dr. Peter Trommler email: peter.trommler@th-nuernberg.de Technische Hochschule Nuernberg phone: +49-911-58 80-16 63 Faculty of Computer Science fax: +49-911-58 80-56 66 Postfach 31 03 20, 90121 Nuernberg office: Hohfederstrasse 40, 90489 Nuernberg -- To unsubscribe, e-mail: opensuse-haskell+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-haskell+owner@opensuse.org
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
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
On Thu, Mar 26, Peter Trommler wrote:
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.
Thanks.
There is another issue, however, with ghc-rpm-macros and fileattrs(?).
I think ghc-rpm-macros can be fixed by packaging the entire /usr/lib/rpm directory. Its not owned by filesystem.rpm. Olaf -- To unsubscribe, e-mail: opensuse-haskell+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-haskell+owner@opensuse.org
participants (2)
-
Olaf Hering
-
Peter Trommler