Summary: | app-office/libreoffice-7.3.3.2-r3 fails during install (libreoffice.initd does not exist) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ooblick <ooblick> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bitlord0xff, conikost, lo48576, M4rkusXXL, mike, voron1 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ooblick
2022-05-14 06:39:28 UTC
The next line also fails: newconfd: /var/tmp/portage/app-office/libreoffice-7.3.3.2-r3/files/libreoffice.confd does not exist Removing those two lines allows the build to finish with: ebuild /usr/portage/app-office/libreoffice/libreoffice-7.3.3.2-r3.ebuild install qmerge another possible workaround is cp soffice.initd /var/tmp/portage/app-office/libreoffice-7.3.3.2-r3/files/libreoffice.initd cp soffice.confd /var/tmp/portage/app-office/libreoffice-7.3.3.2-r3/files/libreoffice.confd and then ebuild...merge. My workaround: # Correcting path of files: cd /var/db/repos/gentoo/app-office/libreoffice/files cp soffice.confd libreoffice.confd cp soffice.initd libreoffice.initd # Regsiter new files in portage: cd /var/db/repos/gentoo/app-office/libreoffice ebuild libreoffice-7.3.3.2-r3.ebuild digest # Rebuild libreoffice: emerge -1 libreoffice Should this feature be behind a use headless use flag? And will it need a systemd unit file? confd/initd files does not start automatically. So, this files have not effect to user system. I think, that no need to add new use flag only for those text files. For adding new use flag needs to have more conditions. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e3bd8432b411bb62052a75d50f1f5ea0011844 commit 43e3bd8432b411bb62052a75d50f1f5ea0011844 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-05-14 09:15:24 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-05-14 09:15:24 +0000 app-office/libreoffice: rename confd/initd script Closes: https://bugs.gentoo.org/844145 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> app-office/libreoffice/files/{soffice.confd => libreoffice.confd} | 0 app-office/libreoffice/files/{soffice.initd => libreoffice.initd} | 0 2 files changed, 0 insertions(+), 0 deletions(-) (In reply to Mike Lothian from comment #4) > Should this feature be behind a use headless use flag? And will it need a > systemd unit file? Since this is a very big package, we decided against it, as you would re-emerge a whole libreoffice to install 2 additional files. I don't have systemd so, feel free to fill a PR for adding systemd ones. (In reply to Bogdan from comment #5) > confd/initd files does not start automatically. So, this files have not > effect to user system. > I think, that no need to add new use flag only for those text files. For > adding new use flag needs to have more conditions. Yes, for normal usage, you don't need such files. If you don't want to install them, you can always filter them via INSTALL_MASK. The init scripts are intended for using libreoffice as headless server. An example could be having a tomcat with some webapps, which uses libreoffice to generate some documents. |