Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 410307

Summary: app-office/libreoffice-3.5.2.2 fails to build with =dev-libs/icu-49*
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis 2012-03-31 09:03:51 UTC
ICU 4.8 implements Unicode 6.0.
ICU 49 implements Unicode 6.1.
Grapheme_Cluster_Break Prepend set is empty in Unicode 6.1.
http://www.unicode.org/reports/tr29/tr29-19.html#Modifications
https://ssl.icu-project.org/trac/changeset/31033
https://ssl.icu-project.org/trac/changeset/31071
https://ssl.icu-project.org/trac/changeset/31071/icu/trunk/source/data/brkitr/char.txt

LibreOffice contains an outdated fork of char.txt.

=============
(58/108) Building module i18npool
=============
Entering /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/i18npool/prj

[ build CXX ] i18npool/qa/cppunit/test_breakiterator
[ build CXX ] basegfx/source/polygon/b3dpolypolygon
[ build CXX ] basegfx/source/polygon/b2dsvgpolypolygon
[ build DEP ] LNK:CppunitTest/libtest_i18npool_test_breakiterator.so
[ build CXX ] i18npool/source/localedata/LocaleNode
[ build CXX ] basegfx/source/polygon/b2dpolygoncutandtouch
[ build CXX ] i18npool/source/localedata/filewriter
[ build CXX ] basegfx/source/polygon/b2dpolypolygontools
[ build CXX ] i18npool/source/localedata/saxparser
[ build CXX ] basegfx/source/polygon/b2dpolygontools
[ build DEP ] LNK:Executable/saxparser
[ build CXX ] i18npool/source/indexentry/genindex_data
[ build DEP ] LNK:Executable/genindex_data
[ build CXX ] i18npool/source/breakiterator/gendict
[ build DEP ] LNK:Executable/gendict
[ build CXX ] i18npool/source/textconversion/genconv_dict
[ build CXX ] basegfx/source/pixel/bpixel
[ build DEP ] LNK:Executable/genconv_dict
[ build CXX ] i18npool/source/collator/gencoll_rule
[ build CXX ] basegfx/source/matrix/b2dhommatrixtools
[ build DEP ] LNK:Executable/gencoll_rule
[ build PKG ] i18npool_inc
[ build LNK ] Executable/gendict
[ build CXX ] basegfx/source/matrix/b3dhommatrix
[ build MAK ] i18npool/source/breakiterator
genbrk: tool completed successfully.
generating C code for edit_word_hu.brk
genbrk: tool completed successfully.
generating C code for line.brk
genbrk: tool completed successfully.
generating C code for count_word.brk
genbrk: tool completed successfully.
generating C code for dict_word_nodash.brk
genbrk: tool completed successfully.
generating C code for edit_word_he.brk
genbrk: tool completed successfully.
generating C code for dict_word_ca.brk
genbrk: tool completed successfully.
generating C code for dict_word_he.brk
genbrk: tool completed successfully.
generating C code for count_word_fi.brk
genbrk: tool completed successfully.
generating C code for dict_word_hu.brk
createRuleBasedBreakIterator: ICU Error "U_BRK_RULE_EMPTY_SET"  at line 19, column 16
make[3]: *** [char.brk] Error 11
[ build CXX ] i18npool/source/search/levdis
[ build CXX ] basegfx/source/matrix/b2dhommatrix
[ build CXX ] i18npool/source/search/textsearch
[ build CXX ] basegfx/source/point/b3ipoint
[ build DEP ] LNK:Library/i18nsearch.uno.so
[ build CXX ] i18npool/source/paper/paper
[ build CXX ] basegfx/source/point/b2dpoint
[ build DEP ] LNK:Library/libi18npaperlo.so
[ build CXX ] i18npool/source/isolang/insys
[ build CXX ] i18npool/source/isolang/isolang
[ build CXX ] basegfx/source/point/b3dpoint
[ build CXX ] i18npool/source/isolang/mslangid
[ build CXX ] basegfx/source/point/b2dhompoint
[ build DEP ] LNK:Library/libi18nisolang1gcc3.so
[ build MAK ] i18npool/source/breakiterator
createRuleBasedBreakIterator: ICU Error "U_BRK_RULE_EMPTY_SET"  at line 19, column 16
make[3]: *** [char.brk] Error 11
make[2]: *** Brak reguł do zrobienia obiektu `/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/workdir/unxlngx6.pro/CustomTarget/i18npool/source/breakiterator.done', wymaganego przez `/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/workdir/unxlngx6.pro/Package/prepared/i18npool_generated'. Stop.
dmake:  Error code 2, while making 'all'
[ build CXX ] basegfx/source/point/b2ipoint
[ build CXX ] basegfx/source/curve/b2dbeziertools
[ build CXX ] basegfx/source/curve/b2dcubicbezier
[ build CXX ] basegfx/source/curve/b2dquadraticbezier
[ build CXX ] basegfx/source/color/bcolormodifier
[ build CXX ] basegfx/source/color/bcolortools
[ build CXX ] basegfx/source/raster/rasterconvert3d
[ build DEP ] LNK:Library/libbasegfxlo.so
[ build LNK ] Library/libbasegfxlo.so
[ build LNK ] StaticLibrary/libbasegfx_s.a
[ build MOD ] basegfx
[ build ALL ] top level modules: bootstrap src.downloaded basegfx
[ build ALL ] loaded modules: basegfx

