Hi, I have been receiving daily emails about linbox and sagemath broken, but am kind busy lately. I just checked it out, and the root problem appears to be fflas-ffpack that needs fixing first, then linbox and then rebuild sagemath.
$ fflas-ffpack-config --libs -lgmpxx -lgmp -lgivaro -L/usr/lib64/atlas -lcblas -latlas -L/usr/lib64/atlas -llapack
and in fflas-ffpack.spec:
%configure --docdir=%{_docdir}/fflas-ffpack-%{version} --disable-static \ --enable-optimization --enable-doc --with-cblas=%{_libdir}/atlas \ --with-lapack=%{_libdir}/atlas
so, now the correction is to change the above to:
%configure --docdir=%{_docdir}/fflas-ffpack-%{version} --disable-static \ --enable-optimization --enable-doc --with-blas="-L%{_libdir}/atlas -lsatlas" \ --with-lapack="-L%{_libdir}/atlas -lsatlas"
Or am I missing something?
Thanks, Paulo
WARNING: Adding fedora-devel-list to CC.
On Wed, Oct 2, 2013 at 8:32 AM, Paulo César Pereira de Andrade paulo.cesar.pereira.de.andrade@gmail.com wrote:
Hi, I have been receiving daily emails about linbox and sagemath broken, but am kind busy lately. I just checked it out, and the root problem appears to be fflas-ffpack that needs fixing first, then linbox and then rebuild sagemath.
Actually, I fixed fflas-ffpack in git on Sep 23. The problem is that "make check" segfaults on ARM, due to the now well-known "atlas segfaults on ARM" problem. See https://bugzilla.redhat.com/show_bug.cgi?id=1011648. There has been no news posted to that bug, nor to fedora-devel-list, so I don't know who is working on fixing atlas on ARM, nor when we can expect a fixed build. I see that the maintainer disabled checks for the atlas package to fool the build system into thinking it had built successfully. I don't know what the point of that was. It still leaves packages like fflas-ffpack broken.
Does anybody know what progress is being made towards getting a working atlas package on ARM? Thanks,
On Wed, Oct 2, 2013 at 8:57 AM, Jerry James loganjerry@gmail.com wrote:
Does anybody know what progress is being made towards getting a working atlas package on ARM? Thanks,
Big thanks to Orion for fixing the atlas build on ARM. Paulo, fflas-ffpack and linbox have now been rebuilt for the new atlas. You should be able to rebuild sagemath now. Let me know if you want me to do the build for you.
Regards,
2013/10/3 Jerry James loganjerry@gmail.com:
On Wed, Oct 2, 2013 at 8:57 AM, Jerry James loganjerry@gmail.com wrote:
Does anybody know what progress is being made towards getting a working atlas package on ARM? Thanks,
Big thanks to Orion for fixing the atlas build on ARM. Paulo, fflas-ffpack and linbox have now been rebuilt for the new atlas. You should be able to rebuild sagemath now. Let me know if you want me to do the build for you.
Thanks!
I started working on updating to sagemath 5.11 but besides the problems in the update, I was stuck with the fflas-ffpack and linbox issues. It should be required to review this now:
$ grep -i atlas ~/fedora/sagemath/* /home/pcpa/fedora/sagemath/sagemath.spec:BuildRequires: atlas-devel /home/pcpa/fedora/sagemath/sagemath.spec:# ensure proper/preferred libatlas is in linker path /home/pcpa/fedora/sagemath/sagemath.spec: perl -pi -e 's|^(extra_link_args = ).*|$1["-L%{_libdir}/atlas"]|;' sage/misc/cython.py /home/pcpa/fedora/sagemath/sagemath.spec:# o link with proper atlas /home/pcpa/fedora/sagemath/sagemath.spec: # make atlas/blas available to compiled sources /home/pcpa/fedora/sagemath/sagemath.spec: 's|^(extra_link_args =).*|$1 ["-L%{_libdir}/atlas"]|;' \ /home/pcpa/fedora/sagemath/sagemath.spec: export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{_libdir}/atlas:$LD_LIBRARY_PATH
as rawhide atlas should no longer match the atlas bundled in sagemath.
If you want to look in the above, just check build logs, feel free to rebuild it, but I am afraid it may not be too easy.
Regards,
Jerry James http://www.jamezone.org/
Paulo
scitech@lists.fedoraproject.org