Summary: | [gnome-overlay] gnome-base/gnome-desktop-3.26.2 won't generate thumbnails for video files even with bubblewrap | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Auty (RETIRED) <ikelos> |
Component: | Overlays | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, kfm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=795602 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 631406 | ||
Attachments: | Patch for the bwrap call gnome-desktop makes when thumbnailing to take ld.so.cache into account |
Description
Mike Auty (RETIRED)
2018-04-25 20:15:18 UTC
Created attachment 528686 [details, diff]
Patch for the bwrap call gnome-desktop makes when thumbnailing to take ld.so.cache into account
Ok, so I resolved the problem (and realized why no one else had run into it). The way that Gentoo stores its libstdc++.so libraries requires that ld.so.conf/ld.so.conf.d to have been processed. The bwrap command gnome-desktop uses doesn't include /etc/ld.so.cache, so any libraries outside of the standard /lib or /lib64 hierarchy fail (including totem-video-thumbnailer). The attached patch resolves this issue by including the ld.so.cache in the default bwrap parameters...
The only thing left to do is get the patch applied in the ebuild. Upstream bugs.gnome.org number is 795602.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/gnome.git/commit/?id=8b53f1d94092e8fa279539f49222ea3ddd001177 commit 8b53f1d94092e8fa279539f49222ea3ddd001177 Author: Gilles Dartiguelongue <eva@gentoo.org> AuthorDate: 2018-11-16 17:24:22 +0000 Commit: Gilles Dartiguelongue <eva@gentoo.org> CommitDate: 2018-11-16 17:24:57 +0000 gnome-base/gnome-desktop: load ld.so.conf in sandbox Closes: https://bugs.gentoo.org/654096 Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org> .../files/3.26.2-load-ld-so-cache.patch | 12 ++++ .../gnome-desktop/gnome-desktop-3.26.2-r1.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) The bug shouldn't be closed before we've taken it to upstream in some form. But it was, they just haven't dealt with it. Going to file a MR for easier handling - maybe it'll progress then. The MR got merged. I'll roll a patchset with more fixes in there and put it in main tree - like automatic usrmerge (/bin is symlink to /usr/bin, etc) support patch and whatever nice I find that isn't the ABI break. I did have some oddness in thumbnailing sometimes, but I think that might have been due to poking with strace or other things at it, combined with the sandbox. I believe gnome-directory-thumbnailer we'll lose for the moment, though. |