I've tried to install editors/libreoffice from ports tree, updated last night. Installation fails on "staging" with following error: [...] find: /usr/ports/editors/libreoffice/work/stage/usr/local/share/application-registry: No such file or directory find: /usr/ports/editors/libreoffice/work/stage/usr/local/share/mime/packages: No such file or directory find: /usr/ports/editors/libreoffice/work/stage/usr/local/share/mime-info: No such file or directory find: /usr/ports/editors/libreoffice/work/stage/usr/local/share/icons: No such file or directory Install /usr/local/bin/lobase Install /usr/local/man/man1/lobase.1.gz Install /usr/local/bin/localc Install /usr/local/man/man1/localc.1.gz Install /usr/local/bin/lodraw Install /usr/local/man/man1/lodraw.1.gz Install /usr/local/bin/lomath Install /usr/local/man/man1/lomath.1.gz Install /usr/local/bin/loimpress Install /usr/local/man/man1/loimpress.1.gz Install /usr/local/bin/loweb Install /usr/local/man/man1/loweb.1.gz Install /usr/local/bin/lowriter Install /usr/local/man/man1/lowriter.1.gz Install /usr/local/bin/lofromtemplate Install /usr/local/man/man1/lofromtemplate.1.gz Install /usr/local/bin/libreoffice Install /usr/local/man/man1/libreoffice.1.gz Install /usr/local/bin/loffice Install /usr/local/man/man1/loffice.1.gz Install /usr/local/bin/unopkg Install /usr/local/man/man1/unopkg.1.gz Install /basis/program/java-set-classpath /usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/bin/distro-install-sdk /usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1/bin/distro-install-file-lists Generating package file lists for FreeBSD ports... gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.2.1' find: share/appdata: No such file or directory *** Error code 1 Stop. Port's options are: # This file is auto-generated by 'make config'. # Options for libreoffice-6.0.2 _OPTIONS_READ=libreoffice-6.0.2 _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_UNSET+=GTK3 OPTIONS_FILE_UNSET+=JAVA OPTIONS_FILE_UNSET+=KDE4 OPTIONS_FILE_UNSET+=MMEDIA OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_UNSET+=SDK OPTIONS_FILE_UNSET+=SYSTRAY OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_UNSET+=WEBDAV
Ok I think I know where the problem is, but it may take a while for fixing. In the mean time, cloud you try to disable GNOME option?
(In reply to Li-Wen Hsu from comment #1) Hello! It was the first I'd tried after failure. It does not solve an issue.
then I had wrong assumption, cloud you try to check all the packages are updated? If it doesn't help, please use package from pkg.freebsd.org for now.
(In reply to Li-Wen Hsu from comment #3) My try was to perform upgrade from 5.3.7 version by issuing command "portupgrade -Rk libreoffice-5.3.7_2". There were no errors except the libreoffice itself. Thus I guess that all packets which libreoffice depends on, are up-to-date. Following your suggestion I'll use package for now, it seems working well. But its dependence on compat6x-amd64 is confusing... Thanks!
The same is with Libreoffice 6.0.5.2: [...] Install /usr/local/bin/lofromtemplate Install /usr/local/man/man1/lofromtemplate.1.gz Install /usr/local/bin/libreoffice Install /usr/local/man/man1/libreoffice.1.gz Install /usr/local/bin/loffice Install /usr/local/man/man1/loffice.1.gz Install /usr/local/bin/unopkg Install /usr/local/man/man1/unopkg.1.gz Install /basis/program/java-set-classpath /usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/bin/distro-install-sdk /usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2/bin/distro-install-file-lists Generating package file lists for FreeBSD ports... gmake[2]: Leaving directory '/usr/ports/editors/libreoffice/work/libreoffice-6.0.5.2' find: share/appdata: No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/editors/libreoffice *** Error code 1 Stop. make: stopped in /usr/ports/editors/libreoffice
We have version 6.2.5. Does the problem still exist?
Everything is fine. Thanks!
I'm facing this problem now -- trying to install 6.4.5.2 -- and found this ticket with Google... [...] Rootpath: /opt/lib/libreoffice ... cleaning the output tree ... ... removing directory /spare/usr/ports/editors/libreoffice/work/ooopackagingLGHchk/i_284361596807170 ... ... removing directory /spare/usr/ports/editors/libreoffice/work/LibreOffice//stripped/en-US ... ... checking log file /spare/usr/ports/editors/libreoffice/work/LibreOffice//logging/en-US/log_640_en-US.log *********************************************************** Successful packaging process! *********************************************************** ... creating log file log_640_en-US.log Fri Aug 7 09:33:19 2020 (00:29 min.) Installer finished If you want to edit the .ui files with glade first execute: export GLADE_CATALOG_SEARCH_PATH=/opt/lib/libreoffice/share/glade Installation finished, you can now execute: /opt/lib/libreoffice/program/soffice /spare/usr/ports/editors/libreoffice/work/libreoffice-6.4.5.2/bin/distro-install-clean-up Cleaning up ... Fixing permissions... Checking for DESTDIR inside installed files... /spare/usr/ports/editors/libreoffice/work/libreoffice-6.4.5.2/bin/distro-install-desktop-integration find: /spare/usr/ports/editors/libreoffice/work/stage/opt/share/application-registry: No such file or directory find: /spare/usr/ports/editors/libreoffice/work/stage/opt/share/mime/packages: No such file or directory find: /spare/usr/ports/editors/libreoffice/work/stage/opt/share/mime-info: No such file or directory find: /spare/usr/ports/editors/libreoffice/work/stage/opt/share/icons: No such file or directory Install /opt/bin/lobase Install /opt/man/man1/lobase.1.gz Install /opt/bin/localc Install /opt/man/man1/localc.1.gz Install /opt/bin/lodraw Install /opt/man/man1/lodraw.1.gz Install /opt/bin/lomath Install /opt/man/man1/lomath.1.gz Install /opt/bin/loimpress Install /opt/man/man1/loimpress.1.gz Install /opt/bin/loweb Install /opt/man/man1/loweb.1.gz Install /opt/bin/lowriter Install /opt/man/man1/lowriter.1.gz Install /opt/bin/lofromtemplate Install /opt/man/man1/lofromtemplate.1.gz Install /opt/bin/libreoffice Install /opt/man/man1/libreoffice.1.gz Install /opt/bin/loffice Install /opt/man/man1/loffice.1.gz Install /opt/bin/unopkg Install /opt/man/man1/unopkg.1.gz Install /basis/program/java-set-classpath /spare/usr/ports/editors/libreoffice/work/libreoffice-6.4.5.2/bin/distro-install-sdk /spare/usr/ports/editors/libreoffice/work/libreoffice-6.4.5.2/bin/distro-install-file-lists Generating package file lists for FreeBSD ports... gmake[2]: Leaving directory '/spare/usr/ports/editors/libreoffice/work/libreoffice-6.4.5.2' find: share/appdata: No such file or directory *** Error code 1 Stop. make[1]: stopped in /usr/ports/editors/libreoffice *** Error code 1 Will try disabling the GNOME option...
Disabling GNOME-option had no effect. I forced it to install with this change: Index: Makefile =================================================================== --- Makefile (revision 544329) +++ Makefile (working copy) @@ -297,8 +297,9 @@ @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s bin lib man -not -type d >> ${TMPPLIST} .for subdir in appdata application-registry applications bash-completion icons mime mime-info - @cd ${STAGEDIR}${PREFIX} && \ - ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} + @if [ -d ${STAGEDIR}${PREFIX}/share/${subdir} ]; then \ + cd ${STAGEDIR}${PREFIX} && \ + ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} ; fi .endfor post-install-SDK-on: My options-file is: # This file is auto-generated by 'make config'. # Options for libreoffice-6.4.5 _OPTIONS_READ=libreoffice-6.4.5 _FILE_COMPLETE_OPTIONS_LIST=CUPS DOCS GNOME GTK3 JAVA KF5 MMEDIA PGSQL QT5 SDK TEST WEBDAV OPTIONS_FILE_SET+=CUPS OPTIONS_FILE_UNSET+=DOCS OPTIONS_FILE_SET+=GNOME OPTIONS_FILE_SET+=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
(In reply to Mikhail Teterin from comment #9) This time it works for me without errors. Yesterday try to build from ports was successful. # This file is auto-generated by 'make config'. # Options for libreoffice-6.4.5 _OPTIONS_READ=libreoffice-6.4.5 _FILE_COMPLETE_OPTIONS_LIST=CUPS DOCS GNOME GTK3 JAVA KF5 MMEDIA PGSQL QT5 SDK TEST WEBDAV OPTIONS_FILE_SET+=CUPS OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_UNSET+=GNOME OPTIONS_FILE_UNSET+=GTK3 OPTIONS_FILE_UNSET+=JAVA OPTIONS_FILE_UNSET+=KF5 OPTIONS_FILE_UNSET+=MMEDIA OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_SET+=QT5 OPTIONS_FILE_UNSET+=SDK OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_UNSET+=WEBDAV
This bug report can be closed now?
Closing this as it refers to a really old version and packaging cluster generates packages fine. If it still occurs please open a new ticket.