On Mon, May 13, 2013 at 12:55:55AM +0200, Jean-Philippe MENGUAL wrote: > > Hi, > > While I build libreoffice with blfs, I get: > [build CUT] sfx2_metadatable > [build CUT] sot_test_sot > [build CUT] starmath_qa_cppunit > [build CUT] svl_lngmisc > [build CUT] tools_test > [build CUT] vcl_filters_test > No fonts could be found on the system. > Error: a unit test failed, please do one of: > > What kind of fix is possible (what package should work? etc.)?
When I first built libreoffice [ 3.6.3.2 ] it installed Liberation fonts and used that as the default (I know Armin has a Times font as his default, so the default is apparently not set in stone). For all my subsequent builds I decided to install the font along with my regular fonts and have had no problems - my most recent builds were 4.0.2.2 using '--without-fonts'. https://fedorahosted.org/liberation-fonts/ will take you to the page for these fonts - you want liberation-fonts-ttf-2.00.1.tar.gz > Otherwise, how > can I disable test test? Should I restart from scratch the build? Or can I > restart from this point after fix? > > On google it seems I have to add a font; but what font? where? Ah, you too have read https://bugs.freedesktop.org/show_bug.cgi?id=53338 For me, installing all the ttf files from Liberation into a directory under /usr/share/fonts, followed by running fc-cache, makes the fonts available everywhere. Unfortunately, the LO build system has changed, but most wiki docs have not caught up with LO-4. Because it takes so long to build, I suggest you install the font(s) [ there are mono, sans, serif variants ] and then rerunning 'make'. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
