Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949384 - app-editors/xemacs-21.5.35-r7 - [meson] [glibc] [gcc-15] sandbox issue
Summary: app-editors/xemacs-21.5.35-r7 - [meson] [glibc] [gcc-15] sandbox issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: XEmacs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-07 07:46 UTC by Toralf Förster
Modified: 2025-02-19 19:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.01 KB, text/plain)
2025-02-07 07:46 UTC, Toralf Förster
Details
app-editors:xemacs-21.5.35-r7:20250206-204136.log.xz (app-editors:xemacs-21.5.35-r7:20250206-204136.log.xz,28.61 KB, application/x-xz)
2025-02-07 07:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,40.41 KB, text/plain)
2025-02-07 07:46 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-02-07 07:46 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.71 KB, application/x-xz)
2025-02-07 07:46 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,615.37 KB, application/x-xz)
2025-02-07 07:46 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,104.00 KB, text/plain)
2025-02-07 07:46 UTC, Toralf Förster
Details
sandbox.log (sandbox.log,574 bytes, text/plain)
2025-02-07 07:46 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-02-07 07:46:16 UTC
==> /var/tmp/portage/app-editors/xemacs-21.5.35-r7/temp/sandbox.log <==
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: unlink
S: deny
P: /usr/share/fonts/.uuid
A: /usr/share/fonts/.uuid
R: /usr/share/fonts/.uuid
C: ./temacs -nd -no-packages -no-configured-paths -batch -l ../lisp/update-elc.el 

F: unlink
S: deny
P: /usr/share/fonts/util/.uuid
A: /usr/share/fonts/util/.uuid
R: /usr/share/fonts/util/.uuid

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20250205-182007

  UNMASKED:

    
  <sys-devel/gcc-15.0.9999:15

    Requested by dilfridge
  ~sys-libs/glibc-2.41

    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
go version go1.23.5 linux/amd64
Available Rust versions:
  [1]   rust-bin-1.84.1
  [2]   rust-1.84.1 *

  HEAD of ::gentoo
commit 161a40c65ba74873926c5543c15ae9b3252961bb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Feb 6 20:03:24 2025 +0000

    2025-02-06 20:03:24 UTC

emerge -qpvO =app-editors/xemacs-21.5.35-r7
[ebuild  N    ] app-editors/xemacs-21.5.35-r7  USE="X alsa bignum gdbm gif gpm jpeg motif png pop xface xft -Xaw3d -athena -berkdb -debug -ldap -nas -neXt -postgres -tiff -xim"
Comment 1 Toralf Förster gentoo-dev 2025-02-07 07:46:17 UTC
Created attachment 918270 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-07 07:46:18 UTC
Created attachment 918271 [details]
app-editors:xemacs-21.5.35-r7:20250206-204136.log.xz
Comment 3 Toralf Förster gentoo-dev 2025-02-07 07:46:19 UTC
Created attachment 918272 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-02-07 07:46:20 UTC
Created attachment 918273 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-02-07 07:46:21 UTC
Created attachment 918274 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-07 07:46:23 UTC
Created attachment 918275 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-07 07:46:24 UTC
Created attachment 918276 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2025-02-07 07:46:25 UTC
Created attachment 918277 [details]
sandbox.log
Comment 9 Mats Lidell gentoo-dev 2025-02-14 16:07:12 UTC
This problem seems to relate to fontconfig 2.16. By inserting a .uuid file in /usr/shared/fonts I have recreated the problem on both a stable gentoo, with fontconfig updated from 2.15 to 2.16, and on a testing system as well since that has fontconfig 2.16. 

Not sure why this has not surfaced before but installing fontconfig seems to clean of any .uuid files under /usr/share/fonts which, I guess, will reduce the risk of this happening.

Still trying to get my head around this issue and what a proper solution should look like.
Comment 10 Larry the Git Cow gentoo-dev 2025-02-19 18:58:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a0efc2698acd6ed4985edf7a96afb27a3a37d7

commit f8a0efc2698acd6ed4985edf7a96afb27a3a37d7
Author:     Mats Lidell <matsl@gentoo.org>
AuthorDate: 2025-02-19 18:53:52 +0000
Commit:     Mats Lidell <matsl@gentoo.org>
CommitDate: 2025-02-19 18:55:26 +0000

    app-editors/xemacs: Call FcInit only when needed
    
    Closes: https://bugs.gentoo.org/949384
    
    Signed-off-by: Mats Lidell <matsl@gentoo.org>

 app-editors/xemacs/xemacs-21.5.35-r7.ebuild | 264 ----------------------------
 1 file changed, 264 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c11a0c8d0709a872c44dbe312040cfb68753fe

commit a8c11a0c8d0709a872c44dbe312040cfb68753fe
Author:     Mats Lidell <matsl@gentoo.org>
AuthorDate: 2025-02-19 18:45:26 +0000
Commit:     Mats Lidell <matsl@gentoo.org>
CommitDate: 2025-02-19 18:55:26 +0000

    app-editors/xemacs: Call FcInit only when needed
    
    Closes: https://bugs.gentoo.org/949384
    
    Signed-off-by: Mats Lidell <matsl@gentoo.org>

 .../xemacs-21.5.35-delay-fcinit-until-needed.patch |  63 +++++
 app-editors/xemacs/xemacs-21.5.35-r8.ebuild        | 265 +++++++++++++++++++++
 2 files changed, 328 insertions(+)