basegfx deliver
Module 'basegfx' delivered successfully. 0 files copied, 0 files unchanged

=============
(59/108) Building module basebmp
=============
Entering /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/basebmp/prj

[ build PKG ] basebmp_inc
[ build CXX ] basebmp/test/basictest
[ build CXX ] basebmp/test/bmpmasktest
[ build CXX ] basebmp/test/bmptest
[ build CXX ] basebmp/test/cliptest
[ build CXX ] basebmp/test/filltest
[ build CXX ] basebmp/test/linetest
[ build CXX ] basebmp/test/masktest
[ build CXX ] basebmp/test/polytest
[ build CXX ] basebmp/test/tools
[ build DEP ] LNK:CppunitTest/libtest_basebmp_test.so
[ build CXX ] basebmp/source/bitmapdevice
[ build CXX ] basebmp/source/debug
[ build CXX ] basebmp/source/polypolygonrenderer
[ build DEP ] LNK:Library/libbasebmplo.so
[ build LNK ] Library/libbasebmplo.so
[ build MOD ] basebmp
[ build ALL ] top level modules: bootstrap src.downloaded basebmp
[ build ALL ] loaded modules: basebmp

basebmp deliver
Module 'basebmp' delivered successfully. 0 files copied, 0 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/i18npool/prj

 it seems that the error is inside 'i18npool', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2
source ./Env.Host.sh
cd i18npool
make clean # optional
make -r

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2'
make: *** [source-env-and-recurse] Error 2
 * ERROR: app-office/libreoffice-3.5.2.2 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 9169:  Called die
 * The specific snippet of code:
 *       make build || die


Output of `make -r`:

[ build MAK ] i18npool/source/breakiterator
R=/var/tmp/portage/app-office/libreoffice-3.5.2.2/work && S=$R/libreoffice-core-3.5.2.2 && O=$S/solver/unxlngx6.pro && W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CustomTarget/i18npool/source/breakiterator && O='$S/solver/unxlngx6.pro' R='/var/tmp/portage/app-office/libreoffice-3.5.2.2/work' S='$R/libreoffice-core-3.5.2.2' W='$S/workdir/unxlngx6.pro' gb_AWK='awk' gb_SourceEnvAndRecurse_STAGE=gbuild gb_XSLTPROC='xsltproc' GBUILDDIR='$S/solenv/gbuild' SRCDIR='$R/libreoffice-core-3.5.2.2' make -C $W/CustomTarget/i18npool/source/breakiterator -f $S/i18npool/source/breakiterator/Makefile && touch $W/CustomTarget/i18npool/source/breakiterator.done
make[1]: Entering directory `/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/workdir/unxlngx6.pro/CustomTarget/i18npool/source/breakiterator'
/usr/bin/genbrk -r char.txt.p -o char.brk
createRuleBasedBreakIterator: ICU Error "U_BRK_RULE_EMPTY_SET"  at line 19, column 16
make[1]: *** [char.brk] Error 11
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/workdir/unxlngx6.pro/CustomTarget/i18npool/source/breakiterator'
make: *** No rule to make target `/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/workdir/unxlngx6.pro/CustomTarget/i18npool/source/breakiterator.done', needed by `/var/tmp/portage/app-office/libreoffice-3.5.2.2/work/libreoffice-core-3.5.2.2/workdir/unxlngx6.pro/Package/prepared/i18npool_generated'.  Stop.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-31 19:36:56 UTC
We are aware of the issue in lo but it is not much of a priority.

I will let you know when we get it fixed.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2012-04-02 16:58:12 UTC
Fixed in cvs, thanks for the patch.