FreeBSD Port: editors/libreoffice
starikarp at dismail.de
starikarp at dismail.de
Wed Aug 21 21:38:01 UTC 2019
Try to build LibreOffice on FreeBSD 12.0-RELEASE p10, amd64 with GTK3
as usual and I got:
/usr/local/include/python2.7/unicodeobject.h:534:5: error: ISO C++17
does not allow 'register' storage class specifier [-Wregister] register
PyObject *obj, /* Object */ ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:553:5: error: ISO C++17
does not allow 'register' storage class specifier [-Wregister] register
PyObject *obj /* Object */ ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:575:5: error: ISO C++17
does not allow 'register' storage class specifier [-Wregister] register
const wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:593:5: error: ISO C++17
does not allow 'register' storage class specifier [-Wregister] register
wchar_t *w, /* wchar_t buffer */ ^~~~~~~~~
In file included from
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/pyuno/source/module/pyuno_runtime.cxx:22:
In file included from
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/pyuno/source/module/pyuno_impl.hxx:27:
In file included from /usr/local/include/python2.7/Python.h:97:
/usr/local/include/python2.7/stringobject.h:173:5: error: ISO C++17
does not allow 'register' storage class specifier [-Wregister] register
PyObject *obj, /* string or Unicode object */ ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:174:5: error: ISO C++17
does not allow 'register' storage class specifier [-Wregister] register
char **s, /* pointer to buffer variable */ ^~~~~~~~~
/usr/local/include/python2.7/stringobject.h:175:5: error: ISO C++17
does not allow 'register' storage class specifier [-Wregister] register
Py_ssize_t *len /* pointer to length variable or NULL ^~~~~~~~~ 7
errors generated. gmake[3]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/solenv/gbuild/LinkTarget.mk:293:
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CxxObject/pyuno/source/module/pyuno_runtime.o]
Error 1 rm
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/sent.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/line.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/count_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/char_in.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/line.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/sent.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/char_in.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_nodash.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word_he.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/edit_word_hu.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/count_word.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/char.brk
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/char.txt
/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4/workdir/CustomTarget/i18npool/breakiterator/dict_word_he.txt
gmake[3]: Leaving directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4' gmake[2]: ***
[Makefile:282: build] Error 2 gmake[2]: Leaving directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.3.0.4' ===>
Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and
rebuild before reporting the failure to the maintainer. *** Error code 1
Stop.
make[1]: stopped in /usr/ports/editors/libreoffice
*** Error code 1
Stop.
make: stopped in /usr/ports/editors/libreoffice
--
“Hungry man, reach for the book: it is a weapon.”
― Bertolt Brecht
More information about the freebsd-office
mailing list