Edificio GHC 7.2.1 en OpenSuse
Pregunta
Solo me pregunto si alguien aquí ha tenido éxito construyendo GHC 7.2.1 en OpenSuse. Me estoy encontrando con errores, con 7.0.3 actualmente instalado.
chmod +x inplace/lib/ghc-split
"rm" -f inplace/bin/ghc-stage1
echo '#!/bin/sh' >> inplace/bin/ghc-stage1
echo 'executablename="/home/gatoatigrado/Downloads/ghc-7.2.1/inplace/lib/ghc-stage1"' >> inplace/bin/ghc-stage1
echo 'datadir="/home/gatoatigrado/Downloads/ghc-7.2.1/inplace/lib"' >> inplace/bin/ghc-stage1
echo 'bindir="/home/gatoatigrado/Downloads/ghc-7.2.1/inplace/bin"' >> inplace/bin/ghc-stage1
echo 'topdir="/home/gatoatigrado/Downloads/ghc-7.2.1/inplace/lib"' >> inplace/bin/ghc-stage1
echo 'pgmgcc="/usr/bin/gcc"' >> inplace/bin/ghc-stage1
cat ghc/ghc.wrapper >> inplace/bin/ghc-stage1
chmod +x inplace/bin/ghc-stage1
/usr/bin/gcc -E -undef -traditional -P -DTOP='"/home/gatoatigrado/Downloads/ghc-7.2.1"' -x c -Iincludes libffi/package.conf.in -o libffi/package.conf.inplace.raw
grep -v '^#pragma GCC' libffi/package.conf.inplace.raw | sed -e 's/""//g' -e 's/:[ ]*,/: /g' > libffi/package.conf.inplace
"inplace/bin/ghc-pkg" update --force libffi/package.conf.inplace
Reading package info from "libffi/package.conf.inplace" ... done.
ghc-pkg: too few bytes. Failed reading at byte position 44111
make[1]: *** [libffi/package.conf.inplace] Error 1
make[1]: *** Deleting file `libffi/package.conf.inplace'
make: *** [all] Error 2
Gracias por adelantado.
informe de error: http://hackage.haskell.org/trac/ghc/ticket/5446
Solución
Sí, Peter Trommler ha tenido éxito, aquí están RPMS para GHC-7.2.1 de su Inicio: Ptrommler: Desarrollo: Idiomas: repositorio de Haskell en el OBS. (Aunque la última compilación parece haber fallado, hay paquetes de una compilación anterior).
Envié por correo a Peter y el mantenedor del Desarrollo oficial: Idiomas: repositorios de Haskell Para preguntar si hay alguna forma de actualizar los oficiales.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow