I think I am close to have the first binaries. You can look at a
full build log at
http://kenobi.mandriva.com/~pcpa/sagemath.log.gz
The initial sagemath.spec does not build documentation, but shortly should
do so, as building documentation is also a way to check it is working.
The current build fails like this:
+ '[' '%{buildarch}' = noarch ']'
+ QA_CHECK_RPATHS=1
+ case "${QA_CHECK_RPATHS:-}" in
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/check-buildroot
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/matrix/matrix_mpolynomial_dense.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/libs/singular/ring.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/libs/singular/polynomial.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/libs/singular/function.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/libs/singular/singular.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/libs/singular/option.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/libs/singular/groebner_strategy.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/libs/lcalc/lcalc_Lfunction.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/fraction_field_FpT.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/polynomial/multi_polynomial_ideal_libsingular.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/polynomial/polynomial_zmod_flint.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/polynomial/plural.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/polynomial/multi_polynomial_libsingular.so
matches
Binary file
/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64/usr/lib64/python2.7/site-packages/sage/rings/polynomial/polynomial_rational_flint.so
matches
Found '/home/pcpa/rpmbuild/BUILDROOT/sagemath-5.0.rc0-1.fc16.x86_64'
in installed files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.14lRTk (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.14lRTk (%install)
I think it may be caused because I had a $HOME/.rpmmacros that had:
%_enable_debug_packages %{nil}
%debug_package %{nil}
I will remove it and rebuild/reinstall singular, local and flint, and retry...
But there are some optional components missing, that at first I just
commented out, most notably should be
http://www.coin-or.org/ that
I do not know if is packaged with another name in fedora...
Thanks,
Paulo