This is ticket http://trac.sagemath.org/ticket/18892 and it has been solved earlier today and incidentally in April in sage-on-gentoo.
You can just copy the patch https://raw.githubusercontent.com/cschwan/sage-on-gentoo/master/sci-mathematics/singular/files/singular-3.1.7-use_cxx_for_linking.patch in build/pkgs/singular/patches/ and you should be good to go. François > On 14/07/2015, at 12:53, Brenton Horne <brentonhorn...@gmail.com> wrote: > > Hi, > > I attempted to build Sage 6.8.beta8 by cloning the git SageMath repo, i.e., > running: > git clone git://git.sagemath.org/sage.git > then running: > cd sage > make > > This runs without issue until the > ~/sage > directory reaches 1.5 GB in size then I received the error: > make[2]: *** > [/home/fusion809/sage/local/var/lib/sage/installed/singular-3.1.7p1.p0] Error > 1 > make[2]: Leaving directory '/home/fusion809/sage/build' > Makefile:418: recipe for target 'all' failed > make[1]: *** [all] Error 2 > make[1]: Leaving directory '/home/fusion809/sage/build' > > > real 6m16.285s > user 5m44.756s > sys 0m19.516s > *************************************************************** > Error building Sage. > > > The following package(s) may have failed to build: > > > package: singular-3.1.7p1.p0 > log file: /home/fusion809/sage/logs/pkgs/singular-3.1.7p1.p0.log > build directory: > /home/fusion809/sage/local/var/tmp/sage/build/singular-3.1.7p1.p0 > > > The build directory may contain configuration files and other potentially > helpful information. WARNING: if you now run 'make' again, the build > directory will, by default, be deleted. Set the environment variable > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. > > > Makefile:19: recipe for target 'build' failed > make: *** [build] Error 1 > > I have attempted to build sage 6.7 from source tarballs and I received the > same error, so I doubt it's unique to git. My operating system is 32 bit > Ubuntu 15.04 (although I have switched to a 4.0.0 kernel, but I experienced > this same error before I switched the kernel too). My RAM is 3.8 GB, CPU is 4 > x Intel Core (TM) i5 CPU M 460 @ 2.53GHz. > > Thanks for your time, > Brenton > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > <singular-3.1.7p1.p0.log> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.