Running 12-ALPHA10 r339406. The port's config is as follows: % cat /var/db/ports/editors_libreoffice/options # This file is auto-generated by 'make config'. # Options for libreoffice-6.0.5_6 _OPTIONS_READ=libreoffice-6.0.5_6 _FILE_COMPLETE_OPTIONS_LIST=CUPS DOCS GNOME GTK2 GTK3 JAVA KDE4 MMEDIA PGSQL SDK SYSTRAY TEST WEBDAV OPTIONS_FILE_SET+=CUPS OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_SET+=GNOME OPTIONS_FILE_SET+=GTK2 OPTIONS_FILE_SET+=GTK3 OPTIONS_FILE_UNSET+=JAVA OPTIONS_FILE_UNSET+=KDE4 OPTIONS_FILE_SET+=MMEDIA OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_UNSET+=SDK OPTIONS_FILE_UNSET+=SYSTRAY OPTIONS_FILE_SET+=TEST OPTIONS_FILE_SET+=WEBDAV Build fails with the following log: ===> Building for libreoffice-6.0.5_6 gmake[2]: Entering directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2' mkdir -p /usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/instdir /usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/solenv/bin/install-gdb-printers -a /usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/instdir -c Automatic fetching of external tarballs is disabled. gmake -j 4 -r -f /usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/Makefile.gbuild all gmake[3]: Entering directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2' gmake[3]: warning: -jN forced in submake: disabling jobserver mode. /usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/testtools/CustomTarget_uno_test.mk:38: *** missing 'endif'. Stop. gmake[3]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2' gmake[2]: *** [Makefile:269: build] Error 2 gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2' ===> 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 Disabling the TEST config option builds the port just fine.
We have version 6.0.7. Does the problem still exist?
(In reply to w.schwarzenfeld from comment #1) Still fails. Same port config, same error message. ===> Building for libreoffice-6.0.7_1 gmake[2]: Entering directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3' mkdir -p /usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/instdir /usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/solenv/bin/install-gdb-printers -a /usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/instdir -c Automatic fetching of external tarballs is disabled. gmake -j 4 -r -f /usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/Makefile.gbuild all gmake[3]: Entering directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3' gmake[3]: warning: -jN forced in submake: disabling jobserver mode. /usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/testtools/CustomTarget_uno_test.mk:38: *** missing 'endif'. Stop. gmake[3]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3' gmake[2]: *** [Makefile:269: build] Error 2 gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3' ===> 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
> /usr/ports/editors/libreoffice/work/libreoffice-6.0.7.3/testtools/CustomTarget_uno_test.mk:38 In the last version (6.3.1) the file has only 34 lines and seems had a correct endif. I should work now, if I am right (and no other error appears). I don't have test it now.