Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QA Notices on emerge of app-office/libreoffice-bin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Sipos
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2004
Posts: 124
Location: London

PostPosted: Thu Mar 13, 2025 10:10 am    Post subject: QA Notices on emerge of app-office/libreoffice-bin Reply with quote

Hi,

The following messages are logged when I emerge app-office/libreoffice-bin, and I'd like to fix any potential problem that exists on my system as a result, and file any bug appropriate.

I am pretty sure I can install libjawt.so by installing a JRE, and it seems surprising I don't already have one, for example as a dependency of Libreoffice, which I think has several things written in Java. I guess to fix this on my system, I just need to emerge any JRE or JDK, which I will be doing anyway (I am currently reviewing a list of packages on my previous desktop system and installing them as appropriate, and a JDK is one). It seems like there is a bug here that this package doesn't seem to depend on a JRE. Perhaps a JRE isn't needed as a dependency of Libreoffice though, as perhaps the file triggering the QA notice is only installed so that you can use Libreoffice components programmatically in Java?

I am less sure what to do about the .desktop files with MimeType= were found installed but desktop mimeinfo cache has not been updated message. Is update-desktop-database /usr/share/applications (as root) what I need? Or is it a different directory or program I need to run? It looks like the QA notice is pretty explicit about how to fix the ebuild, so I guess perhaps an option is to look at the bug DB, if no bug exists then create one, try fixing it locally, remerge the package, see if this fixes it (though I only have the QA notice to go on, I don't know what the actual issue, if any, would be), and propose the change as a solution to the bug for a dev to review. If there is an existing bug, same, unless there is already a proposed fix. Can anyone with more knowledge confirm/comment though please?

Code:
>>> Messages generated by process 4618 on 2025-03-12 12:16:25 GMT for package app-office/libreoffice-bin-24.8.4-r3:

INFO: setup
Package:    app-office/libreoffice-bin-24.8.4-r3:0
Repository: gentoo
Maintainer: dilfridge@gentoo.org office@gentoo.org
USE:        abi_x86_64 amd64 elibc_glibc kernel_linux l10n_en l10n_en-GB
FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
INFO: prepare
Adjusting to prefix /
  50-libreoffice-bin ...
INFO: test
Skipping make test/check due to ebuild restriction.
QA: install
QA Notice: Unresolved soname dependencies:

        /opt/libreoffice24.8/program/libofficebean.so: libjawt.so

INFO: install
Final size of build directory: 901308 KiB (880.1 MiB)
Final size of installed tree:  696116 KiB (679.8 MiB)
INFO: postinst
Updating icons cache ...
Updating shared mime info database ...
QA: other
QA Notice: .desktop files with MimeType= were found installed
but desktop mimeinfo cache has not been updated:
  /usr/share/applications/libreoffice24.8-calc.desktop
  /usr/share/applications/libreoffice24.8-math.desktop
  /usr/share/applications/libreoffice24.8-base.desktop
  /usr/share/applications/libreoffice24.8-impress.desktop
  /usr/share/applications/libreoffice24.8-xsltfilter.desktop
  /usr/share/applications/libreoffice24.8-writer.desktop
  /usr/share/applications/libreoffice24.8-startcenter.desktop
  /usr/share/applications/libreoffice24.8-draw.desktop
Please make sure to call xdg_desktop_database_update()
in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.


Last edited by Sipos on Thu Mar 13, 2025 11:04 am; edited 1 time in total
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2207

PostPosted: Thu Mar 13, 2025 11:02 am    Post subject: Reply with quote

See bug 951103.
Back to top
View user's profile Send private message
Sipos
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2004
Posts: 124
Location: London

PostPosted: Thu Mar 13, 2025 11:20 am    Post subject: Reply with quote

Thanks. I should have searched Bugzilla. The second issue is obviously this bug, which looks like it is just waiting for code review and release of the fix someone has supplied.

The first issue is either not an issue, or solved by installing a JRE, which I am doing anyway since I ultimately want a JDK on this system. It sounds like a JRE (virtual/jre) should be a dependency since Base apparently requires it, but I haven't checked beyond looking up this page, and it sounds like most users won't need it, so perhaps just a message about it, or a USE flag?
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2207

PostPosted: Thu Mar 13, 2025 12:19 pm    Post subject: Reply with quote

Would you mind filing a bug for that one? I already had a TODO for the Java handling and I suspect it is indeed off, based on your post here.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum