Date: Thu, 22 Aug 2019 06:37:32 +0800 From: Li-Wen Hsu <lwhsu@freebsd.org> To: starikarp@dismail.de Cc: office@freebsd.org Subject: Re: FreeBSD Port: editors/libreoffice Message-ID: <CAKBkRUzqf2X3o6TqxWoRTgtDkXDZDR2He6PiAz=TofakQ%2BxJHQ@mail.gmail.com> In-Reply-To: <20190821173751.0cd4ec60@dismail.de> References: <20190821173751.0cd4ec60@dismail.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 22, 2019 at 5:38 AM ajtiM via freebsd-office <freebsd-office@freebsd.org> wrote: > > 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 I can't reproduce this in pourdiere's 12.0 amd64 jail, can you paste the output of `make showconfig` like this? ===> The following configuration options are available for libreoffice-6.3.0: CUPS=on: CUPS printing system support DOCS=on: Build and/or install documentation GNOME=off: GNOME desktop environment support GTK2=off: GTK+ 2 GUI toolkit support GTK3=on: GTK+ 3 GUI toolkit support (experimental) JAVA=off: Add Java support (XML filters, macros, DB connections) KDE5=off: KF5/Qt5 GUI toolkit support (require QT5) MMEDIA=on: Enable multimedia backend for Impress PGSQL=off: Build with PostgreSQL-SDBC driver QT5=off: Qt5 GUI toolkit support SDK=off: Build with SDK SYSTRAY=off: Enable systemtray quickstarter TEST=off: Run all regression tests WEBDAV=off: Enable WebDAV protocol
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUzqf2X3o6TqxWoRTgtDkXDZDR2He6PiAz=TofakQ%2BxJHQ>