Created attachment 221953 [details] Full build log The options: # This file is auto-generated by 'make config'. # Options for libreoffice-7.0.4.2_1 _OPTIONS_READ=libreoffice-7.0.4.2_1 _FILE_COMPLETE_OPTIONS_LIST=COINMP CUPS DOCS GNOME GTK3 JAVA KF5 MMEDIA PGSQL QT5 SDK TEST WEBDAV OPTIONS_FILE_UNSET+=COINMP OPTIONS_FILE_SET+=CUPS OPTIONS_FILE_UNSET+=DOCS OPTIONS_FILE_SET+=GNOME OPTIONS_FILE_UNSET+=GTK3 OPTIONS_FILE_UNSET+=JAVA OPTIONS_FILE_UNSET+=KF5 OPTIONS_FILE_SET+=MMEDIA OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_UNSET+=QT5 OPTIONS_FILE_UNSET+=SDK OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_SET+=WEBDAV The actual error is: find: share/appdata: No such file or directory Perhaps, the problem is my non-standard PREFIX (/opt), but that's not obvious...
Thanks for report, I'll investigate asap.
Is it still issue with current version of the LibreOffice?
(In reply to VVD from comment #2) > Is it still issue with current version of the LibreOffice? Yes, it is an issue, depending on the OPTIONS selected. You don't see it in the cluster-built packages, because of the defaults there. On this desktop, for example, with options defined as: _OPTIONS_READ=libreoffice-7.2.5.2 _FILE_COMPLETE_OPTIONS_LIST=COINMP CUPS DOCS GNOME GTK3 GTK4 JAVA KF5 LTO MARIADB MMEDIA PGSQL QT5 SDK TEST WEBDAV OPTIONS_FILE_UNSET+=COINMP OPTIONS_FILE_SET+=CUPS OPTIONS_FILE_UNSET+=DOCS OPTIONS_FILE_SET+=GNOME OPTIONS_FILE_SET+=GTK3 OPTIONS_FILE_UNSET+=GTK4 OPTIONS_FILE_UNSET+=JAVA OPTIONS_FILE_UNSET+=KF5 OPTIONS_FILE_SET+=LTO OPTIONS_FILE_UNSET+=MARIADB OPTIONS_FILE_SET+=MMEDIA OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_UNSET+=QT5 OPTIONS_FILE_UNSET+=SDK OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_SET+=WEBDAV there is no ${PREFIX}/share at all in the output of `pkg info --list-files libreoffice`. Of course, I had to patch the port's Makefile as below to make it stage: ```patch @@ -333,8 +333,10 @@ post-install: @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s bin lib man -not -type d >> ${TMPPLIST} .for subdir in applications bash-completion icons metainfo mime +. if exists(${STAGEDIR}${PREFIX}/${subdir}) @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} +. endif .endfor post-install-SDK-on: ```
(In reply to Mikhail Teterin from comment #0) > find: share/appdata: No such file or directory Huh? share/appdata usage was ripped out from Makefile about a year ago (or even more, I forgot when faced it) and no places at all where it may be used again. Are you sure to use vanilla port without any merge (for examples) issues? Just to be sured, will setup poudriere build with LOCALBASE=/opt asap.
(In reply to Dima Panov from comment #4) > share/appdata usage was ripped out from Makefile about a year ago appdata was just the first element on the list. The remaining subdirs (applications bash-completion icons metainfo mime) may not be there either. Indeed, they aren't there in my case -- with the port-options as specified.