pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libreoffice broken with latest icu?



It appears that FreeBSD has already imported [part of] an upstream patch to deal with this. See

https://svnweb.freebsd.org/ports/head/editors/libreoffice/files/patch-i18npool_source_breakiterator_breakiterator__unicode.cxx?revision=426173&view=co&pathrev=426173

I'm testing it out, and if it fixes the build, I will commit the additional patch.



On Sun, 4 Dec 2016, Paul Goyette wrote:

With up-to-date pkgsrc, I'm getting the following reproducible build error:

[build CXX] i18npool/source/calendar/calendar_gregorian.cxx
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.5.2/i18npool/source/breakiterator/breakiterator_unicode.cxx:27:0: /tmp/pkgs/misc/libreoffice/work.x86_64/.buildlink/include/unicode/rbbi.h: In member function 'void com::sun::star::i18n::OOoRuleBasedBreakIterator::publicSetBreakType(__int32_t)': /tmp/pkgs/misc/libreoffice/work.x86_64/.buildlink/include/unicode/rbbi.h:657:10: error: 'void icu_58::RuleBasedBreakIterator::setBreakType(__int32_t)' is private
    void setBreakType(int32_t type);
         ^
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.5.2/i18npool/source/breakiterator/breakiterator_unicode.cxx:68:13: error: within this context
            setBreakType(type);
            ^
In file included from /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.5.2/i18npool/source/breakiterator/breakiterator_unicode.cxx:27:0: /tmp/pkgs/misc/libreoffice/work.x86_64/.buildlink/include/unicode/rbbi.h:657:10: error: 'void icu_58::RuleBasedBreakIterator::setBreakType(__int32_t)' is private
    void setBreakType(int32_t type);
         ^
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.5.2/i18npool/source/breakiterator/breakiterator_unicode.cxx:68:30: error: within this context
            setBreakType(type);
                             ^
/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.5.2/solenv/gbuild/LinkTarget.mk:189: recipe for target '/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.5.2/workdir/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.o' failed gmake[1]: *** [/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.5.2/workdir/CxxObject/i18npool/source/breakiterator/breakiterator_unicode.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Makefile:244: recipe for target 'build' failed
gmake: *** [build] Error 2
*** Error code 2

+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index