He creado una especificación rpm para hhvm pero cuando se ejecuta recibo el error:
CMake Error at CMakeLists.txt:29 (MESSAGE): third-party/CMakeLists.txt missing. Try updating your submodule with: rm -r third-party git submodule update --init --recursive
lo cual hice y luego creé el tarball nuevamente con:
git archive --format=tar.gz --prefix=hhvm-3.7.0/ origin/master > ~/rpmbuild/SOURCES/hhvm-3.7.0.tar.gz
pero todavía obtengo el mismo error. Qué estoy haciendo mal ? Gracias.
De hecho, nosotros mismos proporcionamos tarballs de fuente completa, que puedes download: http://dl.hhvm.com/source/
Esos son generados por este script: https://github.com/hhvm/packaging/blob/master/hhvm/sources/package
Se resuelve usando https://github.com/Kentzo/git-archive-all y luego creando el tarball de la siguiente manera:
git-archive-all --prefix=hhvm-3.7.0 hhvm-3.7.0.tar.gz